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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old October 21st, 2004, 05:24 PM

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 dom2 save games

So, I think that this is a tough game to learn. I'd like to be able to save a game, try something new 9to see if it works), and then go back to that save, rather than starting over. I realize that I can do this manually, by Alt-Tabing into Win Explorer, creating a folder, and saving that folder. But this is sort of a hassle. I downloaded the domsaver utility, but can't quite figure out how it works. Where do I extract the files to? And then what do I do? Does Java Runtime need to be in the dom2 folder?

If someone could help me out with the domsaver utility, or come up with an alternate, quick approach to saving multiple games, I'd be very appreciative.
Reply With Quote
  #2  
Old October 21st, 2004, 06:15 PM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: dom2 save games

I'm not sure since I am happy with manually copying files, but I think that domsaver utility you refer to is just there to save and restore newly-desgined pretenders (which are also just saved as <nation>.2h within a directory called newlords).
Reply With Quote
  #3  
Old October 21st, 2004, 08:12 PM

Zooko Zooko is offline
First Lieutenant
 
Join Date: Sep 2004
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Zooko is on a distinguished road
Default Re: dom2 save games

I used to run a bash script to tar up my dir after each move.

However, for you to do that you would have to start with "install Linux" or at least "install cygwin". So I don't have any useful advice for you.
Reply With Quote
  #4  
Old October 21st, 2004, 10:40 PM
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

Its easier if you make a batch file of the commands, then you can click on the icon to get it done. But thats fast becoming a lost art. I suppose I could make an executable that makes a backup copy of a game with a set name. Like any game called asdf
__________________
-- 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
  #5  
Old October 21st, 2004, 11:20 PM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: dom2 save games


Easy enough to make the batch file, especially if you don't mind tweaking it from game to game.

Placing it in the game directory, it could look something like this:

echo off
mkdir save
copy nation.2h save


Very simple and crude, with a Version to restore it that looked like:


echo off
del nation.h
copy save\nation.h .


Then, make a shortcut and drag the shortcut to the desktop and you're set.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #6  
Old October 22nd, 2004, 01:15 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

If it's "George McGinn's Dominions SaveGame Backup&Restore Utility Version" you're talking about ... yes, it does backup every turn automatically.

But - some zips had only the Java source files in it (".java" on W32 machines), in that case you need the Java SDK to compile them yourself.

I accidently deleted my bin files, so I'm stuck with manually zipping the turn files as well (no way of compiling a Java app).
Isn't that hard to do, as I play in windowed mode anyway. And as Dom2 doesn't keep the files open all time, it doesn't complain if you fiddle with them while the game is running.
__________________
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
  #7  
Old October 22nd, 2004, 05:47 AM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: dom2 save games

If you follow Cainehill's suggestion, do not forget the "fthrlnd"-file if you're playing single player...
Reply With Quote
  #8  
Old October 22nd, 2004, 11:25 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

Thanks for the help. Where might I find a copy of "George McGinn's Dominions SaveGame Backup&Restore Utility Version"?
Reply With Quote
  #9  
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
  #10  
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, 145 views)
__________________
God does not play dice, He plays Dominions Albert von Ulm
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 10:42 AM.


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