rpgmdec
README на русском
RPGMDec is a universal, lightweight GUI for decrypting and encrypting RPG Maker archives and assets.
File names inside archives are read as UTF-8; use the encoding selector (e.g. Shift-JIS) for archives of older Japanese games.
Select the operation (Decrypt Archive, Encrypt Archive, Decrypt Assets, or Encrypt Assets) before importing files or folders. Opening a folder preserves its subdirectory structure (and archive encryption requires Audio, Graphics, Data, or Fonts subdirectories), while individual files are written directly to the output directory. If an imported folder contains several archives, the app asks which one to open.
rpgmdec is written in C++ with ImGui framework and uses the following libraries to handle RPG Maker encrypted formats under the hood:
The earlier Rust application is on the legacy branch.

Installation
Get the binaries from Releases. They require x86-64-v2 support and OpenGL 3.0.
On Linux the file choosers need zenity or kdialog.
Usage
The welcome text and the (?) markers next to each option explain how to use the app.
Besides decrypting and encrypting, the program can play audio and preview images and ttf/otf fonts.
Decrypt
- Archives:
.rgssad, .rgss2a, .rgss3a
- Data:
rxdata, rvdata, rvdata2
- Images:
png
- Audio:
ogg, m4a
- Fonts:
ttf, otf
- Assets:
.rpgmvp/.png_, .rpgmvo/.ogg_, .rpgmvm/.m4a_
Encrypt
- Data:
rxdata, rvdata, rvdata2
- Images:
png
- Audio:
ogg, m4a
- Fonts:
ttf, otf
Building
Dependencies
- CMake 3.25+
- C++23 compiler (Clang 18+, GCC 13+ or MSVC 2022+)
- C++23 STL (>=libc++23, >=libstdc++13 or MSVC 2022+)
- Rust 1.81+
- GLFW 3.3+
- FFmpeg 5.1+ (
libavformat, libavcodec, libswresample, libavutil).
- Text encodings: on Windows, ICU from the Windows SDK (
icu.h and icuuc.lib, found through the INCLUDE and LIB environment variables of the MSVC toolchain), or GNU libiconv when the SDK’s ICU isn’t found or with -DENABLE_ICONV=ON (MSYS2’s CLANG64 ships it). Elsewhere, iconv, which glibc provides.
- GoogleTest for the tests.
FFmpeg is found under FFMPEG_ROOT or CMAKE_PREFIX_PATH. Name the dependencies of static libraries in FFMPEG_EXTRA_LIBRARIES.
Build and test
git clone --depth 1 https://github.com/RPG-Maker-Translation-Tools/rpgmdec
cd rpgmdec
cmake -S . -B build -G Ninja -DBUILD_TESTS=ON
cmake --build build
ctest --test-dir build
The application is build/target/bin/rpgmdec (rpgmdec.exe on Windows).
The Linux releases link a minimal FFmpeg and GLFW statically. ci/build-deps.sh <prefix> builds both; configure with -DCMAKE_PREFIX_PATH=<prefix> to use them.
Support
Me, the maintainer of this project, is a poor college student from Eastern Europe.
If you could, please consider supporting us through:
Even if you don’t, we will still continue working on the project anyways.
License
Licensed under WTFPL.
The repository contains third-party software, that is licensed under other conditions:
src/3rdparty - contains 3rd-party libraries:
评论