ParaJVE : Parabellum's Java Vectrex Emulator   

Official Home of ParaJVE ... A travel through the programming of a freeware Vectrex emulator in java!

Tuesday, July 21, 2009  

WIP : Game Saves

Also included in the next release will be save game support. With this feature, you will be able to save your current gaming session in a file, and load it back in the emulator whenever you want.

Following are the notes dealing with this enhancement (issue #21 on ParaJVE's tracker).


Emulator State Persistence
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 :

Quick Saves

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.

Standard Saves

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 :
  • "All Files" : list all the files in the current folder,
  • "ParaJVE save files" : list only the files containing valid ParaJVE save files
  • "ParaJVE compatible save files" : list only the files containing valid ParaJVE save files that match the game currently emulated.

Labels:

6 Comments:

  • Looking forward to the next release.
    Thanks for all your hard work…

    By Anonymous Olds-kool gamer, at 7/27/2009 11:37 PM  

  • Excellent stuff, also looking forward to the next release.

    By Blogger retroK, at 7/28/2009 11:01 PM  

  • Yes, I am also looking forward to the next version. When is it going to be online, if I may ask?

    By Anonymous Anonymous, at 8/17/2009 3:49 PM  

  • Parabellum,
    that you are still updating ParaJVE is to be commended!
    :)
    VectrexMad!
    www.vectrex.co.uk

    By Blogger VectrexMad!, at 8/31/2009 10:56 PM  

  • Thank you all for your support :)

    The 24 new overlays textures have now been completed (packed into a single file that's 2.8Mb large).

    However, I haven't had any time to work on the shaders since the last WIP post, so I still cannot foresee when the next release will be available.

    I hope to have things ready for a release in mid-october, though.

    By Blogger Parabellum, at 9/07/2009 2:24 PM  

  • Very nice!

    I used to play the real vectrex at my aunt, she doesn't want to sell the thing to me, so this program is a great alternative:-)

    Thanks dude, keep up the good work!

    By Anonymous Blitz, at 1/02/2010 5:44 PM  

Post a Comment

<< Home