Skip to main content
Pre-release

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

Logo

GameBoy Advance - SDK

PyPI version Build Status

A Software Development Kit for developers who want to build GameBoy Advance games.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

This SDK aims to simplify GameBoy Advance homebrew development by allowing developers to write game logic in Python. It handles the underlying compilation, asset conversion, and bindings to interface efficiently with the GBA hardware.

Built With

Python C Assembly CMake Linker Script

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

You need Python 3.x installed on your system

Installation

Development mode (clone the repo, with local changes)

  1. Clone the repo
git clone https://github.com/lukas-sgx/GBA-sdk.git
cd GBA-sdk
  1. Install the SDK in development mode
pip install -e .

Release mode (stable version from PyPI)

pip install cartridge-sdk

Usage

Here is a quick example of how to dump header of ROM:

$ cartridge-sdk hdr dump bin/ExampleGBA.gba
bin/ExampleGBA.gba:
|-- entry
|   |-- valid: True
|   |-- raw: 0xea00002e
|   `-- opcode: b 0xc0
|-- nintendo logo:
|   |-- status: True
|   `-- debugging: True
|-- game title: EXAMPLEGBA
|-- game code:
|   |-- code: BXXE
|   |-- date: 2003.. (new)
|   `-- language: USA/English
|-- marker code:
|   |-- id: 01
|   `-- developer: Nintendo
|-- fixed value: valid (96h)
|-- unit code: 00h
|-- device type: 00h
|-- reserved: valid
|-- software_ver: 00h
`-- checksum:
    |-- valid: True
    |-- rom: e3
    `-- our: e3

For more advanced examples, please refer to the Documentation.

Roadmap

  • Automated header checker .gba ROM
  • Automated compilation to .gba ROM
  • Font asset pipeline (PNG to C file converter)
  • Core GBA bindings (Video, Audio, Inputs)
  • Asset pipeline (PNG to GBA sprite palette converter)

See the open issues for a full list of proposed features (and known issues), and CHANGELOG.md for release history.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

See CONTRIBUTING.md for setup instructions, commit conventions, and the PR process.

Top contributors:

contrib.rocks image

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Lukas Soigneux - lukas.soigneux@epitech.eu

Acknowledgments

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cartridge_sdk-2.0.0b0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cartridge_sdk-2.0.0b0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file cartridge_sdk-2.0.0b0.tar.gz.

File metadata

  • Download URL: cartridge_sdk-2.0.0b0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cartridge_sdk-2.0.0b0.tar.gz
Algorithm Hash digest
SHA256 6569eeff00f9c0e2b9c3b17e9c2cefd34096fac44bde8005b9b08ddf6469e081
MD5 c0d04e6bd594e878fe5cb537d36f2a98
BLAKE2b-256 dedaaa97a9e8b3149879a02f855bb9e0fbfd2a18394ac96f91db023ecfbde638

See more details on using hashes here.

Provenance

The following attestation bundles were made for cartridge_sdk-2.0.0b0.tar.gz:

Publisher: release.yml on lukas-sgx/GBA-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cartridge_sdk-2.0.0b0-py3-none-any.whl.

File metadata

  • Download URL: cartridge_sdk-2.0.0b0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cartridge_sdk-2.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 744f54f325c20c97344faff7841b0fc8bb6fc0b2afd7236348096fc8267e2b77
MD5 48fef967be801d6c6dd4555a49459c45
BLAKE2b-256 40a156c32affa51aa57d3e1b7a8c2a4b1636a164ac1d80d26c09c2297bdb4c37

See more details on using hashes here.

Provenance

The following attestation bundles were made for cartridge_sdk-2.0.0b0-py3-none-any.whl:

Publisher: release.yml on lukas-sgx/GBA-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.0.0

2 files

This release

2.0.0b0 This release

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page