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; Now providing some overview

 
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; Now providing some overview Page: <<   < prev  16 17 [18] 19 20   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: WitpDecoder; Now providing some overview - 7/27/2007 3:13:11 AM   
Skyros


Posts: 1570
Joined: 9/29/2000
From: Columbia SC
Status: offline
I have a 9 meg version of subchasers map (I think) that I have used for Main Map and Bigmainmap and it works great. I can see everything in the hexes for support and repair clearly.

_____________________________


(in reply to Woos)
Post #: 511
RE: WitpDecoder; Now providing some overview - 7/27/2007 2:56:11 PM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline

quote:

ORIGINAL: Skyros

I have a 9 meg version of subchasers map (I think) that I have used for Main Map and Bigmainmap and it works great. I can see everything in the hexes for support and repair clearly.


OMG, Skyros! What a fantastic idea! I have a 2.75 meg version of Subchasers map that I put in my WitPDecoder folder and renamed. Everything looks beautiful and is very east to see.

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to Skyros)
Post #: 512
RE: WitpDecoder; Now providing some overview - 7/27/2007 9:14:25 PM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
You are correct that WitpDecoder will accept any image you give the appropriate name as map (and (hopefully) scale things appropriately). Just a few words of warning:

  • Using a bigger map is completely untested. Especially its effects on memory consumption and drawing speed. So don't complain about the VM constantly garbage collecting or something.
  • It took a long time to tune the positioning of things on the map to actually go into the right hexes. And I'm still not sure it works everywhere. So if you use an image where the map is differently cut (e.g. one row of hexes less or a border around the map) you run the risk that markings are drifting.


< Message edited by Woos -- 7/27/2007 9:17:17 PM >

(in reply to Skyros)
Post #: 513
RE: WitpDecoder; Now providing some overview - 7/27/2007 11:55:42 PM   
alaviner


Posts: 764
Joined: 3/8/2007
From: Blacksburg, Va
Status: offline
I just tried to update to ver 04c and did not see a .jar file in the zip??

_____________________________




(in reply to Woos)
Post #: 514
RE: WitpDecoder; Now providing some overview - 7/28/2007 1:42:29 AM   
Oliver Heindorf


Posts: 1911
Joined: 5/1/2002
From: Hamburg/Deutschland
Status: offline
I always used Subchasers maps sionce their initialized release as I am a great fan of his arts. not much a problem at all. sometimes it seems that a ship creats 9 icons being on the same port and it looks some strange but this really doesnt matter to me at all. and yes , it takes some time but it works just beautiful !

@ NSCU

here is your answer , taken from page 1 :

"Now updated to V0.4c. Main new feature is the Map Overview Tab which gives info on search coverage, ship repair utilization and support levels. Download the updated .jar file, rename it to witpDecoder2.jar and overwrite your current .jar file with it."

this is no zip file ! get a real browser (see above) -  it has been explained almost on every page.






_____________________________


(in reply to alaviner)
Post #: 515
RE: WitpDecoder; Now providing some overview - 7/29/2007 3:25:07 AM   
Andvari

 

Posts: 91
Joined: 9/7/2006
Status: offline
Woos or anyone else who could help, I don't have the Naval Search function or Support Levels in the Map Overview tab, although I used to??? Am I missing some csv files? And while I'm at it, where should all the csv files be located, in the sub-directory under Save? Lastly, how many should I have? 14 are currently showing. Thanks.

(in reply to Oliver Heindorf)
Post #: 516
RE: WitpDecoder; Now providing some overview - 7/29/2007 3:52:20 AM   
Andvari

 

Posts: 91
Joined: 9/7/2006
Status: offline
Well, when in doubt, reboot, which fixed the Naval Search and Support. But my questions about the number and placement of csv files stands.

Also, what should I do about the leaders leading more than one unit, or units that have either no leader or a foreign one? Obviously I could replace them using political points, but that's expensive in that I have more than 20 instances of the above.

(in reply to Andvari)
Post #: 517
RE: WitpDecoder; Now providing some overview - 7/31/2007 7:34:23 PM   
hused84

 

Posts: 7
Joined: 7/31/2007
Status: offline
First My Englishman is bad.

I want to make work the witpdecoder in the scene 157.
I download witpdecoder.zip and witpload.zip and unzip in folder .\War in the Pacific\SAVE\157
I download witpDecoder2.jar last version 0.4c
I copy witpload in scen game folder, and with cmd execute   witpload /e /s157 and create
WITPair157.csv
WITPcls157.csv
WITPdev157.csv
WITPgrp157.csv
WITPldr157.csv
WITPloc157.csv
WITPplt157.csv
WITPshp157.csv
WITPtabs.csv
rename all Without 157 and copy in witpdecoder folder
Modify  cluster.csv  in .\clusterDefinitions\scenario160ByFeurerKrieg
-1,"CHS 160, AB Ext Map" to -1,"CHS 157, AB Ext Map" and copy in decoder folder  clusterbases.csv and cluster.csv
Edit witpdecoder.bat for password
Execute witpDecoder2.jar and error
"Ship class 621 claims more than 127 torpedos available.
Looks a bit much (and can't be stored in a byte) so I'm using 127.
Maybe check back with the mod designer, if there is an error?"

Where is the problem?
Step for step de response please.
Thank you

(in reply to Andvari)
Post #: 518
RE: WitpDecoder; Now providing some overview - 7/31/2007 9:53:34 PM   
Cpt Sherwood

 

Posts: 837
Joined: 12/1/2005
From: A Very Nice Place in the USA
Status: offline
That ship class does have an error in the CHS database. You should be able to just ignore it, and WitPDecoder will work fine. If you want, you can edit the senario file and change the ammo amount from 36 to 2.

(in reply to hused84)
Post #: 519
RE: WitpDecoder; Now providing some overview - 7/31/2007 11:29:08 PM   
hused84

 

Posts: 7
Joined: 7/31/2007
Status: offline
Thank you Cpt Sherwood, but leader solaps is blank

< Message edited by hused84 -- 8/1/2007 1:43:20 AM >

(in reply to Cpt Sherwood)
Post #: 520
RE: WitpDecoder; Now providing some overview - 8/1/2007 1:22:23 AM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
So, you are saying database initialization works (besides the automatic correction made) but when loading the (first?) save game you get that error? Are you sure you used the correct scenario number for DB initialization? That your savegame is named witp157.pws does not mean that it uses scenario 157.

*edit*

BTW, the following "I copy witpload in scen game folder, and with cmd execute witpload /e /s157 and create" is not necessary anymore since about V0.2. WitpDecoder does this now automaticallz for you _if_ you enter the correct scenario number for database initialization (and you have a correctly placed witpload.exe)

< Message edited by Woos -- 8/1/2007 1:24:08 AM >

(in reply to hused84)
Post #: 521
RE: WitpDecoder; Now providing some overview - 8/1/2007 2:36:55 AM   
scout1


Posts: 2899
Joined: 8/24/2004
From: South Bend, In
Status: offline
What if any is the format for adding a password to the .bat file ? Loaded the latest WitPDecoder and appears to have initialized ok. But when trying to load the recent saved game, tells me its the wrong password. Do I need quotation marks, comments, spaces ? Password is a 6 character alphanumberic item. No spaces.

(in reply to Woos)
Post #: 522
RE: WitpDecoder; Now providing some overview - 8/1/2007 2:41:37 AM   
scout1


Posts: 2899
Joined: 8/24/2004
From: South Bend, In
Status: offline
Log file output ....

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


(in reply to scout1)
Post #: 523
RE: WitpDecoder; Now providing some overview - 8/1/2007 3:50:40 AM   
Local Yokel


Posts: 1494
Joined: 2/4/2007
From: Somerset, U.K.
Status: offline

quote:

ORIGINAL: scout1

Log file output ....

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




It's worth checking whether the .bat file that launches WitPDecoder contains the word 'REM' at the start of the line containing your password. If it does, edit out the 'REM' - it's the command that instructs the system to treat the line as a comment, with the result that any instructions in the line never get executed.

Your password should not need to be contained within quotes.

HTH

_____________________________




(in reply to scout1)
Post #: 524
RE: WitpDecoder; Now providing some overview - 8/1/2007 6:50:57 AM   
hused84

 

Posts: 7
Joined: 7/31/2007
Status: offline
Yes working now, i put the pass in witpdecode.bat second line (passwhere).
One cuestion what file load every turn witp001? or save scenario?

(in reply to Local Yokel)
Post #: 525
RE: WitpDecoder; Now providing some overview - 8/1/2007 3:24:14 PM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline
Load the scenario save game file after each turn resolution, not the witp001 combat replay save.

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to hused84)
Post #: 526
RE: WitpDecoder; Now providing some overview - 8/2/2007 5:16:58 AM   
scout1


Posts: 2899
Joined: 8/24/2004
From: South Bend, In
Status: offline
still no dice......

Keeps giving me the "wrong" password issue .... so it doesn't load anything

any suggestions .......

(in reply to USSAmerica)
Post #: 527
RE: WitpDecoder; Now providing some overview - 8/2/2007 3:30:27 PM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline
Scout, the most common issue with getting the password to work on a pbem save file is putting it in the proper place in the batch file.

The file has two lines at the top.  The first one starts with "REM" and has a sample of what the next line should look like, with your password replacing the "sample" password.  The second line, below the remark does not have "REM" at the start, and is the actual line where you need to replace "yourpasswordhere" with your actual password. 

Give it a try.  This tool is quite worth the effort. 

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to scout1)
Post #: 528
RE: WitpDecoder; Now providing some overview - 8/3/2007 4:15:27 AM   
scout1


Posts: 2899
Joined: 8/24/2004
From: South Bend, In
Status: offline
Did this, still no dice. Cpt Sherwood even sent me his file as an example. Same thing I did. So I'm going to delete EVERYTHING and try again. If at first you don't suceed, try, try again ........


quote:

ORIGINAL: USS America

Scout, the most common issue with getting the password to work on a pbem save file is putting it in the proper place in the batch file.

The file has two lines at the top.  The first one starts with "REM" and has a sample of what the next line should look like, with your password replacing the "sample" password.  The second line, below the remark does not have "REM" at the start, and is the actual line where you need to replace "yourpasswordhere" with your actual password. 

Give it a try.  This tool is quite worth the effort. 


(in reply to USSAmerica)
Post #: 529
RE: WitpDecoder; Now providing some overview - 8/3/2007 5:46:35 AM   
scout1


Posts: 2899
Joined: 8/24/2004
From: South Bend, In
Status: offline
OK, completely deleted and re-installed. Changed the bat file to include password and the end of the line.
Still no dice. I am Japan so I clicked that on the initialization screen and clicked pbem as well.

My experience that my pc problems are usually due to me, 101 times out of 100. So what am I missing here ?

(in reply to scout1)
Post #: 530
RE: WitpDecoder; Now providing some overview - 8/5/2007 11:09:15 AM   
FeurerKrieg


Posts: 3397
Joined: 6/15/2005
From: Denver, CO
Status: offline
Where did you guys get a full map of subchaser's all in one image file? All I seem to have it the seperate map parts that the game uses.


quote:

ORIGINAL: Skyros

I have a 9 meg version of subchasers map (I think) that I have used for Main Map and Bigmainmap and it works great. I can see everything in the hexes for support and repair clearly.



_____________________________


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

(in reply to Skyros)
Post #: 531
RE: WitpDecoder; Now providing some overview - 8/5/2007 8:56:54 PM   
Local Yokel


Posts: 1494
Joined: 2/4/2007
From: Somerset, U.K.
Status: offline
Scout, I'm not sure whether the password checking of WitpDecoder is case-sensitive (Markus can confirm whether it is), but I assume this is so.

Assuming it is case-sensitive, is it possible that your password contains some characters in upper case, some in lower, and the password value you have entered into the witpdecoder.bat file doesn't? Or vice versa? This might be worth checking.

If your witpdecoder.bat file otherwise matches the one Cpt Sherwood sent you, it's hard to see why you are getting this error. Might be worth posting the contents of your witpdecoder.bat file, substituting asterisks or such like in the place of your password. This might result in some further suggestions.

I agree with USS America: this tool is so useful it is worth persevering to get it to work.

_____________________________




(in reply to scout1)
Post #: 532
RE: WitpDecoder; Now providing some overview - 8/5/2007 10:31:52 PM   
scout1


Posts: 2899
Joined: 8/24/2004
From: South Bend, In
Status: offline
Here's my bat file with * replacing my password. No special characters, strictly alphanumeric. All lower case.
Program appears to initialize fine, just can't get past the password problem. Tried it on both a stock Sc15 and a modified version of BigB's mod (where I redistributed Japanese lift traffic at turn 0). Odd thing, is I have played around (successfully) with a older version of WitPDecoder in the past. Just don't remember having a password related issue.

bat file contents .....

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


Thanks for the hekp guys ! And a special thanks to Woo's for creating and upgrading this tool ......

Scout1

(in reply to Local Yokel)
Post #: 533
RE: WitpDecoder; Now providing some overview - 8/6/2007 1:46:02 AM   
Local Yokel


Posts: 1494
Joined: 2/4/2007
From: Somerset, U.K.
Status: offline
Bat file contents are fine. Even tried pasting copy of your contents into my batch file (changing password to my own, of course!). Worked fine. Wish it hadn't, as that might have given some clue - I am afraid this has me beat at the moment .

_____________________________




(in reply to scout1)
Post #: 534
RE: WitpDecoder; Now providing some overview - 8/6/2007 2:57:46 AM   
Woos

 

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

quote:

ORIGINAL: Local Yokel

Scout, I'm not sure whether the password checking of WitpDecoder is case-sensitive (Markus can confirm whether it is), but I assume this is so.



Yes it is, and no that is not the problem. _I_ can load scout's save file given his password. It must be a problem on his computer (except that he reports the same problem on a different computer).
The only remaining reason I can imagine is that he uses a setup with a strange input-encoding (e.g. forcing Java to use UTF-16) and thus the program gets confused because suddenly every letter is two bytes.

Did anyone else ever had problems with witpdecoder when activating different input encodings on his computer (e.g. Asian characters)? Is "South Bend, In" maybe somewhere in the Pacific?

(in reply to Local Yokel)
Post #: 535
RE: WitpDecoder; Now providing some overview - 8/6/2007 4:53:40 AM   
Cpt Sherwood

 

Posts: 837
Joined: 12/1/2005
From: A Very Nice Place in the USA
Status: offline
No Woos, South Bend, IN is in the USA, in Indiana. You would not think he would have changed his input-encoding.

< Message edited by Cpt Sherwood -- 8/6/2007 4:54:37 AM >

(in reply to Woos)
Post #: 536
RE: WitpDecoder; Now providing some overview - 8/6/2007 2:39:05 PM   
Local Yokel


Posts: 1494
Joined: 2/4/2007
From: Somerset, U.K.
Status: offline
Presumably scout1's password parameter isn't capable of being treated as some other value that qualifies the command line, and isn't a Java or DB engine 'reserved word' that's being interpreted otherwise than as a password?

Might it be worth checking how characters input from his keyboard are being interpreted (e.g. as East Asian characters)? Also, what about the language format in which the witpdecoder.bat file is being saved - is it conceivable that it's being saved as a double byte character set file? Suspect this might cause batch file execution to fail before it hit the password problem, but any port in a storm.

May be worth checking Control Panel -> Regional and Language Settings to see if there's anything out of the ordinary that's affecting things.



_____________________________




(in reply to Woos)
Post #: 537
RE: WitpDecoder; Now providing some overview - 8/7/2007 2:17:51 AM   
scout1


Posts: 2899
Joined: 8/24/2004
From: South Bend, In
Status: offline

Guys,

Thanks a lot for sharing advise and things to look for. As Woos has pointed out, the problem appears to be exclusively on my end. I've embbed a snapshot of the language settings from the control panel (at least I think I did, won't know for sure until I hit the submit button to know for sure as I don't see it on my screen at the moment. Just let me know what to go hunt for and I'll dig it up. I do want to use this tool, but also this has become something of a mission for me ... Just seems damn strange. Woos has been extremely helpful and patient looking into this. Something odd is on my end.

To continue my quest, could someone start a sc15 for pbem as japan, create and initialize the WitpDecoder subfolder. Then email me a zipped version of the entire subfolder along with the save game file and password used. Just make sure you can get into the game and Decoder with it. I tried the other way and others opened what I could not though I created it. Now I'm curious if it will work (or not) the other direction .....






Attachment (1)

(in reply to Local Yokel)
Post #: 538
RE: WitpDecoder; Now providing some overview - 8/7/2007 2:33:57 AM   
Woos

 

Posts: 683
Joined: 6/5/2005
From: Germany
Status: offline
What is the Entry below "English (United States)" in the Installed services list. I mean the barely visible blue icon which seems to contain a "K". This isn't maybe something like "Korean"? If yes, try removing it.

You might also want to click on Advanced, there is something to switch off most of the language support (sorry am on Linux currently and can't look it up). It shouldn't be necessary to disable it (e.g. I have languages support enable so I can type either with German or with English keyboard) but one never knows.

(in reply to scout1)
Post #: 539
RE: WitpDecoder; Now providing some overview - 8/7/2007 2:38:07 AM   
scout1


Posts: 2899
Joined: 8/24/2004
From: South Bend, In
Status: offline
Just a quick note,

tried 2 different things

1) created a dummy pbem (sc15) as japan with a different password (hey, I'm grasping at straws), saved and tried. Got the same password error

2) created dummy AI game with me as Japan (Sc15), saved and tried. Successfully went right in.

So it would appear that the base files I downloaded didn't get corrupted. Hence, either I can't edit a bat file to save my life (always a possibility ) or I don't remember my password (but Woos used it and got in) or ...... ? Need some of the PC more literate to fill in possibilities for me to explore ......

Thanks in advance .....

(in reply to scout1)
Post #: 540
Page:   <<   < prev  16 17 [18] 19 20   next >   >>
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> RE: WitpDecoder; Now providing some overview Page: <<   < prev  16 17 [18] 19 20   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.609