Commit Graph
1712 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 fb837acee0 GOB: Fixes to Russian Bargon Attack 2020-10-17 16:41:26 +02:00
Eugene Sandulenko bd52fc354b GOB: Fix for Russian Woodruff subtitles 2020-10-16 21:29:09 +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
aryanrawlani28 bd9514ffa8 GOB: Remove gob engine file dependencies from dataio.cpp
- DataIO is a class that helps with fallback detection for MetaEngines.
- To prepare it for being included in the executable, get rid of unneeded engine dependencies & headers.
- A utility function is being used from util.cpp, simply prepare a static copy in fileio.cpp
- Leave a comment saying a copy is being used in util.cpp.
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
Paul Gilbert c99c187983 GOB: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet 0ee30278fc GOB: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko b4fe7e03e4 GOB: Added override keywords 2020-02-05 15:21:34 +01:00
Paul Gilbert 5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
lawadr 95c1fa5a67 GOB: Add workaround for incorrect Goblins 3 CD audio track strings 2020-02-02 22:34:52 +02:00
Eugene Sandulenko ec9dd98114 GOB: Added override keywords 2020-01-31 13:48:26 +01:00
Cameron Cawley 46056aba3c ENGINES: Reduce winexe_*.h header includes 2020-01-11 17:34:12 +02:00
Cameron Cawley 948c555ea6 ALL: Create all instances of NEResources and PEResources using new instead of on the stack
Also adapted WinCursorGroup and MacMenu to reflect this.
2020-01-11 17:34:12 +02:00
D G Turner 799a088b6e GOB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-12 17:31:01 +00: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
D G Turner 07b83997b7 GOB: Correct build breakage for DS/PSP2 from previous commit. 2018-09-15 01:16:38 +01:00
Martin Gerhardy 32c8ea021c GOB: fixed missing member initialization 2018-09-15 00:01:47 +01:00
Colin Snover 4db0f20f47 GOB: Replace use of strdup with Common::String 2018-08-18 16:30:05 +02: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
Sven Hesse a5fcdb55da GOB: Mark intentional fallthrough in switch statements 2018-02-13 13:29:03 +01: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
Colin Snover 51329c0dc6 ALL: Fix misuse of comma operator 2017-11-10 09:57:03 -06:00
Colin Snover 6e157429b7 BACKENDS: Fix window sizing of games that switch between multiple resolutions 2017-10-07 12:30:29 -05:00
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Torbjörn Andersson 70a2ca8b7d JANITORIAL: Silence more GCC 7 warnings
All these fall through were marked as deliberate, so again I've only
changed the comment to silence GCC.
2017-08-06 13:30:51 +02:00