add XCG signature

This commit is contained in:
Benjamin Funke 2025-09-11 14:30:45 +02:00
commit 540bbc2bcf

17
db/Binary/bin.XCG.1.sg Normal file
View file

@ -0,0 +1,17 @@
// Detect It Easy: detection rule file
// Author: BJNFNE <bjnfne@web.de>
// Used by Battlecry 3
meta("format", "XCG (Graphics)");
function detect() {
if (Binary.compare("'xcg File'")) {
var versionNumber = Binary.getString(9, 4).trim();
if (versionNumber) {
sOptions = "Version: " + versionNumber;
bDetected = true;
}
}
return result();
}