Python tools for the Mario & Luigi games.
Project description
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
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(19.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mnltools-1.0.0-py3-none-any.whl
(23.2 kB
view details)
File details
Details for the file mnltools-1.0.0.tar.gz.
File metadata
- Download URL: mnltools-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84825dc2a0bf48b0f1bba2064bf6782aa06c861aaa6e56f7a523ea99e6967f17
|
|
| MD5 |
c4e8b64b226471eaee1d3ebd442eed14
|
|
| BLAKE2b-256 |
ee42b31a916721a9fe0a3f0e1ad11b299dc26aee733705e9870a52f65b343e8a
|
File details
Details for the file mnltools-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mnltools-1.0.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4901ff213f1a7e41aeb6af442e73d8c2f868ecde93e63316e7927c8c96db19b7
|
|
| MD5 |
5c40b1449799fdd7c289c4d5ad2736a4
|
|
| BLAKE2b-256 |
4d5b448e2d1c56eaa54b9036dfe1643323085c5667c1cbc5e3143afd81018395
|