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.5.0.tar.gz
(25.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ppc_asm-1.5.0-py3-none-any.whl
(21.2 kB
view details)
File details
Details for the file ppc_asm-1.5.0.tar.gz.
File metadata
- Download URL: ppc_asm-1.5.0.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8afef3fead17a032c06baa875352f277c6c6c9f5a14c14d16b6dab1fbb734674
|
|
| MD5 |
a6925694320f28dc4fd5b37daf719062
|
|
| BLAKE2b-256 |
65620e5a2e506f63e8098e93bd8b6fc38e2f0377503453c24c46edbda5562fc2
|
File details
Details for the file ppc_asm-1.5.0-py3-none-any.whl.
File metadata
- Download URL: ppc_asm-1.5.0-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89ed4da0ee2e2399c8a1a1b21775533cf5431ebe880fa4016ded00856bf9faa5
|
|
| MD5 |
b4a421ddeb546bf1a2c51e3ae6916ad4
|
|
| BLAKE2b-256 |
ffa331f58be03e7f168d87fc83b8fd94d605400e8a3515a842b181588f41d436
|