[Scummvm-tracker] [ScummVM] #7122: SCI: Hoyle3 Amiga - kGetFarText Crash

bluegr trac at scummvm.org
Wed Aug 23 00:38:26 CEST 2017


#7122: SCI: Hoyle3 Amiga - kGetFarText Crash
--------------------------------------+-------------------------
  Reporter:  OmerMor                  |      Owner:  (none)
      Type:  defect                   |     Status:  new
  Priority:  normal                   |  Component:  Engine: SCI
Resolution:                           |   Keywords:
      Game:  Hoyle's Book of Games 3  |
--------------------------------------+-------------------------

Comment (by bluegr):

 The Amiga version of Hoyle 3 is... strange. Texts are stored as either
 text, font or palette types. Seems like the resource type bits are used as
 part of the resource numbers. I haven't found a reliable way of loading
 these correctly as text in the resource manager, so the least invasive way
 of loading them properly, that I could think of, is in
 Kernel::lookupText()

 I'm attaching a patch that makes Hoyle 3 Amiga fully playable, with the
 following changes:
 - Handling of game texts for this game
 - Skipping a reference to an invalid export function 0 in script 601, when
 the script is loaded (this is the script for Snakes and Ladders)
 - Enabling of the entry in the detector

 If someone can think of a cleaner way to handle these resources properly
 in the resource manager, feel free to adapt this patch accordingly :)

--
Ticket URL: <https://bugs.scummvm.org/ticket/7122#comment:4>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list