lanceewing / agile

Sierra AGI (Adventure Game Interpreter) engine written in C#
15 stars 7 forks source link

Original Interpreter Exit confirm screen broken after loading an AGILE save game #34

Closed vafada closed 2 years ago

vafada commented 2 years ago

Capture

Steps:

  1. make a save game using AGILE
  2. restore that save game using original interpreter
  3. Exit confirm box is empty
vafada commented 2 years ago

changing these two lines fixes it:

int saveVarsLength = 0x05DF;
..
..
..
// savedGameData[1536] = (byte)(state.ScriptBuffer.SavedScript);

I guess different interpreter version has different save format structure

vafada commented 2 years ago

fixed