496 Commits
Author SHA1 Message Date
sluicebox 5634cf9b27 SCI: Consolidate Narrator:startText workarounds 2026-04-30 15:47:02 -07:00
Hubert Maier beda547e40 JANITORIAL: SCI: Fix typos 2024-12-25 18:00:32 +02:00
sluicebox 259099c412 SCI: Apply SCI1.1 control panel workaround to all games
Fixes uninit temp error on all SCI1.1 games, PQ4
2024-07-17 18:27:36 -07:00
sluicebox bc46925636 SCI: Add support for KQ5 FM-Towns save/restore UI 2024-07-11 22:28:17 -07:00
sluicebox 03b41d6045 SCI: Apply Bridge workaround to HOYLE4, HOYLE5-Mac 2024-07-11 22:28:16 -07:00
sluicebox 7690377cad SCI: Remove invalid PQ2 workaround 2024-06-26 17:51:15 -07:00
sluicebox 039069e803 SCI: Replace ECO2 workaround with script patch
The workaround fixed the crash in the first scene, but the underlying
script bug still corrupted global variables
2024-06-19 16:31:36 -06:00
sluicebox 283a9022bd SCI: Fix HOYLE4/HOYLE5 Hearts strategy
Replaces uninit-variable workarounds with script patches.

The workarounds hard-coded a utility function in Hearts to always
return the first player's hand. The workarounds also used bytecode
signatures that only matched some game versions.

Now the correct Hearts hand is returned and all versions are fixed.
2024-06-14 16:43:22 -06:00
sluicebox b4a2c8d512 SCI: Add Betrayed Alliance uninit variable workaround
Ticket #15141
2024-05-27 19:54:13 -06:00
sluicebox 076ea03926 SCI: Fix KQ6 message when clicking on horse in castle
Fixes an inaccessible message due to the wrong verb

Thanks to @StuntmanSnake for discovering this
2024-05-21 16:26:01 -07:00
sluicebox 595d70889a SCI: Add Betrayed Alliance Book 2 Demo detection and workarounds 2024-04-14 12:02:58 -07:00
sluicebox 9e089d5093 SCI: Add SCI Tetris detection and workarounds 2024-04-14 10:03:11 -07:00
sluicebox d80e830156 SCI: Fix SQ5 message talker when looking at Cliffy
Thanks to @CommanderProton for finding this!
2024-02-17 20:47:42 -05:00
sluicebox 5a12df7b4b SCI32: Fix LIGHTHOUSE uninit variable read on VMD playback
Fixes bug #14924
2024-02-05 22:33:26 -08:00
sluicebox c241f21baa SCI: Reduce scope of variables 2023-11-03 15:12:40 -07:00
Ralph Caraveo eeddc6fce2 SCI: Fix crash in Island of Dr. Brain microscope puzzle - bug 14546
When clicking "buy clue" in the microscope puzzle, the game could crash with a division by zero in
cartesian:buyClue, depending on the initialization of the puzzle itself. Because the initialization is
random and non-deterministic, this crash would only occur very rarely
2023-09-30 12:41:28 +03:00
sluicebox d2b85bf473 SCI32: Update HOYLE5 Solitaire workarounds for Mac 2023-09-17 15:34:21 -07:00
sluicebox c3f6ccfdca SCI32: Add fixes for early SQ6 demos 2023-07-18 11:48:26 -07:00
sluicebox 811033288e SCI32: Add compatibility with GK1 CD Italian fan translation
Fixes errors when displaying text and using the Walkman.
2023-05-24 13:49:50 -07:00
sluicebox 67dd46c397 SCI: Fix LB2 debugger dialog 2023-04-08 15:41:24 -07:00
sluicebox ea2244dd84 SCI: Add detection and workaround for SQ1 Demo variant
Thanks to @einstein95 for finding this
2023-03-26 15:21:30 -07:00
sluicebox ad9305e10f SCI: Add workarounds for original save/restore dialogs 2023-01-25 18:25:00 -08:00
sluicebox 76044dc51a SCI: Fix CNICK_LONGBOW uninit read workaround
This uninitialized variable read wasn't being detected until the
variable layout was fixed in: 30fad94e9a
2022-12-21 12:26:51 -08:00
sluicebox aaebd2aa85 SCI: Fix some comments 2022-11-12 19:33:37 -08:00
sluicebox b5b94a03da SCI: Convert LB2 German fix to message workaround 2022-11-08 16:37:18 -08:00
sluicebox ddf7b7da14 SCI: Add KQ6 Mac workaround for long About message 2022-11-08 16:37:18 -08:00
sluicebox d2d46b67c5 SCI: Fix KQ5 bandit music fade workaround
The existing workaround prevented a crash but it performed volume tests
on an object's offset and abruptly ended the bandit music instead of
fading it out as in the original.

The broken kDoSoundFade call is redundant because a second script calls
kDoSoundFade correctly at the same time. Now the broken call is ignored
and the music fades out normally.

Bug #5078
2022-07-30 16:39:24 -04:00
Donovan Watteau 27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
sluicebox 0eac3efe70 SCI32: Add LSL6HIRES kResCheck Wave/Audio handling
Adds missing fallback behavior that appeared in at least LSL6-Hires.
Removes a workaround that only addressed a symptom of this bug;
the buggy scripts only execute when a correct call to kResCheck fails.

- Clicking four times on lobby sign no longer crashes
- Sound effect now plays when quitting during end credits

Fixes bug #13549
2022-06-06 17:32:50 -04:00
sluicebox f45a5eff90 SCI: Fix QFG3 ring rope uninit read with script patch
Restores original behavior. The workaround caused the player to
always win and receive points even if they lost.
2022-05-24 16:57:45 -04:00
sluicebox b3a77a79a9 SCI: Add QFG3 workaround for casting open on wall 2022-05-24 16:57:45 -04:00
sluicebox c4a95fad5c SCI: Remove duplicate QFG3 uninit read workaround 2022-05-24 16:57:45 -04:00
sluicebox b74b93ad46 SCI32: Fix LSL6HIRES inventory background color
Fixes bug #13497
2022-05-22 17:11:26 -04:00
sluicebox 2c94bc32ba SCI: Fix LSL5 Mac password prompt 2022-04-17 21:14:10 -04:00
sluicebox 6abbb67bf8 SCI: Update QFG3 menu workaround to handle Quit
Fixes bug #13161
2022-01-10 16:16:00 -05:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 940c7bfc14 SCI: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
sluicebox 3e877ab1d8 SCI: Update QFG3 uninit read workaround 2021-10-29 12:20:22 -05:00
sluicebox b67cfc203d SCI32: Add QFG4 uninit param read workaround 2021-10-29 03:51:31 -05:00
sluicebox ab20c9bee2 SCI: Add uninit read workarounds for QFG3, QFG4
Fixes bugs #13045, #13046
2021-10-28 18:23:47 -05:00
sluicebox 1db2211de3 SCI: Add LAURABOW2 workaround for uninit read in museum
Prevents a warning that frequently occurs during most of the game
as actors walk around the museum.
2021-10-15 21:34:21 -05:00
sluicebox 3ad5a82760 SCI: Apply workarounds to Mac games without object names
Restore object names in QFG1VGA workarounds that were removed to
accommodate the Mac version. Instead, don't match object names
on games that are known to not have them, since there are several.

Fixes workarounds not being applied to HOYLE4 Mac and LSL6 Mac.
2021-10-15 21:34:21 -05:00
sluicebox 17917f3613 SCI: Add QFG1VGA Mac workaround for Brigands 2021-09-09 12:39:17 -05:00
sluicebox 4be3f914b2 SCI: Replace QFG1VGA fetch workaround with script patch
Spell animation now travels towards the intended plant as in the
original, and also fixes Mac version
2021-09-09 12:39:17 -05:00
sluicebox 412cd4ca4e SCI: Add MOTHERGOOSE256 workarounds for restarting 2021-09-08 17:02:36 -05:00
sluicebox e5951416d4 SCI: Improve MOTHERGOOSE256 save-id workaround
The existing workarounds for this game's unique way of handling saves
assumed that the player restored a game at some point before the end.
Starting a new game and playing to the end would still cause an error
in the SCI1.1 floppy version because the game's save global would
contain an SCI id instead of our virtual id; we were only patching the
global when restoring.

Now we also patch the global on kSaveGame so that it always contains a
virtual id when there is a saved game.

Note that the existing uninitialized read workaround had no effect since
the read occurred in a local procedure but the workaround entry didn't
include a local procedure signature. Updating that workaround wouldn't
fix this; there would still be scenarios where the wrong save would be
auto-deleted.

Fixes bug #5294
2021-09-08 17:02:36 -05:00
sluicebox e8c2671de8 SCI: Improve ECOQUEST2 Ecorder script patches
Simplifies the patches and restores original timing
2021-07-29 21:19:04 -05:00
sluicebox 15fb671cd1 SCI32: Add more KQ7 workarounds for Malicia's house
Big thanks to sixsevsairis for discovering this
2021-07-29 19:47:53 -05:00
sluicebox 11fec236a2 SCI: Make KQ6 'Tickets, only' script patch a workaround
In addition to simplifying, this fixes the message in Spanish and
Italian versions. The CD patch signature matched these floppy versions
too and altered their correct messages.
2021-04-26 22:50:10 -07:00
sluicebox d52539435b SCI: Add PEPPER workaround for uninit read 2021-03-20 13:37:37 -07:00