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:RGSSAD

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

Archive of RPG Maker XP/VX/VX Ace (Game.rgssad, .rgss2a, .rgss3a): an 8-byte header of the ASCII RGSSAD, a NUL and a version byte (1 for rgssad and rgss2a, 3 for rgss3a), followed by an obfuscated entry table and data; the table is stored XOR-obfuscated.

Header

Offset 0: 52 47 53 53 41 44 00 ("RGSSAD" + NUL), offset 7: version byte, 1 (RPG Maker XP and VX, .rgssad / .rgss2a) or 3 (VX Ace, .rgss3a). The open-source mkxp-z reader rejects an archive whose byte 7 does not match the handler it tries.

Entries

In both versions each entry gives a name length, name, data size and the data; version 1 interleaves entries sequentially until the end of the file, version 3 starts with a u32 base value and lists offset, size, per-file value and name length per entry, ending with a zero offset. Names use backslashes as separators. All fields and file contents are obfuscated; the scheme is not documented here (decryption is out of scope).

Related

Library:RPG Maker

Code & repositories

  • https://github.com/mkxp-z/mkxp-z @ 37a04d14413454551a7b6aadbb4e93e67168accb · license: GPL-2.0-or-later (declared by the contributor; GitHub's detector did not recognize COPYING)
    mkxp-z: open-source RGSS (RPG Maker XP/VX/VX Ace) runtime; src/crypto/rgssad.cpp opens the .rgssad/.rgss3a archives, src/config.cpp guesses the RGSS version.
    Tested on: source read, not run: source read only · checked 2026-10-18