Difference between revisions of "Advanced Detector"

Jump to navigation Jump to search
8 bytes removed ,  00:47, 29 February 2012
m
m (→‎Engine constructor: -- formatting)
m (→‎AdvancedMetaEngine: -- formatting)
Line 208: Line 208:
</syntax>
</syntax>


== AdvancedMetaEngine ==
= AdvancedMetaEngine =


Is a generic MetaEngine wrapper aware of Advanced Detector. It should be used whenever AD is used.
Is a generic MetaEngine wrapper aware of Advanced Detector. It should be used whenever AD is used.


=== Engine constructor ===
== Engine constructor ==


<syntax type="C++">
<syntax type="C++">
Line 224: Line 224:
'''gameids''' is pointed to list of ''PlainGameDescriptor'' structures defining supported gameids.
'''gameids''' is pointed to list of ''PlainGameDescriptor'' structures defining supported gameids.


=== Additional Advanced MetaEngine parameters ===
== Additional Advanced MetaEngine parameters ==


'''_md5bytes''' -- number of bytes used to compute md5. If set to 0 then whole file will be used. Beware of long files though since that can dramatically slow down the detection. Typically sane value is 5000 bytes, but often experiment is required for many game variants with subtle differences.
'''_md5bytes''' -- number of bytes used to compute md5. If set to 0 then whole file will be used. Beware of long files though since that can dramatically slow down the detection. Typically sane value is 5000 bytes, but often experiment is required for many game variants with subtle differences.
Line 240: Line 240:
'''_directoryGlobs''' -- Case-insesitive list of nested directoriy globs AD will search games in. Null-terminated. Must be set if detection should go into subdirectories.
'''_directoryGlobs''' -- Case-insesitive list of nested directoriy globs AD will search games in. Null-terminated. Must be set if detection should go into subdirectories.


=== AdvancedMetaEngine usage ===
== AdvancedMetaEngine usage ==


TODO
TODO

Navigation menu