[Scummvm-tracker] [ScummVM :: Bugs] #11174: SCI: Hoyle 5 Bridge - save hand doesn't work

ScummVM :: Bugs trac at scummvm.org
Mon Sep 30 07:12:26 CEST 2019


#11174: SCI: Hoyle 5 Bridge - save hand doesn't work
--------------------------+-------------------------
  Reporter:  misterhands  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  normal       |  Component:  Engine: SCI
Resolution:               |   Keywords:
      Game:               |
--------------------------+-------------------------
Comment (by sluicebox):

 The first problem is that Hoyle5 has a custom SRestore:doit. It takes a
 second parameter that identifies the card game. Only bridge and poker use
 save/restore. Poker isn't supported yet since it requires penguin16.dll
 which hasn't been reverse engineered.

 Bridge calls save and restore from script 700 like this:
         Save doit: "default save game" 700
         Restore doit: "default save game" 700

 Poker does the same from script 1190 and passes 1100 for the second
 parameter.

 GuestAdditions::promptSaveRestoreDefault uses the parameter count to
 differentiate between save and load calls. It treats them both as Save
 because there's always more than one parameter.

 I patched GuestAdditions::promptSaveRestoreDefault to use Restore mode to
 test if that took care of the error message, but it didn't, I also got the
 error about the file being invalid.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11174#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list