WitPTracker AE Release 1.11 Available!

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

User avatar
Anthropoid
Posts: 3107
Joined: Tue Feb 22, 2005 1:01 am
Location: Secret Underground Lair

RE: WitPTracker AE Release 1.0.1 Available

Post by Anthropoid »

It is my understanding that the key to having multiple copies of Java is to:

(a) install one, probably best to install oldest one first.
(b) copy the directory for that one, say 6 for example.
(c) paste it to some new location. This creates a "non-registered" instance of the app, so it should be impervious to auto-updates.

What you do after that can vary but to confirm that it works the way I'm saying, you might want to then use the Win uninstaller to uninstall the version in question. Make sure tracker is pointing at the copied version (and I guess visually confirm that all its parts are still there). Run tracker to see it works.

Now you can install a 2nd, 3rd, 4th, etc. version of Java.

As long as you make non-registered copies of each one you do not want to get updated, and leave only the one you want to get updated as a registered copy, I believe that will work.

I have had problems in the past where (for whatever reason) an app I was trying to run (I believe it was a Minecraft mod manager application like Tekkit) didn't realize I had the required version of Java even though I had multiple versions. But I think it was because it was because the one I had installed most recently, and thus the one that the Minecraft app found when it looked in the default locations, was the older version.
The x-ray is her siren song. My ship cannot resist her long. Nearer to my deadly goal. Until the black hole. Gains control...
http://www.youtube.com/watch?v=IkIIlkyZ ... playnext=3
bristolduke
Posts: 134
Joined: Fri Dec 07, 2007 5:14 pm

RE: WitPTracker AE Release 1.0.1 Available

Post by bristolduke »

Hi

I am trying to get back into the game, and I'm trying to use Tracker. I have tried to follow the Java 6 installation ( and copy and re-point). I only have 1 game saved. When I try to start tracker I get





C:\Users\Bill\Documents\AEIndustry\My Games\Game 1 test\WitPTracker AE Release 1
.9.2>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Bill\Documents\AEIndustry\My Games\Game 1 test\WitPTracker AE Release 1
.9.2>pause
Press any key to continue . . .


Thanks
User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: WitPTracker AE Release 1.0.1 Available

Post by Korvar »

ORIGINAL: bristolduke

Hi

I am trying to get back into the game, and I'm trying to use Tracker. I have tried to follow the Java 6 installation ( and copy and re-point). I only have 1 game saved. When I try to start tracker I get





C:\Users\Bill\Documents\AEIndustry\My Games\Game 1 test\WitPTracker AE Release 1
.9.2>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Bill\Documents\AEIndustry\My Games\Game 1 test\WitPTracker AE Release 1
.9.2>pause
Press any key to continue . . .


Thanks

Depending on exactly where you copied the java files in your WitPTracker folder, try both of these variations to the Java path shown above (which is found in the WitPTracker.bat file):

“C:\Users\Bill\Documents\AEIndustry\My Games\Game 1 test\WitPTracker AE Release 1
.9.2\jre6\bin\java”

or

“C:\Users\Bill\Documents\AEIndustry\My Games\Game 1 test\WitPTracker AE Release 1
.9.2\bin\java”


It is probably a simple oversight of not including the “bin” folder in the path.

For good measure, add the quotes to the beginning and end of the path too. They will help ensure that the spaces in the path don’t trip up finding the files. The command prompt is essentially a DOS environment, and spaces in file or folder names were a no-no in DOS (or at least they make pathfinding a pain).
bristolduke
Posts: 134
Joined: Fri Dec 07, 2007 5:14 pm

RE: WitPTracker AE Release 1.0.1 Available

Post by bristolduke »

Thanks for the response. I understand what I did wrong (pasted the java link to the wrong file).

Ran it and got this error. ( which I see someone else got as well), however I only have one file running, although I I have tried to organize it so I can run multiple instances (e.g. a new copy for each game).


****
C:\Users\Bill\Documents\AEIndustry\My Games\Game 1 test\WitPTracker AE Release 1
.9.2>"C:\Program Files (x86)\jre6-tracker\bin\java" -Xms384m -Xmx512m -jar "WitP
Tracker.jar"
Initializing WitP Tracker AE database.
WitP Tracker AE tables loaded in 1 seconds
WARNING: SigInt file <C:\Matrix Games\War in the Pacific Admiral's Edition\SAVE\
jsigint.txt> has 0 days of intel in the file, but the turn cycle is 1.
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at witptracker.ShipClassPanel$1.getValueAt(ShipClassPanel.java:149)
at witptracker.ShipClassPanel$1.getColumnClass(ShipClassPanel.java:177)
at javax.swing.table.TableRowSorter.useToString(Unknown Source)
at javax.swing.DefaultRowSorter.updateUseToString(Unknown Source)
at javax.swing.DefaultRowSorter.sort(Unknown Source)
at javax.swing.DefaultRowSorter.setRowFilter(Unknown Source)
at witptracker.ShipClassPanel.actionPerformed(ShipClassPanel.java:862)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.contentsChanged(Unknown Source)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
at javax.swing.JComboBox.addItem(Unknown Source)
at witptracker.ShipClassPanel.PopulateCombos(ShipClassPanel.java:789)
at witptracker.ShipClassPanel.<init>(ShipClassPanel.java:664)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:736)
at witptracker.GUIMain$5.run(GUIMain.java:1020)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

C:\Users\Bill\Documents\AEIndustry\My Games\Game 1 test\WitPTracker AE Release 1
.9.2>pause
Press any key to continue . . .
*****

Thanks
User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: WitPTracker AE Release 1.0.1 Available

Post by Korvar »

Hmmm... haven't seen that particular error before. Here's what I found in the WitP Tracker release notes:
Release 1.3.1
This is an incremental fix for loading the signal intelligence files. The program will now also look for a file called "asigint.txt" or "jsigint.txt" if it can't find a file with a date on in the name. Also, it will look for the file for the date previous to the turn being loaded. That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), jsigint_411206.txt, which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named jsigint_411207.txt or jsigint.txt which should exist for December 7th.
Also added a tooltip to the Turn column in the Intel panel that shows the date associated with the turn number.
(Source)

Looking in my own WitP save folder, I have both the asigint.txt and jsigint.txt files, with addtional day-specific files named according to the following format: "asigint_YYMMDD.txt". So you should have an appropriate sigint file for the previous day of your current in-game saved date. You're referencing the primary save WitP folder, so all your info should be there. Double check to see that it is.

Only thing I can think of than an apparently missing sigint file is that the applicable saved game you are trying to load has something other than a one-day turn cycle, but you didn't set the WitP Tracker to match (it defaults to single day turns). So if you have a two-day turn cycle, but WitPTracker is still set to single day turns - it's looking for a previous day that technically doesn't exist.

Take a look at the "witptracker.properties" file in the tracker folder. You should see the last line as "TurnCycle=[#]" where # is the appropriate turn/day ratio for the save you are trying to load.

It it's not a missing file or turn cycle mismatch, also check to see that you copied the "pwsdll.dll" file from your WitP AE game folder to the tracker folder (and make a backup copy of the original tracker pwsdll.dll before you overwrite it). You should be able to tell the difference in the file sizes - for reference, my original tracker pwsdll.dll file was 476k in size, and my WitP file is 484k.
IronDuke_slith
Posts: 1385
Joined: Sun Jun 30, 2002 4:00 pm
Location: Manchester, UK

RE: WitPTracker AE Release 1.0.1 Available

Post by IronDuke_slith »

I had missing files for intel for turns after the first one. I think it was caused by loading the file into tracker before I had run the replay file. When I ran the replay 001 file first, then the intel files started re-appearing. I assume they are created by the replay process...?
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0.1 Available

Post by floydg »

Don't worry about the warning -- it will happen on the first turn.
The real error is because you're using the wrong pwsdll.dll file. Please copy the pwsdll.dll file from the game folder (or Beta2 folder, as appropriate), delete the trackerdb files and then try again.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
bristolduke
Posts: 134
Joined: Fri Dec 07, 2007 5:14 pm

RE: WitPTracker AE Release 1.0.1 Available

Post by bristolduke »

ORIGINAL: floydg

Don't worry about the warning -- it will happen on the first turn.
The real error is because you're using the wrong pwsdll.dll file. Please copy the pwsdll.dll file from the game folder (or Beta2 folder, as appropriate), delete the trackerdb files and then try again.


That was the issue.

Thanks
moses195th
Posts: 7
Joined: Sat Apr 24, 2010 1:32 pm

RE: WitPTracker AE Release 1.0.1 Available

Post by moses195th »


C:\Downloads\WITP\WitPTracker AE Release 1.9.2>"C:\Games\java6\bin\java" -Xms512
m -Xmx768m -jar "WitPTracker.jar"
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

C:\Downloads\WITP\WitPTracker AE Release 1.9.2>pause
Press any key to continue . . .

this is the error i am getting
Mo
bspeer
Posts: 81
Joined: Fri Jun 09, 2006 9:40 pm
Contact:

RE: WitPTracker AE Release 1.0.1 Available

Post by bspeer »

Okay, have Java6 installed. Get this error:

E:\Matrix Games\WiTP Tracker>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.sql.SQLException: The database is already in use by another process: org.hs
qldb.persist.NIOLockFile@b129b5a8[file =E:\Matrix Games\WiTP Tracker\trackerdb.l
ck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: chec
kHeartbeat(): lock file [E:\Matrix Games\WiTP Tracker\trackerdb.lck] is presumab
ly locked by another process.
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at witptracker.Database.<init>(Database.java:32)
at witptracker.Main.main(Main.java:59)

E:\Matrix Games\WiTP Tracker>pause
Press any key to continue . . .

Suggestions?

Thanks!
bs

"That’s impossible! The Americans only know how to make razor blades." Hermann Göring
bspeer
Posts: 81
Joined: Fri Jun 09, 2006 9:40 pm
Contact:

RE: WitPTracker AE Release 1.0.1 Available

Post by bspeer »

Okay, have it point to the correct place...but still error messages:


E:\Matrix Games\WiTP Tracker>"C:\program files\Java\jre6\bin\java.exe" -Xms384m
-Xmx512m -jar "WitPTracker.jar"
Initializing WitP Tracker AE database.
Exception in thread "main" java.lang.UnsatisfiedLinkError: E:\Matrix Games\WiTP
Tracker\pwsdll.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at JNIpws.JNIpws.<clinit>(JNIpws.java:20)
at witptracker.SaveFileReader.<init>(SaveFileReader.java:95)
at witptracker.Main.main(Main.java:139)

E:\Matrix Games\WiTP Tracker>pause
Press any key to continue . . .

REALLY could use some help here.
bs

"That’s impossible! The Americans only know how to make razor blades." Hermann Göring
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0.1 Available

Post by floydg »

Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
bspeer
Posts: 81
Joined: Fri Jun 09, 2006 9:40 pm
Contact:

RE: WitPTracker AE Release 1.0.1 Available

Post by bspeer »

Thanks, I'll give it a try!
bs

"That’s impossible! The Americans only know how to make razor blades." Hermann Göring
User avatar
nashvillen
Posts: 3835
Joined: Mon Jul 03, 2006 3:07 am
Location: Christiana, TN

RE: WitPTracker AE Release 1.0.1 Available

Post by nashvillen »

Bill, I get around that by having Java 6 loaded just for Tracker. You can get it from the legacy Oracle site:

http://www.oracle.com/technetwork/java/ ... 19409.html

I then make sure my batch file is pointing at that jre folder to start with. Does that help?

Mike C
Image
bspeer
Posts: 81
Joined: Fri Jun 09, 2006 9:40 pm
Contact:

RE: WitPTracker AE Release 1.0.1 Available

Post by bspeer »

Mike, I did this to no avail. Tried what floyddg pointed me to as well.
bs

"That’s impossible! The Americans only know how to make razor blades." Hermann Göring
bspeer
Posts: 81
Joined: Fri Jun 09, 2006 9:40 pm
Contact:

RE: WitPTracker AE Release 1.0.1 Available

Post by bspeer »

This is the error message I am getting now, what am I missing?


E:\Matrix Games\WiTP Tracker>"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xm
s512m -Xmx768m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 0 seconds
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at witptracker.ShipClassPanel$1.getValueAt(ShipClassPanel.java:149)
at witptracker.ShipClassPanel$1.getColumnClass(ShipClassPanel.java:177)
at javax.swing.table.TableRowSorter.useToString(Unknown Source)
at javax.swing.DefaultRowSorter.updateUseToString(Unknown Source)
at javax.swing.DefaultRowSorter.sort(Unknown Source)
at javax.swing.DefaultRowSorter.setRowFilter(Unknown Source)
at witptracker.ShipClassPanel.actionPerformed(ShipClassPanel.java:862)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.contentsChanged(Unknown Source)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
at javax.swing.JComboBox.addItem(Unknown Source)
at witptracker.ShipClassPanel.PopulateCombos(ShipClassPanel.java:789)
at witptracker.ShipClassPanel.<init>(ShipClassPanel.java:664)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:736)
at witptracker.GUIMain$5.run(GUIMain.java:1020)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

E:\Matrix Games\WiTP Tracker>pause
Press any key to continue . . .
bs

"That’s impossible! The Americans only know how to make razor blades." Hermann Göring
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0.1 Available

Post by floydg »

Look at the second paragraph of post 5026 above.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
bspeer
Posts: 81
Joined: Fri Jun 09, 2006 9:40 pm
Contact:

RE: WitPTracker AE Release 1.0.1 Available

Post by bspeer »

That looks like I WINNER, thanks Floydg!!!
bs

"That’s impossible! The Americans only know how to make razor blades." Hermann Göring
User avatar
nashvillen
Posts: 3835
Joined: Mon Jul 03, 2006 3:07 am
Location: Christiana, TN

RE: WitPTracker AE Release 1.0.1 Available

Post by nashvillen »

Egg on my face, Bill... I should have known better.
Image
bspeer
Posts: 81
Joined: Fri Jun 09, 2006 9:40 pm
Contact:

RE: WitPTracker AE Release 1.0.1 Available

Post by bspeer »

It's all good Mike!
bs

"That’s impossible! The Americans only know how to make razor blades." Hermann Göring
Post Reply

Return to “War in the Pacific: Admiral's Edition”