Prequel Save File Importer v1.0.1
By Winthorp Darkrites/WinterDream Games Creator
Planning on doing one or more sequels to your game?
Do you have two different games that you want to link?
This plugin will allow your players to copy an old savegame in a directory of your choice, the plugin will read them and will give you the informations you need: Switches, Variables, Actors, Equipments, Time played and more!
Key Features:
Automatically checks the folder you want for any rmmz savegame
Allow the player to pick the savegame he wants to import
(Optional) Set some requisites for the savegame to be elegible! You don't want players to mess with you and load saves from different games? Maybe if you sneakly set that variable n° 18 to 755 as proof that the save file is from your prequel they won't mess with you!
Personalize how the file selection is shown
Automatic Language Detection: As a bonus, this plugin will work as a test for a feature I intend to add in every WinterDream plugin. You can (optionally) create a translation pack for up to 183 different languages. The plugin will automatically check the language on the player machine and choose the most fitting translation. If absent, it will stick to the default.
More Key Featurs (That will come in the future):
After the player picked the save file you can create a recap based on the read data!
Ability to import Web/Android saves and RMMV saves
IMPORTANT NOTE: This plugin is guaranteed to work on local machine with .rmmzsave files. Recovering old saves from Web Distribution games might be tricky as they don't use those files, I'll work on a solution
Modified default value for arguments in "Get informations from old save" from empty (will trigger an error) to an empty array (works ok)
VERSION 1.1:
Fixed the conversion from framecount to hours and minutes (Thanks to Ranadiel for the patch suggestion)
Moved the translation pack dependencies to WinterDream Core
Changed the text drawing from local functions to Core autowrap
Now searching out of range variables (for example searching var500 with only 200 variables) won't result in an automatic error but it will follow the "Error Management" rules
Added an Error Handling rule for Switches out of range
Added a $gameSystem initialization to avoid the old save information to clone itself in a New Game
Added save data pruning, the unused data of the saves are removed to use less memory. If an oldSave has an oldSave nested inside, it will be removed