Thread: dom2 save games
View Single Post
  #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, 163 views)
Reply With Quote