Getting an error in the Ace Save Engine after exporting game

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.
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.
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.
Change the output folder in the script.
I think it's written on line 1979

Good luck.
Moved to: RGSSx Script Support
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.
Thank you Roninator2, I think that would solve it.
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.

Original thread: https://forums.rpgmakerweb.com/threads/getting-an-error-in-the-ace-save-engine-after-exporting-game.135133/