Hello everyone, I'm preparing my game to the beta and I want to know, how do I encrypt my game! I have to encrypt all, graphics, music, data e.t.c. All of it is custom made by myself! I know that RPGMMV has an encryption function, my game core is older and it can't encrypt my game properly, and it's doesn't encrypt music and data as I know. So, I love this forum, because here awesome people that know everything. Could you help me again? How to encrypt a game?
Encrypting a game
RPG Maker MV SupportYou've probably already found the Deployment button (under File). I believe it has an "Encryption" option for both images and audio files.
This is what it looks like for me. Does it look like this for you?
This is what it looks like for me. Does it look like this for you?
Optional, after you followed fluffymonster's instructions on encryption.
You can make your game compact into an exe file by using Enigma Virtual Box.
https://rmmv.neocities.org/page/01_11_07.html
You can make your game compact into an exe file by using Enigma Virtual Box.
https://rmmv.neocities.org/page/01_11_07.html
If you project core version is that old that you can't use the default encryption, then I strongly suggest updating it as it will also contain several memory leaks if it is that old.
Yeah, I know that I need to update core, but idk how...
Thank you for your answer, but as I say already this function don't encrypt game properly, cuz my game core is older than my rpgmmv version. I have to update the game core but IDK how...
Sounds cool, but first of all I have to update my game core. If RPGMMV Encryption function is the only way how can I encrypt the game.
What do you mean by game core? Does it have to do with updating RPG Maker or something else?
Look, as I already know. When I compile my game using the encryption function, for me It doesn't encrypt data but encrypts graphics and music. And one big BUT, when I try to launch the game it doesn't work.
I read about it on the forums and a lot of people say that "If you first time create your game at RPGMMV version 1.2, then update your RPGMMV to the last version with the encryption function. Your game will not encrypt and work properly because something went wrong with files paths". When I started to make my game, my RPGMMV version was 1.2., now I have 1.6.1. I don't know what means "update your game core" honestly. But everyone said that I have to do that.
Oh, um. Have you tried deploying it without encryption and the try encrypting it after that? Do you put in an encryption key in the box? If worse comes to worse, you could always try to manually transferring the project to a new project. Does encryption work on new games?
every update topic about MV here on this forum contains instructions on how to update existing projects to the same core version, just look up the latest MV update (1.6.1 or 1.6.2)
Okay, thanks! I have updated my game core and encryption function is work now, but there is another problem! Data folder in www folder is not being encrypted, how I can do this?
You are my life-saver! It's working! But Data folder in www folder is not being encrypted, how I can encrypt this too?
by deleting the www folder and repairing the packages file (copy it from a new project).
There must never be a www folder inside your project folder, because that folder is for deployment only.
and if it exists in your project folder then you made the mistake of deploying into your project folder, which is a no-go that destroys your playtest options.
If I delete www folder game doesn't start. Package.json file is already in the main directory. I don't understand, can you explain what do you mean?
Moderator note: @NeoShima, please avoid double-posting (you triple-posted a few hours ago).
(If you need to respond to multiple people, use the Multi-Quote function: Click the "+Quote" button on each post, then scroll to the text entry box near the bottom of the page and click the "INSERT QUOTES" button. If you need to add something else and you are still the last person to post in the thread, use the "Edit" button to add it to your last post.)
(If you need to respond to multiple people, use the Multi-Quote function: Click the "+Quote" button on each post, then scroll to the text entry box near the bottom of the page and click the "INSERT QUOTES" button. If you need to add something else and you are still the last person to post in the thread, use the "Edit" button to add it to your last post.)
Okay, sorry about this.
a damaged and wrong package.json is in your folder, that is why I told you to repair it by replacing it with one from a new project. after that your playtest will work without the www folder.
and at the moment your playtest ignores all changes to the project, because the editor changes the main data folder only , while your playtest takes the unchanging www/data folder.
Hm, still don't work. Look what I have been done.
1)Compile game with encrypt.
2) Copy-paste "package.json" from a new, empty project to my compiled game folder.
3) Deleting the "www" folder from the compiled game folder.
4) Run Game.exe in the compiled game folder.
And it gives me an error "File not found". In path "www/index.html". I've created the "www" folder and put there the only index.html, and of course, it doesn't work cuz don't see game files. Im so stupid or what? Can you show me what I did wrong? Thanks for your support!
Original thread: https://forums.rpgmakerweb.com/threads/encrypting-a-game.121917/