Unqou

Veteran
Veteran
Joined
Mar 28, 2016
Messages
40
Reaction score
5
First Language
Italian
Primarily Uses
RMMV
I tested a simple game deployment (game scratch with anything) after setting cordova base install on Ubuntu

-> Cordova installed with npm
-> Android Studio installed in HOME (sdk installed by Studio in $HOME/Android/Sdk)
-> gradle downloaded from gradle site

what I "discovered" (not a surprise for the experts here) is that the packaged apk contains all the "www" assets exported by RpgMaker mv is left untouched (so open, unprotected).

I read in a post here (can't find it now) that you could use nw.js to "build" javascript files into .bin files and deploy .bin files instead of .js, but the nw.js is system-dependant.

But, as far as I understand, nw.js does not have a counterpart in Android so, if I understand correctly, you can't use nw.js to create bins that are correctly read in Android app. right?

Is there any way to make a minimal layer of protection? Or is it possible to find a solution, for example, embedding in a fake-c++ source in order to embed code in a binary form?

Are there any other system that allows you to have a minimal layer of protection of your deployed app and its contents?

I know that no system is 100% secure, and I am mostly an opensource fan myself. But however I am searching a way to think about how to avoid possible steal by any malicious user.

Thank.
 

Unqou

Veteran
Veteran
Joined
Mar 28, 2016
Messages
40
Reaction score
5
First Language
Italian
Primarily Uses
RMMV
Bumping my question (1)
 

RyanBram

Veteran
Veteran
Joined
May 13, 2012
Messages
238
Reaction score
284
First Language
Indonesian
Primarily Uses
RMMV
Hi, Unqou,

I know that no system is 100% secure, and I am mostly an opensource fan myself. But however I am searching a way to think about how to avoid possible steal by any malicious user.

  1. For multimedia assets (img, audio) you can use built in RPG Maker MV encryption
  2. For javascript, please try my bat script (download). Just extract the archive into your project folder which contain Game.rpgproject, and double click [Compile].bat . A folder compiledjs will be created. You can copy and paste the result into js/plugin folder.
  3. Test your project to find any error after encryption

Disclaimer:
- This solution is not 100% secure.
- Always backup your project before doing any encryption
 

Unqou

Veteran
Veteran
Joined
Mar 28, 2016
Messages
40
Reaction score
5
First Language
Italian
Primarily Uses
RMMV
Yeah... the idea is to have a project directory separated from the deploying of the project itself. I can't use your batch file (I am under linux) but I think I am understanding how it works. And I think your batch contains a tiny error: the mode is not "SIMPLE_OPTIMIZIATIONS" but "SIMPLE" (checked on the jar with --help). However thank you very much because you give me what I need (the jar file itself I didn't have). I will test it and see if works as expected. Very thank.
 

Latest Threads

Latest Profile Posts

So yesterday Dad took me to Volcano Bay, and it was almost ruined by a thunderstorm... then it passed by and the lightning warning got lifted, leading to an awesome time sliding and swimming. Hopefully we get to go to the arcade tonight. The one we're planning on has a restaurant built in with AWESOME food. Not to mention how big the arcade itself is!
image_2021-06-13_150033.png

Maybe I'll actually try making a retro pack. Already have the shark fin made so why not xD
Hey everyone, for everybody following along with my RPG Maker MZ streams: There will unfortunately not be a stream tonight. There is a big exciting event that will go live next week that has been taking all my time, so look forward to that!
Took a small break by playing VR. Latest update of these glasses unfortunately caused a little of trouble but it can be fixed with a manual operation.

Until You Fall is freaking awesome.
I am SO HYPED to share this trailer with everyone when its done. I almost want to tear up i had no idea how far i came along with Fallen Feather in these last 3 years.

Forum statistics

Threads
112,193
Messages
1,066,498
Members
145,802
Latest member
Corim
Top