diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..9c62d45 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,8 @@ +This guide assumes that your Operating System is Linux (Should be the same on *BSD). It may work on Windows but it wasn't tested. + +# Downloading and bulding xcomsave +1. Clone xcomsave: `git clone https://github.com/tracktwo/xcomsave.git; cd xcomsave` +2. Clone json11: `rm -rf json11;git clone https://github.com/dropbox/json11.git` +3. Build xcomsave: `mkdir build; cd build; cmake ../.;` +4. Compile: `make; cd ..` +5. Copy **json2xcom** and **xcom2json** to a new directory. Those are the only files you need. diff --git a/KNOWN.md b/KNOWN.md new file mode 100644 index 0000000..e4d2c86 --- /dev/null +++ b/KNOWN.md @@ -0,0 +1,12 @@ +This is a list of known strings in the savegame file. + +# Funds: +look for the line containing `"name": "m_iCash", "kind": "IntProperty",`. + +# Items: +Most of the items (Weapons, Alloys etc.) are located in an array called **m_arrItems**. + +Meld is located in an array after `Meld "Command1.TheWorld:PersistentLevel.XGBattleDesc_0"`. +Please note that this array hold the amount you found since the beginning of the game and not your current amount. + +# Team members diff --git a/USAGE.md b/USAGE.md new file mode 100644 index 0000000..15ed7b8 --- /dev/null +++ b/USAGE.md @@ -0,0 +1,21 @@ +# General +In order to edit a save, you need to: +1. Locate your savegame folder. In steam on Linux it's: `~/.local/share/feral-interactive/XCOM/XEW/savedata/` +2. Convert the target save file to json with xcom2json. +3. Edit the file with your favorite text editor (Atom, gedit, KWrite etc.). +4. Convert the save file back to xcom format with json2xcom. + +# xcom2json +Use `xcom2json `. + +The result will be an editable text file. + +# json2xcom +Use `json2xcom .json`. + +You may use the "o" option to define the output file name: `json2xcom -o .json` + +**Note**: XCOM:EW savegame files have no extension. + + +