WitpDecoder; Now providing some overview

Gary Grigsby's strategic level wargame covering the entire War in the Pacific from 1941 to 1945 or beyond.

Moderators: Joel Billings, wdolson, Don Bowen, mogami

Cpt Sherwood
Posts: 837
Joined: Thu Dec 01, 2005 12:27 am
Location: A Very Nice Place in the USA

RE: Tracking leader stats

Post by Cpt Sherwood »

OK, Kid. Get a copy of WitpLoad and put it in the SCEN folder. I can send it to you if you need it.
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
User avatar
seydlitz_slith
Posts: 2036
Joined: Sun Jun 16, 2002 6:13 am
Location: Danville, IL

RE: Tracking leader stats

Post by seydlitz_slith »

I fixed my problem....
Windows XP would not recognise the java command in the batch file because I had multiple versions of java, each with updates, on my system. This was getting the system confused.  To fix, I went to add/remove programs and removed all java and java updates from my system. I then rebooted, went to java.com and downloaded the lated JRE  (java runtime environment).  After that it worked like a charm.
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

RE: Tracking leader stats

Post by siRkid »

Sent you a PM
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

Almost There

Post by siRkid »

Steps I’ve done to Load WitpDecoder for a Stock Scenario 15 PBEM game UPDATE

1. Downloaded the witpdecoder.zip
2. Created a Subfolder for my PBEM game in the C:\Matrix Games\War In The Pacific\SAVE folder
3. Extracted the files into this folder
4. Opened up the batch file and edited “echo off REM java -Djava.library.path=%CD% -jar witpdecoder2.jar PasswordHere java -Djava.library.path=. -jar witpdecoder2.jar” replacing the “PasswordHere” with my password. Which does not match the instructions given in the witpDecoder-docs.pdf.
6. Installed latest Version of Java
7. Placed WitpLoader.exe in SCEN folder 
8. Executed batch file
9. Selected File> Initialize Database 
10. Entered the following information
· Scenario – 15
· Nationally – Allies
· Checked the PBEM box
11. Selected Initialize
12. So Far SO Good
13. Tried to load save
14. Received error calling me a cheater for using teh wrong password

Must have eddited the batch file incorectly. Can some one look at my 4 and tell me where I went wrong?[:(]

Do I have to remove the REM? Back when I took programing that prevented a line of code from running?
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
Cpt Sherwood
Posts: 837
Joined: Thu Dec 01, 2005 12:27 am
Location: A Very Nice Place in the USA

RE: Almost There

Post by Cpt Sherwood »

We are getting there. put your password on the second line, not the first. I should have told you before. It is going to look like this:

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

with japan being my password for this file.
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

RE: Almost There

Post by siRkid »

ORIGINAL: Cpt Sherwood

We are getting there. put your password on the second line, not the first. I should have told you before. It is going to look like this:

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

with japan being my password for this file.

Thanks for all your help. So why is "Passwordhere" in there?
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
Cpt Sherwood
Posts: 837
Joined: Thu Dec 01, 2005 12:27 am
Location: A Very Nice Place in the USA

RE: Almost There

Post by Cpt Sherwood »

The line starting with REM is a remark line - it is there to show you what the second line should be like when doing a PBEM game. If you are playing against the AI, the you do not need a password ( and if you put one in the command would fail ).
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

RE: Almost almost There

Post by siRkid »

Ok fixed password and now I'm getting this. And I deleted everything and started from scratch to make sure I got a clean test.


Image
Attachments
2ndError.jpg
2ndError.jpg (105.75 KiB) Viewed 134 times
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

RE: Almost almost There

Post by siRkid »

Good Night will check back in the morning.
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
Cpt Sherwood
Posts: 837
Joined: Thu Dec 01, 2005 12:27 am
Location: A Very Nice Place in the USA

RE: Almost almost There

Post by Cpt Sherwood »

You have email. I think it will fix your problem.
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
User avatar
Roger Neilson II
Posts: 1419
Joined: Sun Jul 16, 2006 11:16 am
Location: Newcastle upon Tyne. England

RE: witpDecoder for the Allies

Post by Roger Neilson II »

ORIGINAL: Cpt Sherwood

ORIGINAL: Roger Neilson II

Ok guys, a longshot. If anyone can run witpload on Scenario 158 and send me the generated files I will try to get this to work with my CHS game.

It works fine with my standard games, but CHS is causing a problem and some people say it won't work with CHS and others say it will.

Cheers

Roger

didactylos at bigfoot dot com


You have mail Roger.

I did figure out my problem. Most likely I screwed up the update or install. I removed decoder and reinstalled from scratch and it worked fine on BigBs senario files. I still can not get Alaska Warriors French Gambit to initialize. I think I got CHS 158 to initialize.

Ok, thanks for the files - but that didn't work. So.....

I have this working fine on my standard game, but CHS is in a different directory (same structure within it though).

My logic....

a) I have a faulty witpload in the Scen directory - and when Witpdecoder is calling it to do its work its reportign an error
b) there is still a file that is faulty in the Scenario csvs...
c) WITpdecoder is a faulty second install....

Aaargh.

Roger
Image
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

RE: Tracking leader stats

Post by siRkid »

Will try this tonight thanks.
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

RE: Almost almost There

Post by siRkid »

Got it and replaced it but it did not fix it. I'll give hte Java thing a try tonight.
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

Almost almost There???

Post by siRkid »

Steps I’ve done to Load WitpDecoder for a Stock Scenario 15 PBEM game UPDATE

1. Downloaded the witpdecoder.zip
2. Created a Subfolder for my PBEM game in the C:\Matrix Games\War In The Pacific\SAVE folder
3. Extracted the files into this folder
4. Opened up the batch file and edited “echo off REM java -Djava.library.path=%CD% -jar witpdecoder2.jar PasswordHere java -Djava.library.path=. -jar witpdecoder2.jar mypassword” placing my Password at the end of the second line of code.
5. Uninstalled all versions of Java
7. Installed latest Version of Java

8. Placed WitpLoader.exe in SCEN folder
9. Replaced the witpDecoder2.jar with the one Cpt Sherwood sent me
9. Executed batch file
10. Selected File> Initialize Database
11. Entered the following information
· Scenario – 15
· Nationally – Allies
· Checked the PBEM box
12. Selected Initialize
13. So Far SO Good
14. Tried to load save (The one my PBEM mate sent me)
15. Received error

Items in this color are the latest things I've tried.

This is why I waited soooo long to give this a try.

Image
Attachments
3ndError.jpg
3ndError.jpg (110.63 KiB) Viewed 134 times
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
User avatar
alaviner
Posts: 764
Joined: Thu Mar 08, 2007 5:49 pm
Location: Blacksburg, Va

RE: Almost almost There???

Post by alaviner »

I remember reading about this utility a while ago.  Has it been adapted for Allied CHS yet??
Image

Cpt Sherwood
Posts: 837
Joined: Thu Dec 01, 2005 12:27 am
Location: A Very Nice Place in the USA

RE: Almost almost There???

Post by Cpt Sherwood »

I believe it does, but I am not sure if there are cluster files available for them. It does work on BigBs mod and it will work on stock. I have asked Kid to send me his savegame file so I can see if I can look at it, but he hasn't responded yet. I had no problem with a CHS senario 158 save game file. It does NOT seem to work on RHS senarios or one derived from them( French Gambit )
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
User avatar
siRkid
Posts: 4177
Joined: Tue Jan 29, 2002 10:00 am
Location: Orland FL

RE: Almost almost There???

Post by siRkid »

just send save file...was Killing Allies in WoW lots of fun.[:D][:D]
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

Image
Cpt Sherwood
Posts: 837
Joined: Thu Dec 01, 2005 12:27 am
Location: A Very Nice Place in the USA

RE: Almost almost There???

Post by Cpt Sherwood »

I got the same error as you Kid. But, when I started a PBEM game as a test using the same info, it worked just fine. It seems that it is in your save game file. I don't know if a corrupted one can cause this error or not. I can only tell you to try an earlier save game file if you have one.
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
User avatar
FeurerKrieg
Posts: 3400
Joined: Wed Jun 15, 2005 8:43 pm
Location: Denver, CO

RE: Almost almost There???

Post by FeurerKrieg »

I also have a game witha corrupted bit of data in the save file that won't load into Woos utility. Try a test game just to see if it works, and then you'll know.

Interestingly, the fact that it didn't load helped me find out that my oil and resource production at Anshan had disappeared! I might never have noticed otherwise. Thanksfully the boys at Matrix were able to fix the file and give me the oil/res back. The save files still doesn't load into the WITP decoder though.

My other games however, work just fine. CHS 160 and a stock scen 15.
Image
Upper portion used with permission of www.subart.net, copyright John Meeks
Woos
Posts: 277
Joined: Sun Jun 05, 2005 5:12 pm
Location: Germany

RE: Almost almost There???

Post by Woos »

@Kid:
This very much looks like a partially initialized database. You need to delete all witp.* files in the witpdecoder directory and start over. Newer versions of witpdecoder will tell you this. Before searching for them you might want to wait for V0.3c which is due to be out in a few hours and should, among others, fix some CHS related problems.

@Local Yokel
There is not much I can do about exceptions coming from the hsqldb stack. You probably managed to get a corrupted database (don't ask me how). Best bet is to delete all witp.* files in the witpdecoder directory and start over. V0.3c will contain a "batch read in" function to make re-filling the database easier.
If you don't have the save games anymore, you could try to fix the mentioned line in the witp.script file, but you would probably need some knowledge about SQL and hsqldb for that.
Post Reply

Return to “War In The Pacific - Struggle Against Japan 1941 - 1945”