RE: WitPTracker AE Release 1.11 Available! (Full Version)

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



Message


Zovs -> RE: WitPTracker AE Release 1.11 Available! (12/1/2021 4:39:34 PM)

Thanks Nomad.




Zovs -> RE: WitPTracker AE Release 1.11 Available! (12/1/2021 5:06:58 PM)

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)




floydg -> RE: WitPTracker AE Release 1.11 Available! (12/1/2021 5:50:24 PM)

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




Nomad -> RE: WitPTracker AE Release 1.11 Available! (12/1/2021 7:35:14 PM)

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.




Zovs -> RE: WitPTracker AE Release 1.11 Available! (12/1/2021 10:17:22 PM)

Well I just can’t get it to work at all.




Nomad -> RE: WitPTracker AE Release 1.11 Available! (12/1/2021 10:43:06 PM)

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




Zovs -> RE: WitPTracker AE Release 1.11 Available! (12/2/2021 11:16:45 AM)

Thank you Nomad that worked like a charm! Thanks for the detailed Java and batch file instructions!




Lokasenna -> RE: WitPTracker AE Release 1.11 Available! (12/3/2021 6:00:09 PM)

I keep running into this intermittent and unpredictable issue when trying to read in a new turn:

quote:


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?




Yaab -> RE: WitPTracker AE Release 1.11 Available! (12/8/2021 8:06:08 AM)

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]https://i.postimg.cc/CMJSCbjC/RESTRAT-XIV-luzoen-revisd-data.png[/image]




Lokasenna -> RE: WitPTracker AE Release 1.11 Available! (12/11/2021 11:09:26 AM)

quote:

ORIGINAL: Lokasenna

I keep running into this intermittent and unpredictable issue when trying to read in a new turn:

quote:


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-enough-space-for-object-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 -> RE: WitPTracker AE Release 1.11 Available! (12/13/2021 10:48:24 PM)


quote:

ORIGINAL: Lokasenna

quote:

ORIGINAL: Lokasenna

I keep running into this intermittent and unpredictable issue when trying to read in a new turn:

quote:


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-enough-space-for-object-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.




actrade -> RE: WitPTracker AE Release 1.11 Available! (12/21/2021 7:09:28 PM)

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 -> RE: WitPTracker AE Release 1.11 Available! (12/22/2021 7:30:17 PM)

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.




actrade -> RE: WitPTracker AE Release 1.11 Available! (12/24/2021 11:32:08 AM)

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 -> RE: WitPTracker AE Release 1.11 Available! (12/30/2021 10:53:00 AM)

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 -> RE: WitPTracker AE Release 1.11 Available! (12/30/2021 3:42:22 PM)


quote:

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?




actrade -> RE: WitPTracker AE Release 1.11 Available! (12/30/2021 4:59:21 PM)

I hadn't noticed until you asked, but they're all air groups.




floydg -> RE: WitPTracker AE Release 1.11 Available! (12/30/2021 6:33:06 PM)


quote:

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.




actrade -> RE: WitPTracker AE Release 1.11 Available! (12/30/2021 9:56:20 PM)

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 -> RE: WitPTracker AE Release 1.11 Available! (12/31/2021 7:37:40 PM)

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?




Lokasenna -> RE: WitPTracker AE Release 1.11 Available! (1/2/2022 3:01:51 AM)


quote:

ORIGINAL: floydg


quote:

ORIGINAL: Lokasenna

quote:

ORIGINAL: Lokasenna

I keep running into this intermittent and unpredictable issue when trying to read in a new turn:

quote:


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-enough-space-for-object-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.



What boggles my mind about it is that it appears specific only to this one folder on my desktop. I can (and did) make a copy and run that one, and it works. But that folder's copy doesn't.




azura987 -> RE: WitPTracker AE Release 1.11 Available! (1/2/2022 2:08:08 PM)

Hi! I'm trying my best to get witptrack 1.11 running but don't succeed. My knowledge of JAVA Runtime and windows is not as good as some here, and I tried a lot of things :) This is the error message I get on the console, please help me !

quote:

C:\Users\claes\Downloads\witptracker>C:\jre6-Tracker\bin\java -Xms512m -Xmx640m -jar "WitPTracker.jar"
Exception in thread "main" java.lang.UnsupportedClassVersionError: witptracker/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: witptracker.Main. Program will exit.




Zovs -> RE: WitPTracker AE Release 1.11 Available! (1/2/2022 2:19:47 PM)

Looks like your running the wrong Java version.




azura987 -> RE: WitPTracker AE Release 1.11 Available! (1/2/2022 2:25:55 PM)

odd, I have tried with Java 6 32 bit... it's that one right?




Nomad -> RE: WitPTracker AE Release 1.11 Available! (1/2/2022 7:22:07 PM)

Hi Floyd, any idea what these error messages are about?

java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_PK_59
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at witptracker.Database.InsertRow(Database.java:54)
at witptracker.Base.UpdateBaseInDB(Base.java:640)
at witptracker.InMemoryDB.CompareBaseLists(InMemoryDB.java:1743)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:91)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Insert Error code = -104
Table=BaseObjects Values=(749,1,388,527,0,1,0,1,0)
-----------------------------------------------
java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_PK_59
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at witptracker.Database.InsertRow(Database.java:54)
at witptracker.Base.UpdateBaseInDB(Base.java:640)
at witptracker.InMemoryDB.CompareBaseLists(InMemoryDB.java:1743)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:91)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Insert Error code = -104
Table=BaseObjects Values=(749,2,388,519,0,1,0,1,0)
------------------------------------------------------
java.sql.SQLException: Numeric value out of range
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at witptracker.Database.InsertRow(Database.java:54)
at witptracker.Alert.InsertInTable(Alert.java:232)
at witptracker.Pilots.UpdatePilotInDB(Pilots.java:294)
at witptracker.InMemoryDB.ComparePilotLists(InMemoryDB.java:3338)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:206)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Insert Error code = -65
Table=Alerts Values=(388,6,34199,12,0,1)





Marc -> RE: WitPTracker AE Release 1.11 Available! (1/2/2022 9:26:35 PM)

Hi Floyd,

is it possible to adjust the font size of tracker?
The font size is quite small on my screen and adjusting it would be really great.

Anyway thank you for this extremly good tool.




Nexira -> RE: WitPTracker AE Release 1.11 Available! (1/9/2022 2:13:17 AM)

I get a "unable to access jarfile witptracker.jar" error in the bat command prompt. No clue whats causing it, i have the right java and its linked to it, i have the memory, and ive double checked that i have downloaded everything it asks for on the tracker site. Anyone know what im doing wrong? (also running things in admin mode and what not)




Fraggo5 -> RE: WitPTracker AE Release 1.11 Available! (1/18/2022 6:56:46 PM)

Thanks for the advice you gave to Zovs back in December Nomad , It helped me get WitPTracker working on my system.
Thanks




Nomad -> RE: WitPTracker AE Release 1.11 Available! (1/19/2022 2:56:07 AM)

I am glad I could help. I loved Squad Leader, played a lot of it many, many years ago.




Hano -> RE: WitPTracker AE Release 1.11 Available! (1/27/2022 5:04:43 PM)

Help needed with WitPTracker 1.11

Is there someone who can help me with this, I appreciate that a number have people have contributed with advice and suggestions, but I cant get WitPTracker to work

I have written out the steps I took following the steps in https://sites.google.com/site/witptracker/installation but cant get it to work.

Does anyone have the patience to spell out in the simplest terms what I'm doing wrong and how to get it to work.

If anyone can, I would really appreciate the help

[image]local://upfiles/31242/E2C72CA7F1BF4229A287CF6249D5B68C.jpg[/image]




Page: <<   < prev  202 203 204 [205] 206   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.9375