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.0.tar.gz (25.6 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.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ppc_asm-1.6.0.tar.gz
Algorithm Hash digest
SHA256 e11e52ee8cb5e76ddc42bb515969ccae5f5657d2bf6c949d7443b3d383b701c9
MD5 73aa978a6e6e3af7f08490b9349ba34b
BLAKE2b-256 31c3cdeda8172edf068306ce7646349246d442b6e7f6645c5eb129de66278ddc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ppc_asm-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a96ba0424e11a3d70d4330b3a6baf15f0dc4e18c796ececf59bdaba5dfa15ab
MD5 cca9cad93b8a022140dc68cf05fc20c9
BLAKE2b-256 09ac50a7fe3ca0a75ce60620885397c1f4634083991d8b3a8c6c4de493629074

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