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

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

RE: WitPTracker AE Release 1.0

Post by floydg »

On Windows 10, my 32-bit Java is in C:\ProgramData\Oracle\Java\javapath\java.exe
If you put that full path in the witptracker.bat file, it will be forced to pick up the 32-bit version.

You can find out where your Java is from the command prompt entering "where java".
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
kukudas
Posts: 21
Joined: Thu Jun 11, 2015 10:03 am
Location: South Korea

RE: WitPTracker AE Release 1.0

Post by kukudas »

My java is in C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe . But I can't sure it's 32-bit.
In addition how can I change bat file's full path? When I right click the bat file it doesn't show any other option like notepad but just run.

Full message when I run tracker.

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
Initializing WitP Tracker AE database.
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Home\Desktop\WitPTracker AE Release 1.10\pwsdll7.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:99)
at witptracker.Main.main(Main.java:141)

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>pause
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: WitPTracker AE Release 1.0

Post by BillBrown »

ORIGINAL: kukudas

My java is in C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe . But I can't sure it's 32-bit.
In addition how can I change bat file's full path? When I right click the bat file it doesn't show any other option like notepad but just run.

Full message when I run tracker.

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
Initializing WitP Tracker AE database.
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Home\Desktop\WitPTracker AE Release 1.10\pwsdll7.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:99)
at witptracker.Main.main(Main.java:141)

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>pause

That says you are using 64 bit Java.

When you install the 32 bit Java, put it in a separate folder somewhere outside of either
of the two program folders.
kukudas
Posts: 21
Joined: Thu Jun 11, 2015 10:03 am
Location: South Korea

RE: WitPTracker AE Release 1.0

Post by kukudas »

Same question again....
In floydg's link(https://www.java.com/en/download/manual.jsp) I can't find 32 bit java... Where can I get that thing?
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0

Post by floydg »

In the witptracker.bat file, change the "java" to "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" (keep the quotes). That should force it to run the 32-bit (x86) version.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
kukudas
Posts: 21
Joined: Thu Jun 11, 2015 10:03 am
Location: South Korea

RE: WitPTracker AE Release 1.0

Post by kukudas »

ORIGINAL: floydg

In the witptracker.bat file, change the "java" to "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" (keep the quotes). That should force it to run the 32-bit (x86) version.

The problem is I don't know how to change the "java" to "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" .
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0

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.
User avatar
RangerJoe
Posts: 17771
Joined: Mon Nov 16, 2015 2:39 pm
Location: Who knows?

RE: WitPTracker AE Release 1.0

Post by RangerJoe »

Right click on the file, then select "edit". Where something like:

java -Xms384m -Xmx512m -jar "WitPTracker.jar"
pause

is written, then change it to:

"C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar
pause

At least, I just copied what I have in the file then I just changed the "java" to "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" and everything else is the same. You are simply telling the computer to look in the 32 bit section of programs and not the 64 bit section, if I understand things correctly.
Seek peace but keep your gun handy.

I'm not a complete idiot, some parts are missing! :o

“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
:twisted: ; Julia Child
Image
kukudas
Posts: 21
Joined: Thu Jun 11, 2015 10:03 am
Location: South Korea

RE: WitPTracker AE Release 1.0

Post by kukudas »


Thank you! Finally managed to run the tracker by deleting 64-bit java. Although tracker gives me another problem.

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 9 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at witptracker.MapPanel$Map.<init>(MapPanel.java:440)
at witptracker.MapPanel.<init>(MapPanel.java:229)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:920)
at witptracker.GUIMain$5.run(GUIMain.java:1042)
at java.awt.event.InvocationEvent.dispatch(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.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\Home\Desktop\WitPTracker AE Release 1.10>pause

Looks like it is memory issue. I've read your solution but I don't sure I did it right.

"If you can't for some reason (e.g., 64-bit system), try one of these methods:
Use the C:\Windows\SysWOW64\cmd.exe command to start the witptracker.bat file. You can make a short-cut for this by making a copy of the witptracker.bat file and change the extension to something unused (e.g., witptracker.witp) and then associate the file (using the "Open With..." dialog) to open using SysWOW64\cmd.exe.
Failing that, contact us for any other methods."


Open cmd screen and typing renamed tracker gives me this message.

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>WitpTracker.witp

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 9 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at witptracker.MapPanel$Map.<init>(MapPanel.java:440)
at witptracker.MapPanel.<init>(MapPanel.java:229)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:920)
at witptracker.GUIMain$5.run(GUIMain.java:1042)
at java.awt.event.InvocationEvent.dispatch(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.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)

HELP!!!!
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0

Post by floydg »

Edit the witptracker.bat file and change the numbers after Xms and Xmx by 128 until it works. Or just add nomap at the end:

Either:

Code: Select all

 java -Xms384m -Xmx512m -jar "WitPTracker.jar"  nomap

or

Code: Select all

 java -Xms512m -Xmx640m -jar "WitPTracker.jar"


Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
kukudas
Posts: 21
Joined: Thu Jun 11, 2015 10:03 am
Location: South Korea

RE: WitPTracker AE Release 1.0

Post by kukudas »

ORIGINAL: floydg

Edit the witptracker.bat file and change the numbers after Xms and Xmx by 128 until it works. Or just add nomap at the end:

Either:

Code: Select all

 java -Xms384m -Xmx512m -jar "WitPTracker.jar"  nomap

or

Code: Select all

 java -Xms512m -Xmx640m -jar "WitPTracker.jar"



Great thanks!!!!!!!! Finally!!!!!!!!!! IT WORKS!!!!!!!!!!!!!!
Knavey
Posts: 2565
Joined: Thu Sep 12, 2002 4:25 am
Location: Valrico, Florida

RE: WitPTracker AE Release 1.0

Post by Knavey »

Probably not being updated anymore, but a logic check on "you forgot to upload the last turn dummy" would be nice.

Thanks for a great program, once I got it running, I feel lost without it now.
x-Nuc twidget
CVN-71
USN 87-93
"Going slow in the fast direction"
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0

Post by floydg »

ORIGINAL: Knavey

Probably not being updated anymore, but a logic check on "you forgot to upload the last turn dummy" would be nice.

Thanks for a great program, once I got it running, I feel lost without it now.

Yeah, I haven't updated in a while, but I have been tinkering with the code. I suppose I could add a "skipped turn" warning.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
User avatar
larryfulkerson
Posts: 42547
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: WitPTracker AE Release 1.0

Post by larryfulkerson »

What did I do wrong? How do I fix this? Is it going to be a problem the rest of the game?

Image
Attachments
temp.jpg
temp.jpg (172.15 KiB) Viewed 305 times
Naughty Grandma Has the Bank Manager by the Balls… LITERALLY!
https://www.youtube.com/watch?v=fBeUBBeqkhI
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0

Post by floydg »

Larry -

It looks like the pilot ID could be larger than expected. So this pilot (and others with larger-than-expected IDs) won't be stored in the database. I'll need to think of some way to fix that...

Floyd
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
User avatar
AleRonin
Posts: 125
Joined: Tue Apr 30, 2019 2:48 pm

RE: WitPTracker AE Release 1.0

Post by AleRonin »

Amazing tool, thanks for your effort Floydg [&o]
User avatar
RogerJNeilson
Posts: 1277
Joined: Thu Apr 12, 2012 5:21 am
Location: Bedlington, Northumberland, UK

RE: WitPTracker AE Release 1.0

Post by RogerJNeilson »

after years of working flawlessly suddenly this?


Any advice appreciated.

Image
Attachments
Screenshot..20.31.38.jpg
Screenshot..20.31.38.jpg (197.29 KiB) Viewed 305 times
An unplanned dynasty: Roger Neilson, Roger Neilson 11, Roger Neilson 3 previous posts 898+1515 + 1126 = 3539.....Finally completed my game which started the day WITP:AE was released
User avatar
btd64
Posts: 13943
Joined: Sat Jan 23, 2010 12:48 am
Location: Lancaster, OHIO

RE: WitPTracker AE Release 1.0

Post by btd64 »

Looks like a storage thing. I don't remember how to fix it. Look on the tracker website....GP
Intel i7 4.3GHz 10th Gen,16GB Ram,Nvidia GeForce MX330

AKA General Patton

DW2-Alpha/Beta Tester
SCW Manual Lead & Beta Support Team

"Do everything you ask of those you command"....Gen. George S. Patton
User avatar
RogerJNeilson
Posts: 1277
Joined: Thu Apr 12, 2012 5:21 am
Location: Bedlington, Northumberland, UK

RE: WitPTracker AE Release 1.0

Post by RogerJNeilson »

Ok ignore, I managed to get it to work, though not sure how....


Roger
An unplanned dynasty: Roger Neilson, Roger Neilson 11, Roger Neilson 3 previous posts 898+1515 + 1126 = 3539.....Finally completed my game which started the day WITP:AE was released
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: WitPTracker AE Release 1.0

Post by BillBrown »

It looks like you might have tried to run that tracker twice, it will not let you do that.
Post Reply

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