YuriPRIME wrote:No, I actually spoke about Backup, I know it's in the .maptool folder, the thing is the original campaign file I tried to open later AFTER autosave has exactly same name, meaning when I tried to open it to check if things saved (prior to discovering the issue with the loading) it purged the backup file.
Then it's a conflict of terms. I see the AutoSave.cmpgn file as being "purged" on exit as you described it. The backup file is just eventually over written by another backup file (and I don't know the conditions/specifics of this... though I wish we could set them ourselves... at one point I know it saved up to ten backups... but I think there was a movement to reduce that at some point.)
On the other note the MT memory use was nowhere near the maximum, it used about half the RAM assigned.
Watch the memory usage when you save a large file... it spikes *at least* 20%. Sometimes much higher. What the file is using when you load it fresh is not static and it will be very different than what it is using after you've been developing for hours.
At any rate, your problem looks to be a corrupted drawable. Whether that happens due to memory use or not, I have no idea. As I mentioned above, just knowing the map you were working on might allow someone to edit out all drawbles on that map... if they can put the archive back together successfully.
As for the campaign itself. I managed to recreate most, spend some time on it... sadly most assets were wasted, that said however: is there a way to extract the token data from the xml files? Just so I can recreate characters?
If you have the names of the tokens... I bet there is a way to copy/paste from your old content.xml file to save a lot of that information.
But, again, as I and Alias have mentioned, rebuilding the zip file is problematic... though it may be possible to use taustinoc's method above by extracting only a single file with 7-zip and then inserting it back into the archive without fully rebuilding the archive and causing MT to throw an IO error.
aliasmask wrote:I tried editing the content.xml but something is wrong with zip when repacking. I don't recall having this problem in earlier versions of MT. It may also be a windows 10 thing because I just recently upgraded. I'll have to try some new things later.
I know this was an issue at least as far back as Windows 8... maybe further. And it's not likely the zip programs themselves because I have tried at least 4 different ones (Winzip, WinRar, 7zip, and the built in Extraction tools). All throw an IO error when trying to open the re-packed file.
But for any MT developers, they could probably use the low level debugging tools to see which drawable is causing the issue. Since file corruption due to a drawable is not new, there may be a certain combo with a certain tool that is the core issue and is probably worth investigating.
A tool to "Clear All Drawings" without having to fully load a campaign file would probably to the trick.