Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

supSMSGecko

A tool to make Gecko codes for Super Mario Sunshine.

Installation

pip install supSMSGecko

You also need devkitPro if you want to make C0/C2 codes.

Example

from supSMSGecko import make_xml, symbols, Button as B

def main(g, ver):
  S = symbols[ver]
  addr_inst = 0x26 + S['TMarDirector_direct']
  addr_input = S['mPadStatus']
  # code
  g.write16(addr_inst, 600)
  g.if16(addr_input, '==', B.B | B.DL)
  g.write16(addr_inst, 2400)
  g.if16(addr_input, '==', B.B | B.DR, endif=True)
  g.write16(addr_inst, 4800)
  g.endif()

# output the generated Gecko codes for all 4 versions to "@code.xml"
make_xml(main)

TODO

  • document of each function

Metadata

Release files for supSMSGecko 0.1.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for supSMSGecko 0.1.0a5
File Size Uploaded
supSMSGecko-0.1.0a5.tar.gz 3.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for supSMSGecko 0.1.0a5
File Interpreter ABI Platform
supSMSGecko-0.1.0a5-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 MB

Release files / supSMSGecko-0.1.0a5.tar.gz

Download URL supSMSGecko-0.1.0a5.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
78c8fe3b61724399569b51604cbfe830b7b9abaea24ef5fbb311d242e47f714d
BLAKE2b-256 checksum
How to use checksums
9b83405a06c13c26db2df529ff0d91ddcad4152243fedf88273218bcc351b3ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.1

Release files / supSMSGecko-0.1.0a5-py3-none-any.whl

Download URL supSMSGecko-0.1.0a5-py3-none-any.whl
Size 3.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
595f784a8a2bd6229745294602d41afc6b24ae7c202c956d7a5eb24ee6fa477e
BLAKE2b-256 checksum
How to use checksums
f18ac04830c60548c6bb900c078440b58568cc68fe7de402cd47a2c5c9d27c65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.1
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page