27 Commits

Author SHA1 Message Date
Martin Kiewitz
da45fcfeb2 SCI: add patch for cannister lockup pharkas/cd
scripts disable icon 7+8 when entering the room. When taking the cannister they will disable all remaining icons, resulting in the disable-code running endlessly, also happend in sierra sci - fixes bug #3046367

svn-id: r52587
2010-09-06 11:58:28 +00:00
Martin Kiewitz
9b59496533 SCI: adding patch for script bug in pharkas/cd
patches out bad code that would dispose score sound immediately, "score" sound plays now for pharkas/cd - finally fixes bug #3037161

svn-id: r52570
2010-09-05 20:04:46 +00:00
Filippos Karapetis
f17a9f9fb0 SCI: Changed consecutive ifs to a switch
A table would be better, but the switch will do for now

svn-id: r52543
2010-09-05 11:30:40 +00:00
Filippos Karapetis
047979b409 SCI: Fix for alignment exception issue, reported by Bluddy
svn-id: r52542
2010-09-05 11:10:49 +00:00
Martin Kiewitz
3900aa96b6 SCI: apply qfg1vga fight patch on weapon master
fixes fighting the weapon master as well...

svn-id: r52381
2010-08-25 11:28:27 +00:00
Martin Kiewitz
9ca5165606 SCI: adding pharkas patch for ladder issue
in room 320, fixes bug #3037192

svn-id: r52362
2010-08-24 22:24:25 +00:00
Martin Kiewitz
4a6553098f SCI: adding qfg1vga patch for fight issue
fixes bug #3036756

svn-id: r52361
2010-08-24 21:53:06 +00:00
Martin Kiewitz
7b8add291e SCI: multiple changes for mother goose vga
which is sci1 and sci1.1
fixes bug #3051145
- separating this mother goose from ega and sci2.1
- adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid
- adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now)
- changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later

svn-id: r52301
2010-08-23 16:33:19 +00:00
Filippos Karapetis
31c889d7ce SCI: Fixed the GM detection introduced in rev #52211 to check the first available track, instead of track 1 (which doesn't always exist, e.g. in Pharkas). Also, added a comment inside applyPatch()
svn-id: r52222
2010-08-20 09:35:20 +00:00
Martin Kiewitz
db8b322219 SCI: commenting out hoyle 4 script patch
svn-id: r52143
2010-08-17 10:26:12 +00:00
Martin Kiewitz
c284e78cc0 SCI: adding patch for eq2 / ecorder
initial title now gets removed

svn-id: r52122
2010-08-16 15:22:43 +00:00
Martin Kiewitz
df04f81466 SCI: adding bug id to sq4 patch
svn-id: r52047
2010-08-12 22:27:28 +00:00
Martin Kiewitz
4309d8c00c SCI: adding patch for sq4/floppy
fixing endless flight, is actually a script data bug - there is an additional property, which is not included in property count. It's used. We return 0 in that case, because we don't know about that property, resulting in nest::x never get changed and the scripts check that for advancing

svn-id: r52046
2010-08-12 22:25:15 +00:00
Martin Kiewitz
bb932595d8 SCI: adjusting laurabow2 patch signature
for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless

svn-id: r52040
2010-08-12 14:01:28 +00:00
Martin Kiewitz
e5a8c8c544 SCI: laurabow2 patch is lb2cd exclusive
svn-id: r52039
2010-08-12 13:52:03 +00:00
Martin Kiewitz
91cfd04438 SCI: adding patch for laurabow2
painting closing immediately
(fixed properly here, the NRS patch just nukes the whole routine)

svn-id: r52038
2010-08-12 13:45:39 +00:00
Martin Kiewitz
60b2750209 SCI: adding patch for kq5 harpy volume
fixes actual game bug #3042277 - sierra switched in that case to highest volume possible

svn-id: r51999
2010-08-11 20:39:13 +00:00
Martin Kiewitz
3b9ebd6353 SCI: adding patch for eq1cd
fixes ego swimming left/right of room 660 and getting a "message not found" error and a GE? signature mismatch - in sierra sci this also resulted in "message not found" and a hang afterwards - bug #3038387

svn-id: r51951
2010-08-10 15:18:18 +00:00
Martin Kiewitz
98effc462e SCI: changing patch message slightly
svn-id: r51949
2010-08-09 21:57:49 +00:00
Martin Kiewitz
f4f6114583 SCI: fixing signature for gk1
day6 police sleep issue

svn-id: r51948
2010-08-09 21:50:21 +00:00
Martin Kiewitz
fffec23a02 SCI: adding gk1 patch for day 5 freeze
svn-id: r51947
2010-08-09 21:43:31 +00:00
Martin Kiewitz
d88928b1be SCI: adding script patches for gk1
day6 issue in police department

svn-id: r51942
2010-08-09 18:42:07 +00:00
Martin Kiewitz
a06dcea2e5 SCI: kDisposeWindow changes
kDisposeWindow doesn't free windows immediately anymore. We free them after some calls to kSetPort, so the handle will be valid for a short time. Fixes sq4cd and hoyle 4 (commented out patching of script for hoyle 4)

svn-id: r51932
2010-08-08 18:26:40 +00:00
Martin Kiewitz
d2d22de911 SCI: removing kDoBresen hack for sq5
adding detailed comment about sq5 scrubbing issue
not 100% fixed (waltervn should look into it), but at least it works now

svn-id: r51833
2010-08-07 13:56:31 +00:00
Martin Kiewitz
1c1eff9ec5 SCI: adding sq5 scrubbing patch
(for testing only, i'm not sure if it works because i'm unable to reproduce the bug anymore)

svn-id: r51832
2010-08-07 13:40:14 +00:00
Filippos Karapetis
ab0d57d73d SCI: Some cleanup of the script patch code. Added a PATCH_MAGICDWORD define to make the patch tables easier to understand
svn-id: r51811
2010-08-06 22:51:25 +00:00
Filippos Karapetis
57fd588327 SCI: Split the new script patch code in a separate file
svn-id: r51810
2010-08-06 22:36:46 +00:00