Commit Graph
137148 Commits
Author SHA1 Message Date
Donovan Watteau 8e3c344cb5 SCUMM: Work around some silent lines in the spitting contest of MI2 Talkie
The crowd has some reaction lines while Guybrush plays the spitting
contest on Booty Island, but some of them are missing an audio sample
in the current version of the Monkey Island 2 Ultimate Talkie builder.
Neither the script nor the MONSTER.SOU file appear to have it,
although the voiced clips are there in the original 000001e1,
00000661, 00000caf, 000001e8, 0000066c and 00000cba.wav files.
The crowd would then remain silent for these particular lines.

Let's just drop them if we detect them without any associated audio
resource, since the crowd has already a lot of other reaction lines
which play fine.  This is written with as much care as possible for any
future update or fan-made translation which would change this.

If you've muted the speech or if you're playing in keep-original-text
mode we can keep them as-is, though.
2022-08-20 00:03:37 +03:00
Donovan Watteau 8a73f5d496 CONFIGURE: Enable SCUMM_NEED_ALIGNMENT when using --enable-ubsan
-fsanitize=undefined implies -fsanitize=alignment, so we need to define
SCUMM_NEED_ALIGNMENT for UBSan builds, otherwise many false positives
will be reported, such as for engines/scumm/smush/codec47.cpp.

That's also a good way of having more tests for the SCUMM_NEED_ALIGNMENT
code paths during development :)
2022-08-19 23:59:57 +03:00
sluicebox 908a13998c SCI: Fix previous LB2 CD script patch 2022-08-19 16:45:43 -04:00
antoniou79 9a78bc339c BLADERUNNER: Get rid of -Wcast-align warning 2022-08-19 20:06:03 +03:00
Dominik Kreutzer f9f864c959 SCUMM: DiMUSE: Fix unaligned map access
The map in IMuseDigiDispatch can contain unaligned blocks if it
contains a TEXT block with a length not divisible by four. This causes
unaligned memory accesses in a few places.

This commit fixes the issue by ensuring only aligned pointers are typed
as `int32 *` while unaligned pointers are typed as `uint8 *` and are
only accessed through helper functions.
2022-08-19 16:59:23 +02:00
ScummVM-Translations 3ea47e344d I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-08-19 12:46:07 +00:00
Eugene Sandulenko a99b0aa952 SCUMM: Fix non-ASCII string constant 2022-08-19 14:45:38 +02:00
ScummVM-Translations 2d7bcad31b I18N: Update translations templates 2022-08-19 11:20:51 +00:00
athrxx f1c5276bef SCUMM: (v1/v2/FR) - add original pause/restart/quit strings
I have added the French strings provided by dwa and made
a little decoder that transfers the character to cp850 if
needed.
This way we can support both original pause/restart/quit
dialogs and the ones that we currently have.
2022-08-19 13:19:22 +02:00
ScummVM-Translations f8550ea28d I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-08-19 11:12:56 +00:00
sluicebox d1cf428dec SCI: Fix LB2 CD Wolf and O'Riley actor loops 2022-08-19 07:12:29 -04:00
sluicebox 78a6a93faf SCI: Fix LB2 error when clicking dagger case 2022-08-19 07:12:29 -04:00
sluicebox 9ccadff907 SCI: Fix LB2 museum music script bugs 2022-08-19 07:12:28 -04:00
sluicebox 987354c5fa SCI: Fix kDoSoundFade SCI1+ behavior when sound not playing
In SCI1 and later, kDoSoundFade does not test a sound's status.
Incoming fade properties are applied regardless of whether the
sound is playing and kDoSoundFade does not set the signal.

The code that's been doing this was added and updated in 2010
for ICEMAN and LSL3. Now it's only applied to SCI0 calls.
e41874c91d
f743468ec7

Verified in QFG2 1.000, JONES CD, and LB2 CD.

Fixes scenes in LB2 where multiple songs occasionally play at the
same time due to broken fade-outs. Hiding behind the tapestry
during a meeting is the one that occurred the most consistently.
Related to bug #6462
2022-08-19 07:12:28 -04:00
sluicebox db7699c65a SCI: Set correct SCI1.1 fade-complete signal value
As the comment says, the signal value is 0x00fe.

Verified in LB2 CD interpreter.
2022-08-19 07:12:27 -04:00
sluicebox 12576e29fb SCI: Add name filtering to functions debug command 2022-08-19 07:12:27 -04:00
ScummVM-Translations 6b3a60c137 I18N: Update translations templates 2022-08-19 05:20:29 +00:00
eientei 7bbd857ae1 MTROPOLIS: Add detection for Muppet Treasure Island (EN from JeffCharizardFlame, IT, ES (MX), EN demo) 2022-08-19 01:20:15 -04:00
ScummVM-Translations b08a81d1e5 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-08-18 21:06:34 +00:00
Martin Gerhardy 595e2c2b25 NEWS: fixed error in sentence and updated german translation 2022-08-18 23:06:13 +02:00
ScummVM-Translations 5098cbf6ae I18N: Update translations templates 2022-08-18 18:35:58 +00:00
athrxx 2fe65d95ef SCUMM: limit render modes to suitable targets
While we already tried to prevent invalid render mode
selections there were still some possible misconfigurations.
I have no idea why on earth people do things like select
CGA mode on Mac or Amiga, but it happens...
2022-08-18 20:35:38 +02:00
athrxx 2124de037e SCUMM: fix savename encodings
I used kISO8859_1 which works fine most of the
time, but it is still not correct. Now, we just call
getDialogCodePage(), so we get the code page
that matches the current game font...
2022-08-18 20:35:21 +02:00
Lothar Serra Mari b8b3a1f8ad NEWS: Update German NEWS file 2022-08-18 18:59:17 +02:00
Martin Gerhardy aae9f5e770 NEWS: added recent twine fixes 2022-08-18 17:22:04 +02:00
Martin Gerhardy aaf47ea195 TWINE: Items/pickups start flashing the moment they pop out. 2022-08-18 17:08:43 +02:00
Martin Gerhardy d1be8e523e TWINE: todo comment 2022-08-18 17:08:43 +02:00
Martin Gerhardy 26cce38137 TWINE: extract to local variables 2022-08-18 17:08:43 +02:00
Martin Gerhardy 5dddc23714 TWINE: fixed giving kashes as replacements where it should have been life points 2022-08-18 17:08:43 +02:00
Martin Gerhardy c39ea9499b TWINE: depth sorting issue for doors
https://bugs.scummvm.org/ticket/12085
2022-08-18 17:08:43 +02:00
ScummVM-Translations cde9156ca5 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-08-18 07:38:54 +00:00
Martin Gerhardy 4f03586d8b TWINE: music pauses when entering the behaviour mode menu
so it also pauses when hitting F1-F2

https://bugs.scummvm.org/ticket/13679
2022-08-17 20:50:39 +02:00
ScummVM-Translations 00def74bf1 I18N: Update translations templates 2022-08-18 00:35:43 +00:00
athrxx c6e8f6494b SCUMM: (v1-3) - improve pause/restart/quit string handling
The recent PR 4204 made me aware of some things I had kind of tried to ignore when I updated these dialogs for CJK font support.

Currently, the language for the pause/restart/quit messages is tied to the GUI/launcher language and the translation manager is used to translate the. E. g., if you start the French version of MM or ZAK and have a launcher language setting of English, you will get the English pause/restart/quit messages. If you set the launcher language to French you will get it the French ones. Also, the encodings from the translation manager aren't compatible with the game string encodings (mostly solved by PR 4204, though).

This commit now gets rid of any translation manager use here. Instead, we tie the translations for these messages to the game language.

I have included all strings for the v1/v2 language variants I found in the detection table.

I am interested in having the exact original messages here. However, I have only inserted them from the English interpreters, since those are all I have. For the other languages, for the time being, I have just used the texts from the translation manager and reencoded those with codepage 850. So, if anyone has access to an original v1/v2 interpreter in French, Italian, German, Spanish, Russian or Swedish, he/she might want to extract and replace the strings here with the correct ones...
2022-08-18 02:17:42 +02:00
Donovan Watteau b4190688fb NEWS: Mention Western European rendering improvements in SCUMM UI dialogs 2022-08-18 02:15:20 +02:00
Donovan Watteau 27f2307b8a SCUMM: Work around a small glitch with Largo's door in Monkey2
If one closes the door just before using the pins with the voodoo doll
in front of Largo, the middle of the door will glitch when Largo opens
it again to escape from his room.

It looks like script 13-200 forgot to clean the part of the door which
deals with the (invisible) laundry claim ticket, in this case. But
script 13-213 triggers the same action without any problem, since this
one properly updates the class and state of this object; so let's just
reuse its `setState(111,2)` and `setClass(111,[160])` calls.
2022-08-17 23:15:04 +03:00
eientei d47127aa90 SCUMM: Simplify bug #4556 workaround; comment fixes 2022-08-17 21:47:29 +02:00
Donovan Watteau 9e01a7dd21 SCUMM: Use CP850 (or Windows-1252) in dialogs for some European languages
Not 100% correct, since LEC used an incomplete, tweaked and variable
internal code page that's just based on CP850, but it should still be
an improvement.
2022-08-17 19:04:04 +02:00
ScummVM-Translations 55b12fd895 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-08-17 12:55:59 +00:00
Donovan Watteau 484c0589f7 SCUMM: Add more inline details about the Trac#1266 workaround
Details taken from the Trac issue itself; I don't have this version.
2022-08-17 14:54:27 +02:00
ScummVM-Translations 777b1cbc5e I18N: Update translations templates 2022-08-17 05:54:55 +00:00
eientei c10cac531e SCI: Add detection for QFG2 v1.105 (5x5.25") 2022-08-17 01:54:44 -04:00
ScummVM-Translations ee59faa540 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-08-17 00:43:45 +00:00
Misty De Meo 43d96157e5 DIRECTOR: unify getResource behaviour 2022-08-16 17:43:33 -07:00
ScummVM-Translations 51ac56ea9d I18N: Update translations templates 2022-08-16 21:18:11 +00:00
Misty De Meo c3af8f0a7f GUI: workaround for "unsupported game" dialogue
This sendCommand() call interrupts the "this game is unsupported" call,
causing it to automatically cancel.

Fixes a bug introduced by 8cda1fe870.
2022-08-16 22:17:59 +01:00
Timo Mikkolainen 18113a0b6c I18N: Update translation (Finnish)
Currently translated at 100.0% (1777 of 1777 strings)
2022-08-16 20:14:49 +00:00
Shahar Ariel 8b09704245 SWORD2: Add Hebrew support 2022-08-16 12:57:02 +03:00
Eugene Sandulenko 623f08d98a I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1777 of 1777 strings)
2022-08-16 03:37:30 +00:00
athrxx 221f9c955f SCUMM: cleanup b4185bdf
Extend change to the versions to which it applies and update comment.
2022-08-15 23:11:54 +02:00