Commit graph

157 commits

Author SHA1 Message Date
Omer Mor
aaf8cbca00 SCI: Script patch for fixing 3 missing points in QfG3
The hero is unable to tell Rakeesh and Kreesha about the Simabani
initiation, which would award him 3 points.
This is caused by a heap bug in room 285: the local array of possible
messages omits this message.
The patch fixes the bug by adding this message to the array.

Fixes bug #7086
2016-05-22 00:41:32 +03:00
Martin Kiewitz
343f1c7f8b SCI: Script patch for ending glitch in multilingual kq5
Game hangs during the magic battle during the ending.
Happened in all multilingual versions because of a script bug
(scripts were waiting for a signal, music didn't set one)
Fixes French, German and Spanish versions of KQ5
Also happened, when using the original interpreter
2016-03-08 01:29:46 +01:00
Martin Kiewitz
94a03b6a45 SCI: Make Freddy Pharkas intro scaling patch more generic
So that hopefully the signature will match for all versions
2016-02-26 00:08:02 +01:00
Martin Kiewitz
8da595366b SCI: Add script patch for Freddy Pharkas intro scaling
Fixes game title views not shown while they are scaled in.
2016-02-25 23:51:08 +01:00
Martin Kiewitz
3cf34d6417 SCI: Add script patch for qfg3 combat speed problem
Fixes bug #6247
2016-02-24 21:36:50 +01:00
Martin Kiewitz
82165bb6f6 SCI: Improve kAnimate fastcast detection, Remove EQ1 hack
- Add "kAnimate fast cast state" to "version" debug command
- Make it possible for script patcher signatures to get fully
used outside of the regular script patcher
- Remove previous fastcast detections and replace them with
a signature heuristic
- Remove object name checking, when fastcast global is set
- Heuristic detects "fast cast" support incorrectly for multilingual
KQ5, but it seems the game never sets the global, so it won't
matter. KQ5 CD (also SCI1 late) has fastcast support.
- Remove hack in GfxView::draw
- Add lots of comments to ScriptPatcher class

This fixes EcoQuest 1 Floppy showing the anemone on top of the
message box (see bug #5170)
2016-02-23 20:17:18 +01:00
Martin Kiewitz
51256ab7bb SCI: Add script patch for Laura Bow 1 easter egg
Fixes view-loop for PC version
2016-02-21 13:06:37 +01:00
Martin Kiewitz
4d5cc05eee SCI: Add script patch kq6 dual mode CD-Audio
Script patch added, so that dual mode uses the same CD-Audio
as regular Speech mode does during the ending (Girl in the Tower)
2016-02-09 14:03:34 +01:00
Martin Kiewitz
1948dce9a5 SCI: Additional info about Mother Goose patches
comments only
2016-02-09 02:22:50 +01:00
Martin Kiewitz
ce595cb92d SCI: Script patch for Mixed Up Mother Goose SCI1
+ Mother Goose SCI1.1
Fixes graphic issues when restoring from GMM
Also make the fix ups for Mixed Up Mother Goose, Jones + PQ2
get applied all the time (debugger command not included)
2016-02-09 01:28:34 +01:00
Martin Kiewitz
077aa0c23f SCI: Script patch for PQ1 stuck in briefing room
Fixes ego getting stuck when briefing is about to start.
Which is bug #5865. Also happened in original interpreter.
Quite a complicated issue, details in patch comments
2016-02-08 18:38:58 +01:00
Martin Kiewitz
806cf00061 SCI: Script patch for SQ4 getting shot while rope
Solves Space Quest 4 "getting shot while getting rope" game bug
Was an original game bug and happened in original SCI as well.
Fixes bug #6076
2016-02-08 14:45:44 +01:00
Martin Kiewitz
f0ccd3f91a SCI: sq4cd scriptpatch clothes change points #6866
script patch, so that points are awarded, when
changing back clothes. You have to clean out the
bank account again, because that's the problematic
script. Also happened in original interpreter.
Only happened for Space Quest 4 CD
worked in floppy
2015-05-18 19:15:35 +02:00
Martin Kiewitz
a6ceee0d67 SCI: qfg1vga: fix script patch sneak into castle
The original script patch only worked when speed
slider was all the way up.
2015-05-17 11:54:27 +02:00
Martin Kiewitz
fdfb7775a4 SCI: change qfg2 saurus ride script patch
the original script patch messed up room changes
2015-05-14 17:58:31 +02:00
Martin Kiewitz
cd2ead0a78 SCI: lsl5 script patch to fix game breaking bug
fixes green card phone number also calling limo
at the same time bug for the English PC 1.000
release.
2015-05-02 21:41:19 +02:00
Martin Kiewitz
53f9dac75e SCI: script patch qfg2 saurus freeze - bug #5156
getting back on saurus in the desert by typing
command "ride" freezes the game. This patch
fixes the issue.

Attention: difficult bug to fix, may cause issues
2015-04-25 22:42:20 +02:00
Martin Kiewitz
f4ce7851f8 SCI: script patch for sq4cd, walk in bug #5468
walk right up in the first room, only for SQ4 CD
2015-04-25 20:06:59 +02:00
Martin Kiewitz
817217c225 SCI: qfg1vga script patch 4 stag dagger bug #6135
fixes animation issue when throwing a dagger at
white stag in room 77
2015-04-24 18:25:58 +02:00
Martin Kiewitz
38444d6024 SCI: add signatures for workaround local-calls
instead of using hardcoded offsets, we can now
use regular script patcher signatures.

only 1 qfg3 workaround has been migrated,
 the others will follow.
2015-04-18 22:18:57 +02:00
Martin Kiewitz
8e3f537019 SCI: QfG3 fix importing QfG1 character files
character type was always imported as fighter
was never fixed by Sierra
2015-04-18 09:28:18 +02:00
Martin Kiewitz
882b1c218f SCI: patch qfg2 import bug for 1.102 and below
this patches the known character type import bug
(which made all imported characters a fighter)
2015-04-17 23:40:12 +02:00
Martin Kiewitz
cb8e40c116 SCI: QFG3 fix priority of chief in hut bug #5173
this is a script issue and also happens
in Sierra's SCI. Gets solved by script patch.
2015-04-16 01:26:23 +02:00
Martin Kiewitz
537f33d9cf SCI: script patch for qfg3 hero export bug #6807 2015-04-13 18:08:20 +02:00
Martin Kiewitz
4550e8c5ef SCI: fix script patch description 2015-03-21 00:05:22 +01:00
Martin Kiewitz
1f65284ada SCI: QFG1VGA: added script patch fixes bug #6706
fixes healer's hut buy/steal issue
effectively removes 60 tick delay from script
2015-03-20 23:58:47 +01:00
Martin Kiewitz
8463146856 SCI: SQ1VGA: added script patch for bug #6816
fixes SQ1VGA Ulence Flats force field generator
script glitch
2015-03-20 15:30:58 +01:00
Willem Jan Palenstijn
fdc09c2cb7 SCI: Add alternative version of QfG3 "Woo" dialog patch
The GOG version of QfG3 is shipped with a patch to script 440 that broke
our existing internal script patch for this script bug.

See bug #6806.
2015-02-17 19:58:24 +01:00
Michael Brown
d603fe32e4 SCI: fix definition of GK1 police-sleep patch 2015-01-11 21:14:36 +00:00
Martin Kiewitz
e0cb8f52f7 SCI: fix kq6 azure&ariel scenes in dual mode #6750
script patch
fixes bug #6750 in dual mode (audio+text)
2014-12-17 00:13:54 +01:00
Martin Kiewitz
5b42fa8196 SCI: script patch for qfg1ega (fixes bug #6407)
throwing rocks at bird's nest, running ego gets
stuck
2014-10-31 20:33:00 +01:00
Martin Kiewitz
73c02d4166 SCI: fix 2nd LB2 pterodactyl room patch
patch terminator was missing
2014-05-29 11:56:41 +02:00
Martin Kiewitz
c693b73bc8 SCI: LB2 pterodactyl room patch description fix 2014-05-29 00:10:04 +02:00
Martin Kiewitz
e70923464e SCI: LB2 patch for pterodactyl room door issue
fully fixes bug #6458 for both CD + English Floppy
old saves made after wiring the door will still have issues
2014-05-28 23:59:29 +02:00
Martin Kiewitz
6d2f0bbcd4 SCI: LB2 patch for pterodactyl room door issue
partly fixes bug #6458
2014-05-27 21:14:49 +02:00
Martin Kiewitz
7a92556aed SCI: SQ1VGA patch for spider droid timing issue
makes spider droid speed relative to movement speed setting
2014-05-26 00:53:24 +02:00
D G Turner
4598b3b2d9 SCI: Inhibit spurious GCC warnings in script patching code.
The two relevant variables upon inspection of the current code should
not be used uninitialized as per the compiler linter warning, but
removing this by adding a zero initialization is simple.
It is also good practice and should prevent future issues if the code
is modified.
2014-04-18 14:59:49 +01:00
Johannes Schickel
8fc7d60feb SCI: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Martin Kiewitz
a4bde6dade SCI: injecting "dual" view into King's Quest 6 CD
for dual mode (text+speech at the same time)
2013-12-24 23:31:17 +01:00
Martin Kiewitz
7664add3d2 SCI: readded kq6 stepmother patch for dual mode 2013-12-22 22:30:11 +01:00
Martin Kiewitz
3514f41302 SCI: LB2CD patch: remove audio mode reset code
on init/reset the game resets the audio mode to "speech", which would make it impossible to watch the intro using "dual mode"
2013-12-22 21:15:40 +01:00
Martin Kiewitz
d5331ab923 SCI: improved lb2+kq6 patches (new speech state)
adds a third button state to the game menu
this state is "dual mode" (audio+text at the same time)
currently uses the "speech" graphic
CD versions of Laura Bow 2 + King's Quest 6 will now always get patched
2013-12-22 20:46:54 +01:00
Martin Kiewitz
68567ec2b1 SCI: improved one of the kq6 audio+text patches
KQPrint windows now get closed automatically when in audio+text mode
2013-12-21 23:54:35 +01:00
Martin Kiewitz
d6dafa822a SCI: final script patcher cleanup 2013-12-20 16:05:36 +01:00
Martin Kiewitz
e31b2bb1f5 SCI: another kq6 patch for text+audio
fixes cassima textboxes during the ending
2013-12-20 14:41:26 +01:00
Martin Kiewitz
322c5530dc SCI: even more script patcher cleanup 2013-12-20 01:17:55 +01:00
Martin Kiewitz
1d77c9f0cf SCI: script patcher cleanup 2013-12-20 01:01:26 +01:00
Martin Kiewitz
a4f08654b3 SCI: kq6 script patch to fix "drink me" bottle
fixes bug #5252
2013-12-19 22:40:18 +01:00
Martin Kiewitz
edd00bec67 SCI: another kq6 patch for audio+text support
fixes dialog of man in robe complaining about mints in pawn shop
2013-12-18 19:02:35 +01:00
Martin Kiewitz
997887a368 SCI: patch SQ4 bug with throwing at sequel police
SQ4 floppy only, Sierra's official patch didn't fix it properly
2013-12-15 23:36:39 +01:00