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
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.0

Post by Nomad »

Your command line is wrong.

Probably should be "C:\program files (x86)\java 32\bin\java.exe" -Xms384m -Xmx512m -Jar "witPTracker.jar"
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.0

Post by Nomad »

You can also change the -Xms384 to -Xms256m and the -Xmx512m to -Xmx768m for better memory usage. And add nomap at the end to again help with memory usage.

So you would have

"C:\program files (x86)\java 32\bin\java.exe" -Xms256m -Xmx768m -Jar "witPTracker.jar" nomap
User avatar
Rekm41
Posts: 564
Joined: Sun Aug 08, 2004 11:38 am
Location: Canada EH!

RE: WitPTracker AE Release 1.0

Post by Rekm41 »

Looks like I got it to work. Thanks.

Keep Moving and Keep your Head DOWN!!
User avatar
Admiral DadMan
Posts: 3394
Joined: Fri Feb 22, 2002 10:00 am
Location: A Lion uses all its might to catch a Rabbit

RE: WitPTracker AE Release 1.0

Post by Admiral DadMan »

New problem: Playing PBeM as Allied. Tracker running fine for 30+ turns. I did a "Read Turn" after End turn instead of before making moves in the turn. Now when I Read Turn I get this:

D:\Games\WitPAE\WitPAE\SAVE\WitPAE Tracker>java -Xms512m -Xmx1024m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 10 seconds

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: D:\Games\WitPAE\WitPAE\SAVE\WitPAE Tracker\pwsdll7.dll: Not enough memory resources are 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.ReadTurnInfo(SaveFileReader.java:261)
at witptracker.GUIMain.MultiReadNewTurn(GUIMain.java:229)
at witptracker.GUIMain.actionPerformed(GUIMain.java:530)
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)
Scenario 127: "Scraps of Paper"
(\../)
(O.o)
(> <)

CVB Langley:
Image
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.0

Post by Nomad »

For whatever reason it seems that Windows gets its memory allocation screwed up. Try closing everything and restarting your computer.

If that doesn't fix it, then try shutting down your computer completely, pulling the power cable and pressing the start button for about 10 seconds.
Restart and try again. Like I said, I don't know what happens but these have always fixed the problem for me. I have something like 450 turns loaded.
User avatar
Admiral DadMan
Posts: 3394
Joined: Fri Feb 22, 2002 10:00 am
Location: A Lion uses all its might to catch a Rabbit

RE: WitPTracker AE Release 1.0

Post by Admiral DadMan »

ORIGINAL: Nomad

For whatever reason it seems that Windows gets its memory allocation screwed up. Try closing everything and restarting your computer.

If that doesn't fix it, then try shutting down your computer completely, pulling the power cable and pressing the start button for about 10 seconds.
Restart and try again. Like I said, I don't know what happens but these have always fixed the problem for me. I have something like 450 turns loaded.
The power button trick did it. Muchas gracias.
Scenario 127: "Scraps of Paper"
(\../)
(O.o)
(> <)

CVB Langley:
Image
User avatar
scout1
Posts: 3090
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitPTracker AE Release 1.0

Post by scout1 »

OK, newer laptop

Didn't have JAVA JRE installed so my bat file couldn't find the path ....
Downloaded JRE and installed. launched Tracker and is giving me data from an old save file game .... Can't figure out how to tell it new game location .....?
User avatar
scout1
Posts: 3090
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitPTracker AE Release 1.0

Post by scout1 »

Actually also had some weirdness with Combat Report as well .... changed data to Aug 2020 and got first (2 day turn) correctly loaded .... But coughed up a Dec 9th data set which I haven't run yet ..... ? Know this isn't the toolset covered in this particular site, but thought I'd mention that too
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.0

Post by Nomad »

ORIGINAL: scout1

OK, newer laptop

Didn't have JAVA JRE installed so my bat file couldn't find the path ....
Downloaded JRE and installed. launched Tracker and is giving me data from an old save file game .... Can't figure out how to tell it new game location .....?

The most obvious answer is to tell you to edit the witptracker.properties file and put the correct location for the files in it.
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.0

Post by Nomad »

ORIGINAL: Admiral DadMan
ORIGINAL: Nomad

For whatever reason it seems that Windows gets its memory allocation screwed up. Try closing everything and restarting your computer.

If that doesn't fix it, then try shutting down your computer completely, pulling the power cable and pressing the start button for about 10 seconds.
Restart and try again. Like I said, I don't know what happens but these have always fixed the problem for me. I have something like 450 turns loaded.
The power button trick did it. Muchas gracias.

I have gotten flack over the pull the power cord and press the power button for 10 seconds, but newer computers have really good capacitors and there seem to be sneak paths though the power supply. This procedure resets everything completely.
User avatar
Admiral DadMan
Posts: 3394
Joined: Fri Feb 22, 2002 10:00 am
Location: A Lion uses all its might to catch a Rabbit

RE: WitPTracker AE Release 1.0

Post by Admiral DadMan »

ORIGINAL: Nomad

ORIGINAL: Admiral DadMan
ORIGINAL: Nomad

For whatever reason it seems that Windows gets its memory allocation screwed up. Try closing everything and restarting your computer.

If that doesn't fix it, then try shutting down your computer completely, pulling the power cable and pressing the start button for about 10 seconds.
Restart and try again. Like I said, I don't know what happens but these have always fixed the problem for me. I have something like 450 turns loaded.
The power button trick did it. Muchas gracias.

I have gotten flack over the pull the power cord and press the power button for 10 seconds, but newer computers have really good capacitors and there seem to be sneak paths though the power supply. This procedure resets everything completely.

It was the one thing that I hadn't tried. I am much in your debt.
Scenario 127: "Scraps of Paper"
(\../)
(O.o)
(> <)

CVB Langley:
Image
User avatar
scout1
Posts: 3090
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitPTracker AE Release 1.0

Post by scout1 »

ORIGINAL: Nomad

ORIGINAL: scout1

OK, newer laptop

Didn't have JAVA JRE installed so my bat file couldn't find the path ....
Downloaded JRE and installed. launched Tracker and is giving me data from an old save file game .... Can't figure out how to tell it new game location .....?

The most obvious answer is to tell you to edit the witptracker.properties file and put the correct location for the files in it.

Does this clarify the most obvious answer or is there another ??????




Image
Attachments
Capture.jpg
Capture.jpg (286.53 KiB) Viewed 241 times
User avatar
scout1
Posts: 3090
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitPTracker AE Release 1.0

Post by scout1 »

ORIGINAL: scout1

ORIGINAL: Nomad

ORIGINAL: scout1

OK, newer laptop

Didn't have JAVA JRE installed so my bat file couldn't find the path ....
Downloaded JRE and installed. launched Tracker and is giving me data from an old save file game .... Can't figure out how to tell it new game location .....?

The most obvious answer is to tell you to edit the witptracker.properties file and put the correct location for the files in it.

Does this clarify the most obvious answer or is there another ??????




Image

Sorry, this is from Combat Reporter .... Tracker loads and give me the correct header title, but lists game data from a previous games .... refuses to load current data ..... confused
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.0

Post by Nomad »

Do you see where the little ^ is? It is telling you that there is an extra \ at that location.
So open your combatreport.properties file and edit the line.

As for your tracker problem, if the header is loading corredtly, then
you will need to delete all files that start with trackerdb, there should be 4 of them.
User avatar
scout1
Posts: 3090
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitPTracker AE Release 1.0

Post by scout1 »

ORIGINAL: Nomad

Do you see where the little ^ is? It is telling you that there is an extra \ at that location.
So open your combatreport.properties file and edit the line.

As for your tracker problem, if the header is loading corredtly, then
you will need to delete all files that start with trackerdb, there should be 4 of them.

giving me a bogus extra "\" now ..... ?


Image
Attachments
Capture.jpg
Capture.jpg (176.05 KiB) Viewed 241 times
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.0

Post by Nomad »

I think the problem is the ' in the file name. Try putting the watchdir in " instead of '

so: WatchDir="C:\\War in the Pacific Admiral's Edition\\Save\\archive"

You need to have the -archive switch in your WitPAE command line for combat reporter to work.

If that watch directory doesn't work you will have to change the folder name and not use the ' in the name.
User avatar
haegint
Posts: 73
Joined: Wed Nov 23, 2016 7:31 pm

RE: WitPTracker AE Release 1.0

Post by haegint »

ORIGINAL: Nomad

Your command line is wrong.

Probably should be "C:\program files (x86)\java 32\bin\java.exe" -Xms384m -Xmx512m -Jar "witPTracker.jar"
Yes, this. Manually adding the full path of my Java32 install to the batch file enclosed with "...", and everything started working smoothly. Just my string section "\bin...\" is different from yours. I think that may simply change according to the particular Java version installed. In any case I recommend the user browses to it in Explorer and checks where the Java.exe actually resides on his system.

Running without "NoMap" for now and with standard memory settings. So far only loaded turn 1 of a small scenario, but all seems good.

Just for info: I have an AMD Ryzen R7-3700X machine with Windows 10 64-bit OS, 16GB RAM. Java 64-bit and 32-bit are both installed. The Java 32 version is "Java 8 Update 261", exact version 8.0.2610.12 I updated to it just some 10 days ago. So Tracker definitely runs on modern hard- and software.

It looks to be a super useful tool, thanks so much for developping it, Floyd! [&o]
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

Someone please help me step by step to get this to appear in my game I did the download unzip and everything step by step but I do not see the little brown box in the lower left of screen
User avatar
haegint
Posts: 73
Joined: Wed Nov 23, 2016 7:31 pm

RE: WitPTracker AE Release 1.0

Post by haegint »

This does not appear *IN* the game. The tracker you use as a separate tool that you run besides WITP. During game time, you will run the turn in WITP and make a save of the new "day" when the resolution phase is finished. This "daily" save you will read into Tracker and it will keep track of your game progress (statistics mainly). Review of the tracker data you must do outside of the game.

Installation is quite simple. You need only Java 32-bit installed. If Java 64-bit is already installed on your PC, then install 32-bit version in addition, like I have. If you read my post 5897 above yours it contains all there is to know.
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

So I have a windowed screen that says at he bottom.....
"C:\Users\Matt\Desktop\WitpTracker>pause
Press any key to continue . . ."
is this right?
if so what do I do next?
Post Reply

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