Matthew Hoops
2be57434a1
COMMON: Only take the md5 of the resource fork data section
...
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
2011-02-04 15:27:56 +00:00
Max Horn
4d3a07b494
COMMON: Rename and tweak MD5 functions
...
* 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-07 17:16:59 +00:00
Max Horn
036e88d382
DETECTOR: Don't compute mac resource fork MD5 of a file multiple times
...
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-07 17:16:01 +00:00
Max Horn
c5598664ce
DETECTOR: Get rid of ADGF_KEEPMATCH
...
Also fix some typos, and minor tweaks
svn-id: r54118
2010-11-07 17:15:27 +00:00
Max Horn
c975ed11a1
ALL: Fix various typos (patch #3093266 )
...
svn-id: r53762
2010-10-24 13:04:33 +00:00
Jordi Vilalta Prat
8388e0dfea
JANITORAL: Clean trailing whitespaces.
...
svn-id: r53160
2010-10-12 02:18:11 +00:00
Johannes Schickel
4135dc7a7c
AD: Fix infinite loop in cleanupPirated.
...
svn-id: r52386
2010-08-25 12:03:43 +00:00
Eugene Sandulenko
78278db7ed
AD: Implement AGDF_PIRATED flag.
...
svn-id: r52384
2010-08-25 11:51:06 +00:00
Eugene Sandulenko
1d7566f371
AD: Print out infromation about unknown version in better format
...
Now it is suitable for direct copy/pasting into detection tables.
svn-id: r52383
2010-08-25 11:50:23 +00:00
Eugene Sandulenko
386e38faa5
AD: Fix in-depth search.
...
svn-id: r52371
2010-08-25 07:40:32 +00:00
Johannes Schickel
a551faa8a4
COMMON: Constify directoryGlobs variable in ADParams.
...
svn-id: r52335
2010-08-24 13:10:48 +00:00
Eugene Sandulenko
55ada2315a
AdvancedDetector: Fix ADGF_ADDENGISH implementation
...
svn-id: r51606
2010-08-02 08:36:33 +00:00
Eugene Sandulenko
7c5c3faae2
AdvancedDetector: Introduce new flag GF_ADDENGLISH
...
It is convenient for localized games which always have English
as fallback, thus English will be selectable from GUI.
svn-id: r51593
2010-08-01 21:17:00 +00:00
Johannes Schickel
1443a2721c
Fix update of GUI options, which only differ in the language setting.
...
svn-id: r50706
2010-07-05 20:10:56 +00:00
Eugene Sandulenko
44a39ffbc6
AdvancedDetector: Add new parameter directoryGlobs.
...
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.
svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
01bc5dda94
GUI: Implemented Languages as GUI options.
...
SCUMM and AdvancedDetector support this feature.
svn-id: r49786
2010-06-15 10:57:28 +00:00
Eugene Sandulenko
e281f2599a
Implement safeguard for negative depth values in AdvancedDetector.
...
svn-id: r49655
2010-06-14 14:51:18 +00:00
Eugene Sandulenko
4d517ed0e9
Extended advancedDetector with depth parameter.
...
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-06-14 14:50:23 +00:00
Matthew Hoops
b9813063ad
Add support to the MacResManager and AdvancedDetector to take the md5 of a 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-05-10 18:23:54 +00:00
Max Horn
dfc4f6ff08
Small tweak, works around a bug in the default OpenBSD gcc 3.3.5 compiler
...
svn-id: r48749
2010-04-20 16:58:52 +00:00
Max Horn
fd0e3de00b
Fix AdvancedMetaEngine::createInstance to use ConfMan.setBool
...
svn-id: r48568
2010-04-06 09:27:40 +00:00
Eugene Sandulenko
eccf0cc429
Introduced new ADGF flag ADGF_USEEXTRAASTITLE.
...
Documented ADFlags.
svn-id: r46946
2010-01-03 21:07:40 +00:00
Max Horn
6b8dd7ab7a
COMMON: Remove various variants of the md5_file / md5_file_string funcs; turned the (disabled) MD5 test code into a working unit test
...
svn-id: r46108
2009-11-23 22:30:22 +00:00
Johannes Schickel
51a9bfc9e2
Refactor GUI options update into a function in Common: updateGameGUIOptions.
...
svn-id: r42446
2009-07-13 18:47:32 +00:00
Johannes Schickel
1871a2e68d
Support transparent guioptions update on game launch for AdvancedMetaEngine.
...
svn-id: r42444
2009-07-13 18:31:42 +00:00
Johannes Schickel
24a512cab0
Use GameDescriptor::setGUIOptions instead of setting key "guioptions" directly.
...
svn-id: r41297
2009-06-06 19:47:55 +00:00
Eugene Sandulenko
8eb417e15e
Fix bug with GUI options not set when per-game setting is empty
...
svn-id: r41273
2009-06-06 17:56:59 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Eugene Sandulenko
8e4b31f522
Fix bug #1544799 : "ALL: Engine creates launcher entry when failing to launch"
...
svn-id: r40745
2009-05-20 21:00:52 +00:00
Eugene Sandulenko
52b52d3c5e
Fix for bug #2671611 : T7G: Checksums for unknown english 7th Guest cd version
...
Now instead of showing partial list of files detector will provide "submit
md5" message only if at least one entry with every file present will be
found.
svn-id: r39281
2009-03-09 23:08:44 +00:00
Max Horn
0901c90654
Advanced detector: Slightly more verbose debug output
...
svn-id: r38652
2009-02-21 02:59:45 +00:00
Max Horn
c556589d74
Make failure reports in adv game detector a bit more verbose (show data path, useful if you mass add and then don't know which games are unknown)
...
svn-id: r38329
2009-02-15 23:24:00 +00:00
Max Horn
341bc64aaf
do not include common/debug.h from common/util.h
...
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00