aboutsummaryrefslogtreecommitdiff
path: root/engines/advancedDetector.cpp
AgeCommit message (Collapse)Author
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
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-10DETECTOR: Allocate MacResManager on the stackMax Horn
2011-06-06DETECTOR: Change printf calls to use logMessage.Alyssa Milburn
Also make the strings translatable.
2011-06-01DETECTOR: Clarify warning a bitMax 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-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-04COMMON: Only take the md5 of the resource fork data sectionMatthew Hoops
Since various apps can modify the type/creator of the files, we can't rely on the header of the resource fork to take the md5. I've therefore also recalculated all of the detector entries (all 5 of them) that use the Mac resource fork code. svn-id: r55764
2010-11-07COMMON: Rename and tweak MD5 functionsMax Horn
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
2010-11-07DETECTOR: Don't compute mac resource fork MD5 of a file multiple timesMax Horn
Also add a FIXME regarding the fact that we don't handle the case that a file is listed as a regular file and as one with resource fork. svn-id: r54120
2010-11-07DETECTOR: Get rid of ADGF_KEEPMATCHMax Horn
Also fix some typos, and minor tweaks svn-id: r54118
2010-10-24ALL: Fix various typos (patch #3093266)Max Horn
svn-id: r53762
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-08-25AD: Fix infinite loop in cleanupPirated.Johannes Schickel
svn-id: r52386
2010-08-25AD: Implement AGDF_PIRATED flag.Eugene Sandulenko
svn-id: r52384
2010-08-25AD: Print out infromation about unknown version in better formatEugene Sandulenko
Now it is suitable for direct copy/pasting into detection tables. svn-id: r52383
2010-08-25AD: Fix in-depth search.Eugene Sandulenko
svn-id: r52371
2010-08-24COMMON: Constify directoryGlobs variable in ADParams.Johannes Schickel
svn-id: r52335
2010-08-02AdvancedDetector: Fix ADGF_ADDENGISH implementationEugene Sandulenko
svn-id: r51606
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-07-05Fix update of GUI options, which only differ in the language setting.Johannes Schickel
svn-id: r50706
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-15GUI: Implemented Languages as GUI options.Eugene Sandulenko
SCUMM and AdvancedDetector support this feature. svn-id: r49786
2010-06-14Implement safeguard for negative depth values in AdvancedDetector.Eugene Sandulenko
svn-id: r49655
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-04-20Small tweak, works around a bug in the default OpenBSD gcc 3.3.5 compilerMax Horn
svn-id: r48749
2010-04-06Fix AdvancedMetaEngine::createInstance to use ConfMan.setBoolMax Horn
svn-id: r48568
2010-01-03Introduced new ADGF flag ADGF_USEEXTRAASTITLE.Eugene Sandulenko
Documented ADFlags. svn-id: r46946
2009-11-23COMMON: Remove various variants of the md5_file / md5_file_string funcs; ↵Max Horn
turned the (disabled) MD5 test code into a working unit test svn-id: r46108
2009-07-13Refactor GUI options update into a function in Common: updateGameGUIOptions.Johannes Schickel
svn-id: r42446
2009-07-13Support transparent guioptions update on game launch for AdvancedMetaEngine.Johannes Schickel
svn-id: r42444
2009-06-06Use GameDescriptor::setGUIOptions instead of setting key "guioptions" directly.Johannes Schickel
svn-id: r41297
2009-06-06Fix bug with GUI options not set when per-game setting is emptyEugene Sandulenko
svn-id: r41273
2009-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272