WitPTracker AE Release 1.11 Available!
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
RE: WitPTracker AE Release 1.0
Your command line is wrong.
Probably should be "C:\program files (x86)\java 32\bin\java.exe" -Xms384m -Xmx512m -Jar "witPTracker.jar"
Probably should be "C:\program files (x86)\java 32\bin\java.exe" -Xms384m -Xmx512m -Jar "witPTracker.jar"
RE: WitPTracker AE Release 1.0
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
So you would have
"C:\program files (x86)\java 32\bin\java.exe" -Xms256m -Xmx768m -Jar "witPTracker.jar" nomap
RE: WitPTracker AE Release 1.0
Looks like I got it to work. Thanks.
Keep Moving and Keep your Head DOWN!!
- 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
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)
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)
RE: WitPTracker AE Release 1.0
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.
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.
- 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
The power button trick did it. Muchas gracias.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.
RE: WitPTracker AE Release 1.0
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 .....?
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 .....?
RE: WitPTracker AE Release 1.0
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
RE: WitPTracker AE Release 1.0
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.
RE: WitPTracker AE Release 1.0
ORIGINAL: Admiral DadMan
The power button trick did it. Muchas gracias.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.
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.
- 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
ORIGINAL: Nomad
ORIGINAL: Admiral DadMan
The power button trick did it. Muchas gracias.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.
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.
RE: WitPTracker AE Release 1.0
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 ??????

- Attachments
-
- Capture.jpg (286.53 KiB) Viewed 241 times
RE: WitPTracker AE Release 1.0
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 ??????
![]()
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
RE: WitPTracker AE Release 1.0
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.
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.
RE: WitPTracker AE Release 1.0
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 ..... ?

- Attachments
-
- Capture.jpg (176.05 KiB) Viewed 241 times
RE: WitPTracker AE Release 1.0
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.
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.
RE: WitPTracker AE Release 1.0
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.ORIGINAL: Nomad
Your command line is wrong.
Probably should be "C:\program files (x86)\java 32\bin\java.exe" -Xms384m -Xmx512m -Jar "witPTracker.jar"
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]
RE: WitPTracker AE Release 1.0
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
RE: WitPTracker AE Release 1.0
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.
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.
RE: WitPTracker AE Release 1.0
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?
"C:\Users\Matt\Desktop\WitpTracker>pause
Press any key to continue . . ."
is this right?
if so what do I do next?