Commit graph

65 commits

Author SHA1 Message Date
ysj1173886760
5f74ffcf0a ADL: move debug messages in detection into kDebugGlobalDetection channel 2021-05-22 01:34:57 +02:00
ysj1173886760
0cfdf7bb6e ADL: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Eugene Sandulenko
2a317b611d ADL: Use macros in detection tables 2020-11-28 13:18:19 +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
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
0a14511547 ADL: Remove unneeded functions from detection & move to metaengine. 2020-10-03 14:56:36 +02:00
aryanrawlani28
c2428c7a8f ADL: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Eugene Sandulenko
58499ef0cd ADL: Add override keywords 2020-01-31 12:44:40 +01:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Henrik "Henke37" Andersson
41a1d446dd ADL: The engine does not support midi. Mark the games as such. 2019-09-29 19:34:16 +03:00
Walter van Niftrik
32824ea83f ADL: Improve color accuracy
This adds two new display modes to replace the old one. One is a
16-color mode and the other does TV "emulation" based on code in
AppleWin. Both of these modes should deliver more accurate colors,
including NTSC artifact colors.
2019-08-12 02:18:34 +02:00
Walter van Niftrik
2bb5ef5aeb ADL: Fix double listing in detector 2019-07-20 00:20:44 +02:00
Walter van Niftrik
85efc49e0e ADL: Add another hires6 detection entry 2019-07-19 22:42:00 +02:00
Walter van Niftrik
c0a515bcf8 ADL: Add support for .WOZ floppy images 2019-07-19 14:24:43 +02:00
Walter van Niftrik
14bfe02b81 ADL: Add support for 40/8/512 PC raw disk images 2019-07-17 09:54:14 +02:00
Walter van Niftrik
39acda0c9f ADL: Clean up usage of override specifier 2019-07-16 16:24:20 +02:00
Walter van Niftrik
22ef407918 ADL: Change comment for hires6 detection entry
This detection entry also matches the floppy release. While the version on the
Roberta Williams Anthology has been patched to remove the copy protection,
this patch lies outside of our md5sum range.
2018-12-25 14:44:19 +01:00
Bastien Bouclet
cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +02:00
Lothar Serra Mari
451cf2304f ENGINES: Show the unknown Game dialog only when the detector is launched by the Add Game feature 2018-04-29 21:47:10 +01:00
Adrian Frühwirth
00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Walter van Niftrik
0300979bdd ADL: Add support for another hires1 variant 2018-02-04 16:15:10 +01:00
Walter van Niftrik
bdda3447a3 ADL: Add support for an early hires1 version 2018-02-03 23:36:18 +01:00
Walter van Niftrik
9e5b54ddc8 ADL: Remove unused array terminator 2018-02-02 23:38:52 +01:00
Walter van Niftrik
236e5da6cc ADL: Fix build error 2018-02-02 22:53:00 +01:00
Walter van Niftrik
aba2961899 ADL: Refactor NIB image error handling 2018-02-02 22:18:25 +01:00
Walter van Niftrik
b497ec3065 ADL: Implement new detection method for disk images 2018-02-02 22:18:25 +01:00
Walter van Niftrik
4c3cb46bc8 ADL: Remove ADGF_TESTING for hires3+4 2017-11-11 23:41:59 +01:00
Walter van Niftrik
be0e1371e8 ADL: Remove ADGF_TESTING for hires5+6 2017-11-11 10:39:16 +01:00
Walter van Niftrik
12e1466168 ADL: Enable ADGF_TESTING for hires3 2017-07-29 12:09:11 +02:00
Walter van Niftrik
df2e4e8e2c ADL: Add hires3 support
Game starts up, but isn't playable yet
2017-07-25 14:08:40 +02:00
Walter van Niftrik
d272351055 ADL: Set ADGF_TESTING for hires4 2017-06-11 15:58:35 +02:00
Walter van Niftrik
4d25ed9638 ADL: Enable ADGF_TESTING for hires6 2017-02-23 16:38:06 +01:00
Walter van Niftrik
cca341804b ADL: Add detection entry for hires4 2017-02-21 11:35:31 +01:00
Walter van Niftrik
441f940069 ADL: Bring hires6 in line with hires5 2017-02-10 00:52:54 +01:00
Walter van Niftrik
2841dd2bc3 ADL: Set ADGF_TESTING for hires5 2017-02-02 11:58:37 +01:00
Walter van Niftrik
6b132706d3 ADL: Load hires5 data 2016-12-11 13:36:22 +01:00
Walter van Niftrik
a22e3bceac ADL: Add skeleton for hires5 2016-11-13 12:02:52 +01:00
Eugene Sandulenko
de715ca446 ADL: Enable hires0-3 for the release 2016-10-07 11:53:31 +02:00
Walter van Niftrik
f9590e4ef0 ADL: Fix detection entry for hires4-atari8 (#9561) 2016-09-17 10:08:39 +02:00
Walter van Niftrik
6e8d69524e ADL: Add md5sum for hires4-atari disk side 1B 2016-09-15 21:29:17 +02:00
Eugene Sandulenko
bfbfbd3e1a Merge pull request #788 from Tkachov/cloud
ALL: Add Cloud storage support
2016-08-30 13:54:12 +02:00
Walter van Niftrik
c1671b5d32 ADL: Add skeleton for hires4 2016-08-26 22:00:37 +02:00
Walter van Niftrik
e228b088c6 ADL: Set hires #1, #2 and #0 to TESTING 2016-08-24 21:05:22 +02:00
Alexander Tkachev
b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in
simpleSaveNames() before.

As mentioned in #788, SCI is not always using simple names, so it
doesn't have such feature now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in
save/load dialog and gradual save slots unlocking. Other engines
save/load feature would be locked until save sync is over.
2016-08-24 16:07:55 +06:00
Walter van Niftrik
0470346ac0 ADL: Add initial support for #0: Mission Asteroid
Based on a patch by fuzzie
2016-08-23 00:36:38 +02:00