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
Zovs
Posts: 9174
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: WitPTracker AE Release 1.11 Available!

Post by Zovs »

Thanks Nomad.
Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
User avatar
Zovs
Posts: 9174
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: WitPTracker AE Release 1.11 Available!

Post 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)
Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.11 Available!

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

RE: WitPTracker AE Release 1.11 Available!

Post 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.
User avatar
Zovs
Posts: 9174
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: WitPTracker AE Release 1.11 Available!

Post by Zovs »

Well I just can’t get it to work at all.
Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.11 Available!

Post 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
User avatar
Zovs
Posts: 9174
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: WitPTracker AE Release 1.11 Available!

Post by Zovs »

Thank you Nomad that worked like a charm! Thanks for the detailed Java and batch file instructions!
Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: WitPTracker AE Release 1.11 Available!

Post 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?
User avatar
Yaab
Posts: 5445
Joined: Tue Nov 08, 2011 2:09 pm
Location: Poland

RE: WitPTracker AE Release 1.11 Available!

Post 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

Image
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: WitPTracker AE Release 1.11 Available!

Post 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.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.11 Available!

Post 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.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
actrade
Posts: 424
Joined: Fri Nov 03, 2006 7:20 pm

RE: WitPTracker AE Release 1.11 Available!

Post 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?
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.11 Available!

Post 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.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
actrade
Posts: 424
Joined: Fri Nov 03, 2006 7:20 pm

RE: WitPTracker AE Release 1.11 Available!

Post 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!
actrade
Posts: 424
Joined: Fri Nov 03, 2006 7:20 pm

RE: WitPTracker AE Release 1.11 Available!

Post 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.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.11 Available!

Post 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?
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
actrade
Posts: 424
Joined: Fri Nov 03, 2006 7:20 pm

RE: WitPTracker AE Release 1.11 Available!

Post by actrade »

I hadn't noticed until you asked, but they're all air groups.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.11 Available!

Post 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.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
actrade
Posts: 424
Joined: Fri Nov 03, 2006 7:20 pm

RE: WitPTracker AE Release 1.11 Available!

Post 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!
the1henson
Posts: 49
Joined: Fri Dec 06, 2013 1:58 pm

RE: WitPTracker AE Release 1.11 Available!

Post 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?
Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad. - Miles Kington
Post Reply

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