Skip to content

AlgebraManiacABC/3ds-Ghidra-Scripts-Java

Repository files navigation

3DS Ghidra Scripts (Java)

A collection of scripts which greatly assist in decompiling 3DS games (particularly those with relocatable modules).

Current Scripts

  • MoveStatic - Moves the .code binary to 0x100000 in memory, and splits it into is respective segments, according to romfs/static.crs
  • CROLink - The present chef d'œuvre of this repository. Links .code to its imported modules (.cro files) and each module to each other, and additionally labels and demangles found symbols.
  • SplitToELF - A close second to CROLink in terms of utility. Accepts a directory of compiled objects (.o), and splits the current Ghidra program into its own .o files, outputting them into another directory for linkage with your favorite linker (mine is the devkitARM arm-none-aebi-ld). Just make sure the order is known ahead of time.
  • LabelSVCFunctions - Labels and bookmarks Software Interrupts (Services / SVC)
  • LabelServiceHandles (Coming Soon) - Labels handles to services (Services API)

Credit

About

Inspired by zaksabeast/3ds-Ghidra-Scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages