Question about distributing game

rpgLord69

Regular
Regular
Joined
Oct 23, 2021
Messages
552
Reaction score
688
First Language
Finnish
Primarily Uses
RMMZ
I tried googling and searching posts, but couldn't find a definitive answer (sorry I know this has been answered before).
So I'm using RPG maker MZ and now I deployed my game and it made an output folder. What I understood from some of the
posts is that I'd need to give that whole folder to people who want to play my game? (First maybe compress it to zip file or something). But looking through that output folder doesn't it contain those same files that my project folder has? Or am I mistaken? I mean, if I give the whole folder forward, can't someone just start editing my game or something? Well, it's not like
it's a big deal since I'm making small hobby projects, but just wondering...
 

Soulrender

Jack Of All Trades
Regular
Joined
Jan 12, 2019
Messages
1,621
Reaction score
1,157
First Language
Polish
Primarily Uses
RMMV
Deployed game without any means of protection can be edited by anyone who understands how game data and assets are handled by MV / MZ, since both version operates on JavaScript wich is open programming language, anyone who knows how to code in JS can modify your game. Next thing, all game data info is stored in JSON files which means more-less it's text structure data file, simple windows notepad is good enough to edit game content. Also game pictures and sound files are easy to obtain. When you deploy game along with game assets and those JSON files in the output folder is provided also mini web browser, because both MV and MZ games are in HTML5/JS format. If you don't mind someone will modify your game, fine, but leaving game completly open is not quite good idea.
 

rpgLord69

Regular
Regular
Joined
Oct 23, 2021
Messages
552
Reaction score
688
First Language
Finnish
Primarily Uses
RMMZ
Deployed game without any means of protection can be edited by anyone who understands how game data and assets are handled by MV / MZ, since both version operates on JavaScript wich is open programming language, anyone who knows how to code in JS can modify your game. Next thing, all game data info is stored in JSON files which means more-less it's text structure data file, simple windows notepad is good enough to edit game content. Also game pictures and sound files are easy to obtain. When you deploy game along with game assets and those JSON files in the output folder is provided also mini web browser, because both MV and MZ games are in HTML5/JS format. If you don't mind someone will modify your game, fine, but leaving game completly open is not quite good idea.

Ok, so if I ever made a pro game I would look into encryptions. However, I still didn't quite understand. If I send the whole output foulder, can a complete noob use it to start editing my game? Or should I remove some files from the output folder before putting it in dropbox or something?
 

Soulrender

Jack Of All Trades
Regular
Joined
Jan 12, 2019
Messages
1,621
Reaction score
1,157
First Language
Polish
Primarily Uses
RMMV
If you try to remove any file from deployed game, the game itself might crash at some point, so I wouldn't do it. And how a complete noob can edit game? Simple - take an example from my game:

Let's just say I want to start a game with main hero havin 10th Level, I open Actors.json file
2021-10-23 16_35_09-D__Spellzone_src_data_Actors.json - Notepad++.png

I'm searching for something like level in this mess:
2021-10-23 16_37_13-D__Spellzone_src_data_Actors.json - Notepad++.png

Ok - I've found it:
2021-10-23 16_38_21-D__Spellzone_src_data_Actors.json - Notepad++.png

Now I don't want to bother with gameplay, so I change level to 10 and save Actors.json and voila, when I start game, hero which should have level 1, will have level 10.
2021-10-23 16_38_56-D__Spellzone_src_data_Actors.json - Notepad++.png

Every single database file in data folder has the same structure, so knowing popular keywords, like: level, hp, mp, tp, atk, and so on, these files are like open book, where anyone can write whatever want. And I repeat it again: Every single database file in data folder has the same structure, even game maps.
 

rpgLord69

Regular
Regular
Joined
Oct 23, 2021
Messages
552
Reaction score
688
First Language
Finnish
Primarily Uses
RMMZ
If you try to remove any file from deployed game, the game itself might crash at some point, so I wouldn't do it. And how a complete noob can edit game? Simple - take an example from my game:

Let's just say I want to start a game with main hero havin 10th Level, I open Actors.json file
View attachment 204701

I'm searching for something like level in this mess:
View attachment 204703

Ok - I've found it:
View attachment 204704

Now I don't want to bother with gameplay, so I change level to 10 and save Actors.json and voila, when I start game, hero which should have level 1, will have level 10.
View attachment 204705

Every single database file in data folder has the same structure, so knowing popular keywords, like: level, hp, mp, tp, atk, and so on, these files are like open book, where anyone can write whatever want. And I repeat it again: Every single database file in data folder has the same structure, even game maps.
Okay, thanks.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,320
Reaction score
11,491
First Language
German
Primarily Uses
RMMV
But looking through that output folder doesn't it contain those same files that my project folder has?
that is exactly the purpose of deployment

It creates a folder based on what to deploy to (for example MacOS needs different files than Windows or Mobiles), with the project files needed to open the game in the editor removed and (depending on your settings) files changed into encrypted formats and so on.
 

Dev_With_Coffee

Regular
Regular
Joined
Jul 20, 2020
Messages
1,045
Reaction score
543
First Language
PT-BR
Primarily Uses
RM2k3
What I understood from some of the
posts is that I'd need to give that whole folder to people who want to play my game? (First maybe compress it to zip file or something)
The output folder is different because it contains the mechanisms that allow you to run the game on the platform you intend to distribute, being necessary to enable the "Encrypt" option to create a first layer of security for graphics and sound files.

But looking through that output folder doesn't it contain those same files that my project folder has? Or am I mistaken?
They are there yes, but not the file that allows opening by Rpg Maker.

I mean, if I give the whole folder forward, can't someone just start editing my game or something? Well, it's not like
The problem is that it is possible to edit the game through notepad, or if the user knows the game API can execute the commands directly on the console, which can be enabled easily.
 
Last edited:

rpgLord69

Regular
Regular
Joined
Oct 23, 2021
Messages
552
Reaction score
688
First Language
Finnish
Primarily Uses
RMMZ
Okay, thanks for the replies. Now I understand.
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
11,161
Reaction score
9,114
First Language
English
Primarily Uses
RMMV
Basically, the extent of your ability to protect your work is to check the Encrypted option when deploying your game, and it's possible to encapsulate it inside an executable (Google "RPG Maker Enigma").

Neither method is ironclad against tech-savvy people who really want to get at your game's assets, but then, nothing in the world is, that's how people mod AAA-produced titles.
 

Latest Threads

Latest Posts

Latest Profile Posts

Woke up in the middle of the night with some game mechanic ideas. Unfortunately, they're for a new game, not the one I'm currently working on. Must... not... get... distracted!
I'm wondering about making a new pack of monsters or just divide them and add to my current packs. I'll end up having like 10+ packs If I just have 27 per pack xD
cesariohelp wrote on Ms Littlefish's profile.
Hi ! I see that you're a mod, right ? Can I ask you a question here ? If not, where ? So sorry
I just whipped up the blueprints for the final level in my game. (I say final, when really there is a final boss stage after this, but it's only like two maps long)

Forum statistics

Threads
134,936
Messages
1,252,052
Members
177,781
Latest member
xGviNx
Top