[Scummvm-tracker] [ScummVM :: Bugs] #15129: SCUMM: Indy3 Mac, clearing series IQ score seems broken
ScummVM :: Bugs
trac at scummvm.org
Fri May 17 08:03:58 UTC 2024
#15129: SCUMM: Indy3 Mac, clearing series IQ score seems broken
-------------------------+------------------------------
Reporter: eriktorbjorn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: | Game: Indiana Jones 3
-------------------------+------------------------------
Description changed by eriktorbjorn:
Old description:
> 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. 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.
>
> By the way, does the original sync the series score with the episode
> score afterwards, or does it just clear everything? I need to check
> later.
New description:
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.
By the way, does the original sync the series score with the episode score
afterwards, or does it just clear everything? I need to check later.
--
--
Ticket URL: <https://bugs.scummvm.org/ticket/15129#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list