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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old April 11th, 2004, 02:47 PM
Master Belisarius's Avatar

Master Belisarius Master Belisarius is offline
Colonel
 
Join Date: Jul 2000
Location: Montevideo Uruguay
Posts: 1,598
Thanks: 0
Thanked 0 Times in 0 Posts
Master Belisarius is on a distinguished road
Default Re: SE4Batch status?

Hey, THANKS Ruatha!
The new .Bat worked without problems in Win98!
Seems like I will need to take a look into the website you suggested, because seems chinese to me!
Reply With Quote
  #2  
Old April 11th, 2004, 06:00 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: SE4Batch status?

Really great script Ruatha. Thank you.
And to make it complete: how can we add "backup every x turns" feature into this? Sometimes it's really usefull.
And the Last one - is where any way to grab turn date from .gam file to insert it to the backup name?

Would appreciate your help.
Reply With Quote
  #3  
Old April 11th, 2004, 10:14 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SE4Batch status?

Doesn't MB's program do that anyways?
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #4  
Old April 11th, 2004, 10:37 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: SE4Batch status?

Quote:
Originally posted by Imperator Fyron:
Doesn't MB's program do that anyways?
Unfortunately, not. SE4B will add local timestamp to the end(beginning?) of the backup file name. I know that's good enough, but the se4 year would be better

Edit: Never mind, I'll better try zsh than this poor cmd.exe.

[ April 11, 2004, 22:04: Message edited by: aiken ]
Reply With Quote
  #5  
Old April 12th, 2004, 02:16 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SE4Batch status?

Well, the turn date is encrypted in the savegame files, so the only way to do it is to have a counter going in the program/batch code and hope it matches up.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #6  
Old April 12th, 2004, 06:49 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: SE4Batch status?

Quote:
Originally posted by Imperator Fyron:
Well, the turn date is encrypted in the savegame files, so the only way to do it is to have a counter going in the program/batch code and hope it matches up.
That's the typical header of .gam file:
 №г — –и ёxp8 1.91 24105 19Simultaneous Different Machines

So regexp 24\d\d\d will always catch turn date, but I doubt where's a way to paste it into the file name with help of native windoze utils.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 05:34 PM.


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