Commit Graph

1618 Commits

Author SHA1 Message Date
Cameron Cawley
e7cb7113cd MOHAWK: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Walter Agazzi
3e94df8334 MOHAWK: LB: Minor title fixes in detection 2022-11-28 19:43:13 +01:00
Donovan Watteau
af62351225 MOHAWK: Fix build 2022-11-23 13:55:20 +01:00
Eugene Sandulenko
2c53d1f62b
MOHAWK: Added new Japanese zoombini demo to detection 2022-11-23 13:23:13 +01:00
Eugene Sandulenko
a936f3783d
MOHAWK: Added existing zoombini demos to detection 2022-11-23 13:23:12 +01:00
Eugene Sandulenko
67feb18eed
MOHAWK: Added detection for orly and alientales demos 2022-11-23 13:23:12 +01:00
Eugene Sandulenko
e269f55f50
MOHAWK: Add games not yet suppoted by engine to detection and mark them as such
This effectively reverts 44fd44ccc9

We use detection for documentation purposes, to reduce time spent
on game cataloging and also indicate to the devs where they could
explore
2022-11-23 13:23:12 +01:00
Eugene Sandulenko
b6d423ea8f
MOHAWK: Added another tortoise-mac-demo. Bug #12979 2022-11-22 19:08:05 +01:00
Le Philousophe
54ec6bdea0 MOHWAK: Adapt to subtitles changes and optimize
Subtitles are now tied to VideoEntry instead of the VideoManager this
allows to load different videos while having a subtitle for each.
Screen update is done only when necessary and overlay is cleared at
specific points.
2022-11-20 17:18:38 +01:00
Cameron Cawley
2c8a7d3900 ENGINES: Remove support for GUI options in MetaEngineDetection subclasses 2022-11-16 23:58:54 +01:00
Le Philousophe
8d09103a2e MOHAWK: Show overlay as in-game 2022-11-12 19:12:05 +01:00
Ignaz Forster
0be8ad828b MOHAWK: Fix wrong language for French lilmonster 2022-11-06 03:47:22 +02:00
BLooperZ
b17b1d3250 MOHAWK: hide overlay when movie is skipped 2022-10-04 20:37:09 +03:00
BLooperZ
c809c7be13 MOHAWK: MYST: Add support for video subtitles 2022-09-28 17:10:21 +02:00
Walter Agazzi
ca4e3195a7 MOHAWK: Add detection for chinese Riven versions 2022-09-27 00:18:29 +02:00
Donovan Watteau
a516588443 JANITORIAL: MOHAWK: Fix missing word from commit 27f9a460b5
Seen by macca8.
2022-08-19 23:29:04 +02:00
eientei
5660ab5322 MOHAWK: Add detection for the Williams-Sonoma Guide to Good Cooking 2022-08-02 21:05:46 +02:00
Donovan Watteau
27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Cameron Cawley
a020300701 ENGINES: Remove use of getEngineId() in MetaEngine subclasses 2022-07-20 11:54:19 +02:00
eientei
0c2d9c2e90 MOHAWK: Hacks to get the Wanderful sampler working 2022-07-05 21:40:25 +03:00
eientei
b706745c20 MOHAWK: Mark Story of Creation Mac and Daniel Mac as v3 to get them working 2022-07-05 21:40:25 +03:00
Thunderforge
ed0fd5b437 MOHAWK: Adding macOS Wanderful Story Sampler (lbsampler) to the detection tables
Adding [this version](https://apps.apple.com/nz/app/storybook-sampler/id632152206) from the Mac App Store.

Resolves #13647
2022-07-05 06:28:40 +03:00
BLooperZ
d1d278c237 MOHAWK: Add detection entry for Hebrew release of Just Grandma and Me 2022-06-26 08:47:20 +02:00
eientei
d98b95d623 MOHAWK: Add detection for Story of Creation Mac, Daniel in the Lions Den Mac demo, Wanderful Android sampler 2022-06-26 08:58:09 +03:00
Marc Vinyals
84e761aef8 MOHAWK: Fix typo in script builder function 2022-04-16 05:33:56 +03:00
antoniou79
d0ae22bc19 MOHAWK: RIVEN: Add tooltips for Riven game options 2022-02-19 22:26:56 +02:00
Thunderforge
fd129ebc0c JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments
Apple's desktop operating system was formerly called "Mac OS X" and "OS X", but since 2016 it has been called "macOS" (starting with version 10.12).

Changing across all comments and documentation to use this current terminology, except in cases where the historical versions are explicitly referenced. No code changes are made; we should consider changing those in future PRs.
2022-01-29 14:15:05 +01:00
Eugene Sandulenko
5dd8bec594
MOHWAK: Fix detection for Litthe Monster at School 2022-01-16 18:28:23 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
e808737662 MOHAWK: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
sluicebox
6e3403464b VIDEO: Limit QuickTime workaround to Riven
QuickTimeDecoder has a workaround for a video in a Spanish version of
Riven, but this workaround breaks valid QuickTime videos such as the
KQ6 Macintosh opening movie. (Bug #11085)

Until the original Riven video bug can be debugged to improve the
workaround, it is now disabled unless an engine enables it.

Workaround added in: b8abe40085
2021-11-12 18:47:22 +02:00
Orgad Shaneh
78ef6203de ENGINES: Fix getSavegameFile for almost all engines
Use kSimpleSavesNames correctly, add where needed, remove where needed.

Trac #12977
2021-11-10 21:49:48 +00:00
eientei
cd44ddca13 MOHAWK: Add sizes, versions to some Myst entries 2021-11-01 12:26:51 +01:00
Alexandre Detiste
6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Orgad Shaneh
fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
eientei
95b6e8f50d MOHAWK: Add Windows demo of Dr Seuss's ABCs 2021-10-24 16:13:33 +03:00
trembyle
2493f65e4e MOHAWK: Add detection for another Myst demo
This larger demo includes The Making of Myst.
2021-09-19 14:52:46 +02:00
Cameron Cawley
2f99746d8d ENGINES: Allow implementing registerDefaultSettings in the MetaEngine class 2021-09-18 11:57:29 +02:00
Eugene Sandulenko
b53973b06a
MOHAWK: Added detection for Mac tortoise. Bugreport #12828 2021-08-28 03:02:07 +02:00
Eugene Sandulenko
1fe1e994e8
MOHAWK: Added detection for harryhh demo. Bugreport #12849 2021-08-28 02:33:19 +02:00
Eugene Sandulenko
bd280c8971
MOHAWK: Added another grandma demo. Bugreport #12830 2021-08-23 16:17:31 +02:00
Eugene Sandulenko
11bb4634e6
MOHAWK: Added Mac English/Spanish arthur demo. Bugreport #12829 2021-08-23 16:17:31 +02:00
Orgad Shaneh
7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +02:00
Orgad Shaneh
6a68d8b7e5 ENGINES: Do not assume that MessageDialog accept is 1 and cancel is 0
Use the enum everywhere.

A follow-up commit will change the order.

Also reduce the use of kMessageCancel to minimum.
2021-08-18 22:34:02 +02:00
Lothar Serra Mari
c324a8d679 MOHAWK: MYST: Add tooltip description to CD-ROM simulation feature 2021-08-08 11:51:10 +02:00
Lothar Serra Mari
301c6457ca MOHAWK: MYST: Reword accessibility option for Selenitic Age 2021-08-08 08:44:47 +03:00
djsrv
7eb4841065 ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
Max Horn
2f1f8f502e DEVTOOLS: move credits from devtools/credits.pl to engines
This employs a "lazy" approach: the "format" for the credits stays
exactly as it was, i.e., perl code. Of course one may want to change
this to another format (e.g. YAML, JSON, XML; or also shell script or
AWK, like `configure.engine` uses). But I deliberately kept it simple,
to get a minimal change that is easy to verify. Any further changes to
e.g. the format can be layered atop this.
2021-08-05 00:01:46 +02:00
Lothar Serra Mari
aba467439f MOHAWK: MYST: Greatly simplify addCdRomDelay related configuration checks 2021-07-17 08:29:38 +02:00
Lothar Serra Mari
2e0f983db3 MOHAWK: MYST: Fix formatting in addCdRomDelay related routine 2021-07-17 08:29:38 +02:00
Lothar Serra Mari
e9df365435 MOHAWK: MYST: Remove leftover variables 2021-07-17 08:29:38 +02:00
Lothar Serra Mari
149ffec094 MOHAWK: MYST: Make timing more accurate 2021-07-17 08:29:38 +02:00
Lothar Serra Mari
d42f166634 MOHAWK: MYST: Use wider range of possible loading delays 2021-07-17 08:29:38 +02:00
Lothar Serra Mari
66fed9f03d MOHAWK: MYST: Reduce calls to ConfMan by introducing state variable for cdromdelay requests 2021-07-17 08:29:38 +02:00
Lothar Serra Mari
6c86a4956a MOHAWK: MYST: Change timing for CD-ROM emulation 2021-07-17 08:29:38 +02:00
Lothar Serra Mari
552813545d MOHAWK: MYST: Add option to simulate CD-ROM loading times during card transition 2021-07-17 08:29:38 +02:00
Paul Gilbert
005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
Paul Gilbert
7e42ae4eec MOHAWK: Revert incorrect format specifier changes 2021-07-07 22:07:10 -07:00
Paul Gilbert
baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
Thierry Crozat
b7f86bd7aa MOHAWK: Fix curly apostrophe in GUI tooltip
As this is a non-ASCII character, it was throwing off xgettext.
2021-06-24 11:29:14 +01:00
Cameron Cawley
632150171e MOHAWK: RIVEN: Remove use of Graphics::ColorMasks 2021-06-24 11:55:54 +02:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
Lothar Serra Mari
0976bbeb52 MOHAWK: Add tooltips for the engine options
Unfortunately, for the unexperienced Myst player, the engine options
regarding transisionts and 'Zip' mode are not exactly descriptive.

Luckily, the official manual has pretty neat descriptions of what those
options do, therefore adding them as tooltips.
2021-06-13 14:57:15 +02:00
ysj1173886760
65f36c33ff ENGINES: extend toDetectedGames to deal with ADDetectedGameExtraInfo. 2021-06-13 14:15:45 +02:00
ysj1173886760
7af3a3f84c ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect. 2021-06-13 14:15:45 +02:00
AspireONE-zz
fdbfb6160f
MOHAWK (Myst): Allow fuzzy matching in the space ship puzzle
Enabling this new option can make it easier for hearing impaired
users to solve that puzzle
2021-06-12 21:07:18 +03:00
Eugene Sandulenko
53267cbad3
MOHAWK: Added detection for two Little Ark company games. Inspired by bug #12275 2021-05-23 21:19:24 +02:00
SupSuper
b263ca4cf3 MOHAWK: Copy audio streams (fix 12513) 2021-05-22 23:33:36 +01:00
Eugene Sandulenko
1e3f7fe797
MOHAWK: Added unsupported greeneggs 2.0. Bugreport #12500
The game has more opcodes used than the previously added entries,
thus it frequently stops with unimplimented stuff.
2021-05-05 23:34:14 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
fa32089bcf
MOHAWK: Added mystme Spanish. Bugreport #11927 2021-05-01 13:37:13 +02:00
Eugene Sandulenko
0034b12515
MOHAWK: Added newkid demo detection. Bugreport #11577 2021-04-22 02:08:23 +02:00
Eugene Sandulenko
e578d3e033
MOHAWK: Added detection entry for grandma demo. Bugreport #11576 2021-04-22 02:08:23 +02:00
Eugene Sandulenko
06dae21146
MOHAWK: Added detection for unsupported "Dr Seuss Preschool". Bugreport #11184 2021-04-21 17:25:34 +02:00
Eugene Sandulenko
ea99bbc5fa
MOHAWK: Added latter release for arthurrace. Bugreport #11458 2021-04-21 12:35:08 +02:00
Eugene Sandulenko
2e5800f1e1
MOHAWK: Added alternate newkid detection. Bugreport #11003 2021-04-20 17:45:08 +02:00
Eugene Sandulenko
151a8932fd
MOHAWK: Added Spanish "rugats" detection. Bugreport #12389 2021-04-19 01:18:47 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
D G Turner
3853bcf262 MOHAWK: MYST: Fix for Uncompressed Bitmap Loading
This fixes the loading of the map in the Polish language variant of
Myst 25th Anniversary Edition. However, a further fix is likely needed
as the map which is 24bpp with no palette renders with inverted colors.
2021-03-21 03:40:13 +00:00
Orgad Shaneh
51bcbd2fa4 MOHAWK: Fix Clang warning
warning: definition of implicit copy assignment operator for 'LBValue' is deprecated because it has a user-declared copy constructor
2021-03-15 13:25:40 +00:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
SupSuper
1b3915f222 MOHAWK: Add RTL support to Engine options tab
Options dialogs need to be named "GameOptions"
to be properly laid out in RTL.
2021-01-28 13:14:51 +00:00
Torbjörn Andersson
f1abf7d007 MOHAWK: Remove unnecessary string trimming
Since terminators are no longer added, there should be no need to
trim them afterwards.
2020-12-09 11:59:19 +02:00
Torbjörn Andersson
168731e788 MOHAWK: Fix Myst regression (bug #11954)
Apparently, when reading a movie file name the engine needs to read
an even number of bytes, so if the length of the file name is even
(not counting the terminating 0) it has to read an extra byte. This
was already done, but apparently the String class used to allow you
to add terminators to a string, and these were then counted into
the length of it. Not adding the terminator avoids this disambiguity.
2020-12-09 11:59:19 +02:00
trembyle
3854864c5d MOHAWK: Detect Brazilian variant 2020-12-07 01:35:53 +01:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Eugene Sandulenko
594eadd182 MOHAWK: Translate messages about non-supported subengines 2020-11-28 20:57:02 +01:00
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
besentv
3530eae6f1 MOHAWK: Fix game "Just Grandma and Me" german and french version crash
The german and french version of "Just Grandma and Me" (Mohawk engine) have the special characters "ç" and "ö" in their config files. This causes ScummVM to crash when trying to start the game in german or french. Allowing non english chars in config files for Living Books games fixes this issue.
2020-10-31 14:06:25 +01:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko
7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
aryanrawlani28
d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28
1d3e4d2800 MOHAWK: Do not create additional folders for riven & myst metaengines. 2020-10-03 14:56:36 +02:00
aryanrawlani28
29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
52a420f4b1 MOHAWK: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
45ad55df2d MOHAWK: Move shared engine/detection enums to new header file. 2020-10-03 14:56:36 +02:00