aboutsummaryrefslogtreecommitdiff
path: root/common/advancedDetector.cpp
AgeCommit message (Collapse)Author
2007-06-15Added a FIXME comment to the adv. detector code regarding (not) using ↵Max Horn
FSNode/FSList svn-id: r27425
2007-06-15ADV detector: Refactored findGameID() a bit, making it possible to use it ↵Max Horn
outside the AdvancedDetector framework; also made it generate somewhat more user friendly desc for obsolete game IDs svn-id: r27424
2007-06-12Patch #1733764: "Fallback detection patch". GSoC student.Eugene Sandulenko
svn-id: r27375
2007-06-11Fix for bug #1719463: "DETECTOR: Launching undefined target adds launcher entry"Eugene Sandulenko
svn-id: r27352
2007-06-06Adv detector: Merged upgradeTargetIfNecessary() into ↵Max Horn
detectGameForEngineCreation() svn-id: r27144
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-30AdvDetector changes: made upgradeTargetIfNecessary internal; cleanup to ↵Max Horn
findGameID svn-id: r27020
2007-04-26More cleanupMax Horn
svn-id: r26602
2007-04-26cleanupMax Horn
svn-id: r26601
2007-04-26Patch #1697907: Small patches for AdvancedDetectorMax Horn
svn-id: r26600
2007-04-26Remove bogus use of tstr2 (which is empty at this point anyway)Max Horn
svn-id: r26599
2007-04-09Improve report of unknown MD5, to ease copy-pasting to detection codeEugene Sandulenko
svn-id: r26433
2007-03-08added a flag to enable/disable printing a warning when filename based ↵Gregory Montoir
detection find a match, also updated some comments. svn-id: r26029
2007-02-18Improved (I hope) the 'Unknown MD5' messages in our detectors a little bitMax Horn
svn-id: r25695
2007-02-14AdvancedDetector: revamped the file based fallback codeMax Horn
svn-id: r25599
2007-02-14Make use of md5_file_stringMax Horn
svn-id: r25593
2007-02-14Some more cleanup, and that's it for tonightMax Horn
svn-id: r25580
2007-02-14Minor cleanupMax Horn
svn-id: r25579
2007-02-14Added some comments and performed some cleanup in the file based fallback ↵Max Horn
code of the AdvancedDetector svn-id: r25578
2007-02-14Properly implemented the AD fallback callbackMax Horn
svn-id: r25576
2007-02-13Since detectBestMatchingGame now returns a ADGameDescription pointer, we can ↵Max Horn
change detectGame to return a ADGameDescList svn-id: r25575
2007-02-13Changed detectBestMatchingGame to return a pointer to a ADGameDescription ↵Max Horn
(or a subclass of it); added a (currently fake) fallback callback entry in ADParams svn-id: r25574
2007-02-13Some more AdvancedDetector cleanup: Removed kADFlagFilebasedFallback flag ↵Max Horn
(just check whether a fileBasedFallback has been provided); moved some internal definitions, added some doxygen coments, etc. svn-id: r25570
2007-02-13Thanks to the previous changes, we can now cleanup ↵Max Horn
detectGameForEngineCreation somewhat svn-id: r25548
2007-02-13AdvancedDetector changes:Max Horn
* Renamed genGameList to gameIDList to make it match the corresponding plugin API function name * removed the detectFunc param from detectGameForEngineCreation, as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames * as a consequence, removed the various GAME_detectGames functions from the engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN svn-id: r25547
2007-02-13Rename Common::GF_XXX to Common::ADGF_XXXEugene Sandulenko
svn-id: r25545
2007-02-13Renamed generateComplexID to generatePreferredTarget to match my previous commitMax Horn
svn-id: r25544
2007-02-13Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and ↵Max Horn
add it for AGOS, too svn-id: r25543
2007-02-13Moved detectGameForEngineCreation next to detectBestMatchingGame (somebody ↵Max Horn
should explain the difference between the two...) svn-id: r25542
2007-02-13Use GF_DEMO flag in the AdvancedDetector to augment the preferredtarget nameMax Horn
svn-id: r25541
2007-02-09cleanupMax Horn
svn-id: r25452
2007-02-05Only do the file based fallback when no matches by MD5s were foundSven Hesse
svn-id: r25394
2007-02-04AdvancedDetector now has built-in fallback detection based on file lists.Eugene Sandulenko
Currently only gob engine benefits from it. svn-id: r25374
2007-01-30- Fixed bug with single ID detectionEugene Sandulenko
- Added more debug output svn-id: r25273
2007-01-29Now AdvancedDetector could use single ID per engine. Also it can suggestEugene Sandulenko
more complex game IDs with platform and language specified. AGI engine benefits most from that. Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID. svn-id: r25269
2007-01-25Lots of cleanup in the AdvancedDetectorMax Horn
svn-id: r25194
2007-01-25cleanupMax Horn
svn-id: r25179
2007-01-25Removed getDescription() functionMax Horn
svn-id: r25177
2007-01-25Print out file size for unmatched files. Also alter output slighty.Eugene Sandulenko
svn-id: r25175
2007-01-25Removed class AdvancedDetectorMax Horn
svn-id: r25174
2007-01-25Use file sizes in detection too.Eugene Sandulenko
svn-id: r25172
2007-01-24Hide all AdvacedDetector parameters into a structure for easier maintenanceEugene Sandulenko
and extensibility svn-id: r25163
2007-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
return StringMap instead of fixed list of parameters. This adds great flexibility. Current patch should not alter any functionality, i.e. if there are regressions, submit a report. Phase 2 will benefit from these changes and will come later. svn-id: r25134
2006-12-20Stripped some more real_ prefixes from function names; also added a new ↵Max Horn
FIXME comment to Kyra's setupGameFlags, and did some more cleanup svn-id: r24899
2006-12-19Properly walk through lists of (extended) ADGameDescriptions -- we ↵Max Horn
previously only checked the first byte, which 'often' worked fine on little endian machines, but almost never worked correct on big endian ones svn-id: r24897
2006-12-19Renamed real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION to ↵Max Horn
ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION, and real_ADVANCED_DETECTOR_DETECT_INIT_GAME to ADVANCED_DETECTOR_DETECT_INIT_GAME svn-id: r24896
2006-12-19Further AdvancedDetector cleanup (in particular, renamed ↵Max Horn
ADGameDescription::name to the more suitable ADGameDescription::gameid) svn-id: r24895
2006-12-19* Simplified code in AdvancedDetector::detectGameMax Horn
* Removed AdvancedDetector::setFileMD5Bytes, now AdvancedDetector::detectGame simply takes the MD5 byte limit as an extra parameter svn-id: r24894
2006-12-19* Change the GameList typedef to a proper class with an additionalMax Horn
constructor which takes a PlainGameDescriptor 'list' * Replaced real_ADVANCED_DETECTOR_GAMEID_LIST by this new constructor * Removed ADVANCED_DETECTOR_GAMEID_LIST and ADVANCED_DETECTOR_FIND_GAMEID * Some minor cleanup svn-id: r24893
2006-12-19Fix compiler warning (in general, NULL is deprecated in C++ -- just use 0 ↵Max Horn
instead) svn-id: r24885