dbs_min update

This commit is contained in:
DosX 2025-06-11 21:12:56 +03:00
commit 5034db80b9
6 changed files with 16 additions and 5 deletions

View file

@ -1,6 +1,6 @@
init("archive","Arobas Music Guitar Pro instrument (.gp7bank)")
function detect(){if(!X.c("'AMARCHIVE'..000000")||!X.c("00'Samples.xml'00",36))return false
init("archive","Arobas Music Guitar Pro 7+ soundbank (.gp7bank)")
function detect(){if(!X.c("'AMARCHIVE'..000000")||!X.c("'Samples.xml'00",37)||!X.c("'<?xml'",X.U32(25))||X.U32(25)+X.U32(33)!=X.U32(49))return false
bDetected=true
sVersion="v"+X.U8(9)
if(X.isVerbose())sOptions=X.U16(13)+"samples"
if(X.isVerbose())sOptions=X.U16(13)+" samples"
return result()}

View file

@ -1,7 +1,6 @@
const logType={warning:-2,about:-1,nothing:0,any:1,net:2},heurLabel="HEUR"
var lastOffsetDetected="0x00"
const detect=main
function main(){if(stubForWrongEnvironment())return null
function detect(){main()}function main(){if(stubForWrongEnvironment())return null
if(stubForLegacyEngines())return null
if(PE.isHeuristicScan()){if(!PE.isVerbose()){log(logType.warning,"To get the full heuristic scan result use '--verbose'")}log(logType.about,"Generic Heuristic Analysis by DosX (@DosX_dev)")
log(logType.nothing,"Scanning has begun!")

1
dbs_min/db_custom/.vscode/about.txt vendored Normal file
View file

@ -0,0 +1 @@
This directory is responsible for correct recognition of *.sg files by Visual Studio Code. You can delete it if you don't need it.

View file

@ -0,0 +1,5 @@
{
"files.associations": {
"*.sg": "javascript"
}
}

1
dbs_min/db_extra/.vscode/about.txt vendored Normal file
View file

@ -0,0 +1 @@
This directory is responsible for correct recognition of *.sg files by Visual Studio Code. You can delete it if you don't need it.

View file

@ -0,0 +1,5 @@
{
"files.associations": {
"*.sg": "javascript"
}
}