aboutsummaryrefslogtreecommitdiff
path: root/engines/advancedDetector.h
AgeCommit message (Collapse)Author
2018-02-02ENGINES: Make AdvancedMetaEngine::detectGame() virtualWalter van Niftrik
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-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.
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-07AD: Added new flag for autogenerating game target from extra informationEugene Sandulenko
2014-02-18ENGINES: Make GPL headers consistent in themselves.Johannes Schickel
2013-09-09AD: Introduce ADGF_DROPPLATFORMEugene Sandulenko
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
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-03-19ENGINES: Implement per-game options caching in AdvancedDetector via GUIO flags.Johannes Schickel
2012-02-29ENGINES: Copy singleid description from wikiWillem Jan Palenstijn
2012-02-29ENGINES: Adjust the description of _singleIdFilippos Karapetis
2012-02-28ENGINES: Add a thorough explanation of the ugliness caused by _singleIdFilippos Karapetis
2012-02-28ENGINES: Properly explain the usage of _singleIdFilippos Karapetis
2012-02-26COMMON: Move RenderMode and GUIOptions functionality into separate filesMax Horn
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
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-08-20ENGINES: Fix a typoMatthew Hoops
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: Cleanup, extend doxygen commentsMax Horn
2011-06-14DETECTOR: Separate code for handling obsolete gameids from advanced detectorMax Horn
This includes a renaming of ADObsoleteGameID to Engine::ObsoleteGameID, and AdvancedDetector::findGameID now is Engines::findGameID. Doxygen comments were added or improved
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10DETECTOR: Turn some internal func of AdvancedMetaEngine into methodsMax Horn
The eventual goal here is to make it easier (well, *possible*) for subclasses to modify the detector behavior, e.g. to implement custom fallback detection. One immediate goal could be to move the filebased fallback detector into a subclass.
2011-06-10DETECTOR: Make updateGameDescriptor a method of AdvancedMetaEngineMax Horn
2011-06-10DETECTOR: Add AdvancedMetaEngine constructor which works without ADParamsMax Horn
2011-06-01DETECTOR: Get rid of unused kADFlagDontAugmentPreferredTargetMax Horn
It doesn't seem very useful to keep this around for future uses, either, at least I couldn't think of a convincing argument. If we really need something like this one day again, it is trivial enough to add it back.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-27DETECTOR: Reserve 16 bits for generic ADGameFlagsMax Horn
2010-11-07DETECTOR: Get rid of ADGF_KEEPMATCHMax Horn
Also fix some typos, and minor tweaks svn-id: r54118
2010-08-25AD: Implement AGDF_PIRATED flag.Eugene Sandulenko
svn-id: r52384
2010-08-24COMMON: Constify directoryGlobs variable in ADParams.Johannes Schickel
svn-id: r52335
2010-08-01AdvancedDetector: Introduce new flag GF_ADDENGLISHEugene Sandulenko
It is convenient for localized games which always have English as fallback, thus English will be selectable from GUI. svn-id: r51593
2010-08-01AdvancedDetector: Introducing AD_LISTEND, another convenience macroEugene Sandulenko
svn-id: r51590
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-14Extended advancedDetector with depth parameter.Eugene Sandulenko
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
2010-05-10Add support to the MacResManager and AdvancedDetector to take the md5 of a ↵Matthew Hoops
resource fork. This introduces a new flag, ADGF_MACRESFORK, which when set will take the md5 and size from the resource fork instead of the data fork. svn-id: r48997
2010-01-03Introduced new ADGF flag ADGF_USEEXTRAASTITLE.Eugene Sandulenko
Documented ADFlags. svn-id: r46946
2009-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272