Opened 23 years ago

Closed 23 years ago

Last modified 6 years ago

#6 closed defect (fixed)

Game enters an infinite loop

Reported by: SF/jackburton Owned by: SF/strigeus
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Monkey Island 2

Description

If you examine pieces of map in MI2, you cannot return to normal game screen, you can just move mouse. I have a savegame, if it can help

Ticket imported from: #470858. Ticket imported from: bugs/6.

Change History (9)

comment:1 by SF/jackburton, 23 years ago

On further inspection, it has something to do with RommOpcode 9, and Save/loading.

comment:2 by SF/strigeus, 23 years ago

This is because monkey 2 uses a "dirty trick" in that scene. The game is saved right before entering the map, and when the user wants to leave the map, the game is reloaded. Because scummvm doesn't handle saving/loading identical to monkey 2, it won't work.

comment:3 by SF/strigeus, 23 years ago

Owner: set to SF/strigeus

comment:4 by SF/jackburton, 23 years ago

Mmmmmh, I tought so... BTW it happens also in Fate of Atlantis

comment:5 by vincenthamm, 23 years ago

Mmmm That's not much of a "dirty" trick since both Mi2, Atlantis and even DOTT uses it. I guess it could be managed by making 2 save/load system: one for user saves and one for system saves. That would prevent the game to corrupt the user saves by overwritting them with system saves inside the infinite loop.

I also suggest to use the game exe_name as prefix for savefiles. Qn exemple with Dott would make the user saves names tentacle.uXX and system save tentacle.sXX

comment:6 by SF/jackburton, 23 years ago

Maybe system savegames should be temporary, so user doesn't see them.

comment:7 by SF/strigeus, 23 years ago

Resolution: fixed
Status: newclosed

comment:8 by SF/strigeus, 23 years ago

it should be fixed now.

comment:9 by digitall, 6 years ago

Component: Engine: SCUMM
Game: Monkey Island 2
Note: See TracTickets for help on using tickets.