TrustedUser, Bureaucrats, Administrators
442
edits
(→From ScummVM: Add information on unknown game dialog) |
(Updates MacOS manual MD5 instructions) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 21: | Line 21: | ||
Number of bytes in each engine, to compute an MD5 hash:<br> | Number of bytes in each engine, to compute an MD5 hash:<br> | ||
''[[AGI]], [[AGOS]], [[Blade Runner]], [[Cine]], [[Composer]], [[CruisE]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Gob]], [[Groovie]], [[M4]], [[MADE]], [[Mohawk]], [[Parallaction]], [[SAGA]], [[SCI]], [[TeenAgent]], [[Tinsel]]'' - '''5000''' bytes (default)<br> | ''[[AGI]], [[AGOS]], [[Blade Runner]], [[Cine]], [[Composer]], [[CruisE]], [[Director]], [[Draci]], [[Drascula]], [[Dreamweb]], [[Gob]], [[Groovie]], [[M4]], [[MADE]], [[Mohawk]], [[Parallaction]], [[SAGA]], [[SCI]], [[TeenAgent]], [[Tinsel]]'' - '''5000''' bytes (default)<br> | ||
''[[Lure]]'' - '''1024''' bytes<br> | ''[[Lure]]'' - '''1024''' bytes<br> | ||
''[[Kyra]], [[SCUMM]]'' - '''1024 * 1024''' bytes<br> | ''[[Kyra]], [[SCUMM]]'' - '''1024 * 1024''' bytes<br> | ||
Line 30: | Line 30: | ||
To get the correct MD5 checksum, run the following | To get the correct MD5 checksum, run the following | ||
=== Using ScummVM === | |||
Since version 2.6.0, ScummVM can compute and report the md5 of files on the command line. | |||
scummvm --md5 --md5-path=file --md5-engine=engine | |||
Where <code>file</code> is the file to be examined and <code>engine</code> is the engine that would use this file. This will automatically use the size used for detection by the specified engine. The size can also be provided manually using <code>--md5-length=size</code> instead of <code>--md5-engine=engine</code> | |||
For old Mac files with a resource fork, us <code>--md5mac</code> instead of <code>--md5</code>. | |||
===Under *nix=== | ===Under *nix=== | ||
Line 38: | Line 46: | ||
===Under macOS=== | ===Under macOS=== | ||
head -c size file | md5 -r | |||
Where <code>file</code> is the file to be examined. | Where <code>file</code> is the file to be examined and <code>size</code> depends on the engine, as described above. | ||
Alternatively, you can install [https://raamdev.com/2008/howto-install-md5sum-sha1sum-on-mac-os-x/ md5sum] and run the *nix command above. | Alternatively, you can install [https://raamdev.com/2008/howto-install-md5sum-sha1sum-on-mac-os-x/ md5sum] and run the *nix command above. |