Hey everyone. Ok so I am currently trying to figure out how I would pull the lead actors stats and the parties gold from a different save file to be used in another saved game. Can someone point me in the right direction please?
Accessing another save files data.
Learning Ruby and RGSSxHow do you know what save file you want to use? Is it a file from the same game, or a different game? Once you have those questions answered, you've just got to look at the File_Load and DataManager classes to see how it identifies and retrieves data from save files, and repeat the same processing in your own method to get just SOME data from a particular save file, and put it where you want it to go.
It will be a different game all together but part of a series.
Yeah, we did that with the last Aveyond series, and I'm doing it with my current game.
Check my Override Save Location script, which will let you save everything in the player's AppData folder rather than the game folder (so you're not relying on them to install the game to a specific location). The script we actually use is very similar, but for the "load previous game's save data" we do a little more processing with the path name and load them into different variables (not $game_...)
Shout if you have a play with that and still need further help.
Check my Override Save Location script, which will let you save everything in the player's AppData folder rather than the game folder (so you're not relying on them to install the game to a specific location). The script we actually use is very similar, but for the "load previous game's save data" we do a little more processing with the path name and load them into different variables (not $game_...)
Shout if you have a play with that and still need further help.
Will do and I will really have to look into this one. Thank you Shaz. Mods can close this post now.
Edit~ Wow that was short thanks again Shaz that helped!
Edit~ Wow that was short thanks again Shaz that helped!
That little script won't let you open a DIFFERENT game's save file though. You'll have to mod it to look in one of two locations, depending on whether you're continuing a previous game's save file, or continuing the current game's save file.
In addition, it's beneficial to make an "ending" save from the previous game, with a different name (or in a slightly different location), so the next game can distinguish between save files where the game has actually been completed, and those that are still in progress.
In addition, it's beneficial to make an "ending" save from the previous game, with a different name (or in a slightly different location), so the next game can distinguish between save files where the game has actually been completed, and those that are still in progress.
Someone asked me for a script at some point to transfer data from one game to another.
I ended up doing something like this
All you really need are two extra variables to record game state (in this case, I provided IN_PROGRESS and CLEARED) and game ID. These are purely for validation purposes, so they are not necessary.
For actually pulling data out, all you need is a different load method that simply extracts data and copy it over.
I ended up doing something like this
All you really need are two extra variables to record game state (in this case, I provided IN_PROGRESS and CLEARED) and game ID. These are purely for validation purposes, so they are not necessary.
For actually pulling data out, all you need is a different load method that simply extracts data and copy it over.
I was thinking actually just having one save spot that all of the games would save and load from.
You still need to distinguish save files from different games.
Original thread: https://forums.rpgmakerweb.com/threads/accessing-another-save-files-data.25075/