Opened 6 weeks ago

Closed 4 weeks ago

#15129 closed defect (fixed)

SCUMM: Indy3 Mac, clearing series IQ score seems broken

Reported by: eriktorbjorn Owned by: athrxx
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Indiana Jones 3

Description (last modified by eriktorbjorn)

If I open the IQ points dialog in the Mac version Indiana Jones and the Last Crusade and try to clear the series IQ score, nothing seems to happen. At least most of the time.

Right now I've only tested it on Linux running under Windows 11, and only right after loading a savegame. What seems to happen is:

  • clearSeriesIQPoints() writes zeroes to the .iq file.
  • updateIQPoints() the reads that file. (Though this may fail since clearSeriesIQPoints() still has the file open, and it may not have been flushed to disk yet?)
  • updateIQPoints() then synchronizes the series score with the current episode score. Except for me, it seems to be adding a lot of points that weren't solved during the episode.

And that's where I gave up, at least for now.

There is a comment about the resources for the series IQ score not always being valid (which is why updateIQPoints() has to load it from file?), but I don't know if there are similar considerations for the episode score.

It would have been easier to just set the series IQ score to 0, but I've checked and the original does seem to sync the series IQ score with the episode IQ score when you clear it.

Change History (7)

comment:1 by eriktorbjorn, 6 weeks ago

Description: modified (diff)

comment:2 by eriktorbjorn, 6 weeks ago

Description: modified (diff)

comment:3 by eriktorbjorn, 5 weeks ago

Description: modified (diff)

comment:4 by AndywinXp, 5 weeks ago

Has this been solved, after the recent changes by athrxx?

comment:5 by AndywinXp, 5 weeks ago

Owner: set to athrxx
Resolution: fixed
Status: newpending

comment:6 by eriktorbjorn, 5 weeks ago

I believe so. At least, clearing the Macintosh IQ score seems to work as intended. I don't know about the other versions.

comment:7 by AndywinXp, 4 weeks ago

Status: pendingclosed
Note: See TracTickets for help on using tickets.