View Single Post
  #8  
Old July 14th, 2005, 10:35 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: gauging interest. save game perl script

I dont want to know you out of your project. Its always worthwhile to do something like it. The subject of the thread is "gauging interest. save game perl script" so we can wait and see if enough people are able to run perl scripts who are interested.

But yes, here are a number of versions of a save program. Bat file, java, basic, etc. I was tempted to EXE a basic one so that people didnt have to "download this and install it to run this". You can use the pre-exec and post-exec switches when starting Dom2 to make a save every turn but that doesnt do anything different than the game does without a save.

The icon version with bat files works ok for me. I click the icon to make a save of the game. But you have to reach your desktop to do it and you have to edit the batch file to tell it which game.

What I had in mind for an exe would be something that you clicked which would start the saver program, then start Dom2 with the "status file" switch. That file is ascii and easily parsed with a turn number in it. The exe could "see" the turn changes and make 2, 3, or 5 maybe.. rotating backups that are 5 turns apart from each other.
__________________
-- 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