WitPTracker AE News

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

floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

ORIGINAL: wegman58

Windows 10, Current Beta of WITP.

I moved the .exe file from jre1.8.0_151 to the Tracker folder
C:\Matrix Games\War in the Pacific Admiral's Edition\tools\WitPTracker AE Release 1.9.2

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

The CMD screen has >pause
Hit any key to continue...
Closes with nothing.

My Java folder has a _25, _31, _60 as well as the _151 versions, I took the newest one.

Copying the JRE local should have no effect -- it should be using the JRE in your path.

like this:

Code: Select all

C:\Users\fgold>where java
 C:\ProgramData\Oracle\Java\javapath\java.exe
 
 C:\Users\fgold>java -version
 java version "1.8.0_131"
 Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
 Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode)
 

Remove that JRE and 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.
wegman58
Posts: 460
Joined: Sat Dec 28, 2013 1:15 pm
Location: Edina, MN (FROM the Bronx)

RE: WitPTracker AE Release 1.10 Available!

Post by wegman58 »

C:\Users\fgold>where java

I am VERY lost with this advice. I tried the 'where java' in my user file.

I think we lost the Command Line in Windows 10 - or is there a way to use the command line?
Bill Goin
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

I'm using Windows 10.

For me, the Command Prompt is in the Windows menu under "Windows System".
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
wegman58
Posts: 460
Joined: Sat Dec 28, 2013 1:15 pm
Location: Edina, MN (FROM the Bronx)

RE: WitPTracker AE Release 1.10 Available!

Post by wegman58 »

C:\Users\fgold>where java

Good to know on where to find.

BUT
C:\ProgramData\Oracle\Java\javapath\java.exe

My C: doesn't show ProgramData

Is there a way to unhide?


Bill Goin
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

ORIGINAL: wegman58
C:\Users\fgold>where java

Good to know on where to find.

BUT
C:\ProgramData\Oracle\Java\javapath\java.exe

My C: doesn't show ProgramData

Is there a way to unhide?



I don't know what that means, but where Java is installed doesn't need to be the same on every PC.

Can you run the Command Prompt program and type "where java" and then "java -version"?
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
wegman58
Posts: 460
Joined: Sat Dec 28, 2013 1:15 pm
Location: Edina, MN (FROM the Bronx)

RE: WitPTracker AE Release 1.10 Available!

Post by wegman58 »

ORIGINAL: floydg

ORIGINAL: wegman58
C:\Users\fgold>where java

Good to know on where to find.

BUT
C:\ProgramData\Oracle\Java\javapath\java.exe

My C: doesn't show ProgramData

Is there a way to unhide?



I don't know what that means, but where Java is installed doesn't need to be the same on every PC.

Can you run the Command Prompt program and type "where java" and then "java -version"?

I ran the where java.

It points to a location that doesn't exist or is hidden.

It looks to be the same as yours
C:\ProgramData\Oracle\Java\Javapath\java.exe

But I don't see a ProgramData directory.

Or am I missing something?
Bill Goin
Chris21wen
Posts: 7716
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker AE Release 1.10 Available!

Post by Chris21wen »

But I don't see a ProgramData directory.

Your correct it is hidden. Open explorer, from the menu select view\show/hide and tick hidden items.



Image
Attachments
Capture.jpg
Capture.jpg (47.68 KiB) Viewed 418 times
wegman58
Posts: 460
Joined: Sat Dec 28, 2013 1:15 pm
Location: Edina, MN (FROM the Bronx)

RE: WitPTracker AE Release 1.10 Available!

Post by wegman58 »

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

It used to be easier to show hidden items.

I copied the jave.exe from the right place, still have the

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

Bill Goin
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

ORIGINAL: wegman58
Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

It used to be easier to show hidden items.

I copied the jave.exe from the right place, still have the

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.


You do not need to copy any JRE files over to the WitPTracker folder. In fact, depending on how your environment variables are set, that could be the cause of your issue.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
Theages
Posts: 167
Joined: Fri Feb 16, 2007 6:48 pm
Location: Austria

RE: WitPTracker AE Release 1.10 Available!

Post by Theages »

The default folder, where java8 build 151 32Bit is installed, is
"C:\Program Files (x86)\Java\jre1.8.0_151"

Therefore in the witptracker.bat the command should be (including all the "):
"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar"

when an update for java occurs, only the build number has to be changed.
(eg: "C:\Program Files (x86)\Java\jre1.8.0_155\bin\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar" if the new build number is 155)
Theages
Posts: 167
Joined: Fri Feb 16, 2007 6:48 pm
Location: Austria

RE: WitPTracker AE Release 1.10 Available!

Post by Theages »

ORIGINAL: n01487477

Hi all -
I'm thinking of looking at some issues related to the economic chart. I also noted that there maybe an issue with R&D factories which are turned off. I'll have a look back through the thread to see if there are any other things that I may be able to fix like the air support as well. Anything else that is outstanding / important ?

Floyd had long ago begun to implement the parsing of the operations files, which led to a lot of warnings
(eg.: WARNING: Unknown row in operations file <C:\Stuff\WiTP\SAVE\aoperationsreport_411207.txt>: [SLDR Henderson, A.D. of No.8 Sqn RAAF Det bails out with WOUNDS but is RESCUED]).
Perhaps the work on that could be continued or somehow made to be done by one self (eg. using some easily editable data file)?

Is there a chance to change the program to a different language (not java)? (I know I am being unreasonable)
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

ORIGINAL: Theages

ORIGINAL: n01487477

Hi all -
I'm thinking of looking at some issues related to the economic chart. I also noted that there maybe an issue with R&D factories which are turned off. I'll have a look back through the thread to see if there are any other things that I may be able to fix like the air support as well. Anything else that is outstanding / important ?

Floyd had long ago begun to implement the parsing of the operations files, which led to a lot of warnings
(eg.: WARNING: Unknown row in operations file <C:\Stuff\WiTP\SAVE\aoperationsreport_411207.txt>: [SLDR Henderson, A.D. of No.8 Sqn RAAF Det bails out with WOUNDS but is RESCUED]).
Perhaps the work on that could be continued or somehow made to be done by one self (eg. using some easily editable data file)?

Is there a chance to change the program to a different language (not java)? (I know I am being unreasonable)

I did add more translations for the Operations Report.

And not likely we'll change the programming language. This is a hobby thing... ;-)

Floyd
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
jgsIII
Posts: 69
Joined: Tue Aug 25, 2009 2:54 pm
Location: Annapolis, Maryland, U.S.A.
Contact:

RE: WitPTracker AE Release 1.10 Available!

Post by jgsIII »

ORIGINAL: jgs

BINGO! The turn file was incorrect!

I am just starting a game as Allies and have some orders given. When is the first time I will run WitPTracker? I don't know if you start a baseline or just run after each turn is resolved and saved. Thanks :)

Doh! Spoke to soon. Corrected the turn file:

# WitPTracker AE properties file
# Directory of the game
Dir=[C:\Games\Matrix Games\War in the Pacific Admiral's Edition]
# Type of game. 0=AI, 1=PBEM
GameType=[0]
# Side you are playing. 0=Japan, 1=Allies
Side=[1]
# Password. Only needed for PBEM
Password=[abc123]
# Name of the base save file
SaveFile=[wpae002.pws]
# Mode the program will look for save files.
# 0 = just in the local folder
# 1 = just in the game folder: [Dir]/SAVE
# 2 = local and then if not found there, the game folder
SaveMode=[1]
# Text to put in the header of the main window
Header=[Tracker game Vs AI]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]


But still throws the error:


C:\Games\Matrix Games\WitPTracker>cd "C:\Games\Matrix Games\WitPTracker"

C:\Games\Matrix Games\WitPTracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at witptracker.Database.<init>(Database.java:31)
at witptracker.Main.main(Main.java:59)

C:\Games\Matrix Games\WitPTracker>pause
Press any key to continue . . .

What else can I check please? Thanks.
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: WitPTracker AE Release 1.10 Available!

Post by BillBrown »

Bad answer.
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

ORIGINAL: jgs

ORIGINAL: jgs

BINGO! The turn file was incorrect!

I am just starting a game as Allies and have some orders given. When is the first time I will run WitPTracker? I don't know if you start a baseline or just run after each turn is resolved and saved. Thanks :)

Doh! Spoke to soon. Corrected the turn file:

# WitPTracker AE properties file
# Directory of the game
Dir=[C:\Games\Matrix Games\War in the Pacific Admiral's Edition]
# Type of game. 0=AI, 1=PBEM
GameType=[0]
# Side you are playing. 0=Japan, 1=Allies
Side=[1]
# Password. Only needed for PBEM
Password=[abc123]
# Name of the base save file
SaveFile=[wpae002.pws]
# Mode the program will look for save files.
# 0 = just in the local folder
# 1 = just in the game folder: [Dir]/SAVE
# 2 = local and then if not found there, the game folder
SaveMode=[1]
# Text to put in the header of the main window
Header=[Tracker game Vs AI]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]


But still throws the error:


C:\Games\Matrix Games\WitPTracker>cd "C:\Games\Matrix Games\WitPTracker"

C:\Games\Matrix Games\WitPTracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at witptracker.Database.<init>(Database.java:31)
at witptracker.Main.main(Main.java:59)

C:\Games\Matrix Games\WitPTracker>pause
Press any key to continue . . .

What else can I check please? Thanks.

How did you unpack the program? There are files in a "lib" folder that it needs. If these aren't in the proper path, it won't work.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
wegman58
Posts: 460
Joined: Sat Dec 28, 2013 1:15 pm
Location: Edina, MN (FROM the Bronx)

RE: WitPTracker AE Release 1.10 Available!

Post by wegman58 »

ORIGINAL: wegman58
Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

It used to be easier to show hidden items.

I copied the jave.exe from the right place, still have the

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.


I still have Java start and start. I think Java is being found, I have another issue. Any ideas?
Bill Goin
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.10 Available!

Post by floydg »

email me directly at witptracker@gmail.com
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
jgsIII
Posts: 69
Joined: Tue Aug 25, 2009 2:54 pm
Location: Annapolis, Maryland, U.S.A.
Contact:

RE: WitPTracker AE Release 1.10 Available!

Post by jgsIII »

ORIGINAL: floydg

ORIGINAL: jgs

ORIGINAL: jgs

BINGO! The turn file was incorrect!

I am just starting a game as Allies and have some orders given. When is the first time I will run WitPTracker? I don't know if you start a baseline or just run after each turn is resolved and saved. Thanks :)

Doh! Spoke to soon. Corrected the turn file:

# WitPTracker AE properties file
# Directory of the game
Dir=[C:\Games\Matrix Games\War in the Pacific Admiral's Edition]
# Type of game. 0=AI, 1=PBEM
GameType=[0]
# Side you are playing. 0=Japan, 1=Allies
Side=[1]
# Password. Only needed for PBEM
Password=[abc123]
# Name of the base save file
SaveFile=[wpae002.pws]
# Mode the program will look for save files.
# 0 = just in the local folder
# 1 = just in the game folder: [Dir]/SAVE
# 2 = local and then if not found there, the game folder
SaveMode=[1]
# Text to put in the header of the main window
Header=[Tracker game Vs AI]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]


But still throws the error:


C:\Games\Matrix Games\WitPTracker>cd "C:\Games\Matrix Games\WitPTracker"

C:\Games\Matrix Games\WitPTracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at witptracker.Database.<init>(Database.java:31)
at witptracker.Main.main(Main.java:59)

C:\Games\Matrix Games\WitPTracker>pause
Press any key to continue . . .

What else can I check please? Thanks.

How did you unpack the program? There are files in a "lib" folder that it needs. If these aren't in the proper path, it won't work.

Thank you for your patient guidance. I did a WinMerge compare of my 'production' folder with a fresh download and extract and found where I was missing files. It's working beautiful now and if I haven't thanked you for all your time and efforts in development and support, let me thank you for a job well done.
User avatar
rsallen64
Posts: 236
Joined: Mon Jun 15, 2009 6:20 pm
Location: Olympia, WA

RE: WitPTracker AE Release 1.10 Available!

Post by rsallen64 »

I am having problems with Tracker again. I get the following message:


H:\Tracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar" nomap
WitP Tracker AE tables loaded in 16 seconds
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: H:\Tracker\pwsdll7.dll: Not enough storage is available to process this command
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.ReadScenarioTurnNumber(SaveFileReader.java:339)
at witptracker.GUIMain.ReadNewTurn(GUIMain.java:148)
at witptracker.GUIMain.actionPerformed(GUIMain.java:527)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.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)

My system has 16GB of memory. I am only in March of 1942, and I had to wipe the Tracker database before and start over again when I had problems before. I am running the latest WITP-AE beta and the latest version of Java. I ran the .exe version of Tracker for a while, and it worked fine, but then I started to get a situation where, as the turn was processing, Tracker would flash on the task bar multiple times during the turn as if something was wrong. I first switched to the .exe version because the java version just wouldn't read a turn after a while. Now, I'd like to go back, but I can't get around this message. I reinstalled Java and tried the messages and solutions listed on the Tracker home page.

Any suggestions?
Desert War 1940-1942 Beta Tester
Agressors: Ancient Rome Beta Tester
Flashpoint Campaigns: Southern Storm Beta Tester
Flashpoint Campaigns: Cold War Beta Tester
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: WitPTracker AE Release 1.10 Available!

Post by BillBrown »

Try rebooting and then open tracker with nothing else open. I have had this error come up occasionally and I think
that there is something staying in memory that is causing this problem.

You should also increase the -Xmx768m to -Xmx1024m
Post Reply

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