mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
tr2/savegame: implement BSON saves
This implements BSON save games, similar to TR1, and opts for it to be used in place of legacy for writing. Saves will also be stored in a separate saves directory.
This commit is contained in:
parent
5b524faec9
commit
0d80ca8f8f
16 changed files with 1299 additions and 29 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
"main_menu_picture": "data/images/title_eu.png",
|
||||
"savegame_fmt_legacy": "savegame.%d",
|
||||
"savegame_fmt_bson": "save_tr2_%02d.dat",
|
||||
|
||||
"cmd_init": {"action": "exit_to_title"},
|
||||
"cmd_title": {"action": "noop"},
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
"main_menu_picture": "data/images/title_eu_gm.png",
|
||||
"savegame_fmt_legacy": "savegame_gm.%d",
|
||||
"savegame_fmt_bson": "save_trgm_%02d.dat",
|
||||
|
||||
"cmd_init": {"action": "exit_to_title"},
|
||||
"cmd_title": {"action": "noop"},
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
// This file is used to enable the -l argument support.
|
||||
|
||||
"main_menu_picture": "data/images/title_eu.png",
|
||||
"savegame_fmt_legacy": "savegame.%d",
|
||||
"savegame_fmt_legacy": "savegame_custom.%d",
|
||||
"savegame_fmt_bson": "save_tr2_custom_%02d.dat",
|
||||
|
||||
"cmd_init": {"action": "exit_to_title"},
|
||||
"cmd_title": {"action": "noop"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue