[Scummvm-tracker] [ScummVM :: Bugs] #15149: PINK: Hokus Pokus Pink game crashes right after the girl turns into a mermaid
ScummVM :: Bugs
trac at scummvm.org
Fri Jun 7 08:51:09 UTC 2024
#15149: PINK: Hokus Pokus Pink game crashes right after the girl turns into a
mermaid
-----------------------+---------------------------------------------
Reporter: Grimfangs | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Pink
Version: | Resolution:
Keywords: crash,font | Game: Pink Panther: Hokus Pokus Pink
-----------------------+---------------------------------------------
Comment (by antoniou79):
At the point of the crash:
- A cutscene has finished and the script requires loading a new module
("Module2") and a new page ("HouseCut").
- There is no such page in Module2 and so ScummVM crashes.
- With a crude fix, if in this case, we set the page to be the first page
in the module (as we do when the page name is an empty string), the scene
sort of works, but you get a full scene animated transition and Pink
Panther enters the room from the right. This is different from what
happens in the original (no scene transition, Pink stays in place).
- I also experimented with a hack monstrosity, whereby I wouldn't allow a
module switch if the page in the new next module did not exist, but switch
to that next module in the first future page transition (to a page that
exists in the new module). Which seemed to work (no scene transition, Pink
stays in place) up to the point where Pink tries to then use the black
hole in the room. That would lead to a crash. (I may have botched the
module queue I quickly hacked though, who knows).
I have only marginally worked on the PINK ScummVM engine to fix a few
reported issues, but I cannot tell if in this case this is a script
mechanic that the ScummVM engine does not implement as the original, or if
this had some specific hack or a patch (eg. it did not work in the
original version but worked in a subsequent/patched or re-release one) in
the original that ScummVM does not implement.
Someone more experienced on the engine should probably implement the fix
for this.
I hope the above info helps.
--
Ticket URL: <https://bugs.scummvm.org/ticket/15149#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list