aboutsummaryrefslogtreecommitdiff
path: root/engines/advancedDetector.cpp
AgeCommit message (Collapse)Author
2018-06-03BASE: Remove temporary targets when they fail to launchBastien Bouclet
Prevents invalid targets created from the command line to show up in the launcher. Fixes Trac#2788.
2018-05-10ENGINES: Remove usage of C++11 extended initializer listsBastien Bouclet
2018-05-10ENGINES: Cleanup DetectedGame initialization in the ADBastien Bouclet
2018-05-10ENGINES: Merge GameDescriptor and DetectedGameBastien Bouclet
2018-05-10ENGINES: Set the GameDescriptor decription in the constructorBastien Bouclet
2018-05-10ENGINES: Turn GameDescriptor into a simple structBastien Bouclet
2018-05-10ENGINES: Change MetaEngine::listSupportedGames to return plain game descriptorsBastien Bouclet
2018-05-10ENGINES: Change MetaEngine::findGame to return a plain game descriptorBastien Bouclet
2018-05-10ENGINES: Add unknown game variants to the game detector resultsBastien Bouclet
2018-05-10ENGINES: Fix clang-tidy warningsBastien Bouclet
2018-05-01ENGINES: Mark reportCommon string as translateableLothar Serra Mari
2018-04-30Revert "ENGINES: Improve update of the Unknown Game Dialog when the overlay ↵Adrian Frühwirth
size changes" This reverts commit 8cb9eebd8a8f7cae2dbb68ad3398f444426929c1.
2018-04-29ENGINES: Improve update of the Unknown Game Dialog when the overlay size changesThierry Crozat
Previously the dialog was not resized and was just recentered on the screen. Now it is properly resized as well.
2018-04-29ENGINES: Show the unknown Game dialog only when the detector is launched by ↵Lothar Serra Mari
the Add Game feature
2018-04-29ENGINES: Add a dialog for reporting unknown gamesLothar Serra Mari
Thanks to the great help of @criezy, here's my implementation of an GUI dialog that appears when an unknown game is detected. Features: - Allows copying the data collected by game detector to the clipboard - Allows opening the bug tracker and pre-filling the form fiels This closes https://bugs.scummvm.org/ticket/10435.
2017-11-10ENGINES: Improve output of unknown game variant detectionColin Snover
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-10ENGINES: Continue to check file presence after a hash/size mismatchColin Snover
If an early file in the game's signature list has a hash/size mismatch, it is still necessary to continue to check the rest of the candidate files for existence, since the non-existence of candidate files is supposed to disqualify a game description as matching a game to an unknown variant. By quitting the file check early, the detector had been allowing descriptions to randomly match if there happened to be an early file in the detection list with the right name but wrong hash/size, even if some of the other signature files did not exist at all.
2017-05-21ENGINES: Allow detection entries to match on full pathsColin Snover
This allows an engine to match files that exist multiple times in the same game directory with the same basename. For example, different releases of Torin's Passage in SCI engine come with zero or more GERMAN, FRENCH, ENGLISH, etc. directories, all containing files with the same basenames but with different contents per language. Because the allFiles map used only the basename of a file as a key, it could not match more than one of these localization directories, which made it impossible to select from all the possible languages. Refs Trac#9772.
2017-01-13ENGINES: AD: When file has no Mac Resource fork, compute its md5 normallyEugene Sandulenko
2016-11-29ALL: Fix usage of 'etc.'Ben Castricum
2016-11-27ENGINES: Simplify translation for advancedDetector.cpprootfather
Until now, we had three separate strings for the message about unsupported games. This commit merges them into one single string.
2016-03-08ENGINES: Make variable names of PlainGameDescriptor conform to our guidelines.Johannes Schickel
gameid -> gameId
2016-03-08ENGINES: Make variable names of ADGameDescription conform to our guidelines.Johannes Schickel
gameid -> gameId guioptions -> guiOptions
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-03-08ENGINES: Fix formatting.Johannes Schickel
2016-03-07AD: Remove leftover debug messagesEugene Sandulenko
2016-03-07AD: Added new flag for autogenerating game target from extra informationEugene Sandulenko
2014-08-06DETECTOR: Do not show the zero matched size for illegitimate copiesFilippos Karapetis
2014-02-18ENGINES: Make GPL headers consistent in themselves.Johannes Schickel
2013-09-09AD: Introduce ADGF_DROPPLATFORMEugene Sandulenko
2013-07-06ALL: Don't use EventRecorder at all when not compiled inMatthew Hoops
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2012-06-27DETECTOR: Make reportUnknown() available for AdvancedMetaEngine classes to useSven Hesse
2012-06-27DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizesSven Hesse
Since we need a FSNode parent for Mac resource forks, we need to change signature of detectGameFilebased(), too.
2012-06-27DETECTOR: Move size reading and MD5 creating into a new method ↵Sven Hesse
getFileProperties()
2012-06-27DETECTOR: Move ADFileProperties(Map) into advancedDetector.hSven Hesse
2012-06-27DETECTOR: Rename SizeMD5(Map) to ADFileProperties(Map)Sven Hesse
2012-03-31ENGINES: Return all available custom GUI options if no target is specifiedFilippos Karapetis
This is used to set default settings for all custom game options when an engine starts
2012-03-19ENGINES: Implement per-game options caching in AdvancedDetector via GUIO flags.Johannes Schickel
2011-10-23AD: Swtich GUI options to a char array.Eugene Sandulenko
This eliminates nasty limitation of caping number of flags to 31. Current code has limitation of 255 flags, though. Only SCUMM engine is converted, rest do not even compile. Detection of fan talkie MI is broken as it has to be implemented differently.
2011-10-08COMMON: Include hidden files in FSDirectory cache and detection.Alyssa Milburn
The cache issue has been discussed before, it breaks accessing files beginning with a dot on POSIX. The change to the advancedDetector to see hidden files was suggested by AdamRi on IRC.
2011-06-16ENGINES: Warn user about games marked with ADGF_UNSTABLE flagsTarek Soliman
ADGF_UNSTABLE is always warned about. ADGF_TESTING is only warned about when running configure with --enable-relase. Both warnings are subject to the enable_wip_game_warning config option.
2011-06-14DETECTOR: Change ADFileBasedFallback::desc to ADGameDescription pointerMax Horn
2011-06-14DETECTOR: Remove kADFlagPrintWarningOnFileBasedFallbackMax Horn
2011-06-14DETECTOR: Treat file based fallback like any other fallback methodMax Horn
2011-06-14DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()Max Horn
Also reorder the parameters of composeFileHashMap, placing the "return value" first.
2011-06-14DETECTOR: Change detectGameFilebased return valueMax Horn
2011-06-14DETECTOR: cleanupMax Horn
2011-06-14DETECTOR: Cleanup, extend doxygen commentsMax Horn