ROM Hack Question Game Reverse Engineering

  • Thread starter Thread starter gudenau
  • Start date Start date
  • Views Views 4,556
  • Replies Replies 5

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
4,111
Reaction score
4,456
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
7,771
Country
United States
I would like to get into reversing a Switch game for the purposes of making some (hopefully) small modifications to how it works. I am unsure of the process that I would need to get the executable off of my Switch and onto my computer and into Ghidra. I would like to be able to go from some specific system calls and start adding some hooks to log things over the network as a starting point.

What would be the processes for:
  • Dumping the executable from my Switch
  • Load the executable into Ghidra with syscalls and services mapped, maybe even STD/Nintendo libs if possible
  • Creating patches for the executable
  • Creating a small C(++) binary for the patches to call
Just a quick example, lets say I want to patch Minecraft to log how it uses acc services. What would be the general process used to do that?
 
You can't patch exefs for that. Patching means replacing data 1:1, you can't add additional instructions in between as this would break executables.

You need to inject plugin/binary to add new instructions and hooks. And for that the best is Skyline framework.

Skyline devs are available on ReSwitched discord.
 
Last edited by masagrator,
You can't patch exefs for that. Patching means replacing data 1:1, you can't add additional instructions in between as this would break executables.

You need to inject plugin/binary to add new instructions and hooks. And for that the best is Skyline framework.

Skyline devs are available on ReSwitched discord.

It's an emulator?
 

Site & Scene News

Popular threads in this forum