Skip to content

Commit 58651ed

Browse files
authored
Merge pull request #266 from BJNFNE/improvements
remove comments
2 parents 30534bf + 1b0794b commit 58651ed

9 files changed

+20
-22
lines changed

db/Binary/archive.BCSAR.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ init("archive", "BCSAR");
77
function detect() {
88
if (Binary.compare("'CSAR'")) {
99
sVersion = "Binary CTR Sound Archive";
10-
bDetected = true; // Mark as detected
10+
bDetected = true;
1111
}
1212

13-
return result(); // Return the result of the detection
13+
return result();
1414
}

db/Binary/archive.CKP.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ init("archive", "CKP");
88
function detect() {
99
if (Binary.compare("'.CKP'")) {
1010
sVersion = "CKP";
11-
bDetected = true; // Mark as detected
11+
bDetected = true;
1212
}
1313

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

db/Binary/archive.STK.sg

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@
55
init("archive", "STK");
66

77
function detect() {
8-
// Check if the string "'STK2.1'" is present in the archive
98
if (Binary.compare("'STK2.1'")) {
109
sVersion = "STK21";
11-
bDetected = true; // Mark as detected
10+
bDetected = true;
1211
} else {
13-
bDetected = false; // Mark as not detected if the string is not found
12+
bDetected = false;
1413
}
1514

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

db/Binary/audio.PAT.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ init("audio", "PAT");
77
function detect() {
88
if (Binary.compare("'PT'")) {
99
sVersion = "Audio";
10-
bDetected = true; // Mark as detected
10+
bDetected = true;
1111
}
1212

13-
return result(); // Return the result of the detection
13+
return result();
1414
}

db/Binary/font.BTF.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ init("font", "BTF");
77
function detect() {
88
if (Binary.compare("'TNFB'")) {
99
sVersion = "Font";
10-
bDetected = true; // Mark as detected
10+
bDetected = true;
1111
}
1212

13-
return result(); // Return the result of the detection
13+
return result();
1414
}

db/Binary/font.FFN.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ init("font", "FFN");
77
function detect() {
88
if (Binary.compare("'FNTF'")) {
99
sVersion = "Font";
10-
bDetected = true; // Mark as detected
10+
bDetected = true;
1111
}
1212

13-
return result(); // Return the result of the detection
13+
return result();
1414
}

db/Binary/font.VTF.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ init("font", "VTF");
77
function detect() {
88
if (Binary.compare("'TNFV'")) {
99
sVersion = "Font";
10-
bDetected = true; // Mark as detected
10+
bDetected = true;
1111
}
1212

13-
return result(); // Return the result of the detection
13+
return result();
1414
}

db/Binary/image.FSH.sg

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ init("image", "FSH");
77
function detect() {
88
if (Binary.compare("'SHPI'")) {
99
sVersion = "Image";
10-
bDetected = true; // Mark as detected
10+
bDetected = true;
1111
}
1212

13-
return result(); // Return the result of the detection
13+
return result();
1414
}

db/Binary/text.OBC.sg

+3-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
init("source", "OBC");
88

99
function detect() {
10-
// Check if the string "'OBC Copyright MDO'" is present in the script
1110
if (Binary.compare("'OBC Copyright MDO'")) {
1211
sVersion = "Compiled DEV7 object";
13-
bDetected = true; // Mark as detected
12+
bDetected = true;
1413
} else {
15-
bDetected = false; // Mark as not detected if the string is not found
14+
bDetected = false;
1615
}
1716

18-
return result(); // Return the result of the detection
17+
return result();
1918
}

0 commit comments

Comments
 (0)