ROM Hack Gdbstub for Citra available

  • Thread starter Thread starter Nagato
  • Start date Start date
  • Views Views 14,886
  • Replies Replies 6
  • Likes Likes 12
For those who are interested in using Citra GDBStub,

1. Run GDB in the terminal (WSL Bash, terminal, etc.) You should have "(gdb)" replacing the "$" symbol.
2. Open Citra emulator.
3. Check and enable GDB Stub, and set the port number.
4. Back in Citra emulator, open and execute a game.
5. Check to see the Citro command prompt/terminal is saying "Debug.GDBStub: Waiting for gdb to connect...."
6. In your GDB terminal, type:
Code:
target remote localhost:####
Where #### is your port number you have set earlier.
7. You will see:
Code:
Remote debugging using localhost:####
After you pressed Enter key. This means your GDB is connected to Citra emulator GDB Stub.
8. You can now press and type "si" to run 1 instruction, "n" to step over, and so on.
 
Is there a universal method for using this to track what files a game loads from its RomFS?
 

Site & Scene News

Popular threads in this forum