WIP : Game Saves
Following are the notes dealing with this enhancement (issue #21 on ParaJVE's tracker).
|ParaJVE can now save and reload its full state (including the vectors work buffer) in small binary files (usually less than 4KB).|
There are two kind of save/load features :
When the user presses F5, the emulator will save its current state in a Quick-Save slot ; this slot will be loaded back when F9 is pressed. Each game has a specific Quick-Save slot (basically derived from its binary CRC), so quick-saving one game will not overwrite the Quick-Save slot of another game.
When Quick-Saving/Quick-Loading, the user is not asked for a file name, as all Quick-Save files are located in the <data/saves/quick> folder.
When the "Save..." item is clicked in the "File" menu, ParaJVE asks the user a file name where to store its state. This file can be loaded back later, when selecting the "Load..." menu item. Please note that you can only load a save file containing data for the game currently emulated (for instance, you can't load a MINESTORM save if you are running the BERZERK game).
The save/load file selector dialog embeds a preview frame that lets you see the content of the selected save file (cf. picture attachment).
It also provides 3 different file filters :