[Scummvm-tracker] [ScummVM :: Bugs] #11082: QFG4: exporting the character requires deleting the "a:"

ScummVM :: Bugs trac at scummvm.org
Fri Sep 13 03:27:17 CEST 2019


#11082: QFG4: exporting the character requires deleting the "a:"
--------------------------------+-------------------------
  Reporter:  lwcorp             |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  normal             |  Component:  Engine: SCI
Resolution:                     |   Keywords:  export
      Game:  Quest for Glory 4  |
--------------------------------+-------------------------
Comment (by sluicebox):

 This is really exciting that someone made it to the end.

 I have a save near the end but it's easier to test this by just warping to
 room 52 to kick off the export sequence from anywhere. Poor John Rhys-
 Davies, they had him record audio for all the export I/O messages! What a
 professional.

 The "a:" is removed from the other QFG games in kDrawControl but that's
 only for SCI16. For this one we could just trim "a:shadows.sav" with a
 message workaround and keep the kernel code clean.

 The reason "qfg4-cd-a" appears to have zero bytes is that the export has
 been written to an NTFS alternate data stream. ScummvM asks Windows to
 open "qfg4-cd-a:shadows.sav" and Windows dutifully creates the file
 "qfg4-cd-a" with a stream named "shadows.sav" and then successfully writes
 the save to it. If lwcorp had a way to view that stream they'd see the
 full export there.

 So good news, exporting works, and the zero-byte file isn't a QFG4 bug. We
 should still filter colons and similar characters in the kernel, but
 that's a issue for any game that takes arbitrary filename input. Removing
 "a:" from the default text is all that's needed to bring QFG4's export in
 line with the other games.

 m-kiewitz, does that sound right to you? I can add that workaround if it
 does.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11082#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list