petschko / java-rpg-maker-mv-decrypter Goto Github PK
View Code? Open in Web Editor NEWYou can decrypt whole RPG-Maker MV Directories with this Program, it also has a GUI.
License: MIT License
You can decrypt whole RPG-Maker MV Directories with this Program, it also has a GUI.
License: MIT License
I'm trying to decrypt only few files via CLI but even though I manually provide the encryption key, the tool wants the game directory. This is weird because it works fine for encrypting few files via CLI.
Here's the code for my CLI:-
@echo off
title RPG Maker MV;MZ Decrypter ^| Command-Line Tool by RedAISkye
cls
set currentDir=%~dp0
cd /d %currentDir%
echo.
echo RPG Maker MV;MZ Decrypter ^| Command-Line Tool by RedAISkye
echo.
echo.
echo Enter project path: (Leave blank ^for default "%currentDir%input")
set /p projectPath=
echo.
if "%projectPath%"=="" (
set projectPath=%currentDir%input
echo Enter encryption key: ^(Can't be left blank^)
) else (
echo Enter encryption key: ^(Leave blank ^for default "auto"^)
)
set /p encryptionKey=
if "%encryptionKey%"=="" set encryptionKey=auto
echo.
echo.
java -jar "RPG Maker MV Decrypter.jar" encrypt "%projectPath%" "%currentDir%output" true %encryptionKey%
java -jar "RPG Maker MV Decrypter.jar" decrypt "%projectPath%" "%currentDir%output" true %encryptionKey%
echo.
echo.
pause
I followe the guide to open a RPG-maker MV PROJECT and choose the Main-Directory,but nothing happened. no warning ,no alert,
please tell me why?And my java version is 14.0.1 .
Hi again XD. Sorry to bother you again, so I'm using windows 10 and oracle jdk 10.
when i select project folder, the project won't load and this is the console output.
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun/dc/path/PathException
at org.petschko.rpgmakermv.decrypt.GUI.openRPGProject(GUI.java:226)
at org.petschko.rpgmakermv.decrypt.GUI.lambda$assignMainMenuListener$0(GUI.java:162)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: sun.dc.path.PathException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 40 more
Anyway to solve this other than downgrade my jdk version? Thanks!
Stuck at the JAR stage. What do I JAR? How do I JAR?
I have tried zipping everything and using a JAR converter.
Using RPG-Maker MV Decrypter - v0.1.3.1 (Hotfix) Alpha
This program doesn't work with Java 10, after selecting a project, project is loaded message doesn't appear and all the decrypt options is not available.
I also tried the command line and the error it gives:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/dc/path/PathException
at org.petschko.rpgmakermv.decrypt.App.main(App.java:41)
Caused by: java.lang.ClassNotFoundException: sun.dc.path.PathException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
I then switched back to Java 9 including Java 8 and it worked.
Above All, I appreciate your time and efforts involved in making this tool. I found it very useful and convenient.
But, I got an problem when try decrypting image files.
When I try to decrypt ".png_" files in cmd or PowerShell with following command;
java -jar "RPG Maker MV Decrypter.jar" decrypt [FileDirectory] (I blinded a detailed file directory because of concern about privacy being exposed. I'm so sorry and would appreciate if you could be willing to understand me.)
It responds like this;
[INFO]: Set Project-Dir to: "[FileDirectory]"
[INFO]: Set Output-Dir to: "output"
java.lang.Exception: java.lang.NullPointerException: System-File is not set!
at org.petschko.rpgmakermv.decrypt.RPG_Project.decryptFilesCmd(RPG_Project.java:407)
at org.petschko.rpgmakermv.decrypt.RPG_Project.decryptFilesCmd(RPG_Project.java:386)
at org.petschko.rpgmakermv.decrypt.cmd.Decrypt.handleFiles(Decrypt.java:97)
at org.petschko.rpgmakermv.decrypt.cmd.Decrypt.run(Decrypt.java:75)
at org.petschko.rpgmakermv.decrypt.cmd.CMD.processArgs(CMD.java:141)
at org.petschko.rpgmakermv.decrypt.cmd.CMD.runCMD(CMD.java:56)
at org.petschko.rpgmakermv.decrypt.App.main(App.java:45)
Caused by: java.lang.NullPointerException: System-File is not set!
at org.petschko.rpgmakermv.decrypt.Decrypter.detectEncryptionKeyFromJson(Decrypter.java:391)
at org.petschko.rpgmakermv.decrypt.RPG_Project.decryptFilesCmd(RPG_Project.java:405)
... 6 more
[INFO]: Done.
And it create a folder named "output", which is actually empty.
Here's some information about my system options.
OS : WIN 10 Pro 64bit
JAVA : JAVA™ SE 17.0.1
It would be great if anyone could help me. Thank you.
I use Jsoup, i add jsoup to project but it error. i use Ubuntu OS
Exception in thread "main" java.lang.NoClassDefFoundError: org/jsoup/Jsoup
at helloworld.HelloWorld.main(HelloWorld.java:12)
Caused by: java.lang.ClassNotFoundException: org.jsoup.Jsoup
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 1 more
pl help me? thank you so much!
Please create new Issues on Gitlab:
https://gitlab.com/Petschko/Java-RPG-Maker-MV-Decrypter/-/issues
As I am an AI language model, I have translated the content for you. If there are any inaccuracies, please forgive me.
I've installed openjdk 1.8.0_131
When i run the start.sh,following exception occurred:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/dc/path/PathException
at org.petschko.rpgmakermv.decrypt.App.main(App.java:37)
Caused by: java.lang.ClassNotFoundException: sun.dc.path.PathException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
This is really great tool i wish i could use it. Can you tell me how to solve this issue?
This can may usefull for translaters, who want decrypt the files to translate content on them but provide them in the translated version of the game. (The game still looks for the encrypted files, while running)
Please ask the origin creator before
Stranger of power 2 cannot be decrypt and when it decrypt it is nothing inside the output. Please do fix that. I no sure if i do anything wrong or no but you can test self if you free.
My path is "D:\BaiduNetdiskDownload\RJ349517\DemonsRoots\DemonsRoots1.0.4"
An error is reported if this folder is selected
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun/dc/path/PathException at org.petschko.rpgmakermv.decrypt.GUI.openRPGProject(GUI.java:226) at org.petschko.rpgmakermv.decrypt.GUI.lambda$assignMainMenuListener$0(GUI.java:162) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886) at java.awt.Component.processMouseEvent(Component.java:6539) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6304) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.ClassNotFoundException: sun.dc.path.PathException at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 40 more
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun/dc/path/PathException
at org.petschko.rpgmakermv.decrypt.GUI.openRPGProject(GUI.java:226)
at org.petschko.rpgmakermv.decrypt.GUI.lambda$assignMainMenuListener$0(GUI.java:162)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: sun.dc.path.PathException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 40 more
OpenJDK missing sun/dc/path/PathException
. This class probably exists only in Oracle version of Java.
$ java -debug -jar Java-RPG-Maker-MV-Decrypter.jar ./test ./output
RPG-Maker MV Decrypter - v0.1.3.1 (Hotfix) Alpha by Petschko | Command-Line Version
Set Project-Dir to: "./test"
Set Output-Dir to: "./output"
Exception in thread "main" java.lang.NoClassDefFoundError: sun/dc/path/PathException
at org.petschko.rpgmakermv.decrypt.App.main(App.java:41)
Caused by: java.lang.ClassNotFoundException: sun.dc.path.PathException
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
... 1 more
OS: Ubuntu Linux 16.04 amd64
Java:
$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~16.04-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
Hi, I have a use for this project as a library, as such I'd be more practical to have a Maven/Gradle project in this repo so I can easily link it with Jitpack.io.
If you're interested, I can make a PR to add this :)
Currently, using on linux, the Java GUI, I can't select any of the files at all. However it does work fine for extracting everything at once.
I want to add a Function that shows that there is a new Version. I think thats pretty important, if I add important new stuff, so that People know that
But I will also add an Option to disable it for those who don't want get notified (Should disable the checking as well)
Later: Also with 1-Click update if you are ready to update
hello. i have some .rpgmvo files and the system.js
i dont have the full game, only these files. and i want to batch decrypt the files i have.
problem is: when i select the folder with files, it says "this is no rpg mv directory. but you can load invalid DIRs then anyways."
i check the box for invalid dirs, but the files are still not loaded and it still says, there is no decryption key when i click "decrypt All"
what am i doing wrong? the files are in a folder with the system.js
i cant set decryption code manually, either. its greyed out. (i guess that because the java script doesnt load the files in the first place). so, what do i need to do?
See the same issue here: Petschko/RPG-Maker-MV-Decrypter#15
Sometimes it can be pretty handy to be able to add the encryption Key manually. Especially if the Key is hidden somewhere else.
It worked until i switched to OpenJDK. Oracle Java is no longer free for some reason.
Can you make it work with OpenJDK as well?
I can start the application but when i load a directory it doesnt do anything.
When i test it with the cmd command this error message comes up:
Set Output-Dir to: "output"
Exception in thread "main" java.lang.NoClassDefFoundError: sun/dc/path/PathException
at org.petschko.rpgmakermv.decrypt.App.main(App.java:41)
Caused by: java.lang.ClassNotFoundException: sun.dc.path.PathException
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
Thanks for the help
Greetings
As title.
Worse, the selected directory is emptied.
I want to add an Option which makes it possible to automate the creation of the correct File-Structure (and decrypted Files), to make a Game be able to edit again with the RPG-Maker MV editor
Pls Add buttons "Open Current Dir" & "Open Current Dir & Decrypt" it would make moddev & gamedev easier.
java.lang.NullPointerException:` Decryption-Code is not set!
at org.petschko.rpgmakermv.decrypt.Decrypter.decryptFile(Decrypter.java:217)
at org.petschko.rpgmakermv.decrypt.GUI$GUI_Decryption.doInBackground(GUI.java:359)
at org.petschko.rpgmakermv.decrypt.GUI$GUI_Decryption.doInBackground(GUI.java:275)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.