domsaver v0.1
I need to learn Java for the next semester so i thought i do it writing myself a small save game utility. Not sure if something like this already exists, if yes i havent found it.
Right now it lets you specify the path to dominion 2, game name and the name of the .trn file. There are 4 buttons save, load, quicksave and quickload.
Save gets the turn number from the .trn file and creates a folder gamename## in ./doc/save and copies the 3 files into it. I put the save dir in /doc so it doesn't show up on the game list.
For load you specify a turn number and if the dir exists it copies the files back.
Quicksave and quickload just use a gamenamequick dir and will overwrite existing stuff.
This is the very first working Version i just wrote in some hours working my way through the help and a book. It works for window but i doubt on any other OS. Mostly because i hardcoded the "\" for the paths.
For future Versions i want
-some nifty drop down menus and file dialogs to select the locations of the files,
-saving .trn and .2h files for more than one nation if multiplayer
-compressing of the saved games,
-keyboard commands
-pretender saving
and some other stuff people will come up with.
If anyone is interested drop me a line and i'll email it. Haven't bothered to set up a webpage yet.
|