RE: witpDecoder for the Allies (Full Version)

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



Message


Oliver Heindorf -> RE: witpDecoder for the Allies (12/2/2006 7:14:12 PM)

well, like I assumed : I wasted time for nothing [:(]

I will come back when its version 1.5 [&o]


[image]local://upfiles/6315/932E5359805F495A9929FF3C42D9D0B3.jpg[/image]




VSWG -> RE: witpDecoder for the Allies (12/2/2006 7:21:56 PM)

Woos,

I did as you said and got the scenario database initialized, but loading a save produces exactly the same error as Oliver Heindorf just posted. Probably another CHS issue? Looks like your utility is the ultimate scenario debugger... [;)]




Oliver Heindorf -> RE: witpDecoder for the Allies (12/2/2006 8:59:09 PM)

quote:

ORIGINAL:  VSWG

Woos,

Looks like your utility is the ultimate scenario debugger... [;)]


thats exactly what I think - in this game above where I tried to use this tool, my opponent complains about errors in the game in the production system . (pbem stock scen 15)

sorry for sounding harrash before and destroying your party - language barrier. (and when I tried to run your tool, my noodles on the stove burned as I had totally forgotten them cooking there[:@][:@]) 




Woos -> RE: witpDecoder for the Allies (12/2/2006 10:30:17 PM)

quote:

ORIGINAL: Oliver Heindorf
also da kann ich mir auch linux drauf machen, das hat dann den selben charm

Now that explains the problem. You didn't read the fine print (see last bullet of post 71).

Besides that, not all errors stem from mods/WitP. Sometimes the internal checks catch what they were intended to do: an internal error. So the "bad LCU count" is witpDecoders fault and should have hit most Allied players (as I said, Allies are badly tested).
New version with fix is uploaded (same name and URL and same procedure to install but with another database format change). As additional goodie you get:


[image]local://upfiles/16906/3FB75A4D6B3C4389A961AE354C96AC58.jpg[/image]

I liked the WitPShips.xls file someone posted a few weeks ago (sorry, forgot who it was) but it was for the wrong scenario. So I shamelessly stole the idea and integrated it into witpDecoder so now one can get the same information for all scenarios. The tab probably still has bugs (this is a release to fix the LCU count problem) and no documentation yet.

Concerning the ease of installation: If you want to write an installer for witpDecoder to ease everyone's job, great, just do it! Otherwise you will have to live with my plans for development which still include new functionality as the highest priority because that's what I want from the tool. Sooner or later database setup will be completely GUI driven (if only to reduce the support requests), but since setup is only a one time effort for everyone that's low priority.




VSWG -> RE: witpDecoder for the Allies (12/2/2006 11:10:36 PM)

I've downloaded the utility and the .jar file again, and now I can't initialize the DB anymore:

[image]http://img58.imageshack.us/img58/6200/utilityua8.jpg[/image]

Same .csv files as I sent you. No witp.* files and no errorlog are created.

The classes-tab looks great, Woos.




ctangus -> RE: witpDecoder for the Allies (12/2/2006 11:17:52 PM)

I figured out my earlier goof (didn't rename the csv files). I'm now, with the new .jar, getting the exact same error message as VSWG.

By the way, thanks for your work on this Woos! [&o]




Woos -> RE: witpDecoder for the Allies (12/2/2006 11:53:35 PM)

quote:

ORIGINAL: VSWG
I've downloaded the utility and the .jar file again, and now I can't initialize the DB anymore:

Sorry, that was the debug version, which will only run on my computer. Correctly generated version is uploaded.

BTW, does anyone know how to convince eclipse to do several things in a row for generating a release? I currently have to
1. Edit the debug flag.
2. Compile (if not done already)
3. Create the jar file
4. Run the optimizer/obfuscator.
Sounds like a makefile job (or an ant job in the java world) but what is an IDE for if it can't do that without the user generating a makefile?




VSWG -> RE: witpDecoder for the Allies (12/3/2006 12:04:59 AM)

Now it works! [:)]

quote:

ORIGINAL:  Woos

BTW, does anyone know how to convince eclipse to do several things in a row for generating a release? I currently have to
1. Edit the debug flag.
2. Compile (if not done already)
3. Create the jar file
4. Run the optimizer/obfuscator.
Sounds like a makefile job (or an ant job in the java world) but what is an IDE for if it can't do that without the user generating a makefile?

Wow, you can speak Chinese, too! [;)]




ctangus -> RE: witpDecoder for the Allies (12/3/2006 12:27:25 AM)

Still some difficulties.

The save starts to load, then I get this:

Couldn't write things to the DB due to
java.sql.SQLException: Integrity constraint violation - no parent SYS_FK_105 table: Suffixes
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.g.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)

I don't know if it's relevant, but it's a Nik Mod game.




Oliver Heindorf -> RE: witpDecoder for the Allies (12/3/2006 2:23:41 AM)

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 :





[image]local://upfiles/6315/6FE125174A6E4B27AEA390ED336A6993.jpg[/image]

all from stock scen 15 game, no mods




Knavey -> RE: witpDecoder for the Allies (12/3/2006 2:26:12 AM)

If we are going to try this as allies, do we use the readme in the .zip file?  It isn't updated for the allies, but I would assume everything is the same?

Nevermind, got that part working.




Knavey -> RE: New tool: WitpDecoder; No more spreadsheets! (12/3/2006 3:11:37 AM)

Ok...not sure exactly how I put my password into this thing!  This is how my edited .bat file looks with my password in it, but its still telling me I am using the wrong password.  Can someone look at theirs and tell me what I am doing wrong?

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




Knavey -> RE: New tool: WitpDecoder; No more spreadsheets! (12/3/2006 4:37:24 AM)

Ok my latest attempt after reading all posts is this, but still get a password error.  I am trying for an Allied PBEM game which is why there is a 0 in there.  Any suggestions?  Or perhaps someone would just cut and paste thier .bat file without the password (but show me exactly were it is supposed to be.  [:)]

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




Oliver Heindorf -> RE: New tool: WitpDecoder; No more spreadsheets! (12/3/2006 10:28:52 AM)

ava -Djava.library.path=. -jar witpdecoder2.jar 3 PASSWORD

taken from post #141 here




Woos -> RE: witpDecoder for the Allies (12/3/2006 1:41:37 PM)

quote:

ORIGINAL: ctangus
java.sql.SQLException: Integrity constraint violation - no parent SYS_FK_105 table: Suffixes

This is caused by LCU 2638 (86th USA CD Bn) having a suffixID of 1 which is not allowed (and especially not for an LCU of type 11). Same problem later with LCU 2738 (144th USA CD Rgt).

Now the interesting thing is that in the .csv files ctangus sent me, both units have
1) a correct SuffixID
2) a different unit type (9 instead of 11)
3) a different name (86th US CD Battalion)
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, so some versions of NikMod are currently not supported by witpDecoder (don't ask me when the error was fixed). The next version of witpDecoder will then read in even save games with broken suffixes (and I'm getting a bit annoyed at the amount of inconsistency in the save files).




Roger Neilson II -> RE: witpDecoder for the Allies (12/3/2006 2:44:14 PM)

My head hurts.... I got as far as witpload and am trying to run it from the command line - but this is not an area i like!

It says it cannot find the path?

What's wrong with my syntax anyone?

C:\Matrix Games\War in the Pacific\witpload\witpload /dscen /s15 /e

Roger




ctangus -> RE: witpDecoder for the Allies (12/3/2006 2:52:54 PM)

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.




ctangus -> RE: witpDecoder for the Allies (12/3/2006 2:54:15 PM)

quote:

ORIGINAL: Roger Neilson II

What's wrong with my syntax anyone?

C:\Matrix Games\War in the Pacific\witpload\witpload /dscen /s15 /e

Roger


Looks like you have one too many "witploads"




VSWG -> RE: witpDecoder for the Allies (12/3/2006 2:54:43 PM)

quote:

ORIGINAL: Roger Neilson II

My head hurts.... I got as far as witpload and am trying to run it from the command line - but this is not an area i like!

It says it cannot find the path?

What's wrong with my syntax anyone?

C:\Matrix Games\War in the Pacific\witpload\witpload /dscen /s15 /e

Roger

Try this:

1. Copy witpload.exe (just the .exe file) into the \witp\scen\ folder.
2. Open the command prompt. Go to \witp\scen\
3. Type in: "witpload /s15 /e" (to extract data for scen 15. For any other scenario, replace the "15" with the scenario number)
4. Done. Copy & rename the .csv files (they are in \witp\scen\)into the witpDecoder folder.




pjkeas -> RE: witpDecoder for the Allies (12/3/2006 2:56:17 PM)

To export scenario #15 from the default install directory (from the wiptload_readme.txt)
witpload /e /s015 /i


It you put the wiptload files in C:\Matrix Games\War in the Pacific\witpload

Then from cmd line cd C:\Matrix Games\War in the Pacific\witpload

then witpload /e /s015 /i (change the s015 to s016 or any scen)

This will extract the files from the
from C:\Matrix Games\War in the Pacific\scen
to C:\Matrix Games\War in the Pacific\witpload

And if you want to recompress them
then witpload /s015 /i








Roger Neilson II -> RE: witpDecoder for the Allies (12/3/2006 3:19:32 PM)

AAAAARGH!



[image]local://upfiles/21586/151A3188C00349EE8C64A220E4A76C62.gif[/image]




qgaliana -> RE: witpDecoder for the Allies (12/3/2006 3:25:11 PM)

The new version isn't loading my save game vs AI anymore. Wants a password for some mysterious reason?

quote:


Couldn't write things to the DB due to
java.sql.SQLException: TsTsTs! Wrong Password you cheater.
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.as.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at de.retsiemuab.witpDecoder.B.a(Unknown Source)
at de.retsiemuab.witpDecoder.h.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.Y.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)

Aborting a non-running Transaction. Most probably something is wrong
Couldn't shutdown DB.
java.sql.SQLException: Access is denied: Session is closed
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.ai.a(Unknown Source)
at de.retsiemuab.witpDecoder.B.c(Unknown Source)
at de.retsiemuab.witpDecoder.B.a(Unknown Source)
at de.retsiemuab.witpDecoder.Z.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at de.retsiemuab.witpDecoder.B.b(Unknown Source)
at de.retsiemuab.witpDecoder.a.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.Y.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)


Here's my batch file same as before for Jap AI?
quote:


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




VSWG -> RE: witpDecoder for the Allies (12/3/2006 3:53:22 PM)

quote:

ORIGINAL: Roger Neilson II

AAAAARGH!



[image]local://upfiles/21586/151A3188C00349EE8C64A220E4A76C62.gif[/image]

You have to use the command prompt. Clicking on the .exe doesn't work.

[image]http://img481.imageshack.us/img481/8590/commanded8.jpg[/image]




Woos -> RE: witpDecoder for the Allies (12/3/2006 4:02:44 PM)

quote:

ORIGINAL: qgaliana
java -Djava.library.path=. -jar witpdecoder2.jar 3

That is strange, because it works nicely here. Do you have any garbage behind the "3" which could be interpreted as another argument (specifying a password when none is needed also counts as "Wrong password")? Is the save file you are trying to load not from the game you think it is from?

You did download the witpDecoder2b.jar file and overwrote the witpDecoder2.jar file (note that there is no b) with it? Otherwise nationality specification is not supported and your "3" is seen as password.




pjkeas -> RE: witpDecoder for the Allies (12/3/2006 4:28:50 PM)

Roger
3 ways to use the RUN box

1. (Just type in the run box, Like I think you did)
use " " for the path (when using first VSWG's instructions)
(assuming you copied witpload.exe into the \scen dir)
"C:\Matrix Games\War in the Pacific\SCEN\witpload" /e /s015
note: the " " covers the path and the command and does not include the /e /s015
this will run super fast (you might not see it)
or

2. Try using the command prompt.
in the "RUN" box type cmd
this will bring up a fake dos box... (the command line)
then C:\Matrix Games\War in the Pacific\SCEN\witpload /e /s015 (no " " needed)
this will show the extracts as VSWG just displayed..
(again assuming you copied witpload.exe into the \scen dir)

3.
In my above example I dont need to copy anything.. (but its a 2 part proceedure)
I cd to where ever the witpload files are.
then run the command adding an /i to the end

first
cd C:\Matrix Games\War in the Pacific\witpload
(or where ever you put unzipped the witpload files)

then
witpload /e /s015 /i





Roger Neilson II -> RE: witpDecoder for the Allies (12/3/2006 6:01:55 PM)

YES!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thank you.

Roger




qgaliana -> RE: witpDecoder for the Allies (12/3/2006 6:19:43 PM)


quote:

ORIGINAL: Woos

You did download the witpDecoder2b.jar file and overwrote the witpDecoder2.jar file (note that there is no b) with it? Otherwise nationality specification is not supported and your "3" is seen as password.


My mistake, I thought the allied version had been included in an upload to the main zip file - works now, thanks.




Roger Neilson II -> RE: witpDecoder for the Allies (12/3/2006 6:27:03 PM)

And twenty minutes later I have the utility running and WOWthis is a current PBEM game with me as the Allies........

Thank you WOOS!

Now i just have to sort my leaders out......

Roger

[image]local://upfiles/21586/BAC78C14AC7540309B9C1EFCBDA518CD.gif[/image]




qgaliana -> RE: witpDecoder for the Allies (12/3/2006 7:42:28 PM)

Woos,

Two quick observations:

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

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?

Sorry if you've already covered this, thread is getting a bit long to reread.

Thanks




Oliver Heindorf -> RE: witpDecoder for the Allies (12/3/2006 8:56:16 PM)

quote:

ORIGINAL: Woos
The next version of witpDecoder will then read in even save games with broken suffixes (and I'm getting a bit annoyed at the amount of inconsistency in the save files).


Is this the reason why here it doesnt work ?

I tried it now for 2 of my pbem games and always get errors like above posted [:(]




Page: <<   < prev  4 5 [6] 7 8   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.765625