Page 19 of 29

RE: Tracking leader stats

Posted: Sun Apr 08, 2007 11:35 pm
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.

RE: Tracking leader stats

Posted: Mon Apr 09, 2007 12:42 am
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.

RE: Tracking leader stats

Posted: Mon Apr 09, 2007 1:03 am
by siRkid
Sent you a PM

Almost There

Posted: Mon Apr 09, 2007 2:36 am
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?

RE: Almost There

Posted: Mon Apr 09, 2007 2:40 am
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.

RE: Almost There

Posted: Mon Apr 09, 2007 2:42 am
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?

RE: Almost There

Posted: Mon Apr 09, 2007 2:45 am
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 ).

RE: Almost almost There

Posted: Mon Apr 09, 2007 2:59 am
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

RE: Almost almost There

Posted: Mon Apr 09, 2007 3:03 am
by siRkid
Good Night will check back in the morning.

RE: Almost almost There

Posted: Mon Apr 09, 2007 3:07 am
by Cpt Sherwood
You have email. I think it will fix your problem.

RE: witpDecoder for the Allies

Posted: Mon Apr 09, 2007 6:22 am
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

RE: Tracking leader stats

Posted: Mon Apr 09, 2007 10:46 am
by siRkid
Will try this tonight thanks.

RE: Almost almost There

Posted: Mon Apr 09, 2007 10:48 am
by siRkid
Got it and replaced it but it did not fix it. I'll give hte Java thing a try tonight.

Almost almost There???

Posted: Tue Apr 10, 2007 1:27 am
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

RE: Almost almost There???

Posted: Tue Apr 10, 2007 2:20 am
by alaviner
I remember reading about this utility a while ago.  Has it been adapted for Allied CHS yet??

RE: Almost almost There???

Posted: Tue Apr 10, 2007 2:29 am
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 )

RE: Almost almost There???

Posted: Tue Apr 10, 2007 2:52 am
by siRkid
just send save file...was Killing Allies in WoW lots of fun.[:D][:D]

RE: Almost almost There???

Posted: Tue Apr 10, 2007 3:03 am
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.

RE: Almost almost There???

Posted: Tue Apr 10, 2007 4:54 am
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.

RE: Almost almost There???

Posted: Wed Apr 11, 2007 10:57 am
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.