Skip to main content

mnltools.py

Python tools for the Mario & Luigi games.

Installation

pip3 install mnltools

Tools

Generic Nintendo DS Tools

mnl-nds-unpack

usage: mnl-nds-unpack [-h] [-d DATA_DIR] [-q] rom

Unpacker for NDS ROMs into the mnllib standard.

positional arguments:
  rom                   the ROM to unpack

options:
  -h, --help            show this help message and exit
  -d, --data-dir DATA_DIR
                        the directory to unpack to (default: 'data')
  -q, --quiet           only print warnings and errors

mnl-nds-pack

usage: mnl-nds-pack [-h] -o OUTPUT [-r REFERENCE_ROM] [-d DATA_DIR] [-q]

Packer for NDS ROMs from the mnllib standard.

options:
  -h, --help            show this help message and exit
  -o, --output OUTPUT   the ROM file to create
  -r, --reference-rom REFERENCE_ROM
                        an optional ROM to copy matching overlays from in
                        order to avoid having to compress them again. By
                        default, this is the output file if it is not STDOUT;
                        to disable this, set it to 'NONE'.
  -d, --data-dir DATA_DIR
                        the directory to pack (default: 'data')
  -q, --quiet           only print warnings and errors

Tools for Dream Team (Bros.)

dsp2rsd

usage: dsp2rsd [-h] [-o OUTPUT] [-q] [-e EXTRA_LOOP_SAMPLES] input

Converter from DSP to streamed RSD (RedSpark) audio.

The DSP must use exactly 1 frame per interleave (14 samples per interleave). One way to get such a file is to use the RedSpark branch of the VGAudio fork: https://github.com/MnL-Modding/VGAudio/releases

positional arguments:
  input                 the DSP file to convert

options:
  -h, --help            show this help message and exit
  -o, --output OUTPUT   the output RSD file (default is the input file with
                        the extension `.rsd`, or STDOUT if the input is STDIN)
  -q, --quiet           only print warnings and errors
  -e, --extra-loop-samples EXTRA_LOOP_SAMPLES
                        the number of extra samples to add to the end of the
                        file when looping, in order to prevent noise (default:
                        212996)

mnl-dt-sounddata-repack

usage: mnl-dt-sounddata-repack [-h] [-q] sound_data bank directory

Repacker for the SoundData.arc file used in Mario & Luigi: Dream Team (Bros.).

positional arguments:
  sound_data   the SoundData.arc file to repack
  bank         the ID of the bank to repack
  directory    the directory containing the `.rsd` files to pack

options:
  -h, --help   show this help message and exit
  -q, --quiet  only print warnings and errors

Download files

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

Source Distribution

mnltools-1.0.1.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

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

mnltools-1.0.1-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file mnltools-1.0.1.tar.gz.

File metadata

  • Download URL: mnltools-1.0.1.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.2 Linux/6.13.7-arch1-1

File hashes

Hashes for mnltools-1.0.1.tar.gz
Algorithm Hash digest
SHA256 929d62347ff1ac37f85a2953b8358f672e9bb4a01d6da419b18f05f33f2bc461
MD5 2db2396c53415771c05b975fb5a6c2ca
BLAKE2b-256 221d5616ee43f546614ef0d74c17fd95ee5e5a84fbe10941fc2c979adb22ec6b

See more details on using hashes here.

File details

Details for the file mnltools-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: mnltools-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.2 Linux/6.13.7-arch1-1

File hashes

Hashes for mnltools-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ea0e5493363e84519fd170a956f066a7c9b6621b0b37df68cbfe40485caf4f
MD5 b7e72f3a943f1c414c59fe33e45a3b4e
BLAKE2b-256 af75c3f98b6732f4f953d8a6060d1a90ce922a6a78f5c58707e41d16bb114519

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

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