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
759
Reaction score
372
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
759
Reaction score
372
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
43,428
Reaction score
15,223
First Language
English
Primarily Uses
RMMV

I've moved this thread to RGSSx Script Support. Thank you.

 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,228
Reaction score
731
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
759
Reaction score
372
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 Posts

Latest Profile Posts

Got like a sudden surge of wish lists overnight. :)
headshot_headshot.jpg
The theory has been proved. Based on an invisible image's data(the big red dot in the previous image), RM can identify different parts of an enemy and do something respectively. :kaojoy:
Ok.. coding what should be a simple "everyone is petrified and therefore dead, now go to game over screen" shouldn't involve needing to become Dr. J and dunking from the free throw line(my way of saying "jumping through hoops").
Hmmmm... how many xrays til I get super powers?
..of the major old school series that began in the 80s- early 90s, I still haven't beaten 'a' Zelda game. Mario 64 was the first Mario I've beaten. I don't know if I should give that honor to Link to the Past or A Link Between Worlds(I currently own both). Well technically I've haven't beaten a Sonic either (Game Genie doesn't count =P).

Forum statistics

Threads
115,381
Messages
1,089,422
Members
150,099
Latest member
Lilyhia
Top