Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Tool-Making

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> Scenario Design >> Tool-Making Page: [1]
Login
Message << Older Topic   Newer Topic >>
Tool-Making - 3/1/2007 12:10:34 AM   
Murphie

 

Posts: 24
Joined: 2/11/2007
Status: offline
Hi,

I want to create a tool that will let me track changes to the experience levels of leaders and crews of ships as I play a game. I want to see what determines growth of the leader attributes and crew experience on ships.

From what I read of witpload, it creates CSV files that have values of certain fields.

How are turns "read" thru tools like the one Woo has created? Do you run witpload on the scenerio after you run each turn? Can you run it on the saved psw file from the turns?

Is there a thread somewhere on how to read some of the data from a game each turn?



_____________________________

Respectfully,

M. E. Grinn
Post #: 1
RE: Tool-Making - 3/1/2007 2:19:12 AM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline
I know of nothing on the forum about the format of the saved game file. Some people are adamantly against any of that kind of information being shared because it would allow someone to cheat in a PBEM game.

I think the way Woos does it is a bit awkward. I believe Woos needs witpload run on the scenario files so his program can access some information from the scenario files. Virtually everything from the scenario files is stored in the saved game file, though it can be tough to dig out.

What you want to do can be done, but a lot hinges on how good a programmer you are and how long you want to take to write your utility.

Bill

(in reply to Murphie)
Post #: 2
RE: Tool-Making - 3/1/2007 5:09:02 AM   
Murphie

 

Posts: 24
Joined: 2/11/2007
Status: offline
quote:

ORIGINAL: wdolson

I know of nothing on the forum about the format of the saved game file. Some people are adamantly against any of that kind of information being shared because it would allow someone to cheat in a PBEM game.

I think the way Woos does it is a bit awkward. I believe Woos needs witpload run on the scenario files so his program can access some information from the scenario files. Virtually everything from the scenario files is stored in the saved game file, though it can be tough to dig out.

What you want to do can be done, but a lot hinges on how good a programmer you are and how long you want to take to write your utility.

Bill


If I understand Woos program correctly, it uses witpload and dumps delimited files into the SCEN folder from the GAME folder.


So one of the files is witpldr... A turn 1 dumps the leader info to this file. I *think* as you do additional turns the data is overwritten... So I think I'd need to read the 1st turn to get the base data for the leaders. I'd need to *read* additional turns and compare data from those turns to the base data. If data changes then add new record. Sort on ldrname & Date.

Does that make sense?




Attachment (1)

_____________________________

Respectfully,

M. E. Grinn

(in reply to wdolson)
Post #: 3
RE: Tool-Making - 3/2/2007 5:11:53 AM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline
quote:

ORIGINAL: Murphie

If I understand Woos program correctly, it uses witpload and dumps delimited files into the SCEN folder from the GAME folder.


So one of the files is witpldr... A turn 1 dumps the leader info to this file. I *think* as you do additional turns the data is overwritten... So I think I'd need to read the 1st turn to get the base data for the leaders. I'd need to *read* additional turns and compare data from those turns to the base data. If data changes then add new record. Sort on ldrname & Date.

Does that make sense?


Not completely. There is no folder entitled Game. witpload was written for people doing mods of the scenarios. It extracts the scenario files into CSV files, so you can edit game details in Excel. I believe it also has a function to take the CSV files and generate scenario files.

I'm not sure where witpload puts the CSV files. I thinks it's in the Scen folder.

witpload does not extract anything from the saved game file. The leader information extracted is the information at the beginning of the scenario. Any changes to the leader would be in the saved game file.

At the end of every turn, two plain text files are generated. One of these is the signal intelligence and the other is the combat report. Bodhi's Witp Utility program reads and archives these files so you can see a history going back as much as 100 days.

Woos' program does dig into the saved game file, but does not extract everything from it. I don't think any leader information is currently extracted.

Bill

(in reply to Murphie)
Post #: 4
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> Scenario Design >> Tool-Making Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.391