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.9.0.tar.gz (45.3 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.9.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppc_asm-1.9.0.tar.gz
  • Upload date:
  • Size: 45.3 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.9.0.tar.gz
Algorithm Hash digest
SHA256 e3776301b308328f69d3ee36b0bf3d13a27091ee0012f036ac746077c584f7a9
MD5 eaf608fd7e9bab2501617072076f9c1b
BLAKE2b-256 231eed2a1534b0d788ab8ee3d6d1f08a074e83263c573aa25d38a9ca8ba26787

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppc_asm-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 22.3 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dea9c111131723fd01199feb8b638b06ddb791826b0c7275e58a5bb612b5b577
MD5 0735b04decbefda3184a12ed5ac2d16d
BLAKE2b-256 3e4cc2eed780f32fc5b77c5b6c33bdf1792dc362e838f2bb3491dd486a329ecc

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