IDA: Display progress when executing script
This commit is contained in:
@@ -23,6 +23,7 @@ namespace Il2CppInspector
|
|||||||
writer = new StreamWriter(fs, Encoding.UTF8);
|
writer = new StreamWriter(fs, Encoding.UTF8);
|
||||||
|
|
||||||
writeLine("# Generated script file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty");
|
writeLine("# Generated script file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty");
|
||||||
|
writeLine("print('Generated script file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty')");
|
||||||
|
|
||||||
writeSectionHeader("Preamble");
|
writeSectionHeader("Preamble");
|
||||||
writePreamble();
|
writePreamble();
|
||||||
@@ -38,6 +39,7 @@ namespace Il2CppInspector
|
|||||||
writeSectionHeader("IL2CPP Metadata");
|
writeSectionHeader("IL2CPP Metadata");
|
||||||
writeMetadata();
|
writeMetadata();
|
||||||
|
|
||||||
|
writeLine("print('Script execution complete.')");
|
||||||
writer.Close();
|
writer.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,6 +156,8 @@ def MakeFunction(start, end):
|
|||||||
writeLine("");
|
writeLine("");
|
||||||
writeLine($"# SECTION: {sectionName}");
|
writeLine($"# SECTION: {sectionName}");
|
||||||
writeLine($"# -----------------------------");
|
writeLine($"# -----------------------------");
|
||||||
|
writeLine($"print('Processing {sectionName}')");
|
||||||
|
writeLine("");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void writeName(ulong address, string name) {
|
private void writeName(ulong address, string name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user