Page 1 of 1
Edit Leaders
Posted: Sun Mar 22, 2020 1:26 pm
by irfanahmed1979
Is there another way to edit leaders' stats rather than the editor that comes with the game? I mean for example, if I wanted all Dutch Air Unit leaders to have the same level of Admin rating then could I do it in one go? Like in an Excel file?
RE: Edit Leaders
Posted: Sun Mar 22, 2020 7:33 pm
by LargeSlowTarget
In the SCEN folder you should find a tool called "witploadAE.exe".
It allows to dump the scenario files into several .csv files which correspond to the tabs in the editor, like ship classes, air groups etc.
You can edit the .csv files with Excel and the like and then to convert them back into game scenario files.
It is a DOS program, so you need to use the Command prompt "cmd.exe"
First you need to enter the path to the scenario folder, for example "cd c:\matrix games\war in the pacific admiral's edition\scen\".
Then you can use the following commands:
To export scenario #01 in the current directory into .csv: WITPLOADAE.exe /e /s001
To import the .csv back into scenario #01 in the current directory: WITPLOADAE.exe /s001
The leaders are in the file called "WITPldrXXX" with XXX being the scenario number.
RE: Edit Leaders
Posted: Sun Mar 22, 2020 11:40 pm
by irfanahmed1979
Thanks a lot!
LargeSlowTarget, are those girls topless? [:D] How old is that photo?
RE: Edit Leaders
Posted: Mon Mar 23, 2020 12:27 am
by irfanahmed1979
Sorry to bother you again but is there a look up table for what Rank numbers and Commands numbers mean in the .CSV file?
RE: Edit Leaders
Posted: Mon Mar 23, 2020 8:15 am
by PaxMondo
one of the files is WITPtabs.csv
It is a lookup. If it ain't there, you need to ask here in the forums.
RE: Edit Leaders
Posted: Mon Mar 23, 2020 8:22 am
by LargeSlowTarget
You have to work with the editor and the .csv files in parallel - for example, the "rank" field in the editor has a drop-down menu which shows all ranks and the associated number, like "15 LTJG - IJN".
RE: Edit Leaders
Posted: Mon Mar 23, 2020 8:45 am
by irfanahmed1979
Ok, thank you.