Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:tracktwo/xcomsave
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <savegame_file>`. | ||
|
||
The result will be an editable text file. | ||
|
||
# json2xcom | ||
Use `json2xcom <savegame_file>.json`. | ||
|
||
You may use the "o" option to define the output file name: `json2xcom -o <output> <savegame_file>.json` | ||
|
||
**Note**: XCOM:EW savegame files have no extension. | ||
|
||
|
||
|