Page 4 of 7
RE: Fixing some problems with 0.5a
Posted: Tue Jan 01, 2008 12:51 pm
by Yava
ORIGINAL: Woos
A new version (0.5a) is available from
http://extweb.retsiemuab.de/witp/witpdecoder0.5a.zip . It is the whole zip file (and not only the jar) since I also included a new version of hsqldb.jar (although that didn't help with the Load Batch problem)).
Fixed:
- CHS 157/158 problem: Now witpDecoder simply uses 127 as durability and warns you about it.
- Scenario 2 & 5: Missing HQs for Airgroups are now allowed, so the scenarios should load. Be aware that if all planes of one type have missing HQs, they will only show in the "AC classes" tab if "All nationalities" are selected.
- Load Batch might now work. I could reproduce Martti's problems with the Allies and "fixed" it by increasing the checkpoint frequency. Of course that is not really a fix but it seems to work now.
- On special request from VSWG the numbers of Ships Available/Building/Sunk are now listed per class in the "Ship classes" tab. Note that for witpdecoder each update is an own class, so to see all ship, select the "All" choice for "Availability". Otherwise you will not see ships building for future updates and (once you have updated) won't see ships of out-of-date classes anymore.
And so it works [:)]
RE: witpDecoder 0.5 released
Posted: Tue Jan 01, 2008 8:06 pm
by kfmiller41
could someone please post or explain how to get a password set up in wipdecoder please. I am having trouble with it for some reason[&:]
RE: witpDecoder 0.5 released
Posted: Tue Jan 01, 2008 8:47 pm
by Nomad
try this Ken
echo off
REM java -Djava.library.path=%CD% -jar witpdecoder2.jar PasswordHere
java -Djava.library.path=. -jar witpdecoder2.jar password
Also note, you can not use a password on the turn I sent. You will need to open
the game file, setting your password, and then save it to a slot. You can then use
the saved file. the file I sent will NOT have your password in it yet - next turn it
will and you can use it.
RE: witpDecoder 0.5 released
Posted: Tue Jan 01, 2008 9:04 pm
by kfmiller41
worked for my other game as allies, thanks a bunch
RE: Fixing some problems with 0.5a
Posted: Wed Jan 02, 2008 11:26 am
by VSWG
ORIGINAL: Woos
A new version (0.5a) is available from
http://extweb.retsiemuab.de/witp/witpdecoder0.5a.zip . It is the whole zip file (and not only the jar) since I also included a new version of hsqldb.jar (although that didn't help with the Load Batch problem)).
Fixed:
- CHS 157/158 problem: Now witpDecoder simply uses 127 as durability and warns you about it.
- Scenario 2 & 5: Missing HQs for Airgroups are now allowed, so the scenarios should load. Be aware that if all planes of one type have missing HQs, they will only show in the "AC classes" tab if "All nationalities" are selected.
- Load Batch might now work. I could reproduce Martti's problems with the Allies and "fixed" it by increasing the checkpoint frequency. Of course that is not really a fix but it seems to work now.
- On special request from VSWG the numbers of Ships Available/Building/Sunk are now listed per class in the "Ship classes" tab. Note that for witpdecoder each update is an own class, so to see all ship, select the "All" choice for "Availability". Otherwise you will not see ships building for future updates and (once you have updated) won't see ships of out-of-date classes anymore.
Thank you very much! [:)]
RE: witpDecoder 0.5 released
Posted: Wed Jan 02, 2008 11:37 am
by VSWG
ORIGINAL: Eskil
It is working now as well apart from tab with historical ship movement but that is most likely due to user error. This information is only available once you have loaded multiple save files, right?
Yes.
If this is the case, what's a good strategy to handle to the save slots? I read somewhere that you get get auto saves weekly and daily, are these overwritten or renamed so you can use those?
I guess it doesn't matter if you're using an auto save slot or a regular slot. However, you must load every single turn into witpdecoder in order to make full use of the ship movement tab. You can do this manually, or use the batch load feature, but you need a save for every turn.
RE: witpDecoder 0.5 released
Posted: Wed Jan 02, 2008 1:16 pm
by Eskil
ORIGINAL: VSWG
ORIGINAL: Eskil
If this is the case, what's a good strategy to handle to the save slots? I read somewhere that you get get auto saves weekly and daily, are these overwritten or renamed so you can use those?
I guess it doesn't matter if you're using an auto save slot or a regular slot. However, you must load every single turn into witpdecoder in order to make full use of the ship movement tab. You can do this manually, or use the batch load feature, but you need a save for every turn.
Right.. Perhaps something to use in a larger scenario in that case..
/Eskil
RE: witpDecoder 0.5 released
Posted: Sun Jan 06, 2008 5:14 am
by FeurerKrieg
Does WITPDecorder care whether a turn has been ended or not? I'd like batch in all my old turns, but the files I have are the ones that I email off to my opponent.
Thanks
RE: witpDecoder 0.5 released
Posted: Sun Jan 06, 2008 11:18 am
by Woos
In principle it should work. But I never tried it. You should get something similar to as if you read in a save game you saved directly before turn execution in an AI game. And that works.
RE: witpDecoder 0.5 released
Posted: Sun Jan 06, 2008 11:19 am
by Mistmatz
I believe the decoder uses WitPload to extract data in csv format from the scenario files. Those files are then used for setting up a database on top of which the turns are loaded.
Unfortunately RHS scenario 070 is not converted correctly by WitPload and setting up the database is not working therefore. This can easily be seen when the 'delay' fields are checked, most of them are wrong, although the format (yymmdd) is correct.
El Cid guided me to WitPExcel which generates a single huge file with all the data and the entries seem to be correct.
I was now thinking if it would be possible to input a fileset (csv) into the decoder that I extract more or less manually from the WitPExcel database rather than using the standard method. Would this be possible?
RE: witpDecoder 0.5 released
Posted: Sun Jan 06, 2008 9:14 pm
by Woos
ORIGINAL: Mistmatz
I believe the decoder uses WitPload to extract data in csv format from the scenario files. Those files are then used for setting up a database on top of which the turns are loaded.
Correct.
I was now thinking if it would be possible to input a fileset (csv) into the decoder that I extract more or less manually from the WitPExcel database rather than using the standard method. Would this be possible?
Yes, albeit it sounds like a lot of work. Although I guess if it is really a problem of witpload your approach is the only way to resolve it since I doubt witpload will be fixed so it also works with all mods. But you can of course ask.
Otherwise follow the "remove witpload.exe" approach described in section 3.3 of the doc to load the hand generated .csv files into witpDecoder.
RE: witpDecoder 0.5 released
Posted: Sun Jan 06, 2008 11:18 pm
by Historiker
Could not create or initialize the database
java.syl.SQLException: bad TEXT table source file - line number: 271
java.lang.NumberFOrmatException For input string: "MG" in statement [
SET TABLE WITPDEV SOURCE "WITPdec.csv;ignore_first=true"]
what to do?
RE: witpDecoder 0.5 released
Posted: Mon Jan 07, 2008 12:25 am
by Woos
> java.lang.NumberFOrmatException For input string: "MG" in statement [
> SET TABLE WITPDEV SOURCE "WITPdec.csv;ignore_first=true"]
Did you type that by hand? Because normally the file is called WITPdev.csv, not WITPdec.csv.
If that is not the problem, you have most probably some device name with an apostrophe (') in it without proper inclusion in double quotes (i.e. not following the proper .csv way). Should be around line 271 in the file and have an MG in it. You can solve it by editing the csv file to either put quotes around the name or remove the apostrophe. Then follow the "remove witpload.exe" from section 3.3 in the documentation.
RE: witpDecoder 0.5 released
Posted: Mon Jan 07, 2008 2:18 am
by Nomad
I am not sure what senario you are using Historiker, but I had a simular problem with a file I made and used things like 3" mortar. It really confuses things in the CSV file. To me, it looks like you have something like .5" MG in your device table.
RE: witpDecoder 0.5 released
Posted: Mon Jan 07, 2008 1:54 pm
by Historiker
I wanted to use it for 075 RHS EOS
I used the database editor to change the 271 and removed the " " in it.
Now this message is coming:

RE: witpDecoder 0.5 released
Posted: Mon Jan 07, 2008 3:11 pm
by Nomad
As far as I know, WitPDecoder will not work with RHS. It doesn't like circular paths in the upgrades or something.
But, you can look up ship class 800 with the editor and see. Most likely it points to an undefined ship class slot - just change it to point to itself and try again.
RE: witpDecoder 0.5 released
Posted: Mon Jan 07, 2008 3:16 pm
by Mistmatz
ORIGINAL: Historiker
I wanted to use it for 075 RHS EOS
I used the database editor to change the 271 and removed the " " in it.
Now this message is coming:
...
I learned that WitPload does not handle the RHS scenario files correctly (at least RHSCVO scen. 70). WitPExcel on the other hand seems to work but is not compatible with the decoder.
When I have some spare time I'll try to input the WitPExel data into the decoder, I believe this should work, see also my above postings.
Btw. initially I had the same message you have historiker and it was _NOT_ due to circular upgrade paths, or at least not with class 800.
RE: witpDecoder 0.5 released
Posted: Mon Jan 07, 2008 3:37 pm
by Historiker
Alles klar, danke! Dann werde ich es wohl per Hand machen müssen

RE: witpDecoder 0.5 released
Posted: Mon Jan 07, 2008 4:02 pm
by Historiker
ORIGINAL: Nomad
As far as I know, WitPDecoder will not work with RHS. It doesn't like circular paths in the upgrades or something.
But, you can look up ship class 800 with the editor and see. Most likely it points to an undefined ship class slot - just change it to point to itself and try again.
seems so

with CHS it works fine! [:@]
RE: witpDecoder 0.5 released
Posted: Mon Jan 07, 2008 5:07 pm
by Historiker
ORIGINAL: Mistmatz
ORIGINAL: Historiker
I wanted to use it for 075 RHS EOS
I used the database editor to change the 271 and removed the " " in it.
Now this message is coming:
...
I learned that WitPload does not handle the RHS scenario files correctly (at least RHSCVO scen. 70). WitPExcel on the other hand seems to work but is not compatible with the decoder.
When I have some spare time I'll try to input the WitPExel data into the decoder, I believe this should work, see also my above postings.
Btw. initially I had the same message you have historiker and it was _NOT_ due to circular upgrade paths, or at least not with class 800.
What would have to be done to make the Decoder usable for RHS?