New account registration is temporarily disabled.

RMVX SAVE TRANSFERS

Posts

Pages: 1
Is there any way to transfer savegames, as in the game The Way? I was wondering about it for a possible project in the future. In rmvx that is.
Huh? You still here? Just make a switch and room in both of them. The switches will carry over and trigger things depending on the things in question.
You can. There's a catch to doing it the quick and dirty way: Scripts that save extra information to the save file can cause issues. Scripts need to be in the same order across projects so the save files have information in the same order. You also can't add new scripts that change the save file in later projects because when importing an old save the new scripts will try to load information that wasn't there before and hit an EndOfFile causing an error. Easy and no scripting but the most limiting.

Alternatively you can write a script to import previous project saves. You'd load an old save and only pull the relative persistant information and if a saved object (like Actor data) is changed across projects you'll need a copy of the old data strucuture in script so they can be imported into new data strucutres. This is the most complicated way but it is the most flexable between changes between projects.

Alternatively alternatively if you want to do it the quick and dirty way and add scripts that change the save file to later projects you can change them so that if they hit the EndOfFile they'll just load default values. This will let them import files and assume default values or load a save and just load and go without reassuming default values. This isn't too difficult and it lets you add scripts to projects but changes to existing scripts that change data structures (ex. Adding a new stat to characters) might cause errors.

I'm not sure how Marshal (the way RMXP/VX save/load information) handles changes to data strucutres. New attributes would probably become nil meaning when an old project save is imported it would have to set these values to something it can handle, like zero.


tl;dr If you don't change scritps or their order that affect the save file between projects it works fine. Otherwise you'll need to do some import save script work.

*edit*
Forgot about self switches. You'd need to pop a quick script to reset all them when you import a save otherwise you're basically in for a world of hurt if you use them at all.
Pages: 1