Author Topic: openxcom resetted and safegame corrupted  (Read 1882 times)

Offline machinehater

  • Captain
  • ***
  • Posts: 55
    • View Profile
openxcom resetted and safegame corrupted
« 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


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

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: openxcom resetted and safegame corrupted
« Reply #1 on: July 21, 2020, 05:16:12 pm »
There is no such known issue.

Offline machinehater

  • Captain
  • ***
  • Posts: 55
    • View Profile
Re: openxcom resetted and safegame corrupted
« Reply #2 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.

Offline R1dO

  • Colonel
  • ****
  • Posts: 436
    • View Profile
Re: openxcom resetted and safegame corrupted
« Reply #3 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 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

Offline machinehater

  • Captain
  • ***
  • Posts: 55
    • View Profile
Re: openxcom resetted and safegame corrupted
« Reply #4 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!