AGI: The -x command-line option appears to be broken
|Reported by:||eriktorbjorn||Owned by:||bluegr|
Latest SVN snapshot
If I try to use the -x command-line option to restore a saved game, things don't seem to work quite as intended. I tried with the English PC versions of King's Quest 1, Space Quest 2, and Leisure Suite Larry 1, where I saved at the very beginning of the game.
In LSL1, it restored the game but didn't give me a command prompt.
In SQ2, it restored the game, but showed me the end of the intro cutscene.
In KQ1 it seemed to work, but...
...perhaps just as seriously, if I tried to restore another savegame from within the game, it would fail with a warning like:
WARNING: This save seems to be from a different AGI game (save from KQ1, running ), not loaded!
It appears that _game.id isn't properly set. I think this is usually done by a set_game_id() opcode.
Ticket imported from: #1751483. Ticket imported from: bugs/3311.