lost files

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

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

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

RE: lost files

Post by geofflambert »

Back to the old error. Let's give it a break. I need time to do a turn. [:D]

Image
Attachments
old error.jpg
old error.jpg (136.05 KiB) Viewed 223 times

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

RE: lost files

Post by Korvar »

That's actually good - it's a new error!

I think the 2nd part is what you mentioned earlier - you need to do your turn so that it has data to load.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

OK, I have a new turn and save. The old errors are gone but I have a new one in relation to Tracker:



Image
Attachments
newerror.jpg
newerror.jpg (82.82 KiB) Viewed 223 times

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

RE: lost files

Post by Korvar »

Either download the WitPTracker.bat file again from my earlier post, or use a text editor (like Notepad) to add Java.exe after the jre1.8.0_144\bin\.

You can also optionally increase the -Xms and -Xmx tags from 384m and 512m to 512m and 768m, if you want to give Tracker more memory to work with.

So the contents of WitPTracker would be:

Code: Select all

"C:\Program Files (x86)\Java\jre1.8.0_144\bin\Java.exe" -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 »

OK, I got frustrated and found a copy of the Tracker folder that I made before the crash. I've got an error but it appears to be not enough memory. What file do I open to enlarge that and what do I open it with? Wordpad? Notepad?

Image
Attachments
currenterror.jpg
currenterror.jpg (263.17 KiB) Viewed 223 times

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

RE: lost files

Post by Korvar »

You can use Notepad, it will work perfectly fine. I use a 3rd party variant of the concept (Notepad on steroids): Notepad++.

The file you want to edit is WitPTracker.bat located in the Tracker folder. If you delete everything in it and paste into it what I posted in the code snippet of my last post, it will give you extra memory.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

Success, I believe. It's doing a multiturn read. It already had turns 1 and 2 - that's the point I backed up the folder.

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

RE: lost files

Post by Korvar »

Good to hear, keep me posted if you run into any more snags.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

I'm back to the 32/64 bit problem, but it only occurs after Tracker loads and when I start the multi-turn read.

Image
Attachments
ScreenHunter87.jpg
ScreenHunter87.jpg (324.38 KiB) Viewed 223 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 the folder now

Image
Attachments
ScreenHunter88.jpg
ScreenHunter88.jpg (109.1 KiB) Viewed 223 times

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

RE: lost files

Post by geofflambert »

I put the Java.exe in the folder and got this error.

Image
Attachments
ScreenHunter89.jpg
ScreenHunter89.jpg (68.54 KiB) Viewed 223 times

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

RE: lost files

Post by geofflambert »

I'm done for today. I don't think it will do any harm to send Steve another turn, I'll probably do so this evening.

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

RE: lost files

Post by Korvar »

You're using an older WitPTracker.bat file - the latest one I uploaded here doesn't load the Java.exe file from the Tracker folder, it gets it straight from the 32-bit Java install folder.

So you either need to use that .bat file OR make sure you are copying the 32-bit Java.exe (from the Java folder within Program Files(x86), NOT Program Files) into the Tracker folder.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: lost files

Post by geofflambert »

I'll have to figure that out. I noticed my x86 folder doesn't even have a Java folder in it, just the Program Files folder.

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

RE: lost files

Post by Korvar »

Install the 32-bit Java via the link I provided in this post. Then copy that Java.exe 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 »

OK. I'm running out of time but I just installed the 64 bit in the x86/Java folder I created. Oh, well. [:D]

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

RE: lost files

Post by Korvar »

Yeah, taking a chicken and putting 'Swan' on its name-tag doesn't quite work [:D]

To be sure, just (re)install both the 32 and 64 bit versions of Java using the links I provided, then copy the Java.exe from the Program Files(x86) Java folder.
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: lost files

Post by BillBrown »

Just as info, you can read the tracker database with the 64 bit Java, but you can not read a new turn file with it( the pwsdll7.dll file is a 32-bit dll file)
User avatar
Korvar
Posts: 813
Joined: Wed Sep 03, 2014 4:04 pm

RE: lost files

Post by Korvar »

That's good to know - thanks!

I never experimented with different Tracker / Java versions - I saw that the instructions were very specific and have experienced how one variable being off can bring the whole parade to a stop, so I've contented myself to keep things as they are. [:D]
User avatar
BillBrown
Posts: 2335
Joined: Sat Jun 15, 2002 3:55 am

RE: lost files

Post by BillBrown »

I tried it out once since using a 64-bit Java should get rid of the out of memory problems, but it didn't work out.

If michaelm ever comes back he might be able to update the dll file that is used by tracker.
Post Reply

Return to “Tech Support”