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.8.0.tar.gz (44.9 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.8.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppc_asm-1.8.0.tar.gz
  • Upload date:
  • Size: 44.9 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.8.0.tar.gz
Algorithm Hash digest
SHA256 2826e3b15c7c415ae7fb87b7060b50083c834cd0c3a45dcca85173bcb1417f16
MD5 ef84669c9231baf9c6f00995c9d536c1
BLAKE2b-256 88ba79d448f74b1b55d4cc681cb8a4ecce9cf4392850650b023572300030e509

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppc_asm-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fdc08ef6ff3b656a737a457b243172ee8c298823434dd6463a0670fa3b2453a
MD5 c17f080c70ac2008e26f5e1ed89c04ed
BLAKE2b-256 3306190d2175869011524ebef0889c0bb258107f3ebc6f4bd254b36f4c062452

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