initial commit: llamamod 0.2.0 – reverse-engineered level formats (wad, map, trak, text, stpc), python tools and notes, java mod manager (iso install, mod pipeline with exe patching, save editor, wine/windows launcher) with mods (test world, debug wireframe, mirror, randomizer, fog, cheats, intro skip, practice, free camera, boot to level, level projects) and the 3d level editor (geometry, objects, cross-world import, environment, textures, play-test, manual)

This commit is contained in:
MineTec committed 2026-11-07 08:15:40 +01:00
commit b36a366240
826 files changed
+105304

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import ghidra.app.script.GhidraScript;
import ghidra.app.decompiler.*;
import ghidra.program.model.listing.*;
import java.io.*;
public class DumpAll extends GhidraScript {
public void run() throws Exception {
DecompInterface d = new DecompInterface();
d.openProgram(currentProgram);
PrintWriter w = new PrintWriter(new FileWriter(getScriptArgs()[0]));
for (Function f : currentProgram.getFunctionManager().getFunctions(true)) {
DecompileResults r = d.decompileFunction(f, 60, monitor);
w.println("// ==== " + f.getName() + " @ " + f.getEntryPoint());
if (r.decompileCompleted()) w.println(r.getDecompiledFunction().getC());
else w.println("// decompile failed");
}
w.close();
}
}