Commit Graph
55 Commits
Author SHA1 Message Date
Eugene Sandulenko 81a07b4a35 GOB: More macro usage in detection tables 2020-11-28 17:55:04 +01:00
Eugene Sandulenko e875632acc GOB: Use AD_ENTRY2s in the detection tables 2020-11-28 14:39:33 +01:00
Eugene Sandulenko 8829da846e GOB: Removed incorrectly added entry for woodruff.
The supplied md5 is for the whole file, not for the first 5000 bytes.
The correct entry was supplied by DjDiabolik in bug report #1971294
2020-10-21 11:44:56 +02:00
Eugene Sandulenko 5acc8e18d2 GOB: Marked CD-i demos as unstable 2020-10-20 01:22:23 +02:00
Eugene Sandulenko 94651a75d1 GOB: Added detection entry for Japanese Gob1 (not working) 2020-10-20 01:21:39 +02:00
Eugene Sandulenko d807de11b5 GOB: Added another Gob CDi demo 2020-10-20 00:56:30 +02:00
Eugene Sandulenko 6511e92d3a GOB: Added detection to the Russian Akella translation
We'd need to recalc the md5s for better detection.
2020-10-17 18:09:16 +02: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
Eugene Sandulenko adc9fe3017 GOB: Fix typo in detection entry 2020-10-04 18:35:04 +02:00
Eugene Sandulenko 742e879b1f GOB: Fix Woodruff-ru detection entry 2020-10-03 23:16:38 +02:00
Eugene Sandulenko 9a086ab066 GOB: Added detection for the upcoming Russian fan translations 2020-10-03 18:53:20 +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 f3b9477893 ENGINES: ALL: Add header guards for the new detection-header files. 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 ce07bd711f GOB: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28 9b774c6b6f GOB: Move detection-related enums from gob.h -> detection/detection_enums.h
- This way, we won't have to include the whole gob.h file.
2020-10-03 14:56:36 +02:00
Bastien Bouclet 0f2c6cd9ea ENGINES: Change mac resource fork file detection to use the file cache
Common::MacResMan is now able to open files from a specified
Common::Archive. This is a bit hacky as dynamic_cast is used to break
the Archive encapsulation to retreive the underlying FSNode. It should
however be more correct than the previous code that assumed files were
at the root of the currently running game's path.

AdvancedDetector constructs a Common::Archive from its FileMap based
filesystem cache and uses it to detect the mac resource fork files.

This cuts the time it takes to run the detection code with all the
engines enabled as dynamic plugins on the 3DS to 30 s from 280 s.
2020-09-20 16:33:45 +02:00
trembyle aae89e057b GOB: Add detection for new Gobliiins CD-i variant 2020-06-20 13:46:04 +02:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Bastien Bouclet 0ee30278fc GOB: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko ec9dd98114 GOB: Added override keywords 2020-01-31 13:48:26 +01:00
Bastien Bouclet 9c8bd056d6 ENGINES: Stop using 'single id' 2019-11-03 11:43:00 +01:00
Bastien Bouclet 4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
D G Turner 1c9fbf9547 GOB: Correct Crousibat Detection Entry to European Portuguese.
This fixes bug Trac #10791.
2018-11-03 17:14:18 +00:00
D G Turner e5968228f6 GOB: Add Detection Entry for PCGames Ween Demo.
This is from Trac #10725, and the demo appears to be multilingual at
least in terms of English and German, so adding two entries.
2018-10-02 08:31:48 +01:00
Paul Gilbert 11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Bastien Bouclet 8fb149e3c7 ENGINES: Change MetaEngine::findGame to return a plain game descriptor 2018-05-10 09:04:23 +02:00
Bastien Bouclet cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +02:00
Colin Snover a2bdff02d7 ENGINES: Improve output of unknown game variant detection
When a user tries to add a game expecting it to be a particular
game for a particular engine, but a detector from another engine
happens to match some files that exist in the game directory and
reports on those files instead, this can cause a lot of confusion
because the detector doesn't say what engine or game it thought it
matched.

This patch adds the name of the matching engine as well as any
matching game IDs (if applicable) to the detector's logged output.
It also provides more specific guidance about where to send the
detection information (to the bug tracker), and properly wraps the
first part of the report to 80 columns.

Refs Trac#10272.
2017-11-10 09:57:41 -06:00
Sven Hesse acc9773a3d GOB: Add another interactive Gob3 demo, as supplied by Dark-Star
This demo comes with texts in English (GB), German and French.
2017-01-26 16:30:23 +01:00
Eugene Sandulenko 363f126984 GOB: Fix Fascination entry, it is DOS, not Amiga version 2016-03-28 01:08:14 +02:00
Eugene Sandulenko d3e372db19 GOB: Added another French Playttons2. Bug #7052 2016-03-27 14:48:18 +02:00
Eugene Sandulenko 77da2801e0 GOB: Added Spanish Fascination detection entry. Bug #7069 2016-03-27 14:43:04 +02:00
Johannes Schickel 0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Sven Hesse 24595ede3b GOB: Remove duplicate entries for Ween DOS
Seems like that happened when I sorted them by platform
after splitting up the big detection table in 07b17f711.

This fixes bug #6676.
2014-07-08 21:03:47 +02:00
Johannes Schickel ea21bc939a GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Sven Hesse 2aadd55ae6 GOB: Correct the language field for Croustibat 2014-01-31 12:16:35 +01:00
Sven Hesse ca861961a9 GOB: Add a game type and detection table for Croustibat 2014-01-31 12:04:08 +01:00
Matthew Hoops 0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Sven Hesse 3e1622d68a GOB: Add another Spanish DOS version of Geisha
As supplied by alestedx in bug report #3610207
2013-04-08 11:05:50 +02:00
Sven Hesse ef8e15255d GOB: Add a Spanish/Italian DOS version of Geisha
As supplied by einstein95 in bug report #3544449.
2012-08-05 10:43:41 +02:00
Sven Hesse 55c75756ea GOB: Add a more complex detection for Once Upon A Time titles
The hard-coded Once Upon A Time titles, Abracadabra and Baba Yaga,
are impossible to distinguish by file name alone. The same is true
for the each three platforms, DOS, Amiga and Atari ST.

We do need to know exactly which game and platform a specific path
holds, though, because they're
a) completely hard-coded
b) the data files have platform-specific endianness

Therefore, when the filename-based fallback detector finds one of
those games, we open the archives and look inside them.
We detect the specific game by looking at which animal names are
present; and the platform by inspecting the endianness of the
title screen's DEC file, in addition to the existence of a MOD
file to distinguish the Atari ST from the Amiga version.
2012-07-30 01:44:42 +02:00
Sven Hesse 4a380ce668 GOB: Add detection tables for Baba Yaga and Abracadabra 2012-07-30 01:44:41 +02:00
Sven Hesse bba2028fba GOB: Move the method definitions out of the GobMetaEngine class definition 2012-07-30 01:26:58 +02:00
Johannes Schickel e8fd51e56b Merge pull request #252 from DrMcCoy/detector_public_reportUnknown
DETECTOR: Make reportUnknown() accessible to inherited AdvancedMetaEngine classes
2012-07-29 16:19:00 -07:00
Sven Hesse 1657b173cc GOB: Add a French DOS version of Geisha
As supplied by misterhands in bug report #3539797.
2012-07-04 00:26:37 +02:00
Sven Hesse 8884d7735c GOB: Give the Geisha detection entries proper languages 2012-07-04 00:23:46 +02:00