OpenXcom Forum

Modding => Help => Topic started by: machinehater on July 21, 2020, 01:14:32 pm

Title: openxcom resetted and safegame corrupted
Post by: machinehater on July 21, 2020, 01:14:32 pm
Hey.
I play xpiratez, but i think this is an general-openxcom-problem.

Today, all of a sudden, openXcom was resetted, as if i had it newly installed. I had to re-select xpiratez and set all my videosettings and controls as well.

As i wanted to play, my safegame was not in the load list, even when the folder was insert correctly.
I opened the savegame with notepad and saw, that it was corruped.

https://imgur.com/h5l0dnT (https://imgur.com/h5l0dnT)


Luckily i had a security copy of it, i just lost some in game days.

Is this a known issue?
Can it be prevented from happening again?

Thank you
Title: Re: openxcom resetted and safegame corrupted
Post by: Meridian on July 21, 2020, 05:16:12 pm
There is no such known issue.
Title: Re: openxcom resetted and safegame corrupted
Post by: machinehater on August 01, 2020, 02:45:28 pm
Can someone point me in the direction, where the openxcom settings-file is stored?
So i can make a safe-copy. This happens once in a while, and everytime i have to set the screen settings, shortcuts ecc.
Title: Re: openxcom resetted and safegame corrupted
Post by: R1dO on August 01, 2020, 06:07:24 pm
Since your screenshot indicates you are using a non-default installation location i can only tell you where openxcom looks (using: https://github.com/OpenXcom/OpenXcom/blob/master/README.md (https://github.com/OpenXcom/OpenXcom/blob/master/README.md) as reference).
The file is called "options.cfg" and should be in the "User and Config folder" in one of the paths mentioned below.

If that file exist in multiple places i am unsure which would be the one that is actually used (tip: file modification time could be useful here).

Code: [Select]
Windows

User and Config folder:

    C:\Documents and Settings\<user>\My Documents\OpenXcom (Windows 2000/XP)
    C:\Users\<user>\Documents\OpenXcom (Windows Vista/7)
    <game directory>\user
    .\user

Data folders:

    C:\Documents and Settings\<user>\My Documents\OpenXcom\data (Windows 2000/XP)
    C:\Users\<user>\Documents\OpenXcom\data (Windows Vista/7/8)
    <game directory>
    . (the current directory)


Good luck
Title: Re: openxcom resetted and safegame corrupted
Post by: machinehater on August 01, 2020, 06:21:52 pm
Thank you very much!

This should do the job. When i am  at home i will try!