[Scummvm-tracker] [ScummVM :: Bugs] #13154: SCI: Police Quest 2 (PC-98) help box rendering error

ScummVM :: Bugs trac at scummvm.org
Mon Dec 13 03:14:08 UTC 2021


#13154: SCI: Police Quest 2 (PC-98) help box rendering error
-----------------------+-----------------------------
Reporter:  einstein95  |       Owner:  (none)
    Type:  defect      |      Status:  new
Priority:  normal      |   Component:  Engine: SCI
 Version:              |  Resolution:
Keywords:              |        Game:  Police Quest 2
-----------------------+-----------------------------
Comment (by sluicebox):

 Thanks darksoul42 for the (desperately needed) regional expertise!

 I see what's going wrong, and why our existing code is working in most
 places but not here.

 In 2014, support was added for \n and \r in PQ2's Japanese strings:
 8ffd8793ed1f50872c572c6886a5e9100e8312e4

 The comments explain that it's handling the newlines in a different place
 than where Sierra did, because it's cleaner. The ScummVM code handles them
 when splitting multi-language and returning the Japanese results. The
 problem is that this assumes that all code paths that display Japanese
 text use this function, but they don't. PQ2's scripts have their own
 built-in functionality for extracting the Japanese text from multi-
 language strings, and when that gets used, our code doesn't, and so the
 escaped Japanese newline characters go unhandled. The Japanese help menu
 is one of those scripts.

 Now that I know the history this all makes sense. We should have a fix in
 the near future.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13154#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list