Background: New laptop running Windows 7 64bit. I've moved the Program Files, Users, and ProgramData folders to D:\\ via registry editing and NTFS junctions in order to allow those folders room to grow (4.5GB isn't enough) and to save the SSD (C:\\) from excessive writes. I've also replaced C:\\sw3dg\\ with a junction to D:\\sw3dg\\
I've been trying to write a program to manage NavMap Log points. I had no problems with the log files corrupting on my old laptop (Windows Vista 32bit and only one hard drive).
The Log files corrupt most of the time. Oddly, the game will read the corrupted log files just fine, unless it corrupts a log file that has been modified outside the game. When overwriting a non-corrupted, game-created log file the game will read it, but the log is then corrupted when the game re-writes it after which the game fails to read it when reloading the game.
An example of a game-created, corrupted log file is attached. It is read easily by a hexadecimal editor, but my text editors and my program read garbled text.
maplog corruption
-
nbanyan
- Ensign

- Posts: 13
- Joined: Mon Sep 03, 2012 4:49 am
maplog corruption
Compounding the issue, I just found that my C#'s System.IO.File.Copy method is scrambling all the files I try to open in this directory (even if I give it the direct address)!
Thankfully the System.IO.File.OpenRead and System.IO.File.OpenWrite are behaving.
[Edited on 9-23-2012 by nbanyan]
Thankfully the System.IO.File.OpenRead and System.IO.File.OpenWrite are behaving.
[Edited on 9-23-2012 by nbanyan]
-
Marvin
- Global Moderator

- Posts: 14373
- Joined: Wed Mar 04, 2009 5:47 am
- Location: Fallon-Reno
maplog corruption
-
nbanyan
- Ensign

- Posts: 13
- Joined: Mon Sep 03, 2012 4:49 am
maplog corruption
No, I couldn't get atollski's map log program to even read it's saved map information reliably, so I'm writing my own program using C#. Oddly, the game has stopped corrupting the files for now (hopefully it continues to cooperate). I'd still like to know what could have caused this.
-
Hunter
- Lieutenant Jr. Grade

- Posts: 51
- Joined: Sat Nov 20, 2010 10:04 pm
maplog corruption
If in maplog corruption is text form (and you have a name) you can look here:
http://evochron.junholt.se/
http://evochron.junholt.se/

