Encrypting a game

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
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?
 

fluffymonster

She's So FLUFFY!
Veteran
Joined
May 23, 2020
Messages
207
Reaction score
364
First Language
English
Primarily Uses
RMMV
You've probably already found the Deployment button (under File). I believe it has an "Encryption" option for both images and audio files.

1590194825707.png
This is what it looks like for me. Does it look like this for you?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
my game core is older and it can't encrypt my game properly
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.
 

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
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...
 

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
You've probably already found the Deployment button (under File). I believe it has an "Encryption" option for both images and audio files.

View attachment 144831
This is what it looks like for me. Does it look like this for you?
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...
 

fluffymonster

She's So FLUFFY!
Veteran
Joined
May 23, 2020
Messages
207
Reaction score
364
First Language
English
Primarily Uses
RMMV
Yeah, I know that I need to update core, but idk how...
What do you mean by game core? Does it have to do with updating RPG Maker or something else?
 

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
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.
 

fluffymonster

She's So FLUFFY!
Veteran
Joined
May 23, 2020
Messages
207
Reaction score
364
First Language
English
Primarily Uses
RMMV
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?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
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)
 

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
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?
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?
 

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
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)
You are my life-saver! It's working! But Data folder in www folder is not being encrypted, how I can encrypt this too?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
Data folder in www folder is not being encrypted, how I can do this?
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.
 

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
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?
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA

@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.)
 

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
[MOD]@NeoShima, please avoid double-posting (you triple-posted a few hours ago).[/MOD]
(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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
Package.json file is already in the main directory.
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.
 

NeoShima

ShimaProd.
Veteran
Joined
Apr 19, 2020
Messages
57
Reaction score
4
First Language
Russian
Primarily Uses
RMMV
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!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top