library for writing assembly for PowerPC, focused on Nintendo GameCube/Wii
Project description
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),
]
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ppc_asm-1.3.0.tar.gz
(24.7 kB
view details)
Built Distribution
ppc_asm-1.3.0-py3-none-any.whl
(20.7 kB
view details)
File details
Details for the file ppc_asm-1.3.0.tar.gz
.
File metadata
- Download URL: ppc_asm-1.3.0.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd3bbb23809dc693979aa8d67ecdb9a0d95f5ea9b068478afaa1db2c7654675f |
|
MD5 | b62ed76d1e8cd79670801a81c6751a7e |
|
BLAKE2b-256 | afd9cf23ceff90cb2ab0a740463e44d0637bfefa5501b9af8ccfef1e13df8772 |
File details
Details for the file ppc_asm-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: ppc_asm-1.3.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeb63e07d3d05efea2536cd97f24f4519191a4e3604e374d4122d3a691865882 |
|
MD5 | 64bfbfe3905979bda555e58ff7cc68ae |
|
BLAKE2b-256 | 8ad483a212c2bb0fd9261fe67a749880731f24a52d34e5b48d862daccb69bd58 |