Commit Graph
763 Commits
Author SHA1 Message Date
sluicebox b9df07b465 SCI: Fix LB2 Act 5 mummy coffin lockup 2022-12-02 16:11:33 -08:00
sluicebox 4d6c2f474e SCI: Fix LB2 CD museum actors facing wrong direction 2022-12-02 16:11:32 -08:00
sluicebox bf47637280 SCI: Remove KQ6 black widow script patch
The VM discrepancy that caused these buggy scripts to behave
differently has been fixed, so this patch is no longer needed
2022-11-30 23:13:00 +02:00
sluicebox ea86295e3e SCI: Update QFG3 Woo dialog script patch
Simplifies the patch and updates the description
2022-11-29 18:35:45 -08:00
sluicebox 33c6fe1131 SCI: Fix KQ6 black widow lockup with script patch
Recent fixes to the sound fading code have exposed this bug again.
It was first fixed 12 years ago, and then again 10 years ago.

Both times, the bug was fixed by changing kDoSoundFade behavior.
But those changes added behavior that was different from SSCI, and
those differences caused problems in LB2. kDoSoundFade is now
accurate, and so the bug has returned, but it was never a sound bug.

The black widow lockup is due to a script bug that accidentally relies
on undefined values from non-existent parameters. ScummVM produces
different undefined values than SSCI in certain situations, and this
is one of them. The undefined values are then passed to kDoSoundFade
as real values in a correct kernel call.

Now this is fixed with a script patch that removes all five broken
Sound:fade calls. They were redundant because they attempted to fade in
to the same volume they had just set.

Perhaps we can replicate SSCI's undefined behavior someday, but in
the meantime this bug is fixed.

Fixes bugs #5625 #5653 #6120 #6210 #6252 #13944
2022-11-25 16:36:19 -08:00
sluicebox ff9e03c4bd SCI: Convert LSL5 stopGroop workaround to script path 2022-11-17 15:45:17 -08:00
sluicebox 2d98fda2df SCI: Fix KQ6 Mac About dialog lockups
Fixes script bugs in the original that caused buttons such as
"Tips for playing King's Quest VI" to always lock up the game
2022-11-08 16:37:17 -08:00
Hubert Maier 1158b00dad SCI: Correct spelling mistakes
accomodate -> accommodate
firey -> fiery
2022-11-01 23:46:28 +01:00
sluicebox b7dc7f39d1 SCI: Fix typos in script patch comments 2022-10-14 12:40:39 -05:00
sluicebox e50833c400 SCI32: Fix LIGHTHOUSE script patch comment 2022-10-13 19:12:41 -05:00
sluicebox 7f0f63670b SCI32: Fix LIGHTHOUSE animation speed when opening safe
Fixes bug #10226
2022-10-13 19:01:09 -05:00
sluicebox 26d4a53d56 SCI32: Fix LIGHTHOUSE missing birds in tower roost
Fixes bug #10265
2022-10-13 19:01:09 -05:00
sluicebox 73da3458ba SCI32: Fix QFG4 scripts that consume extra projectiles
Fixes bug #13823
2022-09-13 22:17:33 -08:00
sluicebox 9bbdec165c SCI: Fix QFG3 Laibon Teller options
This is a follow-up to the script patches for the dead-end event
bugs in the Laibon's hut: 6e743a97ef

Those patches had the unintended side effect of allowing two dialogue
options during an event where they shouldn't be available. Now their
logic is updated to match the other patches so that they only appear
during their intended event.

Fixes bug #13748
2022-09-01 09:44:05 -08:00
sluicebox 0fd8ec67d5 SCI: Disable volume reset on fan games
Also, add a patch for another variant of the volume slider bug in fan games.

Fixes bug #13795
2022-08-25 13:06:05 -07:00
sluicebox 908a13998c SCI: Fix previous LB2 CD script patch 2022-08-19 16:45:43 -04: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 4cffc809b2 SCI: Fix "You wins" message in PQ1 poker 2022-08-12 00:33:19 -04:00
sluicebox ec6d350ba6 SCI: Fix LB2 CD interrupted introduction music 2022-08-12 00:33:19 -04:00
sluicebox adb211613f SCI: Fix SQ5 WD40 missing messages 2022-07-30 16:39:26 -04:00
sluicebox b267706b8d SCI: Fix SQ5 WD40 tunnel entrance lockup
Fixes bug #9988
2022-07-30 16:39:26 -04:00
sluicebox 6a3fb9b5f8 SCI: Fix LONGBOW hedge maze music
Fixes bug #13674
2022-07-30 16:39:25 -04:00
sluicebox 50fec97f8a SCI32: Fix LSL6HIRES phone crash
Fixes bug #13554
2022-06-08 09:03:39 -04:00
sluicebox 9558095053 SCI: Remove trailing array commas 2022-06-06 17:55:50 -04:00
sluicebox a100e03663 SCI: Fix SQ4 Skate-O-Rama chase timing
- Skate-O-Rama (CD version) can now be completed at all game speeds.
- Removed the extra speed throttling on Skate-O-Rama. Floppy doesn't
  have the timing bugs and now both versions run at normal speeds.
- Fixed the coordinate bug that made the west exit impossible at
  certain game speeds.

Bugs #5514 and #11038
2022-06-06 17:30:47 -04:00
sluicebox ea48986006 SCI: Disable speed tests with script patches
Disables SCI16 speed tests with generic script patches.

- All games now pass their speed tests, and consistently.
- Handles games/versions that the benchmarking heuristic misses.
- Fixes bug #13529 (speed test overflow on fast CPUs) on all games.
- Replaces most game-specific patches.

I've left the benchmarking heuristic so that any game or version that
still needs patching will still be handled with unthrottling.
2022-06-06 17:20:58 -04:00
sluicebox 3c3ed549f1 SCI: Disable JONES speed test
Fixes bug #13529
2022-06-03 12:00:58 -04:00
sluicebox dffe39a91c SCI: Disable LSL2 speed test 2022-05-28 03:49:45 -04:00
sluicebox 5b3adb4407 SCI: Fix some script patch typos 2022-05-27 02:38:47 -04:00
sluicebox 1c2e1bc54f SCI32: Fix LSL6HIRES delay when guard presses button
Fixes bug #13501
2022-05-27 02:07:37 -04:00
sluicebox 6e743a97ef SCI: Fix QFG3 event bugs at the Laibon's hut
Fixes some well known deadend bugs in the original game:
- Not being able to give the Laibon the horn
- Not being able to enter the Laibon's hut

Bug #11425
2022-05-24 17:05:27 -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
Filippos Karapetis 34007cb7c2 SCI: Clean up script patches for Hoyle Bridge and Children's Collection
For Hoyle Bridge, we jump directly to the Bridge screen, and it's not
possible to go back to the game selection screen, so we don't need
patches for that version.
For Children's Collection, we now use enablePatch(), which results in
cleaner code.
2022-05-22 19:37:51 +03:00
sluicebox 5e03f7a688 SCI: Fix LONGBOW Amiga when saving peasant woman 2022-05-14 19:57:37 -04:00
sluicebox 0d16892c1d SCI32: Fix GK2 lockups when music volume is turned off
Fixes a bug in the original that locks up many scenes and room
transitions if the music volume slider is lowered all the way
2022-05-12 14:59:53 -04:00
sluicebox 5fa0168e88 SCI32: Fix KQ7 wooden nickel hotspot in Faux Shop 2022-05-09 12:31:04 -04:00
sluicebox 2029c31e2b SCI: Fix QFG3 dropped events during vendor barter
Fixes bug #11422

Thanks to @lwcorp for reporting this
2022-04-27 01:33:19 -04:00
sluicebox 37b90c0ca4 SCI: Fix FPFP Mac easter egg view placement 2022-04-16 13:29:59 -04:00
Filippos Karapetis ec16ebbf96 Revert "SCUMM: Refactor the workaround for the broken sample in Indy4"
This reverts commit c59df76164.
2022-04-16 14:25:51 +03:00
Filippos Karapetis c59df76164 SCUMM: Refactor the workaround for the broken sample in Indy4
This makes the workaround code more self-contained
2022-04-16 14:23:02 +03:00
sluicebox 2c912be553 SCI32: Fix RAMA Demo crash when clicking on controls
Fixes bug #10344
2022-04-09 22:42:56 -04:00
sluicebox 4035e20b11 SCI: Fix SQ3 navigation message not displaying
Fixes bug #13114
2022-04-08 22:57:29 -04:00
sluicebox 437c80e382 SCI: Add delay between LSL2 lottery ticket messages
Thanks to @eriktorbjorn for noticing this
2022-04-08 22:56:39 -04:00
sluicebox 6abb9c6061 SCI: kScummVMSleep is now available in SCI16 2022-04-08 22:42:04 -04:00
sluicebox 0d4771c838 SCI32: Fix LSL6 oil lamp lockup when missing PATCHES
Bug #10484
2022-03-29 09:31:40 -04:00
sluicebox 9afafb700c SCI: Fix SQ4 CD speed throttle in laser hallway
Thanks to AdmiralJay for reporting this!
2022-03-20 17:08:38 -04:00
sluicebox 3ac7b9c67c SCI: Fix SQ4 CD laser beam messages 2022-03-18 20:25:33 -04:00
sluicebox 45c5cf6639 SCI: Fix KQ5 PC-98 Japanese bandit's campfire 2022-03-12 16:45:01 -05:00