Detect-It-Easy/db/Binary/format_InterleafFile.1.sg
DosX 2e058cd161 Rename and standardize database file naming for BJNFNE's fules
Renamed numerous files in the db/Binary, db/ELF, db/ISO9660, db/NE, and db/PE directories to use a consistent naming convention with underscores and clearer prefixes (e.g., archive_, audio_, format_, library_, tool_, etc.). This improves clarity, organization, and maintainability of the database file structure.
2026-01-12 15:32:27 +03:00

19 lines
No EOL
454 B
JavaScript

// Detect It Easy: detection rule file
// Author: BJNFNE <bjnfne@web.de>
// https://www.legoisland.org/wiki/Interleaf_File
meta("format", "Interleaf File");
function detect() {
if (Binary.compare("52494646........'OMNI'")) {
var metadata = Binary.getString(12, 4).trim();
if (/^[A-Za-z]{4}/.test(metadata)) {
if (X.isVerbose()) sOptions = metadata;
bDetected = true;
}
}
return result();
}