This repository has been archived on 2023-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
rpgmv-decryptor/README.md

23 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

2019-07-12 11:31:36 +00:00
# RPGMV-DECRYPTOR
Decrypts RPG Maker MV Game Files (.rpgmvo, .rpgmvp and .rpgmvm files)
and creates an .rpgproject editable file.
Reverse Engineering / Static Analysis & Modding purposes~ plz dont steal assets. .
2018-01-11 13:29:56 +00:00
2018-01-12 06:23:26 +00:00
Written in Python 2.7.
2018-01-12 06:24:19 +00:00
# How RPGMV Crypto Works
2018-01-12 06:32:51 +00:00
RPG Maker MV's encryption is really weak, for startas it doesnt even encrypt the entire file, it just encrypts the header using XOR. and then writes its own RPG Maker MV header to the file with the old (now encrypted) header under it.
2018-01-12 06:23:26 +00:00
the encryption key is just an md5 hash of whatever was entered into the encryption key box under deployment in the rpg maker engine itself. and can be easily read from www\data\System.json, so all you need to do is
XOR the encrypted header using the md5 hash inside System.json as the key and remove the RPG Maker MV header.
System.json contains 2 boolean values of
hasEncryptedImages and hasEncryptedMusic
which are used to indicate whther or not the game has encrypted music and or images
this is pretty important because otherwise the game cant tell if it needs to decrypt the assets before loading them in game.
this program will set both these values to "false" after the game has been decrypted. to avoid issues.
2018-01-12 06:26:26 +00:00
The .rpgproject file is just a plaintext file that contains the string "RPGMV %s" where %s is whatever version of RPG Maker MV the Project was last loaded in so i just use version 1.0.0 because its the first version and will basicly mean that the project can be loaded in any version of RPG Maker MV the actural project itself *is* the decrypted www/ directory.
2018-08-04 06:32:06 +00:00
Downloads:
Windows (x86): https://bitbucket.org/SilicaAndPina/rpgmv-decryptor/downloads/RPGMV-DECRYPTOR-WIN32.zip
Linux: https://bitbucket.org/SilicaAndPina/rpgmv-decryptor/downloads/RPGMV-DECRYPTOR-LINUX.tar.gz