View Full Version : Demo is failing to save properly

01-10-2013, 08:16 PM
The demo is failing to save and load properly on this computer but I have looked at the log files and don't see anything useful.

It appears to be saving a .his file but then dies while attempting to load it without giving any useful error messages. It appears to be throwing an exception on load but is not logging it or reporting it.

I'll do more looking- but can a dev point me in any useful direct? Is there a way to enable more debugging? I found the logs in %APPDATA%/local/... but they aren't informative.

01-11-2013, 11:07 AM
Well here's where stuff is saved:

Vista/Win7 - C:\Users\YOUR USER NAME\AppData\Local\DroxOperative\User
XP - C:\Documents and Settings\YOUR USER NAME\Local Settings\Application Data\DroxOperative\User
Mac - /Users/YOUR USER NAME/Library/Application Support/DroxOperative/User

There should be 4 files per character and 3 for global stuff. It's possible something got corrupted somehow. You might want to rename the chars directory temporarily and see if that fixes things for new characters at least.

01-11-2013, 11:16 AM
Thanks for the responses. I am working on it. This appears to be specifically a problem with my local profile on this box.

Here's some more info that might be useful to you.

The failed call is a rename of the save file, that when it fails the temp save file is removed. The game however doesn't trap this exception.

The game is left in a bad save state where it thinks it can continue but it can't open global.sav during the load sequence and throws an unhandled exception and exits uninformatively.

suggestions :

notify the user if the game fails to save.
clean up state if game fails to save