Skip to content

library for writing assembly for PowerPC, focused on Nintendo GameCube/Wii

License

Notifications You must be signed in to change notification settings

henriquegemignani/ppc-asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppc-asm

This package provides allows one to easily modify existing Nintendo GameCube or Wii game executables.

Usage

import pathlib
from ppc_asm.dol_file import DolFile
from ppc_asm.assembler.ppc import *

dol_file = DolFile(pathlib.Path("main.dol"))
dol_file.set_editable(True)
with dol_file:
    dol_file.write_instructions(
        0x800857F0,
        [
            or_(r3, r30, r30),
            li(r4, 0x29),
            li(r5, 9999),
            bl(0x80085760),
        ]
    )

About

library for writing assembly for PowerPC, focused on Nintendo GameCube/Wii

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages