Skip to main content

Quickly decode or encode assets for RPG Maker MV, even if you don't have the key

Project description

v1.2.0 CodeQL Status v1.2.0 Python Application Status v1.2.0 Pylint Status Documentation status Latest pypi release

This is a set of python scripts for decoding and encoding RPGMaker MV/MZ game assets.

Decoding has a handy feature, it will figure out (if possible) the key automatically. It will also can use the file data for creating the extension. If you know the key, you can pass it in.

If you want you can use the API instead

Features

  • GUI for those who need that

  • Fast

  • No key needed if there’s any encoded png images

  • Can put proper file extensions on the decoded files

Example usage

./decoder.py "<source path>" "<destination path>" ["<optional key>"]
./encoder.py "<source path>" "<destination path>" "<key>"
./gui.py

The GUI has a fairly simple main window:

Main Window

Progress will be shown while finding the key, decoding the files or encoding the files:

Progress Dialog

Hitting the question mark will bring up the about box, which gives some handy links:

About Dialog

Help

You can use the standard --help option for full documentation:

Decoding

Usage: decode.py [OPTIONS] <Source> <Destination> [<Key>]

  Decodes RPGMaker files under <Source> directory to <Destination> directory.

Arguments:
  <Source>       The source directory. For best results this should be the
                 parent of the 'www' or 'img' directory.
  <Destination>  The parent destination directory. This script will create a
                 project directory under this path if it doesn't already
                 exist.
  <Key>          The decoding key to use. This argument is optional. If the
                 key is omitted it will be inferred (if possible) based on the
                 file contents.

Options:
  --detect_type  Detect the file type and use the associated file extension.
                 By default .rpgmvp becomes .png and .rpgmvo becomes .ogg
                 regardless of the file contents.
  --help         Show this message and exit.

Encoding

Usage: encode.py [OPTIONS] <Source> <Destination> <Key>

  Encodes image and audio files under <Source> directory.

Arguments:
  <Source>       The source directory. For best results this should be the
                 parent of the 'www' or 'img' directory.
  <Destination>  The parent destination directory. This script will create a
                 project directory under this path if it doesn't already
                 exist.
  <Key>          The encoding key to use.

Options:
  --help  Show this message and exit.

History

1.1.1 (2022-04-18)

  • Fixing tag issue

  • Fixing release build

1.1.0 (2022-04-18)

  • Documentation changes

  • GUI changes

1.0.3 (2022-04-18)

  • Bumping version to fix out of order upload to pypi

1.0.2 (2022-04-15)

  • Fixed history file

  • Fixed documentation link

1.0.0 (2022-04-15)

  • Added about dialog

  • Production ready

0.3.4 (2022-04-14)

  • Updating actions to publish properly

  • Documentation updates

0.3.3 (2022-04-14)

  • Fix to GitHub actions

0.3.2 (2022-04-14)

  • Automate the release process

0.3.1 (2022-04-13)

  • Fixes to documentation

0.3.0 (2022-04-13)

  • Added icons

  • Added encoding

  • Changed exe name

  • UPX packing on Windows

  • Documentation updates

0.2.4 (2022-04-06)

  • More testing

  • Bump2Version configuration fixes

  • Fixing up tox.ini

0.2.3 (2022-04-01)

  • Added tests

0.2.2 (2022-04-01)

  • Fixed documentation

  • Fixed exceptions

0.2.1 (2022-03-31)

  • Bug fixes

0.2.0 (2022-03-30)

  • Added GUI

0.1.1 (2022-03-23)

  • Faster key detection

  • Python typing

  • Added documentation

  • Keeping files compatible with RPGMaker MV/MZ * Using .png or .ogg instead of real extension

0.1.0 (2021-04-18)

  • First release on PyPI.

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

rpgmaker_mv_decoder-1.2.0.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

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

rpgmaker_mv_decoder-1.2.0-py2.py3-none-any.whl (10.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rpgmaker_mv_decoder-1.2.0.tar.gz.

File metadata

  • Download URL: rpgmaker_mv_decoder-1.2.0.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for rpgmaker_mv_decoder-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5e3930818af9d71b07409bce2ada37e1e908066788b05d607f5940b850c137a4
MD5 7ad9d9b2762b6a1f8932ca13923b599d
BLAKE2b-256 e30f1c504eaa73d5f1e7ed0bbd4ff3a1ff28315de3567190a44c41f487bee413

See more details on using hashes here.

File details

Details for the file rpgmaker_mv_decoder-1.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rpgmaker_mv_decoder-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 912fad3dcd4e1225ba736b67c117c30234a2536c876d0ac8563fd25716b5f2d4
MD5 018568e7debcaf2e176d1e95a0bdff8f
BLAKE2b-256 4b8e1de8f767e944e7f8f6dff1dfdce1c1b96f972b77b924e0d0fced3247aed1

See more details on using hashes here.

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