.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

Reply
 
Thread Tools Display Modes
  #11  
Old October 23rd, 2004, 10:33 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: dom2 save games

I should go ahead and do my Basic Version. Its easier to install.

EDIT: I forgot. the Last release lets it compile to a standalone exe now. Hmmm I wonder if that would be trusted enough for download. I guess I could do both if there was an interest.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #12  
Old October 25th, 2004, 12:34 AM

paplan paplan is offline
Private
 
Join Date: Apr 2004
Location: us
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
paplan is on a distinguished road
Default Re: dom2 save games

That woudl be great for the computer illiterate here.
Mark me down as interested!
Reply With Quote
  #13  
Old October 26th, 2004, 04:37 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 Re: dom2 save games

Quote:
Arralen said:
Just tried out "Torvak's Dominions savegame utility v0.61". couldn't get it to work either. Operating it seems definitely non-trivial and not very intuitive ... .

OMG the insult
__________________
World Map
Reply With Quote
  #14  
Old October 27th, 2004, 01:41 AM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: dom2 save games

Nice to see you here .. how do I make it un-zip the archived files?

Btw., your link to Domsaver0.7 isn't working ..
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #15  
Old October 27th, 2004, 01:42 AM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: dom2 save games

Quote:
Endoperez said:
If one has JSDK, the easiest way to compile one .java file is... If there are many files, then it's harder.
There are 11 of them ...
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #16  
Old October 27th, 2004, 01:52 PM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default Re: dom2 save games

Ok I just whipped up a little program to save your games.

It does the following:

1. Watches the specified directory for changes
2. Check the file that changed and opens it up to see what turn it is for.
3. Creates a new directory for that turn if it does not exist
4. Copies the file to that directory.

Step 2 is a touch flaky ( you should never see a problem though ) it seems like the files are open by Dom2.exe without the sharing bit set so sometimes I can not open them. So I ( yuck ) sleep a a few milliseconds before attempting to open a file I detect has changed. You may have to tweak this paramater ( but I don't think you will have to ) it defaults to 100 ms.

How to use it:

open a command prompt and type something like:

dom2save.exe c:\dominions2\testgame

Anyway, it probably will not erase your hard drive, but I'm a software guy not a QA guy so no guarnatees.

I suppose I should add some type of disclaimer. Go to this link for the disclaimer.
Attached Files
File Type: zip 307016-Dom2Save.zip (15.5 KB, 143 views)
Reply With Quote
  #17  
Old October 27th, 2004, 02:31 PM
Nagot Gick Fel's Avatar

Nagot Gick Fel Nagot Gick Fel is offline
Major
 
Join Date: Sep 2003
Posts: 1,177
Thanks: 0
Thanked 1 Time in 1 Post
Nagot Gick Fel is on a distinguished road
Default Re: dom2 save games

OK, here's my own small, quick & dirty backup utility. It runs in the background and check your game folders periodically, so you don't have to remember about clicking on an icon each time you submit a turn.

It's written in Java (thus you need a Java VM to run it) and is Linux and Windows-friendly (and should probably run on other OSes as well).

Basically it manages subfolders named 000, 001, 002, etc. in your game folders, and reuses the oldest entry when the maximum # of backups is reached. A new backup folder is created/overwritten when a new .trn is generated, otherwise the most recent backup folder is updated when a .2h is generated or updated.

You can specify the # of backups, and dom2 location in a property file. There's also a property that lets you specify which games you don't want to save, and one that lets you specify the delay (in seconds) between checks.

It's a bit crude - no GUI, no restore function, and it may throw an exception if you manually delete a game folder it's tracking. That's mainly because I didn't want to spend too much of my free time on it. However it works, and what's nice is that once it's started you can forget about it.

Zipfile contents:

DomIIBackup.java - the source
DomIIBackup.jar - the executable JAR file
domIIbackup.props - the property file

Just unzip in your Dominions directory, or any directory of your choice. If the latter, you'll need to update the d2backup.d2home property in the property file to point to your Dominions directory. Eg, for Linux:

d2backup.d2home=//mylinux/home/Users/myself/dom2

and for Windows:

d2backup.d2home=C:/games/illwinter/dom2

or

d2backup.d2home=C:\\games\\illwinter\\dom2

The other options should be self-explanatory. If you want to tell DomIIBackup to NOT track the games 'mayhem', 'bloodfest' and 'armageddon', use the d2backup.exclude property:

d2backup.exclude=mayhem:bloodfestageddon

While running, DomIIBackup will automatically start tracking every new game you create, unless the game name is listed in the d2backup.exclude property.

To run, use the command:

java -cp DomIIBackup.jar DomIIBackup

in the unzip directory. Of course you can put that command in a shell script or batch file.

This Version was compiled/tested with Sun Microsystems' J2SDK 1.4.2_04, which is available for download on Sun's website. Although you only need the JRE component to run the utility.
__________________
God does not play dice, He plays Dominions Albert von Ulm
Reply With Quote
  #18  
Old October 27th, 2004, 02:33 PM
Nagot Gick Fel's Avatar

Nagot Gick Fel Nagot Gick Fel is offline
Major
 
Join Date: Sep 2003
Posts: 1,177
Thanks: 0
Thanked 1 Time in 1 Post
Nagot Gick Fel is on a distinguished road
Default Re: dom2 save games

Quote:
Nagot Gick Fel said:
OK, here's my own small, quick & dirty backup utility.
Ooops, forgot the attachment.
Attached Files
File Type: zip 307032-DomIIBackup.zip (9.7 KB, 136 views)
__________________
God does not play dice, He plays Dominions Albert von Ulm
Reply With Quote
  #19  
Old October 27th, 2004, 03:19 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 Re: dom2 save games

Quote:
Arralen said:
Nice to see you here .. how do I make it un-zip the archived files?

You have to set the turn number you want to unzip and just press load.
__________________
World Map
Reply With Quote
Reply

Bookmarks


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 09:33 PM.


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