Question about distributing game

rpgLord69

Veteran
Veteran
Joined
Oct 23, 2021
Messages
34
Reaction score
14
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
Veteran
Joined
Jan 12, 2019
Messages
1,316
Reaction score
783
First Language
Poland
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

Veteran
Veteran
Joined
Oct 23, 2021
Messages
34
Reaction score
14
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
Veteran
Joined
Jan 12, 2019
Messages
1,316
Reaction score
783
First Language
Poland
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

Veteran
Veteran
Joined
Oct 23, 2021
Messages
34
Reaction score
14
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

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,328
Reaction score
8,755
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

Veteran
Veteran
Joined
Jul 20, 2020
Messages
965
Reaction score
470
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

Veteran
Veteran
Joined
Oct 23, 2021
Messages
34
Reaction score
14
First Language
Finnish
Primarily Uses
RMMZ
Okay, thanks for the replies. Now I understand.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,801
Reaction score
1,639
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

Nightmare... Dreamt I posted a GFX resource post. With a work in progress glove icon that tinted to different colors. In the wrong forum. And I was in such a panic. I saw people writing posts in response, those "..." you see in discord and such. So I frantically tried to report my post as wrong forum, editing to say it's the wrong forum and that I "accidentally" posted it too early... Very odd dream to be honest...
The youngest photo of you is also the oldest photo of you.
People need to stop submitting their game to every single game jam without even reading the jam rules (╯°□°)╯︵ ┻━┻
Mom tested positive for COVID thanks to a single stupid coworker of hers not taking sh*t serious.
I'll prolly won't be on here for a while as we deal with this.
So before I inevitably start a new project to reorganize myself (I will make sure to save important info dw), I will make an external list of what I want in the final database.

Forum statistics

Threads
117,195
Messages
1,105,389
Members
153,332
Latest member
diorpancakes
Top