From 8eb7a0721ab5364bcff0d6a3b6931511bce9cb0b Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Wed, 5 Feb 2020 09:12:42 +0100 Subject: [PATCH] IDA: Display progress when executing script --- Il2CppDumper/Il2CppIDAScriptDumper.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Il2CppDumper/Il2CppIDAScriptDumper.cs b/Il2CppDumper/Il2CppIDAScriptDumper.cs index 45b702b..da708f8 100644 --- a/Il2CppDumper/Il2CppIDAScriptDumper.cs +++ b/Il2CppDumper/Il2CppIDAScriptDumper.cs @@ -23,6 +23,7 @@ namespace Il2CppInspector writer = new StreamWriter(fs, Encoding.UTF8); 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"); writePreamble(); @@ -38,6 +39,7 @@ namespace Il2CppInspector writeSectionHeader("IL2CPP Metadata"); writeMetadata(); + writeLine("print('Script execution complete.')"); writer.Close(); } @@ -154,6 +156,8 @@ def MakeFunction(start, end): writeLine(""); writeLine($"# SECTION: {sectionName}"); writeLine($"# -----------------------------"); + writeLine($"print('Processing {sectionName}')"); + writeLine(""); } private void writeName(ulong address, string name) {