Commit Graph
474 Commits
Author SHA1 Message Date
Colin Snover e8c429832f SCI32: Automate kNumCels workaround 2016-11-02 15:43:07 -05:00
Colin Snover e704e5f3c8 SCI32: Fix crash when clicking around the arterial blockage in SQ6
Thanks @hpvb for the report.

Fixes Trac#9615. Closes #850.
2016-10-16 19:30:47 -05:00
Colin Snover abc4656cc0 SCI32: Fix workaround comment 2016-10-16 11:10:25 -05:00
Colin Snover 65d0c659ef SCI32: Fix crash clicking quit button during LSL6hires credits 2016-10-15 20:57:48 -05:00
Colin Snover 06d58c91b9 SCI32: Fix crash in LSL6hires ending
Fixes Trac#9613.
2016-10-15 19:29:00 -05:00
Willem Jan Palenstijn 3dc5431884 SCI: Add modified workaround for Simbani bridge room for GOG
The GOG version comes with a fan patch that uses rm470::name to
store a timer to rate-limit rm470::doit. This breaks the workaround
detection since that uses the name field.
2016-10-12 22:06:50 +02:00
Colin Snover 3f30e2dd06 SCI32: Fix uninitialized read when starting a new game in LSL6hires 2016-10-05 15:30:39 -05:00
Colin Snover 84978b7cab SCI32: Fix crash when trying to interrogate bartender in GK1 2016-10-01 15:26:34 -05:00
Colin Snover 2035e21667 SCI32: Add workaround for kNumCels
This workaround may be able to be vastly simplified in the future
since, so far, simply returning the number of cels in loop 0 is
enough to make all the scripts with this bug work as expected.
2016-09-29 19:39:16 -05:00
Colin Snover 07e1dc3ca5 SCI32: Fix SQ6 crash using the special button in Stooge Fighter 3 2016-09-29 19:39:16 -05:00
Colin Snover 0e53c8e9f3 SCI32: Improve MGDX support
Audio directory switching is temporarily disabled because it
causes use-after-free in the resource manager.
2016-09-29 19:39:16 -05:00
Colin Snover 2be2629a3b SCI32: Fix kFileIOOpen signature
The mode argument is required in SCI32 too; Torin just had a script
bug.
2016-09-29 19:39:16 -05:00
Colin Snover 3f91726765 SCI32: Rewrite kArray & kString
This change invalidates earlier SCI32 save games, which separated
arrays and strings in an incompatible manner. Old save games
contain invalid references to a string segment which no longer
exists, and contain incompatible array structures that lack
critical type information.
2016-09-29 19:39:16 -05:00
Colin Snover 3201440d11 SCI: Generalize code for getting information on the current call 2016-09-29 19:39:16 -05:00
Filippos Karapetis ed461fba65 SCI32: Add a workaround when starting a new game in Phantasmagoria
This workaround is needed when starting a new game from a chapter after
the first one
2016-08-25 21:56:23 +03:00
Filippos Karapetis 380902eb07 SCI32: Add workarounds for a bug in Torin, in an animation of Lycentia 2016-08-24 11:57:08 +03:00
Filippos Karapetis d15660e70d SCI32: Add a workaround for an uninitialized variable in Torin 2016-08-23 14:06:39 +03:00
Filippos Karapetis a10c18fd8b SCI32: Add a workaround for kDoSoundPlay for GK1 Mac 2016-08-22 19:57:02 +03:00
Colin Snover dc093742b3 SCI32: Bug fixes to PQ:SWAT script bugs and kList calls 2016-08-19 15:23:10 -05:00
Colin Snover 80d9182554 SCI32: Implement SCI32 cursor support 2016-08-19 13:57:40 -05:00
Martin Kiewitz 0f1fd5c955 SCI: Fix sq4 workaround room 391, fixes bug #7179
doCatalog::mode does not exist, the method is actually
doCatalog::changeState

This issue has been in there since the workaround was added
through commit 20b1d80d59
2016-08-09 23:18:39 +02:00
Colin Snover b141ececdd SCI32: Fix KQ7 uninitialized read 2016-07-24 11:36:48 -05:00
Willem Jan Palenstijn 9f2fff4f66 SCI: Remove unneeded copy 2016-07-02 21:25:53 +02:00
Colin Snover 6feec9ed72 SCI32: Add more workarounds for SCI2.1early games
These games all share the same bad system script that always sends
NULL as a second argument to kDoSound(play).
2016-06-26 12:44:35 -05:00
Willem Jan Palenstijn ceee33ba2c SCI32: Add workaround for kScrollWindowAdd call in Phantasmagoria 2016-06-21 08:14:12 -05:00
Colin Snover f939868f3a SCI32: Add kDoSound(play) workaround for LSL6hires 2016-06-20 21:52:41 -05:00
Colin Snover c231d22c28 SCI32: Fix LSL6 hires control panel script bug
The control panel initialisation script makes an invalid two-argument
call to get the width of the settings dial; this only happens to work
because the third argument on the stack was set to zero by an earlier
call.
2016-05-25 19:16:11 -05:00
Colin Snover d2c0aa004b SCI32: Add workaround for invalid temp read in Torin 2016-03-18 18:55:31 -05:00
Filippos Karapetis 8f6bbe79ab SCI: Update the game ID of a workaround that's only used in QFG4 demo 2016-03-08 20:36:03 +02:00
Filippos Karapetis 6958aa9890 SCI: Separate the demos of QFG4, PQ4 and GK1 from their full versions
The demo versions of these games were using a very different engine -
SCI1.1 vs SCI2/SCI2.1. Thus, we split them into different game IDs,
to avoid mixing specific game checks for them, as well as specific
game workarounds, which are different for the demos than the full
versions. Also, the demos should be working when SCI32 is disabled.
For these games, we don't use ADGF_DEMO, to avoid game IDs like
foodemo-demo
2016-03-08 20:36:02 +02:00
Filippos Karapetis 5125652be2 SCI32: Add a workaround for kPalVarySetPercent in GK1 (chapter change) 2016-03-02 21:43:27 +02:00
Martin Kiewitz c64652bbb6 SCI: sq4cd: extend skateorama workaround bug #6853 2015-05-18 19:38:44 +02:00
Martin Kiewitz 66a4b3c805 SCI: add qfg2 airElemental workaround - bug #6859 2015-05-05 13:36:25 +02:00
Martin Kiewitz 09014d5b96 SCI: fix bug in new workaround sig code 2015-04-21 14:42:55 +02:00
Martin Kiewitz 6777785cdf SCI: workaround sig cleanup 2 2015-04-19 20:48:23 +02:00
Martin Kiewitz d8c732c2a1 SCI: workaround sig cleanup
old and now obsolete localCallOffset removed
2015-04-19 20:46:07 +02:00
Martin Kiewitz 34260a2cdd SCI: workaround sig fanmade Ocean Battle migrated 2015-04-19 20:25:12 +02:00
Martin Kiewitz 4a9f2fb1c4 SCI: workaround sig Jones in the fast lane migrated 2015-04-19 20:05:16 +02:00
Martin Kiewitz 2043103232 SCI: workaround sig Hoyle 1 migrated 2015-04-19 19:53:29 +02:00
Martin Kiewitz 9376b9db88 SCI: workaround sig Hoyle 4 migrated 2015-04-19 19:44:10 +02:00
Martin Kiewitz d70e4ee3f1 SCI: workaround sig Space Quest 1 migrated 2015-04-19 19:24:21 +02:00
Martin Kiewitz 9e887fe184 SCI: workaround sig for fanmade games kDeviceInfo 2015-04-19 19:08:16 +02:00
Martin Kiewitz 8f5d65d0f1 SCI: workaround sig Space Quest 4 migrated 2015-04-19 18:28:54 +02:00
Martin Kiewitz b8838d9bff SCI: workaround sig Conquests of Camelot migrated 2015-04-19 17:24:27 +02:00
Martin Kiewitz 76fa1a0c6f SCI: workaround sig Conquests of Longbow migrated 2015-04-19 16:18:44 +02:00
Martin Kiewitz 062c535d1b SCI: workaround sig pq2/demo:lb+hq1 migrated
- also kDisplay cleanup, removed dummy opcodes
- workarounds should be used instead
- fixed hq1 workaround entry, it seems we are able
   to read vocabulary now
2015-04-19 15:49:43 +02:00
Martin Kiewitz 270fbf2d6a SCI: workaround sig Quest for Glory 3 migrated 2015-04-19 13:40:01 +02:00
Martin Kiewitz 629f6a4208 SCI: workaround sig Quest for Glory 1 VGA migrated 2015-04-19 13:09:10 +02:00
Martin Kiewitz bbf9c83ebf SCI: workaround sig eco quest 2 update
sig also works on french version + sig extended
2015-04-19 11:50:01 +02:00
Martin Kiewitz 4122cdc130 SCI: workaround sig Eco Quest 2 migrated 2015-04-19 11:32:52 +02:00