Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Format:RPG Maker MV encrypted assets

From ReverseEngineering.wiki
Format
On this wiki Facts · Code · Notes · Topics

RPG Maker MV/MZ encrypted resources (.rpgmvp images, .rpgmvm m4a audio, .rpgmvo ogg audio; MZ uses .png_ .m4a_ .ogg_): a 16-byte header starting with the ASCII RPGMV; recognition only.

RPG Maker MV (and MZ) can store images and audio as individually obfuscated files instead of a Game.rgssad-style archive (see Format:RGSSAD for XP/VX/Ace). This page covers recognition only; keys and decryption are out of scope for this wiki.

Recognition

From rpgtkoolmv/corescript js/rpg_core/Decrypter.js: the header is 16 bytes, 52 50 47 4D 56 00 00 00 (ASCII RPGMV and three NULs), then 00 03 01 (version), then 5 zero bytes. A file whose first 16 bytes differ is rejected with the error text Header is wrong.

Extensions

Decrypter.extToEncryptExt maps ogg to .rpgmvo, m4a to .rpgmvm and png to .rpgmvp. MZ uses the extensions .ogg_, .m4a_ and .png_ for the same three kinds: the open tool uuksu/RPGMakerDecrypter (MIT) lists exactly these three in MZFileExtensionMaps (RPGMakerDecrypter.MVMZ/Constants.cs lines 19-24 at 465c88c304cac0b1516a3fbfb0b2a87fb0517736), next to the MV map .rpgmvo, .rpgmvp, .rpgmvm (lines 8-13). Unverified: the MZ core scripts themselves (not public in the repository searched) were not read, so the 16-byte header of MZ files is assumed to be the same as MV.

Switches

data/System.json carries the booleans hasEncryptedImages and hasEncryptedAudio; DataManager copies them into Decrypter.hasEncryptedImages/hasEncryptedAudio. Another System.json field holds the project key; do not publish its value.

Image/Window.png (img/system/Window.png) is on the decrypter's ignore list and stays a plain PNG.

See Library:RPG Maker, Library:NW.js.

Code & repositories

  • https://github.com/rpgtkoolmv/corescript @ 182e31449707ba7e406db0485c44c2a9d11e2dcd · license: MIT
    RPG Maker MV core scripts (MIT): js/rpg_core/Decrypter.js, DataManager.js, StorageManager.js, template/index.html.
    Tested on: source read, not run: source read, not run · checked 2026-10-18; last activity 2021-08-26
  • https://github.com/uuksu/RPGMakerDecrypter @ 465c88c304cac0b1516a3fbfb0b2a87fb0517736 · license: MIT
    C# tool for RPG Maker archives and MV/MZ files; read only for its extension maps and MV/MZ layout detection.
    Tested on: source read, not run · checked 2026-10-19; last activity 2024-12-30; Note: the latest release ships binaries; the wiki links only the source, never the binaries