lost files

Post bug reports and ask for help with other issues here.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: lost files

Post by Korvar »

Ok, two things to try:

1) Make sure you have the proper C++ Libraries installed (you can download the installer from here).

2) I'm seeing the Java.exe file missing from your Tracker folder. You need to make a copy of it from the

Code: Select all

C:\Program Files (x86)\Java\jre6\bin\
folder - then place the copy in your Tracker folder.

I have a copy of the Java.exe file in the Tracker folder, and my WitPTracker.bat file looks like the following:

Code: Select all

java -Xms512m -Xmx768m -jar "WitPTracker.jar"
 pause
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

Is it one of these?

Image
Attachments
javafolder.jpg
javafolder.jpg (93.06 KiB) Viewed 209 times

User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: lost files

Post by Korvar »

Close - make sure you are in the Program Files(x86) folder - this is the folder that keeps all your 32 bit programs. There will be a mirror Java folder over there. Find the Java folder and go to the bin (not lib) subfolder within it, the Jave.exe file will be there.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

This, but from the x86 folder?

Image
Attachments
javabinfolder.gif
javabinfolder.gif (98.28 KiB) Viewed 209 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

I did the C++ update earlier today.

User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: lost files

Post by Korvar »

Java folder should look like this:

Image


And the Tracker folder will look something like this (ignore that I have a couple extra files like a saved game and the Java_old file, those are just leftovers from me fiddling about awhile ago):

Image
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

Here's the tracker folder now. Got the same error.

Image
Attachments
sameerror.jpg
sameerror.jpg (98.29 KiB) Viewed 209 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

My java is not java.exe but is the same size.

User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: lost files

Post by Korvar »

Are you sure that you moved all the Tracker files over there?

I'm seeing a couple missing, comparing mine to yours:

trackerdb.properties
witptracker.properties
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

ORIGINAL: Korvar



Image

How do I generate the first three folders, or will that happen after I get past any errors?

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

.

Image
Attachments
missingfiles.jpg
missingfiles.jpg (40.25 KiB) Viewed 209 times

User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: lost files

Post by witpqs »

ORIGINAL: geofflambert

.

Image
Yes, but the Betas come with two - one version for 32-bit the other for 64-bit. They are named:
pwsdll.dll
pwsdll7.dll

The one ending in '7' is the 64-bit version (required for Java 7). Copy that one into your Tracker folder.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

Here they are

Image
Attachments
witptracke..operties.jpg
witptracke..operties.jpg (169.2 KiB) Viewed 209 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

.

Image
Attachments
trackerdbproperties.jpg
trackerdbproperties.jpg (128.83 KiB) Viewed 209 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

You know, I'm just thinking. Isn't it true that tracker won't work until the second turn? For all it knows this is the first turn. Unless you think of something else I'll wait until 1/7/42 to run it.

Betcha that's it.

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

ORIGINAL: witpqs




The one ending in '7' is the 64-bit version (required for Java 7). Copy that one into your Tracker folder.

That's done. Thanks to both of you guys. I'll report after I finish this turn and get it back from Steve.

User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: lost files

Post by Korvar »

That could be a problem in itself, but I still think there is a 32/64bit mismatch.

I edited my WitPTracker.bat file and have attached it within a .zip file here. Instead of looking for the Java.exe file in the Tracker folder, it goes straight to the source in the Java folder.

Make a backup copy of your WitPTracker.bat file, then extract mine into your Tracker folder.

Edit: Sorry, I goofed. The 1st upload .bat file had the wrong path. I've corrected it and uploaded it again.

Edit2: Ok - I goofed twice! The java.exe was cut off of the path somehow. I've corrected it and re-uploaded (again). Sorry! I'll start another pot of coffee [:D]
Attachments
WitPTracker.zip
(262 Bytes) Downloaded 5 times
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

Here's what that did.

Image
Attachments
notbatch.jpg
notbatch.jpg (68.35 KiB) Viewed 209 times

User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: lost files

Post by Korvar »

See my re-re-upload [:D]
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

I don't think there's anything to lose by waiting til next turn.

Post Reply

Return to “Tech Support”