Tool-Making (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> Scenario Design



Message


Murphie -> Tool-Making (3/1/2007 12:10:34 AM)

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?





wdolson -> RE: Tool-Making (3/1/2007 2:19:12 AM)

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




Murphie -> RE: Tool-Making (3/1/2007 5:09:02 AM)

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?

[image]local://upfiles/24002/0692B019CA424EFE842AC6DBDF6C7560.jpg[/image]




wdolson -> RE: Tool-Making (3/2/2007 5:11:53 AM)

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




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.90625