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

789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

what base save file should I use 0,1 or 2?
right now it is at 0
User avatar
haegint
Posts: 73
Joined: Wed Nov 23, 2016 7:31 pm

RE: WitPTracker AE Release 1.0

Post by haegint »

Configuration and operation is well explained here:

https://sites.google.com/site/witptracker/home

These are the settings in my properties file. Mind your game path is different:

Code: Select all

 # WitPTracker AE properties file
 # Directory of the game
 Dir=[D:\Games\Matrix Games\War in the Pacific Admiral's Edition]
 # Type of game. 0=AI, 1=PBEM
 GameType=[0]
 # Side you are playing. 0=Japan, 1=Allies
 Side=[1]
 # Password. Only needed for PBEM
 Password=[abc123]
 # Name of the base save file
 SaveFile=[wpae019.pws]
 # Mode the program will look for save files.
 #   0 = just in the local folder
 #   1 = just in the game folder: [Dir]/SAVE
 #   2 = local and then if not found there, the game folder
 SaveMode=[1]
 # Text to put in the header of the main window
 Header=[wpae019 - Road to Burma]
 # Turn cycle (days per turn). 1 or 2 are supported
 TurnCycle=[1]
 
So I use save mode 1, and after each turn I always save the game in the same slot nr. 19. Then in tracker when reading a new turn, it automatically reads the wpae019.pws file every time.

Upon starting a new game/new scenario, first thing to do, before entering any new commands and orders, is to save the game under this file name and read it into tracker. Then start giving the first orders in the game and play etc.
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: WitPTracker AE Release 1.0

Post by Lokasenna »

I recently switched to a Windows 10 machine and I'm having issues. On a turn 2 "Read turn" I am getting "Not enough memory resources are available to process this command" even though it's just turn 2. I had to tinker with the -Xms and -Xmx flags in the .bat to get it to even load. I'm using -Xms512m and -Xmx1024m.

The machine has 32GB of RAM and I'm not running supercomputer simulations here. How do I fix? It has to be an issue with Java - do I need to make it use an older library? How do I do that? I tried turning the memory flags in the .bat up to 2048 and that also spit out an error, so....
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 »

This is a copy of an earlier post I made in this thread. Try it and see

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.


here is my bat file for the nomap option, notice the -Xms andn -Xmx numbers.

"c:\32 bit java\installation\bin\java.exe" -Xms256m -Xmx768m -jar "WitPTracker.jar" nomap
pause
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: WitPTracker AE Release 1.0

Post by Lokasenna »

ORIGINAL: Nomad

This is a copy of an earlier post I made in this thread. Try it and see

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.

here is my bat file for the nomap option, notice the -Xms andn -Xmx numbers.

No attachment [:D]


I forgot to mention: I have another game that I am using Tracker for, and it has a much bigger database in 1943... and using -Xms512m -Xmx512m works perfectly fine for that one.

But when I use 512/512 for this brand new game (same version of Tracker!), it won't even load to begin with. WTF?
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 »

Sorry, fixed the attachment issue.

For you and everyone else, the -Xms value is the starting memory allocation, the -Xmx is the maximum and for 32 Java that would be 1 Gigabyte. I have had better luck using 768 for the maximum rather that 1024, not sure why it works that way. Also, Windows will spool memory to disk to free up more space if needed and I think with windows 10 it will actually swap out memory pages and not actually go to disk.
User avatar
Lokasenna
Posts: 9303
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: WitPTracker AE Release 1.0

Post by Lokasenna »

ORIGINAL: Nomad

Sorry, fixed the attachment issue.

For you and everyone else, the -Xms value is the starting memory allocation, the -Xmx is the maximum and for 32 Java that would be 1 Gigabyte. I have had better luck using 768 for the maximum rather that 1024, not sure why it works that way. Also, Windows will spool memory to disk to free up more space if needed and I think with windows 10 it will actually swap out memory pages and not actually go to disk.

Oddly enough, by reducing it from -Xmx1024m to -Xmx512m, it works now. That is exactly backwards from what I would expect, given how those flags are supposed to work.

-Xmx works for up to 1280m, by the way. At least, that was the biggest number I tested.
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

I read the instructions on their site bunch of times and I think I did everything right.However i forget to ask
if you have to run a turn with this installed in the specified memory slot.
for example I am playing the Japanese I ran the first turn grand campaign turn and then downloaded and installed wipt tracker.
I wanna keep this first turn as I put 5 battleships in the mud at pearl.So now that I have a designated save slot---> .011 I just need to run the december 8th turn and then on the 9th I can access this program yes?Sorry for being so dense on this.
User avatar
haegint
Posts: 73
Joined: Wed Nov 23, 2016 7:31 pm

RE: WitPTracker AE Release 1.0

Post by haegint »

@789
yes, yes. Not a big problem.

Ideally you do what I described and that is load the scenario for your new game, then upon the scen loading immediately make a save to your designated tracker slot, read this save into tracker as being turn one. Then start playing the game and so on.

However, if you only load the first save into tracker upon completion of day 1 resolution (that is day 2 then in-game) or even later, then obviously tracker will track your progress only from there. Which will work technically no problem (as tracker does not care or know which is actually the first turn of your game) but it may not track everything correctly or as you see it. Eg. if you lose 10 airplanes during run of turn 1 (say you had 100 now you have 90) then tracker will not tell you you lost 10 planes and 2 pilots went KIA on turn 1. Instead it will take 90 planes as the baseline and track starting from there. Or in your case it will never tell you that you lost the battleship "Suzuki", because for tracker it never existed in any previously read save.

Practically it will not make a big difference, considering you will load 100's of turns into tracker. But that is the "information loss" you have when starting without a proper turn 1.

However, if you play with WITP autosave option enabled, you could recreate your game: first clear out the entire tracker data files of which there are several (perhaps 4?). Not sure but I think can simply delete the actual files and copy over the empty ones from the install download. Check their website, I think it is mentioned somewhere, perhaps under trouble shooting.

Then load the scenario anew, just make a save and save/read it into tracker. So now you have a proper day 1 in tracker which is basically just the scenario out of the box.

Then you take the WITP autosave day 1 file that WITP created from your previous game, rename (or rather copy the file and rename the copied file) the file to whatever name you have designated in tracker, copy it to the proper folder (if at all necessary), then run tracker again and now just load this file now into tracker. It has the proper tracker name but contains the game data after completion of turn 1. Do this for all days you have missed to load into tracker.

It sounds like a lot of work but think of it logically for a moment you will realize it is actually quite simple what needs to be done. Especially in your case where you apparently have missed like only a few turns or need to reload/recreate only a few turns in this fashion.

I think you cannot load an older turn into an existing database as it will not load earlier dates than the earliest already in the data base. Which makes some sense as it would have to recalculate everything from the start and make adjustments to the data base, and I think the software is simply lacking this kind of functionality. So I think you have to start over from scratch. But I understand in your case it should be quite doable - if you have the autosave files and want "perfect" tracking.
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

This is a great post thanks been reading it over and over lol! heres a quick question if I click on the Executable Jar File (.jar) on the desktop in the folder it sits in will witPTracker open up?
User avatar
haegint
Posts: 73
Joined: Wed Nov 23, 2016 7:31 pm

RE: WitPTracker AE Release 1.0

Post by haegint »

No! To start Tracker you must double-click ("open")the "WitPTracker.bat" file from the tracker install folder. This will open the black box command window and will start tracker after some delay. And when you're finished with tracker, you exit tracker from within (File menu) and then you have to manually close the black abox by clicking any key.

Or, more smoothly, you can download the Tracker_exe.zip, extract the file (it's only one) and put it into the tracker installation folder and double-click this .exe file to start Tracker program. This works nicer than the manual process via the .bat file.

Then on your desktop you make a shortcut pointing to this .exe file and you can double-click the shortcut to start Tracker. I have it set up like this.

The download link is provided on the Support page of their website (you have the link) at the very bottom end of the page:
Tracker_exe.zip (175k)
To download you need to hit the little blue arrow on the very right hand side.
AtParmentier
Posts: 77
Joined: Sun Dec 15, 2019 10:09 am

RE: WitPTracker AE Release 1.0

Post by AtParmentier »

I don't know if this is the right place, but can somebody explain differences in stats of the Tracker compared to the editor/ingame stats to me?
For example the Sherman in game and editor has 45mm of armour, on the otherhand in the tracker the armour is 90mm
Another example is the range of several allied CD guns, which in the tracker have longer range than shown in the editor or the game.

Could somebody explain this to me, please?
Thank you.
Alfred
Posts: 6683
Joined: Thu Sep 28, 2006 7:56 am

RE: WitPTracker AE Release 1.0

Post by Alfred »

ORIGINAL: AtParmentier

I don't know if this is the right place, but can somebody explain differences in stats of the Tracker compared to the editor/ingame stats to me?
For example the Sherman in game and editor has 45mm of armour, on the otherhand in the tracker the armour is 90mm
Another example is the range of several allied CD guns, which in the tracker have longer range than shown in the editor or the game.

Could somebody explain this to me, please?
Thank you.

Tracker reads the saved files. The data is the same as that provided ingame. Any differences you are seeing will be the result of different scenarios being read. Device data does vary between different scenarios.

Alfred
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

Ok thanks I just recently updated java like a week and a half ago when the window popped up asking for a newer version to be installed could that be a problem?
Also when the DOS window opens up and asks for any key to be pressed after that I hit the "jar" file this is when the wipttracker opens yes? because when I do the mouse goes its "wait" mode till open and then nothing,is working and just not finding a save file yes?
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

Oh I forgot to ask does the game have to be running in order to access witptracker I'm guessing no but they say ask a stupid question you get an answer despite what they think of the person asking it.
User avatar
haegint
Posts: 73
Joined: Wed Nov 23, 2016 7:31 pm

RE: WitPTracker AE Release 1.0

Post by haegint »

No, the game needs not to be running in order to run tracker and look at its data.
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

I have an image of the dos box in witptracker How do I upload it here jpeg,HTML etc...?
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

test

Image


Ok figured it out...is there anything wrong here in this image?
Attachments
CaptureDOS..ptracker.jpg
CaptureDOS..ptracker.jpg (68.94 KiB) Viewed 373 times
789456281
Posts: 93
Joined: Mon Jun 18, 2018 8:50 pm

RE: WitPTracker AE Release 1.0

Post by 789456281 »

My first uploaded image I'm so proud.
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 »

From the witptracker web site - support section:

This will show up as an error message:
Can't load IA 32-bit .dll on a AMD 64-bit platform
This error message is usually because you haven’t installed the Microsoft C++ libraries. But if you have then it can also be because you’ve not got Java 32 installed and configured properly.
Solutions:
Step 1. Check C++ Libraries.
Check you have the C++ Libraries installed, if not, install the 32 bit version (even if you have a 64 bit OS.)
Check here for installation.

Step 2. Check you have 32 bit Java
Check you have 32 bit Java installed. If you are working on a 64 bit OS, then you can have both installed.

Change your witptracker.bat file to point to the 32 bit Java executable (you need the quotes because of the space) - this varies on different machines so you'll need to check the path:
32bitOS users
C:\"Program Files"\Java\jre6\bin\java -Xms384m -Xmx512m -jar "WitPTracker.jar"
pause
64bitOS users
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
pause
You must run WitPTracker from the batch file. There is an executable file that might solve your problem if you've done the step above at the bottom of this page.
Post Reply

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