Difference between revisions of "DOL-Ckit"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
(Created page with "__TOC__ ==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 branchli...")
 
m
 
Line 7: Line 7:
 
<div align="left"><source>
 
<div align="left"><source>
 
p.add_c_file("main.c")
 
p.add_c_file("main.c")
p.hook_branchlink(0x8041a4b0, "widescreen1")
+
p.hook_branchlink(memory address for the function, "function")
 
p.hook_branchlink(0x803bb8a8, "widescreen2")
 
p.hook_branchlink(0x803bb8a8, "widescreen2")
 
p.hook_branchlink(0x8041ae14, "widescreen3")
 
p.hook_branchlink(0x8041ae14, "widescreen3")

Latest revision as of 17:20, 8 March 2024

The Project.py[edit]

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