@@ -480,7 +480,7 @@ void extractScriptNew(File script, uint script_version)
480480 // Version 4 Script files allow us to check the amount of lines
481481 if (linesHandled > header.section_size4 - 3 )
482482 {
483- writeln(" Tool has read all text data, but could not calculate line amount ." );
483+ writeln(" Tool has read all text data." );
484484 writeln(" Press ENTER to complete extraction process." );
485485 readln();
486486 if ((offsetindexv3 % 4 ) == 0 )
@@ -496,7 +496,7 @@ void extractScriptNew(File script, uint script_version)
496496 // Version 5 Script files allow us to check the amount of lines
497497 if (linesHandled- 1 > header.section_size4 - 3 )
498498 {
499- writeln(" Tool has read all text data, but could not calculate line amount ." );
499+ writeln(" Tool has read all text data." );
500500 writeln(" Press ENTER to complete extraction process." );
501501 readln();
502502 if ((offsetindexv3 % 4 ) == 0 )
@@ -557,7 +557,7 @@ void extractScriptNew(File script, uint script_version)
557557 {
558558 scriptInfo.v5_string_data ~= V5StringOffsetData(readU32(script), readU32(script), readU32(script),
559559 readU32(script), readU32 (script), readU32(script));
560- writefln(" v5_string_data.length: %s" , scriptInfo.v5_string_data.length);
560+ // writefln("v5_string_data.length: %s", scriptInfo.v5_string_data.length);
561561 }
562562 else
563563 {
@@ -703,7 +703,7 @@ void extractScriptNew(File script, uint script_version)
703703 if (! handledStrangeEntry)
704704 {
705705 // Ok! All ready to add, but we need to make sure that we read the correct amount
706- writefln(" Bytes Read: %s, Assumed Byte size of string: %s" , bytesRead, nexStringOffset - curStringOffset);
706+ // writefln("Bytes Read: %s, Assumed Byte size of string: %s", bytesRead, nexStringOffset - curStringOffset);
707707 if (bytesRead > (nexStringOffset - curStringOffset))
708708 {
709709 // writeln("WARNING: We read more than supposed to! Redoing string...");
@@ -882,7 +882,7 @@ void repackScriptNew(File json, uint script_version)
882882 ulong [] attribute_lengths;
883883 ulong [] attribute_offsets;
884884 ulong lineCount; // Just for noting when a line is parsed
885- writefln(" Looping %s times" , textScript.text_info.length);
885+ // writefln("Looping %s times", textScript.text_info.length);
886886 foreach (TextInfo text; textScript.text_info)
887887 {
888888 bool inID, inASCII = false ;
@@ -1238,7 +1238,7 @@ void repackScriptNew(File json, uint script_version)
12381238 stringOffsets.write(to! uint (textScript.v4_string_data[i].Unk5Data));
12391239 stringOffsets.write(to! uint (textScript.v4_string_data[i].Unk6Data));
12401240 stringOffsets.write(to! uint (textScript.v4_string_data[i].Unk7Data));
1241- writefln(" Handled %s lines in this loop." , v4_string_index);
1241+ // writefln("Handled %s lines in this loop.", v4_string_index);
12421242 continue ;
12431243 }
12441244 if (i != 0 )
@@ -1260,7 +1260,7 @@ void repackScriptNew(File json, uint script_version)
12601260 stringOffsets.write(to! uint (textScript.v4_string_data[i].Unk5Data));
12611261 stringOffsets.write(to! uint (textScript.v4_string_data[i].Unk6Data));
12621262 stringOffsets.write(to! uint (textScript.v4_string_data[i].Unk7Data));
1263- writefln(" Handled %s lines in this loop." , v4_string_index);
1263+ // writefln("Handled %s lines in this loop.", v4_string_index);
12641264 continue ;
12651265 }
12661266 }
@@ -1289,7 +1289,7 @@ void repackScriptNew(File json, uint script_version)
12891289 stringOffsets.write(to! uint (textScript.v5_string_data[i].Unk4Data));
12901290 stringOffsets.write(to! uint (textScript.v5_string_data[i].Unk5Data));
12911291 stringOffsets.write(to! uint (textScript.v5_string_data[i].Unk6Data));
1292- writefln(" Handled %s lines in this loop." , v5_string_index);
1292+ // writefln("Handled %s lines in this loop.", v5_string_index);
12931293 continue ;
12941294 }
12951295 if (i != 0 )
@@ -1309,7 +1309,7 @@ void repackScriptNew(File json, uint script_version)
13091309 stringOffsets.write(to! uint (textScript.v5_string_data[i].Unk4Data));
13101310 stringOffsets.write(to! uint (textScript.v5_string_data[i].Unk5Data));
13111311 stringOffsets.write(to! uint (textScript.v5_string_data[i].Unk6Data));
1312- writefln(" Handled %s lines in this loop." , v5_string_index);
1312+ // writefln("Handled %s lines in this loop.", v5_string_index);
13131313 continue ;
13141314 }
13151315 }
0 commit comments