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

floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

ORIGINAL: IdahoNYer

Thanks Damian....so how do I delete the database? Boy - that sounds like a dumb question...
I deleted the data file and started tracker - and it wouldn't complete loading. Do I need to delete the backup file as well?


Delete all of the trackerdb.* files (usually four of them, but can be more depending on how the program last ended).
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

ORIGINAL: IronDuke



After some fiddling about, I can get a new game as Japanese loaded.

However, there are no regions assigned and I can't successfully import one of the existing sets either. I think the issue is caused by the base names which have all generated in some weird wing dings type font so as to be unrecogniseable as when I try and load a set of regions I get errors saying base names not found or not matching etc.

Anyone got any ideas?

regards,
ID.

Which region definition are you importing?
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
IdahoNYer
Posts: 2743
Joined: Sun Sep 06, 2009 2:07 am
Location: NYer living in Boise, ID

RE: WitPTracker AE Release 1.9.2 Available!

Post by IdahoNYer »

Floydg - no joy. Deleted all trackerdb.files and got this:


D:\Matrix Games\WitPTracker AE Release 1.9.2>"C:\Program Files (x86)\Java\jre6\b
in\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar"
Initializing WitP Tracker AE database.
WitP Tracker AE tables loaded in 6 seconds
WARNING: Could not find appropriate day in SigInt file <D:\Matrix Games\War in t
he Pacific Admiral's Edition\SAVE\asigint.txt> for 4/5/42.
WARNING: Could not find appropriate day in SigInt file <D:\Matrix Games\War in t
he Pacific Admiral's Edition\SAVE\asigint.txt> for 4/4/42.
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at witptracker.AircraftPanel$1.getValueAt(AircraftPanel.java:128)
at witptracker.AircraftPanel$1.getColumnClass(AircraftPanel.java:138)
at javax.swing.table.TableRowSorter.useToString(Unknown Source)
at javax.swing.DefaultRowSorter.updateUseToString(Unknown Source)
at javax.swing.DefaultRowSorter.sort(Unknown Source)
at javax.swing.DefaultRowSorter.setRowFilter(Unknown Source)
at witptracker.AircraftPanel.actionPerformed(AircraftPanel.java:656)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.contentsChanged(Unknown Source)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
at javax.swing.JComboBox.addItem(Unknown Source)
at witptracker.AircraftPanel.actionPerformed(AircraftPanel.java:604)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.contentsChanged(Unknown Source)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
at javax.swing.JComboBox.addItem(Unknown Source)
at witptracker.AircraftPanel.PopulateCombos(AircraftPanel.java:906)
at witptracker.AircraftPanel.<init>(AircraftPanel.java:289)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:752)
at witptracker.GUIMain$5.run(GUIMain.java:1020)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.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)

D:\Matrix Games\WitPTracker AE Release 1.9.2>pause
Press any key to continue . . .
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

Are you sure you're using the right pwsdll.dll file? If you're running the beta, copy the pwsdll.dll from the Beta2 folder to the WitPtracker folder (over-write what's there), delete the DB files again and try once more.
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
IdahoNYer
Posts: 2743
Joined: Sun Sep 06, 2009 2:07 am
Location: NYer living in Boise, ID

RE: WitPTracker AE Release 1.9.2 Available!

Post by IdahoNYer »

Are you sure you're using the right pwsdll.dll file?

Floyd - you are a genius! Looks to be working fine now!

Thanks again not only for your help, but with Tracker - it really has taken playing this game to the next level for me.
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker AE Release 1.9.2 Available!

Post by n01487477 »

Yeah - sorry I've travelling through Malaysia but I'll get back on helping where and when I can later..
IronDuke_slith
Posts: 1385
Joined: Sun Jun 30, 2002 4:00 pm
Location: Manchester, UK

RE: WitPTracker AE Release 1.9.2 Available!

Post by IronDuke_slith »

Floydg, n01487477,
Thanks for the help. The advice around getting the dll from the beta folder cleared everything up and this runs smoothly now.

To be honest, Guys, this is the best user made utility I've seen since I started computer gaming in the early 90s. It's practically a game in itself and I'd echo IdahoNYer's comments about this piece of kit taking the game to a new level. The global chart is a superb visual representation of the economy and even the simpler things like the plane comparison have been a huge help and time saving.

My thanks for your ongoing efforts.

Thanks and regards,
ID.
User avatar
uncivil_servant
Posts: 200
Joined: Mon Feb 18, 2013 10:55 pm

RE: WitPTracker AE Release 1.9.2 Available!

Post by uncivil_servant »

I appreciate all the help in this thread. Reading through recent folk's troubles I, eventually, fixed the problems with steps delineated here except I had done a clean install wiping all my previous stored info. That said, which Map Region do I use? There is no default listed nor is that on the webpage. I picked the "-6" one and I am getting name differential errors. i.e. Base 1498 name of <sipora> not match the name in the import file <Sipora Island>

It is by caffeine alone I set my mind in motion,
It is by the beans of Java that thoughts acquire speed,
The hands acquire shaking, the shaking becomes a warning,
It is by caffeine alone I set my mind in motion.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

ORIGINAL: uncivil_servant

I appreciate all the help in this thread. Reading through recent folk's troubles I, eventually, fixed the problems with steps delineated here except I had done a clean install wiping all my previous stored info. That said, which Map Region do I use? There is no default listed nor is that on the webpage. I picked the "-6" one and I am getting name differential errors. i.e. Base 1498 name of <sipora> not match the name in the import file <Sipora Island>


You can create one yourself. Or edit one of the ones that don't work. But they're really mod-dependent. With Stock scenarios, try Floyd_Region_File_Scen1.txt.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
jswhite1
Posts: 10
Joined: Wed Feb 12, 2014 8:15 pm

RE: WitPTracker AE Release 1.9.2 Available!

Post by jswhite1 »

ORIGINAL: n01487477

ORIGINAL: jswhite1

Ok...I finally bought this game. Installed without a problem...downloaded a couple of helpful utilities including Tracker.

After a week I have a question (the first of many I'm sure) that I cannot find the answer for. In Tracker there is a column titled "Cargo/(F/H)" and for the life of me I can't seem to determine what it is
It's fuel/hex -- but its a little misleading cause it is number just to compare efficiency of cargo / fuel / hex...

Thanks for the info!
User avatar
Mike McCreery
Posts: 4334
Joined: Sat Jun 29, 2013 2:58 pm

RE: WitPTracker AE Release 1.9.2 Available!

Post by Mike McCreery »

I am trying to load the turns from my current game one by one into the game and thus load them into tracker by loading the turn after that. It seemed to be working well up through 30 days. I read up until turn 40 and it was ok until I saved and quit. When I tried to restart I am getting a memory error. I can go back and re-load the 30 turns and it works again.

What switch or other action do I need to take to eliminate this memory error?



Image
Attachments
error.jpg
error.jpg (150.08 KiB) Viewed 293 times
Image
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

Bump up each of the Xms and Xmx values by 64 or 128 increments. You can also add a -nomap parameter which frees up memory (but gets rid of the map function).
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
Mike McCreery
Posts: 4334
Joined: Sat Jun 29, 2013 2:58 pm

RE: WitPTracker AE Release 1.9.2 Available!

Post by Mike McCreery »

Thank you Floyd, it worked!
Image
User avatar
robinsa
Posts: 173
Joined: Wed Jul 24, 2013 9:00 am
Location: North Carolina

RE: WitPTracker AE Release 1.9.2 Available!

Post by robinsa »

Im going to start with a big thank you for developing and supporting this great tool.

Ive read the last few pages of this thread but I could not figure out the definitive answer to if well see a Java 7 version or not in the future? If there is one in development, when will we be able to use it?

Thanks for all the effort you put in to this and the effort that already has been put into this wonderful tool.
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

We'd like to support Java 7, but no firm plans yet.
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
Mike McCreery
Posts: 4334
Joined: Sat Jun 29, 2013 2:58 pm

RE: WitPTracker AE Release 1.9.2 Available!

Post by Mike McCreery »

Ok, after the memory fix I decided to go back and start loading more turns. Have 40 saved and about 230 to go.

The program loads the first 40 turns without an problem but as I go to read the next turn I get this error.



Image
Attachments
error2.jpg
error2.jpg (223.15 KiB) Viewed 293 times
Image
floydg
Posts: 2060
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.9.2 Available!

Post by floydg »

Looks like a problem with the pwsdll.dll. Did you change to a different release of the beta or something along the way?
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
Mike McCreery
Posts: 4334
Joined: Sat Jun 29, 2013 2:58 pm

RE: WitPTracker AE Release 1.9.2 Available!

Post by Mike McCreery »

ORIGINAL: floydg

Looks like a problem with the pwsdll.dll. Did you change to a different release of the beta or something along the way?

Possibly. Is there a fix?
Image
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: WitPTracker AE Release 1.9.2 Available!

Post by witpqs »

Basically, to read a turn, you must be running Tracker with the same .dll that the turn was created with. So if you can figure that out it's a matter of copying in the right one at the right time and restarting Tracker each time you change .dll files.
Onyx
Posts: 12
Joined: Mon Aug 31, 2009 11:35 pm

RE: WitPTracker AE Release 1.9.2 Available!

Post by Onyx »

My memory is not what it once was and so I figured that I would give this nifty little program a whirl. However, I
am not having any luck getting it to run, and I have no clue what the problem is. Here is what I do know. I'm running
windows 8.1 and java 6. ( I forget the version of java that I downloaded )

note: figured out my previous problem, but now I get this error:


D:\WITP Tracker>"C:\Program Files (x86)\Java\jre6\bin\java" -Xms512m -Xmx768m -j
ar "WitPTracker.jar"
WitP Tracker AE tables loaded in 1 seconds
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at witptracker.BasePanel$1.getValueAt(BasePanel.java:157)
at witptracker.BasePanel$1.getColumnClass(BasePanel.java:233)
at javax.swing.table.TableRowSorter.useToString(Unknown Source)
at javax.swing.DefaultRowSorter.updateUseToString(Unknown Source)
at javax.swing.DefaultRowSorter.sort(Unknown Source)
at javax.swing.DefaultRowSorter.setRowFilter(Unknown Source)
at witptracker.BasePanel.actionPerformed(BasePanel.java:1087)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.contentsChanged(Unknown Source)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
at javax.swing.JComboBox.addItem(Unknown Source)
at witptracker.BasePanel.SetRegionList(BasePanel.java:1469)
at witptracker.BasePanel.<init>(BasePanel.java:1029)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:744)
at witptracker.GUIMain$5.run(GUIMain.java:1020)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.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)

D:\WITP Tracker>pause
Press any key to continue . . .



Please help! I'm also trying to learn how to play japan and I would really like to use the economy tool this program
has!
Post Reply

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