RE: WitPTracker AE Release 1.0 (Full Version)

All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition



Message


Nomad -> RE: WitPTracker AE Release 1.0 (7/24/2020 11:04:17 PM)

Your command line is wrong.

Probably should be "C:\program files (x86)\java 32\bin\java.exe" -Xms384m -Xmx512m -Jar "witPTracker.jar"




Nomad -> RE: WitPTracker AE Release 1.0 (7/24/2020 11:38:48 PM)

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




Rekm41 -> RE: WitPTracker AE Release 1.0 (7/25/2020 12:24:56 PM)

Looks like I got it to work. Thanks.





Admiral DadMan -> RE: WitPTracker AE Release 1.0 (8/1/2020 7:05:08 PM)

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)




Nomad -> RE: WitPTracker AE Release 1.0 (8/1/2020 8:33:37 PM)

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.




Admiral DadMan -> RE: WitPTracker AE Release 1.0 (8/3/2020 9:34:30 PM)

quote:

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.




scout1 -> RE: WitPTracker AE Release 1.0 (8/7/2020 7:16:18 PM)

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 .....?




scout1 -> RE: WitPTracker AE Release 1.0 (8/7/2020 7:19:04 PM)

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




Nomad -> RE: WitPTracker AE Release 1.0 (8/7/2020 7:23:30 PM)


quote:

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.




Nomad -> RE: WitPTracker AE Release 1.0 (8/7/2020 7:25:33 PM)


quote:

ORIGINAL: Admiral DadMan

quote:

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.




Admiral DadMan -> RE: WitPTracker AE Release 1.0 (8/8/2020 2:22:21 PM)


quote:

ORIGINAL: Nomad


quote:

ORIGINAL: Admiral DadMan

quote:

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.




scout1 -> RE: WitPTracker AE Release 1.0 (8/12/2020 12:28:32 AM)


quote:

ORIGINAL: Nomad


quote:

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]local://upfiles/13786/D173F37F27894E1A899099912E349FC8.jpg[/image]




scout1 -> RE: WitPTracker AE Release 1.0 (8/12/2020 12:34:02 AM)


quote:

ORIGINAL: scout1


quote:

ORIGINAL: Nomad


quote:

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]local://upfiles/13786/D173F37F27894E1A899099912E349FC8.jpg[/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




Nomad -> RE: WitPTracker AE Release 1.0 (8/12/2020 2:15:54 AM)

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.




scout1 -> RE: WitPTracker AE Release 1.0 (8/13/2020 2:10:07 AM)


quote:

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]local://upfiles/13786/BF1D5FFCD5D946BFB9176E2B6D0F0845.jpg[/image]




Nomad -> RE: WitPTracker AE Release 1.0 (8/13/2020 3:44:37 AM)

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.




haegint -> RE: WitPTracker AE Release 1.0 (8/18/2020 7:33:51 PM)

quote:

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 -> RE: WitPTracker AE Release 1.0 (9/4/2020 4:11:51 AM)

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




haegint -> RE: WitPTracker AE Release 1.0 (9/4/2020 7:11:41 AM)

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 -> RE: WitPTracker AE Release 1.0 (9/5/2020 1:43:50 AM)

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?




789456281 -> RE: WitPTracker AE Release 1.0 (9/5/2020 3:54:03 AM)

what base save file should I use 0,1 or 2?
right now it is at 0




haegint -> RE: WitPTracker AE Release 1.0 (9/5/2020 7:59:48 AM)

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:
# 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.




Lokasenna -> RE: WitPTracker AE Release 1.0 (9/5/2020 4:30:44 PM)

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.... [sm=rolleyes.gif]




Nomad -> RE: WitPTracker AE Release 1.0 (9/5/2020 4:37:10 PM)

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




Lokasenna -> RE: WitPTracker AE Release 1.0 (9/5/2020 4:39:28 PM)


quote:

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?




Nomad -> RE: WitPTracker AE Release 1.0 (9/5/2020 4:41:03 PM)

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.




Lokasenna -> RE: WitPTracker AE Release 1.0 (9/5/2020 5:05:31 PM)


quote:

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 -> RE: WitPTracker AE Release 1.0 (9/5/2020 8:42:13 PM)

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.




haegint -> RE: WitPTracker AE Release 1.0 (9/5/2020 10:16:23 PM)

@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 -> RE: WitPTracker AE Release 1.0 (9/7/2020 2:22:03 AM)

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?




Page: <<   < prev  195 196 [197] 198 199   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.6416016