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.7.0.tar.gz (26.4 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.7.0-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppc_asm-1.7.0.tar.gz
  • Upload date:
  • Size: 26.4 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.7.0.tar.gz
Algorithm Hash digest
SHA256 edf539bb08527086b6a21cf53f2170304f3dceca6331dd86133e3d95a08afcf4
MD5 f8a44cad1da62d6653d6487b4c5bd26e
BLAKE2b-256 b8d8666a9af241722710d155b8f89c73aed8db9a86243f5fd871bd38dcd676df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppc_asm-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 21.7 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d4d3f4914ab6c8f4541634d598843256480682e0f2d563bff8cda9b4ebcbc42
MD5 46a8a7714cd087018f367d65ecf27cb0
BLAKE2b-256 7563966a6ec40dc0f14890f2e0b29cf33d5336e4671c0548e0c9fd9c441c2e0b

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