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

This Month's Specials

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

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old July 13th, 2005, 07:51 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default gauging interest. save game perl script

Well not sure why but I never got to actually using the Java dom save utility. I had problems with jre this and classpath that and probably I wasn't patient enough to get it to work.

So after some time of stupidly saving turns by manually copying them I decided to write a small perl script to save turns.
So I did.
It can save and restore turns.
It is configurable.
It is OS independent.
It is CLI (though if there's interest I might add a GUI to it).
I am using it and find it very convenient.
I am trying to gauge if there's interest in this tool.
If so I can upload it, also If there are any suggestions as to how it can be even more useful I can consider and maybe add them.
One use for it that I can imagine is for PBEM hosts - it can be used as an easy way to save all turns.

Usage (from script documentation):
"Usage save_dom.pl [v|c|s|l] [game name] [turn number].
Examples.
1 To save turn 14 of game named "ermor" do:
save_dom.pl s ermor 14.
2 To load turn 14 of game named "ermor" do:
save_dom.pl l ermor 14.
3 To configure values of dominions II path and save game root path do:
save_dom.pl c.
4 To view configuration parameters values do:
save_dom.pl v
"

EDIT,
In the zip file is the perl script (you need to install perl for it to work)
also is a .save_dom_conf file, this is an example of the configuration file on my system.
Attached Files
File Type: zip 366542-save_dom.zip (2.1 KB, 116 views)
Reply With Quote
 

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 11:18 AM.


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