Skip to content

Commit ff878d8

Browse files
committed
No comments
1 parent 33e0696 commit ff878d8

13 files changed

+29
-29
lines changed

db/Binary/archive.BCSAR.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("archive", "BCSAR");
66

77
function detect() {
8-
if (Binary.compare("'CSAR'")) { // Use contains instead of compare
9-
sVersion = "Binary CTR Sound Archive"; // Set version if detected
8+
if (Binary.compare("'CSAR'")) {
9+
sVersion = "Binary CTR Sound Archive";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/archive.CKP.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
init("archive", "CKP");
77

88
function detect() {
9-
if (Binary.compare("'.CKP'")) { // Use contains instead of compare
10-
sVersion = "CKP"; // Set version if detected
9+
if (Binary.compare("'.CKP'")) {
10+
sVersion = "CKP";
1111
bDetected = true; // Mark as detected
1212
}
1313

db/Binary/archive.EDP.sg

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
init("archive", "EDP");
77

88
function detect() {
9-
if (Binary.compare("'.EDP'")) { // Use contains instead of compare
10-
sVersion = "EdgeDataPak"; // Set version if detected
11-
bDetected = true; // Mark as detected
9+
if (Binary.compare("'.EDP'")) {
10+
sVersion = "EdgeDataPak";
11+
bDetected = true;
1212
}
1313

14-
return result(); // Return the result of the detection
15-
}
14+
return result();
15+
}

db/Binary/archive.STK.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ init("archive", "STK");
66

77
function detect() {
88
// Check if the string "'STK2.1'" is present in the archive
9-
if (Binary.compare("'STK2.1'")) { // Use contains instead of compare
10-
sVersion = "STK21"; // Set version if detected
9+
if (Binary.compare("'STK2.1'")) {
10+
sVersion = "STK21";
1111
bDetected = true; // Mark as detected
1212
} else {
1313
bDetected = false; // Mark as not detected if the string is not found

db/Binary/audio.BCSTM.1.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("audio", "BCSTM");
66

77
function detect() {
8-
if (Binary.compare("'CSTM'")) { // Use contains instead of compare
9-
sVersion = "BCSTM Audio Stream"; // Set version if detected
8+
if (Binary.compare("'CSTM'")) {
9+
sVersion = "BCSTM Audio Stream";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/audio.PAT.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("audio", "PAT");
66

77
function detect() {
8-
if (Binary.compare("'PT'")) { // Use contains instead of compare
9-
sVersion = "Audio"; // Set version if detected
8+
if (Binary.compare("'PT'")) {
9+
sVersion = "Audio";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/bin.SHBIN.1.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("format", "SHBIN");
66

77
function detect() {
8-
if (Binary.compare("'DVLB'")) { // Use contains instead of compare
9-
sVersion = "Shader Binary"; // Set version if detected
8+
if (Binary.compare("'DVLB'")) {
9+
sVersion = "Shader Binary";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/font.BTF.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("font", "BTF");
66

77
function detect() {
8-
if (Binary.compare("'TNFB'")) { // Use contains instead of compare
9-
sVersion = "Font"; // Set version if detected
8+
if (Binary.compare("'TNFB'")) {
9+
sVersion = "Font";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/font.FFN.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("font", "FFN");
66

77
function detect() {
8-
if (Binary.compare("'FNTF'")) { // Use contains instead of compare
9-
sVersion = "Font"; // Set version if detected
8+
if (Binary.compare("'FNTF'")) {
9+
sVersion = "Font";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/font.VTF.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("font", "VTF");
66

77
function detect() {
8-
if (Binary.compare("'TNFV'")) { // Use contains instead of compare
9-
sVersion = "Font"; // Set version if detected
8+
if (Binary.compare("'TNFV'")) {
9+
sVersion = "Font";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/image.FSH.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("image", "FSH");
66

77
function detect() {
8-
if (Binary.compare("'SHPI'")) { // Use contains instead of compare
9-
sVersion = "Image"; // Set version if detected
8+
if (Binary.compare("'SHPI'")) {
9+
sVersion = "Image";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/image.ICN.1.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
init("image", "ICN");
66

77
function detect() {
8-
if (Binary.compare("'SMDH'")) { // Use contains instead of compare
9-
sVersion = "Icon"; // Set version if detected
8+
if (Binary.compare("'SMDH'")) {
9+
sVersion = "Icon";
1010
bDetected = true; // Mark as detected
1111
}
1212

db/Binary/text.OBC.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ init("source", "OBC");
88

99
function detect() {
1010
// Check if the string "'OBC Copyright MDO'" is present in the script
11-
if (Binary.compare("'OBC Copyright MDO'")) { // Use contains instead of compare
12-
sVersion = "Compiled DEV7 object"; // Set version if detected
11+
if (Binary.compare("'OBC Copyright MDO'")) {
12+
sVersion = "Compiled DEV7 object";
1313
bDetected = true; // Mark as detected
1414
} else {
1515
bDetected = false; // Mark as not detected if the string is not found

0 commit comments

Comments
 (0)