Skip to content

CRUISE: Fix TTS encoding, empty text queuing, and logo speech#6752

Merged
criezy merged 1 commit intoscummvm:masterfrom
ellm135:cruise-tts
Jun 21, 2025
Merged

CRUISE: Fix TTS encoding, empty text queuing, and logo speech#6752
criezy merged 1 commit intoscummvm:masterfrom
ellm135:cruise-tts

Conversation

@ellm135
Copy link
Contributor

@ellm135 ellm135 commented Jun 20, 2025

Fixes a few issues with TTS.

@OMGPizzaGuy OMGPizzaGuy added the GSoC Part of a Google Summer of Code project label Jun 20, 2025

if (getLanguage() == Common::RU_RUS) {
if (getLanguage() == Common::FR_FRA || getLanguage() == Common::IT_ITA) {
_ttsTextEncoding = Common::CodePage::kISO8859_1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_ttsTextEncoding = Common::CodePage::kISO8859_1;
_ttsTextEncoding = Common::CodePage::kWindows1252;

I don't know if this is actually needed, but that should do no harm. Windows-1252 is an extension of Latin1, adding a few printable characters in places where Latin1 has non-printable characters. For French that would notably be the œ missing in Latin1, but used for example in cœur (heart or core), sœur (sister), or œuf (egg), all quite common words that could be used in the game and may use that character (although they may also be spell with oe in which case both Latin1 and Windows-1252 would work).

@criezy
Copy link
Member

criezy commented Jun 21, 2025

Thank you.

@criezy criezy merged commit 90bba34 into scummvm:master Jun 21, 2025
8 checks passed
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.

3 participants