Getting an error in the Ace Save Engine after exporting game

Joined
Jul 7, 2012
Messages
874
Reaction score
151
First Language
Norway
Primarily Uses
Using the
Yanfly Engine Ace - Ace Save Engine v1.03
# -- Last Updated: 2012.07.22

for my game.


This worked in verison 0.90, but when I exported game version 1.00 I decided to encrypt the game.
That is when people started to get this error.
If people make a folder called graphics/Save screenshots, they don't get the error, but only the starting picture shows.

Open for suggestions on how to solve this.
 

Attachments

  • yanfly save screenshot script.txt
    71.8 KB · Views: 4

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
680
Reaction score
320
First Language
PT-BR
Primarily Uses
RM2k3
It looks like a folder called "Graphics" is missing.
Inside it there must be a folder "Save ScreenShot"

Instructions are at the end of the Script.
 
Joined
Jul 7, 2012
Messages
874
Reaction score
151
First Language
Norway
Primarily Uses
Alright, so error one is:
The game crashes upon saving because it tries to write a screenshot to a folder that doesn't exist.
The folder does exist in the project file, but it doesn't show up in the exported project because it is encrypted. (Encrypted the project due to dlc files)

If one makes a folder called graphics/save Screenshots
we encounter error two:
If you save, it only shows the first screenshot in sequential saves, even though the screenshots themselves are saved normally in the folder.
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
680
Reaction score
320
First Language
PT-BR
Primarily Uses
RM2k3
Change the output folder in the script.
I think it's written on line 1979

Good luck.
 
Last edited:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,801
Reaction score
14,970
First Language
English
Primarily Uses
RMMV

I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,187
Reaction score
720
First Language
English
Primarily Uses
RMVXA
called graphics/save Screenshots
Just create this folder in your exported project folder. Then it works fine.
This is the reason some projects have a Graphics folder with an encrypted project.

If you need to send your compressed project to other people then you can use install creator to make an installation exe.

Or, just change the folder directory. Instead of 'Graphics/save screenshots/'
use 'screenshots', then it will save in a new folder.
Line 1915 & 1979 in that script you linked.
 
Joined
Jul 7, 2012
Messages
874
Reaction score
151
First Language
Norway
Primarily Uses
Thank you Roninator2, I think that would solve it.
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
680
Reaction score
320
First Language
PT-BR
Primarily Uses
RM2k3
From what I analyzed in the third part of the code (GAMBIT) the directory is created by itself if it doesn't exist, but for some reason it doesn't work, so I modified this part of the code a little.

I separated the three codes to be able to analyze them better if you are interested, for organizational reasons I made the directory to be created outside the "Graphics" folder.

This makes it easier for the player to obtain the encrypted version.
If it is no longer necessary, let me know, good luck.
 

Latest Threads

Latest Profile Posts

User of Mv3d/ Mz3d and Rosse engine. New Resource Pack on development "Halloween Stones" . Leave ideas about what you want to see on this package. :)
SetPreview.jpg
Looking at Code abd knowing that it made sense at one time. Ugh..why did I ever stop? Well I guess it will come back to me.
Well, Blizzard... thanks for making it easy to decide what to delete to free up some hard drive space... I guess. Ugh.
So far, I've rated 5 of the games out of the 120 submitted. Competition is fierce! There are a few which I played and thought "Well, at least my submission is better than this one." but there's at least one which is far better than mine (at least by my judgement.) Trying very hard to rate games fairly and only comment when I have something constructive to say. Good luck everyone!

Forum statistics

Threads
113,546
Messages
1,075,747
Members
147,543
Latest member
Dulldye
Top