Skip to content

CRUISE: Add text-to-speech (TTS)#6710

Merged
sev- merged 1 commit intoscummvm:masterfrom
ellm135:cruise-tts
Jun 19, 2025
Merged

CRUISE: Add text-to-speech (TTS)#6710
sev- merged 1 commit intoscummvm:masterfrom
ellm135:cruise-tts

Conversation

@ellm135
Copy link
Contributor

@ellm135 ellm135 commented Jun 12, 2025

Adds a toggle for text-to-speech to the game options.
Adds text-to-speech for the following:

  • Copy protection screen
  • Credits
  • Menus
  • Dialog
  • Command information
  • Cutscene text
  • Map locations

@OMGPizzaGuy OMGPizzaGuy added the GSoC Part of a Google Summer of Code project label Jun 12, 2025
@sev-
Copy link
Member

sev- commented Jun 19, 2025

Thank you!

@sev- sev- merged commit cef1dd6 into scummvm:master Jun 19, 2025
8 checks passed
@criezy
Copy link
Member

criezy commented Jun 19, 2025

I did a bit of testing and there are several issues that need to be fixed:

  • I am not sure you need to voice the "Delphine Software Cinematique" at the start, but if you want to do it you should switch the TTS to English. Because otherwise, at least in French, it sounds weird.
  • The timing for the text on the protection screen is strange. Initially it only says "Protection". Then you need to go on the OK button to get the first block of text. Then move away from the OK button and back on it to get the rest of the text. And move away and back to get "OK", which you get three times! See video
cruise.mov
  • The encoding is not correct. For example with the French version the text on the protection screen should be

Placez la flèche de la roue sur le chiffre qui vous sera indiqué.
Sélectionnez les objets appartenant à la case dont la lettre vous sera indiquée.
Il vous faudra répondre correctement aux deux tests demandés par l'ordinateur.
Exemple: Si l'ordinateur demande A1, sélectionnez les figures...

And instead what is spoken is

Placez la flÞche de la roue sur le chiffre qui vous sera indiquÚ.
SÚlectionnez les objets appartenant Ó la case dont la lettre vous sera indiquÚe.
Il vous faudra rÚpondre correctement aux deux tests demandÚs par l'ordinateur.
Exemple: Si l'ordinateur demande A1, sÚlectionnez les figures...

So:

  • é -> Ú
  • è -> Þ
  • à -> Ó
    Other accentuated characters are probably incorrect as well but I would need to play more to get them.

@criezy
Copy link
Member

criezy commented Jun 19, 2025

é -> Ú
è -> Þ
à -> Ó
Based on those it looks like the game is using ISO 8859-1 (latin1) encoding.

CP 850 (currently assumed):
image

ISO 8859-1
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GSoC Part of a Google Summer of Code project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants