Author Topic: Savegame file Reference  (Read 4528 times)

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Savegame file Reference
« on: February 17, 2015, 10:08:02 am »
I was wondering is there a Reference for the savegame files somewhere?
I so far have seen most of the values in the normal Ruleset Reference but some really give me no explanation whatsoever.
Especially those regarding Battlescape Missions, as it seems even the Maplayout get's stored in the Savefile.
I would be interested in those particular.

Any advise help would be really nice.

Offline kikimoristan

  • Commander
  • *****
  • Posts: 647
    • View Profile
Re: Savegame file Reference
« Reply #1 on: February 17, 2015, 08:10:46 pm »
in your c:/user/ ?? /documents/openxcom/saves . you can edit them manually as openxcome saves are in fact text files and you can cheat as much as you like

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Savegame file Reference
« Reply #2 on: February 17, 2015, 09:53:03 pm »
in your c:/user/ ?? /documents/openxcom/saves . you can edit them manually as openxcome saves are in fact text files and you can cheat as much as you like

I know that already that was why i was asking for the description of a reference of the battelscape save code.

Offline kikimoristan

  • Commander
  • *****
  • Posts: 647
    • View Profile
Re: Savegame file Reference
« Reply #3 on: February 18, 2015, 12:24:52 am »
oh haha sorry. I don't know about that.

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Savegame file Reference
« Reply #4 on: February 18, 2015, 01:23:48 pm »
the maps are stored as a series of tiles, in binary. if you compile it yourself there's an "#if (0)" you can change to a 1 to enable human-readable output.

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Savegame file Reference
« Reply #5 on: February 18, 2015, 02:57:35 pm »
the maps are stored as a series of tiles, in binary. if you compile it yourself there's an "#if (0)" you can change to a 1 to enable human-readable output.

Uhh that sounds nice, which file excactly :)?

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Savegame file Reference
« Reply #6 on: February 19, 2015, 02:36:14 am »
savedbattlegame.cpp, line 379

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Savegame file Reference
« Reply #7 on: February 19, 2015, 01:35:52 pm »
savedbattlegame.cpp, line 379

Thanks and keep up your good work!