Page 307 of 319
RE: WitPTracker AE Release 1.11 Available!
Posted: Wed Dec 01, 2021 2:39 pm
by Zovs
Thanks Nomad.
RE: WitPTracker AE Release 1.11 Available!
Posted: Wed Dec 01, 2021 3:06 pm
by Zovs
So it looks like this program will not run on a 64 bit machine. Too bad.
C:\Matrix Games\WITP-AE-Tools\WitPTracker AE Release 1.11>java -Xms512m -Xmx640m -jar "WitPTracker.jar"
Initializing WitP Tracker AE database.
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Matrix Games\WITP-AE-Tools\WitPTracker AE Release 1.11\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)
RE: WitPTracker AE Release 1.11 Available!
Posted: Wed Dec 01, 2021 3:50 pm
by floydg
The DLL used to load the save file relies on Java 6. We have an updated DLL in the package that should work for Java 7 and 8, but I'm not sure it will work for any later releases (though I see no reason why it wouldn't).
RE: WitPTracker AE Release 1.11 Available!
Posted: Wed Dec 01, 2021 5:35 pm
by Nomad
I'm using version 1.8.0_291 I have had no problems with it. And it does not matter if your machine is a 32-bit or a 64-bit, in fact I would be surprised if you had a 32-bit windows machine.
One interesting fact is that Tracker will run using 64-bit Java, but you can not load a new turn in 64-bit Java. That is because the dll used to load new turns is a 32-bit program.
RE: WitPTracker AE Release 1.11 Available!
Posted: Wed Dec 01, 2021 8:17 pm
by Zovs
Well I just can’t get it to work at all.
RE: WitPTracker AE Release 1.11 Available!
Posted: Wed Dec 01, 2021 8:43 pm
by Nomad
Did you download a 32-bit version of Java? It can take a bit of doing to find it.
Go to Java.com
press the Java download button in the middle of the screen
Towards the bottom of the next screen is a hyperlink called See all Java downloads, select it
In the Table labeled windows select the middle option, windows offline.
Put it somewhere outside of the regular java downloads. Run the downloaded program and
again put the files someplace other that the default. I put mine in a separate folder just for it.
In your Witptracker.bat file point to the specific location where you put the 32-bit program.
If you just use java it will default to the 64-bit one.
My bat file
"c:\nomads 32 bit java\installation\bin\java.exe" -Xms768m -Xmx768m -jar "WitPTracker.jar"
pause
RE: WitPTracker AE Release 1.11 Available!
Posted: Thu Dec 02, 2021 9:16 am
by Zovs
Thank you Nomad that worked like a charm! Thanks for the detailed Java and batch file instructions!
RE: WitPTracker AE Release 1.11 Available!
Posted: Fri Dec 03, 2021 4:00 pm
by Lokasenna
I keep running into this intermittent and unpredictable issue when trying to read in a new turn:
java -Xms768m -Xmx768m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 7 seconds
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\\Desktop\TrackerO\pwsdll7.dll: Not enough memory resources are available to process this command
System memory usage at 47% (of 32GB). I've fiddled with the -Xms and -Xmx tags and it doesn't seem to matter whether I put 512, 768, or 1024 in any of them, in any combination.
I haven't changed anything and Trackers "installed" in different folders on my desktop never had this issue.
Sometimes closing other apps and re-loading Tracker, then trying the turn again, would work. Today it isn't working.
Any help tracking this down? It's highly irritating and it is
only happening with this instance of Tracker, not those I use(d) for other games. It's the exact same Tracker files, just in a different subfolder.
Edit to add:
Windows 10
Tracker version 1.10
java -showversion
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Edit 2:
Just tried it 3 more times and it worked this time. I closed another app that
may use Java but... WTH?
RE: WitPTracker AE Release 1.11 Available!
Posted: Wed Dec 08, 2021 6:06 am
by Yaab
Found an annoying feature in Tracker
Went to:
Industry > Supply/Fuel > Luzon
First turn data
Supply 60k , Fuel 120k, Res 10k
First turn data as reviewed on turn 22
Supply 55k(?), Fuel 14k (?), Res 100(?)
Tracker seems to back-input the current LUZON definition into previous turns. On turn 22, Allied-controlled LUZON is reduced to Bataan/Manila/Batangas/Mauban and the revised first turn LUZON data is correct for Bataan/Manila/Batangas/Mauban stocks on the first turn.
How do I now it? Clark Field starts with 100k fuel on turn 2. Since I longer hold Clark Field on turn 22, the 100k fuel is now omitted from the turn 2 data. On turn 5 the fuel ping-ponged back to Manila and I trapped the fuel with stockpile option in Manila
The feature renders Tracker almost useless for any long-term data comparison.
Pic of the revised first turn data as viewed on turn 22

RE: WitPTracker AE Release 1.11 Available!
Posted: Sat Dec 11, 2021 9:09 am
by Lokasenna
ORIGINAL: Lokasenna
I keep running into this intermittent and unpredictable issue when trying to read in a new turn:
java -Xms768m -Xmx768m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 7 seconds
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\\Desktop\TrackerO\pwsdll7.dll: Not enough memory resources are available to process this command
System memory usage at 47% (of 32GB). I've fiddled with the -Xms and -Xmx tags and it doesn't seem to matter whether I put 512, 768, or 1024 in any of them, in any combination.
I haven't changed anything and Trackers "installed" in different folders on my desktop never had this issue.
Sometimes closing other apps and re-loading Tracker, then trying the turn again, would work. Today it isn't working.
Any help tracking this down? It's highly irritating and it is
only happening with this instance of Tracker, not those I use(d) for other games. It's the exact same Tracker files, just in a different subfolder.
Edit to add:
Windows 10
Tracker version 1.10
java -showversion
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Edit 2:
Just tried it 3 more times and it worked this time. I closed another app that
may use Java but... WTH?
Still having this issue, and only with one particular Tracker folder.
I've played around with the maximum heap space (-Xmx) number and can't figure it out or resolve it. I'm in 64-bit Windows, but I think it's 32-bit Java VM?
Shouldn't the 32-bit Java VM allow values of -Xmx up to 1.6 GB? (
https://java2blog.com/could-not-reserve ... ject-heap/)
More to the point, why is this happening for a game save file that's still in January 1942? The database isn't very big at all yet.
And why doesn't it happen with my other Tracker folder that is also playing the Allies, is in 1943, and uses -Xms512m -Xmx512m in its command line? Why wouldn't that one run out of heap space? It doesn't - it works fine.
When Tracker loads up, it's in the ~440-480MB range in my task manager. How does it not have enough space between 400M and the 1300M that I have been able to set the -Xmx on to load a turn? It makes zero sense.
Edit 2: I made a fresh folder, switched back to -Xms512m -Xmx512m (which I'd already tried and are the same parameters on my other functioning Trackers), and then loaded a fresh database. I then loaded the new turn. It worked. When I looked at how much RAM it was taking up, it was over 600MB. If the heap stack space is limited to 512MB... This makes no sense to me.
RE: WitPTracker AE Release 1.11 Available!
Posted: Mon Dec 13, 2021 8:48 pm
by floydg
ORIGINAL: Lokasenna
ORIGINAL: Lokasenna
I keep running into this intermittent and unpredictable issue when trying to read in a new turn:
java -Xms768m -Xmx768m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 7 seconds
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\\Desktop\TrackerO\pwsdll7.dll: Not enough memory resources are available to process this command
System memory usage at 47% (of 32GB). I've fiddled with the -Xms and -Xmx tags and it doesn't seem to matter whether I put 512, 768, or 1024 in any of them, in any combination.
I haven't changed anything and Trackers "installed" in different folders on my desktop never had this issue.
Sometimes closing other apps and re-loading Tracker, then trying the turn again, would work. Today it isn't working.
Any help tracking this down? It's highly irritating and it is
only happening with this instance of Tracker, not those I use(d) for other games. It's the exact same Tracker files, just in a different subfolder.
Edit to add:
Windows 10
Tracker version 1.10
java -showversion
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Edit 2:
Just tried it 3 more times and it worked this time. I closed another app that
may use Java but... WTH?
Still having this issue, and only with one particular Tracker folder.
I've played around with the maximum heap space (-Xmx) number and can't figure it out or resolve it. I'm in 64-bit Windows, but I think it's 32-bit Java VM?
Shouldn't the 32-bit Java VM allow values of -Xmx up to 1.6 GB? (
https://java2blog.com/could-not-reserve ... ject-heap/)
More to the point, why is this happening for a game save file that's still in January 1942? The database isn't very big at all yet.
And why doesn't it happen with my other Tracker folder that is also playing the Allies, is in 1943, and uses -Xms512m -Xmx512m in its command line? Why wouldn't that one run out of heap space? It doesn't - it works fine.
When Tracker loads up, it's in the ~440-480MB range in my task manager. How does it not have enough space between 400M and the 1300M that I have been able to set the -Xmx on to load a turn? It makes zero sense.
Edit 2: I made a fresh folder, switched back to -Xms512m -Xmx512m (which I'd already tried and are the same parameters on my other functioning Trackers), and then loaded a fresh database. I then loaded the new turn. It worked. When I looked at how much RAM it was taking up, it was over 600MB. If the heap stack space is limited to 512MB... This makes no sense to me.
I've never been an expert at memory management. It could be related to how the program processes the data, so it could be situation-specific. I know the program is long overdue for a re-work to fix the load times, which could address this. But finding the time is a challenge.
RE: WitPTracker AE Release 1.11 Available!
Posted: Tue Dec 21, 2021 5:09 pm
by actrade
I'm sorry if this has been brought up before in a 205 page thread, but I play on 2 computers at different locations so I copy/past my save file from WITP:AE on to a thumb drive to transport it back and forth. My question is, I use tracker and how would I make sure my tracker file doesn't get messed up? Should I just copy the entire folder (which is what I do with WITP:AE save folder), or are there specific files only that are needed?
RE: WitPTracker AE Release 1.11 Available!
Posted: Wed Dec 22, 2021 5:30 pm
by floydg
The main thing would be the trackerdb files. And the witptracker.properties file. But the other files are fairly small in comparison, so copying everything wouldn't be a bad idea.
RE: WitPTracker AE Release 1.11 Available!
Posted: Fri Dec 24, 2021 9:32 am
by actrade
I must be dense. I started a new grand campaign and ran my first turn. Before I did that, I deleted all trackerdb files so it would pick up on my new game. I ran turn 1 in the game and saved the file. Now, when I run tracker I keep getting the "already loaded turn 2" message when I try and load the turn. I've deleted tracker completely and tried again and keep getting the same error. Odd thing is I've started a new GC before and did this with no issue. I know it's something stupid I'm doing, but I'll be damned if I can figure it out. Help!
EDIT: figured it out...initialized DB on turn 2 instead of 1..DOH!
RE: WitPTracker AE Release 1.11 Available!
Posted: Thu Dec 30, 2021 8:53 am
by actrade
Question on withdrawal reports. I noticed the tracker reports withdrawal alerts that are months or years away. Am I doing something wrong or is that normal? Thanks.
RE: WitPTracker AE Release 1.11 Available!
Posted: Thu Dec 30, 2021 1:42 pm
by floydg
ORIGINAL: actrade
Question on withdrawal reports. I noticed the tracker reports withdrawal alerts that are months or years away. Am I doing something wrong or is that normal? Thanks.
Ship, AirGroup or LCU withdrawals?
RE: WitPTracker AE Release 1.11 Available!
Posted: Thu Dec 30, 2021 2:59 pm
by actrade
I hadn't noticed until you asked, but they're all air groups.
RE: WitPTracker AE Release 1.11 Available!
Posted: Thu Dec 30, 2021 4:33 pm
by floydg
ORIGINAL: actrade
I hadn't noticed until you asked, but they're all air groups.
Ugh, the code there is a mess. I don't know how I did what I did, but it's not right depending on what the withdrawal date is.
RE: WitPTracker AE Release 1.11 Available!
Posted: Thu Dec 30, 2021 7:56 pm
by actrade
Ok thanks...as long as I'm not going crazy

BTW, despite any issues, as a new player I find your program invaluable and thank you so much for it!
RE: WitPTracker AE Release 1.11 Available!
Posted: Fri Dec 31, 2021 5:37 pm
by the1henson
Question for anyone who knows: which regions definitions go with what scenarios/maps?
Also, can a new regions definitions file be read in/updated after one was previously loaded?