Skip to main content

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


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.6.1.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ppc_asm-1.6.1-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file ppc_asm-1.6.1.tar.gz.

File metadata

  • Download URL: ppc_asm-1.6.1.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ppc_asm-1.6.1.tar.gz
Algorithm Hash digest
SHA256 4658c25044a8d189e574d824ff48d366477a485e5202c937da462e93fa09e17f
MD5 10ecb34b30e02d1658adda4c05036d6c
BLAKE2b-256 1013be6488922ef61a52d56d2271f12f337d92cbbd2f6d979842805f78a6f564

See more details on using hashes here.

File details

Details for the file ppc_asm-1.6.1-py3-none-any.whl.

File metadata

  • Download URL: ppc_asm-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ppc_asm-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6519883c7dc04bacd326d4d9393cef3a63e77edec55f4d6de8a0dfd9a9644ba2
MD5 21076859717bf09fcfd91e0716781465
BLAKE2b-256 9d35d136daa215d40662a254597d109b9f601096d6178197295417e958e3d0c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page