View Single Post
  #30  
Old April 19th, 2004, 10:58 AM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: 3rd party Apps wishlist

Quote:
Originally posted by Gandalf Parker:
I know there is a really nice 3rd party app for multiple game saves and multiple god saves.

But I was thinking that the --preexec could copy the turn files to a subdirectory before each processing. But then I realized that it wouldnt offer anything since going to that previous save would be the same as just hitting "redo from start" on a turn file.

However, if someone put a counter in it... something easy to change. Have it count the turns or pull the number from the score.html and divide it by the requested save-count. Such as if I had a game called MyGame then this program culd make a directory beneath that called saves. Every 10th processing it could copy the turn files from MyGame to MyGame/saves before doing the hosting.
Does --preexec work? I tried it, and it apparently wasn't recognized...

If anyone's interested, I have a bash script that can be used as a --postexec to to backup the .trn and .2h files for a whole game. It's very kludgy, as it creates an additional file to "remember" the turn number, and it still has path problems, and...

Oh, and since it uses bash, and standard unix commands, it's much easier to use on a Linux machine. To use it on Windows, you'll have to have a set of standard Unix commands installed.
Reply With Quote