Coder Social home page Coder Social logo

petschko / rpg-maker-mv-decrypter Goto Github PK

View Code? Open in Web Editor NEW
611.0 21.0 106.0 580 KB

You can decrypt RPG-Maker-MV Resource Files with this project ~ If you don't wanna download it, you can use the Script on my HP:

Home Page: https://petschko.org/tools/mv_decrypter/

License: MIT License

JavaScript 94.33% HTML 4.30% CSS 1.37%
decrypt-files encryption-key rpg-maker-mv decryption decrypting-files javascript html5 html personal-project rpg-maker

rpg-maker-mv-decrypter's People

Contributors

blackyuzia avatar petschko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpg-maker-mv-decrypter's Issues

Translations System

I think of adding a translation system, were you can switch the language. Some people dont understand english very well and may like it in their language

Can not find out the Key from rpg_core.js

As you explained here(#19) how the get the key from rpg_core.js file. I opened rpg_core.js file in the workpad, use the search option (Ctrl+F) and search for "Decrypter.readEncryptionkey" in the file however, I get the result as this:

Decrypter.readEncryptionkey = function(){
this._encryptionKey = $dataSystem.encryptionKey.split(/(.{2})/).filter(Boolean);

So I could not get the key. And as you can understand I am not good with coding etc.

Note that I tried the system.json detection tool first.

Thank you in advance

Can't find Decryption code.

Hello there. There is problem with this game. https://nemlei.itch.io/the-coffin-of-andy-and-leyley
I tried using your site, to decrypt PNG, but they are not open properly.
I tried to find Decryption code manually in system.json (find d41d8cd98f00b204e9800998ecf8427e but seems code is "fake") and in rpg_core.js (find Decrypter.readEncryptionkey = function(){ this._encryptionKey = $dataSystem.encryptionKey.split(/(.{2})/).filter(Boolean);)
Gonna send also system.json and rpg_core.js

files.zip

I hope you can help me)

Doesnt extract projectfile?

Im not sure if its supposed to or not, but unlike the other versions of the rpgmaker decryptor programs, this one doesnt extract the .rpgmaker project file with which you need to open it in rpgmakerMV program?

It cannot use to decrypt a game file

I cannot decrypt stranger of power 2 resources , help with the file if you can or help me to decrypt it if you can. I no sure if i done something wrong or wha. Do help to check it thank.
screenshot_20180529081356

Game has changed their .json to custom file extension instead? Can I still find encryption key?

I was planning to re-encrypt some files because I was making a custom sprite mod for a game called OMORI, but the .JSON file (which is in www/data) has been set to a custom file extension (named after one of the characters) .KEL. I've had a search around and I don't think I've found any mention of a way to do this on RPG maker forums so this might be an individual thing, but I thought if anybody knew about encryption of RPG maker files it'd be the guy who made this. I tried just putting it in, but it just comes out with an "it's not a JSON" message.
Do you know any way to get this in a working .JSON format? I tried literally just changing the file extension but it comes out unreadable (unsurprisingly). Is this impossible to get working? Or am I being a moron and there's actually a super obvious fix to this?

Is the Decrypter useable with Opera

If someone has the Opera Browser, please tell me if it works. It would be super kind of you

(If not, please be detailed what doesn't work etc)

Chrome tab crashes ZIPing 2k files

Vodka, Putin, Balalayka. Hallo.

I tryed v1.0 on 900-1000 (of 1900+) files (1.1+ GB). Chrome tab crashed (64.0.3269.3 dev).
But 800-850 files works fine.
FF works fine making archive of all 1900 files

Can smb test this case? Dev? (:

.RPGMVO Won't show up

When I try to convert the rpgmvo file, (Audio file) to .ogg, then it won't even let me, because when I open the file system, it says 'No items match your search.' I tried it with both of the 'choose your file' Buttons, and no, I didn't delete them. I checked afterwards. Help would be appreciated.

Suggestion for recovering the encryption code

So, as far as I understand it, the files are formatted like this:
Bytes 0-15: RPG Maker MV header.
Bytes 16-31: The first 16 bytes of a file XOR-ed with a 16-byte key shared across all files in the game.
Bytes 32-...: The rest of the file.

Currently, this project supports recovering PNGs without the key, as well-formed PNGs are guaranteed to have the exact same first 16 bytes (89 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52).
However, this can easily be leveraged to recover the original XOR key, since plaintext XOR key == ciphertext, but also ciphertext XOR plaintext == key, and we have both the ciphertext (the "encrypted" bytes 16-31 of an encrypted PNG) and the plaintext (those constant first 16 bytes of a PNG).
And since the key is shared, users could be directed to decrypt a single .rpgmvp from the game to get the key, which they can use for any of the rest of the files.

unable to decrypt files when there are none in the directory

oh hi, i thought of decrypting a game, however the only game files that are visible are the .exe and the save file in www/save/persistent.rpgsave
is it still possible to extract game files from something like this?

I'm pretty sure it is an RPG Maker MV game, because the exe has this icon
File0001

File-Header is messed up

I've got an E-Mail of somebody who get only cryptic stuff as decrypt-result. It seems that the file is decrypted but the header is messed up.

I asked for files to reproduce the problem but for me it was decrypted like normal. Maybe some other have the same issue please tell me here!

The bad result look like this:
`‰PNG

���
IHDR�� °�� Ð ���€ ‰¯��� pHYs�� Ä�� Ä •+ ��9ìiTXtXML:com.adobe.xmp�����
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c132 79.159284, 2016/04/19-13:13:40 ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:exif="http://ns.adobe.com/exif/1.0/">
xmp:CreatorToolAdobe Photoshop CC 2015.5 (Windows)</xmp:CreatorTool>
xmp:CreateDate2016-07-13T00:34:07+02:00</xmp:CreateDate>
xmp:ModifyDate2016-07-13T00:37+02:00</xmp:ModifyDate>
xmp:MetadataDate2016-07-13T00:37+02:00</xmp:MetadataDate>
dc:formatimage/png</dc:format>
photoshop:ColorMode3</photoshop:ColorMode>
xmpMM:InstanceIDxmp.iid:5e95182a-00f0-6547-87c8-7448816dbccc</xmpMM:InstanceID>
xmpMM:DocumentIDadobe:docid:photoshop:1be91543-4881-11e6-a4c6-f9df7db8ff39</xmpMM:DocumentID>
xmpMM:OriginalDocumentIDxmp.did:f215f640-69ff-bc4f-9f59-da40c09785c5</xmpMM:OriginalDocumentID>
xmpMM:History
rdf:Seq
<rdf:li rdf:parseType="Resource">
stEvt:actioncreated</stEvt:action>
stEvt:instanceIDxmp.iid:f215f640-69ff-bc4f-9f59-da40c09785c5</stEvt:instanceID>
stEvt:when2016-07-13T00:34:07+02:00</stEvt:when>
stEvt:softwareAgentAdobe Photoshop CC 2015.5 (Windows)</stEvt:softwareAgent>
</rdf:li>
<rdf:li rdf:parseType="Resource">
stEvt:actionsaved</stEvt:action>
stEvt:instanceIDxmp.iid:5e95182a-00f0-6547-87c8-7448816dbccc</stEvt:instanceID>
stEvt:when2016-07-13T00:37+02:00</stEvt:when>
stEvt:softwareAgentAdobe Photoshop CC 2015.5 (Windows)</stEvt:softwareAgent>
stEvt:changed/</stEvt:changed>
</rdf:li>
</rdf:Seq>
</xmpMM:History>
tiff:Orientation1</tiff:Orientation>
tiff:XResolution960000/10000</tiff:XResolution>
tiff:YResolution960000/10000</tiff:YResolution>
tiff:ResolutionUnit2</tiff:ResolutionUnit>
exif:ColorSpace65535</exif:ColorSpace>
exif:PixelXDimension1200</exif:PixelXDimension>
exif:PixelYDimension720</exif:PixelYDimension>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>`

Suggestion: webp support

I ran across a game with webp files. In this case they were not encrypted, so there's no actual issue with that one, but it is possible or perhaps even likely that in the future there will be more games using webp instead of png. The image decrypter seems to not want to work with webp files (in fact, it doesn't even list them in the open dialog) so this could be a potential problem in the future. This is more a heads-up than anything else, but it does make sense that it should support webp anyway.

Is the Decrypter useable with Safari

If someone has a Safari Browser, please tell me if it works. It would be super kind of you

(If not, please be detailed what doesn't work etc)

not working for unknown reason :(

i've used the site before, it worked great
but this time it's just simply not working, and i'm doing everything the same as i did before

i used it to extract sprites from the coffin of andy and leyley in the past, and it worked but it's not now :( it seems someone else also had troubles extracting from this game recently

i'm on a macbook pro, and i tried using both chrome and firefox if that matters

Is Encryption Option disabled?

Screenshot.png

As you can see by the screenshot, the option to encrypt files is greyed out so is it disabled for some reason?

Because, on the website, there's no issue encrypting files.

Add LZString decompression to the JSON-Detection

I noticed that several Games starting to use the LZString compression to make it a bit harder to get on their Data... But its simple just an other useless method which can be uncompressed really easily!^^

I wrote a quick uncompressions Tool for that: http://petschko.org/tools/unCompressLZString/

But I want to add it to the function, which checks the System-JSON for the key. So that user don't have to mess with that

Custom Format

I'm trying to pull the music files from OMORI, and the encryption key is in .KEL file format. How should I turn the .Kel file into JSON format?

Still can't find decrypter code after following the instruction

Sorry to bother you, but I ran into some issues that you've already solved. This may be related to my inexperience in the program, but I would like to ask you to help me solve it.

Decrypter.readEncryptionkey = function(){
this._encryptionKey = $dataSystem.encryptionKey.split(/(.{2})/).filter(Boolean);

I can't find the Decryption-Code in System.json, probably because the author hid the code. so I added your code at the bottom of rpg_core.js according to the method shown on your website.

But nothing changed. I opened the game, and after closing the game, I didn’t find the Decryption Code anywhere, and there was no change in rpg_core.js.

Opening an image in browser

I'm unsure it's a bug or not but whenever I restore an image file and click view it will always open another tab full of moon runes. Downloading the img works fine but I don't want to download the imgs sometimes

image

not a issue with the program it self, just can't find decrypter code.

i was trying to decrypt omori since I wanted to have the bgm/sound effects for my own use, however I couldn't find a decryption key... i don't really know anything about coding myself though, so maybe i just don't know where to look but all i've found so far was this:

Decrypter.readEncryptionkey = function(){
this._encryptionKey = $dataSystem.encryptionKey.split(/(.{2})/).filter(Boolean);
};

since the game is paid i don't really feel comfortable reuploading the files or anything so others can scour through them, but any help figureing out the key would be appreciated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.