Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: witpDecoder for the Allies

 
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 >> RE: witpDecoder for the Allies Page: <<   < prev  5 6 [7] 8 9   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: witpDecoder for the Allies - 12/3/2006 10:51:36 PM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
quote:

ORIGINAL: qgaliana
Inconsistencies lists ship captains leading TF's, which should be ok. But maybe there's no easy way to allow that.

Yes, for the Allies the "leader assigned to multiple units" inconsistency display is broken. It relied on slot assignments which are no longer true for the Allies (fixed in next version). For the Japanese it works but it will display all units the leader is assigned to. So if he leads two TFs and one ship, all three will be shown although only the two TFs are the problem. Sorry, can't be easily avoided.

quote:

ORIGINAL: qgaliana
Air leaders seem odd. None show as being assigned to any units (basically a stock 15 scenario I'm looking at). A quick spot check of Canadians for example (nice and short): I see the currently assigned leaders, but their current assignment is blank. The leaders listed in the game when I try to change an RCAF air group commander don't appear in the decoder. Something funky with leader vs pilots?

Aircraft and aircraft groups are not in the tool yet. So you will see no aircraft leader assigned to anything. This also means that if witpDecoder was currently skipping some air leaders (or if pilots were assignable as air leaders) the database consistency constraints will not complain and show the problem since their is currently no consistency to be maintained. Better not use the tool for aircraft leader selection (which usefulness is debated anyway).

On the general problem with the leader tab that some leaders are claimed to be unassigned in the tool but are not available for assignment in the game: There seem to be restrictions to what unit a leader can be assigned to exceeding the "Can lead a" and "belongs to" constraints shown in the leader tab. Just click on a Command HQ and try to change a leader and then on an Air HQ. The available leaders are somewhat different. And I'm still completely lost, what that additional restriction is. So you will probably have to live with the fact that some leaders, which are shown in the leader tab, will not show when you try to assign them in-game.

< Message edited by Woos -- 12/3/2006 11:00:39 PM >

(in reply to qgaliana)
Post #: 181
RE: witpDecoder for the Allies - 12/4/2006 2:05:08 AM   
Knavey

 

Posts: 3052
Joined: 9/12/2002
From: Valrico, Florida
Status: offline
OK,

Not working...here are my attempts at editing the .bat file.

echo off
REM java -Djava.library.path=%CD% -jar witpdecoder2.jar PASSWORD
java -Djava.library.path=. -jar witpdecoder2.jar
pause


I also tried deleting the REM statement:

echo off
java -Djava.library.path=%CD% -jar witpdecoder2.jar PASSWORD
java -Djava.library.path=. -jar witpdecoder2.jar
pause


I am no computer programmer so this java stuff is a bit foreign to me. Is there something I am missing? I am trying an Allied PBEM game.

_____________________________

x-Nuc twidget
CVN-71
USN 87-93
"Going slow in the fast direction"

(in reply to Woos)
Post #: 182
RE: witpDecoder for the Allies - 12/4/2006 2:24:54 AM   
VSWG


Posts: 3432
Joined: 5/31/2006
From: Germany
Status: offline
You're missing a "3", and the PW is in the wrong line:

echo off
REM java -Djava.library.path=%CD% -jar witpdecoder2.jar PasswordHere
java -Djava.library.path=. -jar witpdecoder2.jar 3 AlliedPW
pause

< Message edited by VSWG -- 12/4/2006 2:28:48 AM >


_____________________________


(in reply to Knavey)
Post #: 183
RE: witpDecoder for the Allies - 12/4/2006 3:10:49 AM   
Knavey

 

Posts: 3052
Joined: 9/12/2002
From: Valrico, Florida
Status: offline
I guess I am destined to not be able to use this until the bugs are worked out. 

Tried a copy and paste directly into the .dat file of your code VSWG.  Tried multiple games (all have the same password) but all of them tell me that I am using the wrong password. 

Oh well, will wait a while and give it another whirl after Woos gets some more patches in on it. 

It does look very promising though.


_____________________________

x-Nuc twidget
CVN-71
USN 87-93
"Going slow in the fast direction"

(in reply to VSWG)
Post #: 184
RE: witpDecoder for the Allies - 12/4/2006 3:26:02 AM   
qgaliana

 

Posts: 311
Joined: 4/27/2005
Status: offline

quote:

ORIGINAL: Knavey

I guess I am destined to not be able to use this until the bugs are worked out. 

Tried a copy and paste directly into the .dat file of your code VSWG.  Tried multiple games (all have the same password) but all of them tell me that I am using the wrong password. 

Oh well, will wait a while and give it another whirl after Woos gets some more patches in on it. 

It does look very promising though.



Sounds like you may have the problem I had. You probably need the witpDecoder2b.jar file from when Woos originally posted he had enabled support from the allies? Last I tried the version from the zip file only supported japanese games.

(in reply to Knavey)
Post #: 185
RE: witpDecoder for the Allies - 12/4/2006 3:57:43 AM   
Knavey

 

Posts: 3052
Joined: 9/12/2002
From: Valrico, Florida
Status: offline
Ahh...well, he is lurking, so perhaps Woos will get me a link.

Thanks for the info.

_____________________________

x-Nuc twidget
CVN-71
USN 87-93
"Going slow in the fast direction"

(in reply to qgaliana)
Post #: 186
RE: witpDecoder for the Allies - 12/4/2006 10:20:29 AM   
Oliver Heindorf


Posts: 1911
Joined: 5/1/2002
From: Hamburg/Deutschland
Status: offline
again, see #141 there is the link

_____________________________


(in reply to Knavey)
Post #: 187
RE: witpDecoder for the Allies - 12/4/2006 11:34:01 AM   
JamesM

 

Posts: 1017
Joined: 8/28/2000
From: QLD, Australia
Status: offline
I can get the program to start but I still get the the error screen when I load the save file.






Attachment (1)

< Message edited by jamesm -- 12/4/2006 11:42:58 AM >

(in reply to Oliver Heindorf)
Post #: 188
RE: witpDecoder for the Allies - 12/6/2006 3:02:40 AM   
jcjordan

 

Posts: 1900
Joined: 6/27/2001
Status: offline
Woos - got Allied side going no problems but had some of same errors others here had like the ammo on the IJN ship & fixed that before starting. Started new Allied v AI game & no errors showed in a version of CHS I've setup will let you if anything creeps in. Will the ship history tab fill in over game time as I play & save turns or is it not being used in current 2b version?

(in reply to JamesM)
Post #: 189
RE: witpDecoder for the Allies - 12/6/2006 6:36:24 PM   
herwin

 

Posts: 6059
Joined: 5/28/2004
From: Sunderland, UK
Status: offline
Is CHS 2.0 compatible?

Has anyone developed the cluster and clusterbase files for the 15x series of scenarios?

_____________________________

Harry Erwin
"For a number to make sense in the game, someone has to calibrate it and program code. There are too many significant numbers that behave non-linearly to expect that. It's just a game. Enjoy it." herwin@btinternet.com

(in reply to jcjordan)
Post #: 190
RE: witpDecoder for the Allies - 12/6/2006 8:27:42 PM   
VSWG


Posts: 3432
Joined: 5/31/2006
From: Germany
Status: offline
It works fine with my CHS 2.05 Scen155 PBEM, herwin. Haven't made the cluster file yet, though.

EDIT: I had to correct an error in a .csv file, though:

quote:

ORIGINAL: Woos

VSWG's problem stems probably from a database error in CHS 155.
Ship number 621 (the Shiratsuyu update at 5/44) claims to carry 288 torpedos (8 tubes times 36 loads). That's a bit much to store in a single byte. But since the previous versions only had 16 torpedos (8 tubes times 2 loads) this most probably is a database error.

Have to think on what to do about that, since I don't want to waste space in the database just because of a typo. Currently to get witpDecoder V0.2b to work with CHS 155 you have to edit the generated WITPcls.csv file and in the "621" line (the 622nd line in the excel sheet) replace the "36" in the "WpnAmmo10" column with e.g. a "2". WitpDecoder database initialization should work then. And then hoard all "Shiratsuyu" class ships till after 5/44 to sink the USN from long range.



< Message edited by VSWG -- 12/6/2006 8:40:12 PM >


_____________________________


(in reply to herwin)
Post #: 191
RE: witpDecoder for the Allies - 12/6/2006 8:40:36 PM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
quote:

ORIGINAL: jcjordan
Will the ship history tab fill in over game time as I play & save turns or is it not being used in current 2b version?

Ship history is not yet implemented. And might stay unimplemented for a while since I got some better ideas. Plus, if I implemented it, I would probably get complaints every time I changed the database schema, which to my complete surprise nobody up to now complained about (although V0.2b changed it and V0.3 will do again).

BTW, if someone has developed cluster.csv and clusterbases.csv files (like the ones requested by herwin) please sent them to me also, so I can include them in the next release.

< Message edited by Woos -- 12/6/2006 8:49:45 PM >

(in reply to jcjordan)
Post #: 192
RE: witpDecoder for the Allies - 12/6/2006 11:58:07 PM   
niceguy2005


Posts: 12523
Joined: 7/4/2005
From: Super secret hidden base
Status: offline
I take it that the Allied version is working now?

_____________________________


Artwork graciously provided by Dixie

(in reply to Woos)
Post #: 193
RE: witpDecoder for the Allies - 12/7/2006 3:08:34 AM   
VSWG


Posts: 3432
Joined: 5/31/2006
From: Germany
Status: offline
It works for me.

_____________________________


(in reply to niceguy2005)
Post #: 194
RE: witpDecoder for the Allies - 12/7/2006 10:06:02 AM   
RAM

 

Posts: 402
Joined: 5/1/2000
From: Bilbao,Vizcaya,Spain
Status: offline
quote:

ORIGINAL: Oliver Heindorf

I loaded the new jar file from the link from the page 5.

now I get a few messages that probably the leader bug has been struck my game ( about 5-6 messages)

and finally I get this one :








all from stock scen 15 game, no mods




I have EXACTLY THE SAME (word-by-word, literally) error message.

Any ideas?


< Message edited by RAM -- 12/7/2006 10:14:26 AM >


_____________________________

RAM

"Look at me! look at me!!!

Not like that! NOT LIKE THAT!!!"

(in reply to Oliver Heindorf)
Post #: 195
RE: witpDecoder for the Allies - 12/7/2006 11:39:57 AM   
JamesM

 

Posts: 1017
Joined: 8/28/2000
From: QLD, Australia
Status: offline

quote:

ORIGINAL: RAM

quote:

ORIGINAL: Oliver Heindorf

I loaded the new jar file from the link from the page 5.

now I get a few messages that probably the leader bug has been struck my game ( about 5-6 messages)

and finally I get this one :








all from stock scen 15 game, no mods


I had the same issue and Woos detected that the South Seas Detachement was assigned by the computer to 8th Area HQ.



I have EXACTLY THE SAME (word-by-word, literally) error message.

Any ideas?



(in reply to RAM)
Post #: 196
RE: witpDecoder for the Allies - 12/8/2006 1:21:53 AM   
jcjordan

 

Posts: 1900
Joined: 6/27/2001
Status: offline
I've had some of the FK_104 & 105 errors & here's what I do & it seems to fix it. Delete any old witp.* files created when decoder loads a savegame in the folder you have the decoder installed in along with the csv scen files in that folder. Create new csv files from whatever scen you're going to use using the witpload program & move them into the witpdecoder folder so you basically have a whole brand new setup. Now if you're going to use the cluster & clusterbase csv files he has, you will need to edit the ones he gives you by loading the scen into WITP editor & comparing the base #'s he has vs what is showing in your scen (I had to change a few for my CHS ver to work) & make sure they match. Then start a new game, play one turn & save, then exit game & run the decoder & load savegame & it should run ok. From then on I play & save one turn in the same slot each time then minimize game & start decoder & load same save game each turn & works fine. I'm playing a modified CHS 2.08 as me vs IJN AI so if playing a PBEM both players might have to do this as well as make sure they're running same versions & updates along with scen data etc. The key thing if playing PBEM would be make sure both players have all the same data on their computers when using witpdecoder. Not totally sure on this due to not playing PBEM but supposition on my part.

(in reply to JamesM)
Post #: 197
RE: witpDecoder for the Allies - 12/8/2006 6:27:42 AM   
jcjordan

 

Posts: 1900
Joined: 6/27/2001
Status: offline
Woos
I'm getting this on a new clean install for a new Allied vs IJ AI. I tried it with the autosave as well as a savegame after I had done my orders for the turn. I've got the witp.txt doc as well but it's kinda large if need to look at it or what I'd need to look at.

Couldn't write things to the DB due to
java.sql.SQLException: Integrity constraint violation - no parent ShipsTFMustExist table: TFStatus
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at de.retsiemuab.witpDecoder.as.a(Unknown Source)
at de.retsiemuab.witpDecoder.ab.a(Unknown Source)
at de.retsiemuab.witpDecoder.U.b(Unknown Source)
at de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.aE.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at de.retsiemuab.witpDecoder.I.a(Unknown Source)
at de.retsiemuab.witpDecoder.m.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at de.retsiemuab.witpDecoder.ae.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)

(in reply to jcjordan)
Post #: 198
RE: witpDecoder for the Allies - 12/8/2006 10:10:56 AM   
FeurerKrieg


Posts: 3397
Joined: 6/15/2005
From: Denver, CO
Status: offline
I think an easy fix to this is have your opponent do a WitPLoad on his scenario files and email you the csv's. Then use those to setup your WitPDecoder and since it was his scenario that started the game, the save file and scenario base files should match. Or have him email you the scanerio files and WitPLoad them yourself. Either thing accomplishes the same thing. Only problem is of course if your oppoent has updated his scenario files as well with a newer version of the Mod.



quote:

ORIGINAL: ctangus

quote:

ORIGINAL: Woos

So either
a) ctangus used a newer version of the mod, which had the previous error fixed, for generating the csv files than the one used to start the game.
b) WitP is manipulating lcutypes, names and suffixes.

I would assume the former.


Yea, that's probably the case. Since the game was started by my opponent, it's certainly possible we downloaded slightly different versions at different times.

Thanks for looking into it.



_____________________________


Upper portion used with permission of www.subart.net, copyright John Meeks

(in reply to ctangus)
Post #: 199
RE: Why using a DB with integrity constraints is usefull - 12/8/2006 10:15:38 AM   
FeurerKrieg


Posts: 3397
Joined: 6/15/2005
From: Denver, CO
Status: offline
Woos,

Does this mean that if you adjust your clusters mid-game (say by clearing the China rail line and connecting Manchuria to Indo-China in one big cluster) that you will lose all the data you have read in up to that point, since you would need to erase the witp.* files?


quote:

ORIGINAL: Woos

quote:


How do you create clusters? You need clusters to make industry tab work?


Please see the "Industry Tab" section in the documentation.

Most probable reason for it not working if you have created the respective files is a syntax error in one of the files.
Next most probable reason is that you didn't reinitialize the database after creating these files. Delete the witp.* files in the directory to do that and start witpDecoder then (Warning, you loose everything you have read into witpdecoder by that).

If you then still have problems, maybe you removed the "-1" entry from the clusters.csv file? That entry has to stay (see the doc, as I would like to add) but the text should of course be adapted.

BTW, did no one yet notice the glaring bug (so glaring that I didn't notice it for a week ;-) concerning the Industry tab: The last cluster is never displayed. Now how do I declare that a feature?

Concerning the leader list: Yes I also noticed some strange things there, but it basically simply takes the information stored in the save game. So if the save games says "can lead a plane" it is displayed by the leader tab in that category. If the game uses someone like that to captain a ship, there is nothing I can do about (but I will check for bugs once I got the Allies working because I also have seen the "no where to be found" effect).




_____________________________


Upper portion used with permission of www.subart.net, copyright John Meeks

(in reply to Woos)
Post #: 200
RE: witpDecoder for the Allies - 12/8/2006 7:54:53 PM   
saj42


Posts: 1125
Joined: 4/19/2005
From: Somerset, England
Status: offline
quote:

ORIGINAL: herwin

Is CHS 2.0 compatible?

Has anyone developed the cluster and clusterbase files for the 15x series of scenarios?


I'd like files for s157 - I can't get mine to work

EDIT: downloaded original clusters-example CSV file and renamed it - now works like a dream - except the missing last cluster

< Message edited by Tallyho! -- 12/8/2006 10:04:15 PM >


_____________________________


Banner by rogueusmc

(in reply to herwin)
Post #: 201
RE: Why using a DB with integrity constraints is usefull - 12/8/2006 8:00:14 PM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
quote:

ORIGINAL: Feurer Krieg
Does this mean that if you adjust your clusters mid-game (say by clearing the China rail line and connecting Manchuria to Indo-China in one big cluster) that you will lose all the data you have read in up to that point, since you would need to erase the witp.* files?

Well, I never said editing the cluserbases.csv file mid-games was supported.

But actually it is

If you start a new database without clusters.csv and clusterbases.csv available, any file you add later will be ignored. In that case you have to reinitialize the database to get the Industry tab to work.
If you started the database with the files available, you can edit them afterwards (while witpdecoder is NOT running) and the changes should be used from then on. Note that this feature is completely untested.

BTW, another known bug: Resource display in the Storage tab is broken.
BTW2, V0.3 will probably be released this weekend which will include a more easy setup mechanism (at least if I get the jiglo SWT GUI editor to work more reliably).

(in reply to FeurerKrieg)
Post #: 202
RE: Why using a DB with integrity constraints is usefull - 12/8/2006 8:19:35 PM   
RAM

 

Posts: 402
Joined: 5/1/2000
From: Bilbao,Vizcaya,Spain
Status: offline
woos, any idea on what is happening with the SYS_FK_104 table error I quoted above?

I simply can't get the utility to load my saved games :(...

_____________________________

RAM

"Look at me! look at me!!!

Not like that! NOT LIKE THAT!!!"

(in reply to Woos)
Post #: 203
RE: Why using a DB with integrity constraints is usefull - 12/8/2006 8:27:23 PM   
herwin

 

Posts: 6059
Joined: 5/28/2004
From: Sunderland, UK
Status: offline
Are you enjoying eclipse? I teach a final year class using it.

_____________________________

Harry Erwin
"For a number to make sense in the game, someone has to calibrate it and program code. There are too many significant numbers that behave non-linearly to expect that. It's just a game. Enjoy it." herwin@btinternet.com

(in reply to Woos)
Post #: 204
RE: Why using a DB with integrity constraints is usefull - 12/8/2006 9:22:16 PM   
saj42


Posts: 1125
Joined: 4/19/2005
From: Somerset, England
Status: offline
Where is link to the 2b version?
The link on post 141 only gives me the 'de' and 'META-INF' folders no replacement witpDecoder2.jar file (so i've no ship classes tab and last cluster is missing). Reloaded from link in first post and this gives me a witpDecoder.jar file with 19/11/06 date stamp.

< Message edited by Tallyho! -- 12/8/2006 10:02:23 PM >


_____________________________


Banner by rogueusmc

(in reply to herwin)
Post #: 205
RE: New tool: WitpDecoder; No more spreadsheets! - 12/9/2006 8:55:04 PM   
shangrila

 

Posts: 22
Joined: 7/6/2006
Status: offline
Hi everyone perhaps a person that got the Allied to work could help?

I have extracted the WITP files. I am using 2b and when running it I am getting an error. Been working on this for an hour or so.

Some DB problem during Storage Tab initialization. Nothing will be shown!
java.sql.SQLException: Column not found : appearingFuel in Statement [SELECT SUM("appearingFuel"), SUM .... then continues through the SQL DB call...

Any help greatly appreciated!
Thank you in advance.

(in reply to Woos)
Post #: 206
RE: New tool: WitpDecoder; No more spreadsheets! - 12/9/2006 9:30:14 PM   
shangrila

 

Posts: 22
Joined: 7/6/2006
Status: offline
Now I'm getting

C:\Matrix Games\War in the Pacific\SAVE\Ana>echo off
WitP-Decoder V0.2b (C) 2006 by M.Baumeister. Please wait!
Couldn't set up a working DB template. Exiting.
Press any key to continue . . .


All files are in the directory listed. All files have been reinstalled in this directory. (Application, WITP, Save games(not that I can get there yet etc)

Any help would be cool, again thanks in advance!

(in reply to shangrila)
Post #: 207
RE: Why using a DB with integrity constraints is usefull - 12/9/2006 9:34:58 PM   
VSWG


Posts: 3432
Joined: 5/31/2006
From: Germany
Status: offline
quote:

ORIGINAL: Tallyho!

Where is link to the 2b version?
The link on post 141 only gives me the 'de' and 'META-INF' folders no replacement witpDecoder2.jar file (so i've no ship classes tab and last cluster is missing). Reloaded from link in first post and this gives me a witpDecoder.jar file with 19/11/06 date stamp.

The link works for me...

Anyway, check your PMs, I've sent you the file which I'm using for my Allies PBEM.

_____________________________


(in reply to saj42)
Post #: 208
RE: Why using a DB with integrity constraints is usefull - 12/9/2006 9:36:54 PM   
VSWG


Posts: 3432
Joined: 5/31/2006
From: Germany
Status: offline
shangrila,

are you deleting all witp.* files before every try to initialize the DB again?


_____________________________


(in reply to VSWG)
Post #: 209
RE: Why using a DB with integrity constraints is usefull - 12/9/2006 10:55:14 PM   
shangrila

 

Posts: 22
Joined: 7/6/2006
Status: offline
Thank you, I had missed a file!
All is working.
Nice tool.

(in reply to VSWG)
Post #: 210
Page:   <<   < prev  5 6 [7] 8 9   next >   >>
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> RE: witpDecoder for the Allies Page: <<   < prev  5 6 [7] 8 9   next >   >>
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.641