mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
add XCG signature
This commit is contained in:
parent
e88b0018c4
commit
540bbc2bcf
1 changed files with 17 additions and 0 deletions
17
db/Binary/bin.XCG.1.sg
Normal file
17
db/Binary/bin.XCG.1.sg
Normal 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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue