[Scummvm-tracker] [ScummVM :: Bugs] #15514: [KQ5 CD] Issue with the audio when adding text dialogues multilingual

ScummVM :: Bugs trac at scummvm.org
Tue Nov 19 18:13:14 UTC 2024


#15514: [KQ5 CD] Issue with the audio when adding text dialogues multilingual
---------------------------+-------------------------
Reporter:  LaZar00         |      Owner:  (none)
    Type:  defect          |     Status:  new
Priority:  normal          |  Component:  Engine: SCI
 Version:                  |   Keywords:
    Game:  King's Quest 5  |
---------------------------+-------------------------
 **ScummVM Version**: any (tested with 2.0.0 (GOG version of KQ5 CD),
 2.1.0, 2.8.1)

 **Game/Language**: KQ5 CD Talkie English (GOG version)

 **OS**: PC Windows 11

 **Bug**:
 I decided open this ticket to report a strange behaviour in King's Quest V
 CD Talkie english version under ScummVM.

 This version has NOT dialogue boxes for spoken dialogue in game. I decided
 to do add them modifying the code with SCI Companion 3.0.1.7. I had
 success adding them and show the dialogues with the audio and it works
 well in ScummVM and DosBox (for one unique language).

 Ok, now here comes the issue and the reason I decided to open the ticket.

 I added the feature to show multilingual text (in my case
 English/Spanish). This feature works for example when we have a string
 like "{Hello#SHola}", and when selecting the language (lang=en or lang=es)
 scummvm should show "Hello" for english and "Hola" for spanish.

 Ok, what I have done for make this possible? I have added into Main.sc the
 properties for parseLang and printLang to 34. I have also a switch in
 "about" window for change among language 1 (english) and language 34
 (spanish).
 Using this method, this DOES NOT work in ScummVM, BUT, surprisingly, it
 WORKS in DosBox. I can change the language and I can see the texts with
 the language specified in printLang y parseLang when set in Main.sc.

 So, this is a big difference between how sci engine works in DosBox and
 how it works ScummVM (at least for this specific game).

 I think that somehow, in this game specifically [KQ5 CD Talkie english],
 the language is set by DoAudio kernel function (in scummvm). So, if we use
 another language, it looks for that audio, and as it does not exists, does
 not makes the change. But what scummvm should do is use the default
 language (english) as it does commonly with the texts.

 Do you think you could apply this to ScummVM? To make the sci engine work
 as in DosBox?

 If you have any further questions don't hesitate to ask. And sorry for my
 english, I'm not native english speaker.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15514>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list