DOL-Ckit

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search

The Project.py

So in ckit it allows you to hook into addresses and append c code to the dol of a game whice is done though building c sources and hooking branchlinks through the project.py. like for example lets say you want to hook the file main.c you would have to hook it like this

hooking a file
p.add_c_file("main.c")
p.hook_branchlink(memory address for the function, "function")
p.hook_branchlink(0x803bb8a8, "widescreen2")
p.hook_branchlink(0x8041ae14, "widescreen3")
p.hook_branchlink(0x8043502c, "widescreen4")


Credits: GameCubing8619