Skip to main content

Pikmin e+ Card Tools, a library for manipulating Pikmin e+ cards

Project description

Piket: Pikmin e+ Card Tools

All-in-one package for converting and managing Pikmin e+ Cards, pronounced "picket".

Now with support for Windows, macOS (Apple Silicon), and Linux!

Current Capabilities

  • Decode .raw to editable level data
  • Encode editable level data to .raw

Future Plans

  • Introduce classes for in-house manipulation!
    • Card: manipulate the primary card data
    • Level: manipulate individual level data (set_camera, set_character, set_tile, etc.)

Installation

Easily include Piket in your projects with pip:

pip install piket

Demo

Try Piket now with the Drag-and-Drop Converter!

python -m venv .venv
.venv\Scripts\activate # or source .venv/bin/activate
pip install piket[demo]
python -m piket.converter

This demo allows you to easily drag-and-drop .raw files and get decoded .bin files, and then vice versa!

Usage Guide

Use Piket to easily decode, manipulate, and then re-encode .raw card files.

import piket

card = piket.decode("card.raw")
card[0x115] = 0x1 # set tile (0, 0) to grass
new_raw = piket.encode(card, "card.raw")

For more detailed usage, check the dedicated Usage Guide.

Acknowledgements

  • Caitsith2: Original e-Reader Tools (nedclib)
  • Lymia: Cross-platform, open source version of Caitsith2's nedclib
  • breadbored: Maintainer of Lymia's now-archived nedclib
  • BlackShark: headerfix.c source code

Nintendo is the copyright and trademark holder for Pikmin, its designs and its characters. This project is free, and for educational purposes only.

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

piket-0.2.0.tar.gz (477.1 kB view details)

Uploaded Source

Built Distribution

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

piket-0.2.0-py3-none-any.whl (481.0 kB view details)

Uploaded Python 3

File details

Details for the file piket-0.2.0.tar.gz.

File metadata

  • Download URL: piket-0.2.0.tar.gz
  • Upload date:
  • Size: 477.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for piket-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6cbfb00f1cf10fc0129ee07d194b1da065e01b1902e243a2af887b74d9b6c0f3
MD5 a4017dd9f1902840bb11bf6aa7b89f06
BLAKE2b-256 8da6cbe6f256024e32be356006b991c41078f1f05abe5aa638f332f2133547c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for piket-0.2.0.tar.gz:

Publisher: publish.yml on plxl/piket

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

File details

Details for the file piket-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: piket-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 481.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for piket-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a82d2190761b0434e629204fa8b07f30427cdba831a312a4ef313454910d7945
MD5 038b85b467017f9a7448a563aa27b755
BLAKE2b-256 86cf530f2dfefce49e07d75c69e3d9ac29054608dd1c67a3e4c818c0a2fe245b

See more details on using hashes here.

Provenance

The following attestation bundles were made for piket-0.2.0-py3-none-any.whl:

Publisher: publish.yml on plxl/piket

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

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