.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old February 23rd, 2004, 07:21 PM
Torvak's Avatar

Torvak Torvak is offline
Corporal
 
Join Date: Jan 2004
Posts: 151
Thanks: 0
Thanked 0 Times in 0 Posts
Torvak is on a distinguished road
Default 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.
__________________
World Map
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.