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
753
Reaction score
371
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
753
Reaction score
371
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,406
Reaction score
15,212
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
730
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
753
Reaction score
371
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

Anyone going to talk about Chris Pratt Mario?
My friend just gave me chocolate milk at lunch today! My day is now 1000x better. Yay, choco milky!! :kaojoy:
RivalRamen_Games wrote on jacobv1014's profile.
I really like your profile picture! Who is that in it? is she an OC?
Making his first game

Forum statistics

Threads
115,331
Messages
1,089,079
Members
150,000
Latest member
dopeboy01
Top