EST - ENCRYPTER

Misty

Programmer
Veteran
Joined
Sep 19, 2013
Messages
127
Reaction score
12
First Language
English
Primarily Uses
to change EST_GAMES

check this on configuration

    # folder where the decrypt list file and decrypted sound file placed

    # it would be better to specify STATIC path inside player computer.

    @@FOLDER = "#{ENV['APPDATA']}/EST_GAMES"                                     <<<<<<<<<< this one

    # you can even set it in C:/Windows/System32 for example. but i won't go that far.

    # as long as the drive is exist it will create the folder if it's not exist

    # people that decrypt your project can see this. so use EST - SCRIPT CONTROL

    # to hide this script. :D .

    # if you want... you can use this to put decrypted files in %appdata%

    # @@FOLDER = "#{ENV['APPDATA']}/yourfoldername"

    # like most games do... but it's not as secure as:

    # C:/Windows/System32/s/x/ccs/zlib/omg/wtf

change the @@FOLDER variable above to any path you want:

example:

    @@FOLDER = "C:/Program Files/Mygame/"

then it will create Mygame folder in C:/Program Files and put the files there

for the dll issues. installing Microsoft Visual C++ sure fix the problem. but i'm still looking another method without it. since that means we have to tell every player to install Microsoft Visual C++.

last night i'm a bit tired after work. so i didn't try the new dll in my old laptop. maybe tonight. >.<.
Thank you for the excellent script though. It is going to be fun confusing hackers. :D

The dll issue is still a problem, but as long as no scripts are disabled, then it works well.

Also, is the scripts being disabled encrypting them or is it just making it so they don't activate or run.

A implementation suggestion:

Is there a way to change the date of the files creation? For instance, I make a new folder, the folders says that it was made today. Can I change the date to 2 months ago? This will make it harder for hackers to find the folder.

This might help you:

http://en.kioskea.net/forum/affich-35052-modify-file-or-folder-creation-date

Other than the font encryption. That is the only other feature I can think of.
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
I didn't see this script before. I downloaded the demo to see how much security it actually provides, and I'm wondering where the encryption comes in.


Is the demo outdated? None of the files are encrypted.


They definitely use unintuitive names, but a quick peek at the data shows what it is





If I'm looking to take resources, I would take the shortest route.


EDIT: oh, wait nvm the fact that the audio files were in the archive itself eluded me. That would be the encryption part.
 
Last edited by a moderator:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
@hime: there's two demo link... Open and Encrypted...

the OPEN demo need you to playtest first before it generate the rvdata2 files... since if i include it. the size of demo will be doubled >.<. (Minnion.mp3 in BGM folder will generate Z_EST_Audio_BGM_Minnion.rvdata2 files inside Data folder).

the encrypted demo already have it's Graphics, Audio, Movie folder deleted.

the concept basically:

1) encrypt the Audio, Movie, Graphic with simple encryption (cannot be played by dragging it to windows media player for example. so it cannot be used without decrypted).

inside Data folder so it will be packed within RGSSAD files.

2) at first launch of the game... decrypt all the resource to target computer to FOLDER that chosen by developer.

3) redirect the path that Audio / Graphic / Movie to no 2 location.

this script also provide some protection to prevent people to write / puts / msgbox the Folder location within the game (using event script call / damage formula)

thief that decrypt the project. will be able to see the folder. that's why this script need to combo with EST_CS2 SCRIPT CONTROL script to make this script "external script" and encrypted so people cannot read.

by using combo with EST_CS2 SCRIPT CONTROL it also protect if there's someone that alter the scripts.

the only problem now is with EST_CS2 SCRIPT CONTROL. since it use dll files. (i read your tutorial hime :D )

it's not compatible with computer that didn't have Microsoft visual C++ / distributable. still looking a way to make the dll independent without the need of MSCVR100.dll. (also still looking for laptop that didn't have that to test it out)

@ZEFK: nice suggestion. i will try looking a way to do that.

EDIT: sorry ZEFK. ruby only allow changing modify and access time. not creation time... will look a little bit deeper to this issue though.
 
Last edited by a moderator:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
if you're using this script and COMBO it using EST_CS2 SCRIPT CONTROL....

REDOWNLOAD EST_CS2_SCRIPT_CONTROL.DLL !!! (the dll files)

the previous one have some problem with computer that didn't install Microsoft visual C++ redistributable.

i search google and learn that i need to compile it with Multi-threaded (/MT) at the Runtime Library settings...

the new one is 39kb (old one is 20kb). and i already test it in computer without Microsoft visual C++ redistributable and it works...

replace your dll to avoid error on your customer PC
.
 
Last edited by a moderator:

Misty

Programmer
Veteran
Joined
Sep 19, 2013
Messages
127
Reaction score
12
First Language
English
Primarily Uses
if you're using this script and COMBO it using EST_CS2 SCRIPT CONTROL....

REDOWNLOAD EST_CS2_SCRIPT_CONTROL.DLL !!! (the dll files)

the previous one have some problem with computer that didn't install Microsoft visual C++ redistributable.

i search google and learn that i need to compile it with Multi-threaded (/MT) at the Runtime Library settings...

the new one is 39kb (old one is 20kb). and i already test it in computer without Microsoft visual C++ redistributable and it works...

replace your dll to avoid error on your customer PC
.
That is great news. I will replace the old one. I don't think there will be any errors, but I will inform you if there is any. Also, the date modification thing is okay. It would be good to implement though if one can figure it out. As well as a file size modifier. 

Also, I want to let you know about the hidden folders in Linux. Hopefully, this can further help security if the encrypter can create a text file with the names of the files in that directory listed within it.

Source:

http://linux.about.com/library/gnome/blgnome6n6r.htm

By default, Nautilus does not display certain system and backup files in folders. This prevents accidental modification or deletion of them, which can impair the operation of your computer, and also reduces clutter in locations such as your Home Folder. Nautilus does not display:

  • Hidden files, whose filename begins with a period (.),
  • Backup files, whose filename ends with a tilde (~)
  • Files that are listed in a particular folder's .hidden file.
You may hide or show hidden files in a particular folder by selecting View->Show Hidden Files.

To set Nautilus to always show hidden files, see the section called Nautilus Preferences.

Hiding a File or Folder <-----Important part.

To hide a file or folder in Nautilus, either rename the file so its name begins with the period (.) character, or create a text file named .hidden in the same folder, and add its name to it, as in the example below:

filename foldername

EX:

I do this to hide the folders inside the compress archive. Once exacted in Linux, the files listed in that folder do not appear.

Hidden.png

 

 

Mac:

Not sure with mac, but this might be useful to you in Linux.

 

I am still researching mac and hidden folders. 

 

Edit:

I think Mac is the same way because it's Unix. If I read this source correctly, then Mac should work like Linux. I have no way to test this though because I don't have or use a Mac.

 

Mac Source:

https://lists.apple.com/archives/scitech/2001/Oct/msg00015.html

 

Double edit:

Confirmed - Works the same way.

 

Thought:

This might help hide files in case the person happens to wander upon the EST_GAME file or whatever the file is named. I am not sure if a hidden attributes can be added for windows without manually doing it. The .hidden file might make it securer in Mac and Linux.

 

The .hidden txt file will have to list everything that is dumped in EST_GAME for them to become invisible.

 

Ex:

 

.Hidden

riu8zxyyh5.est_media

p48tpaolai.est_media

AeWeLSeQRe

etc

---------------------------------------------------------------------------------------------------------------------------------------------------------------

Hope this helps out. I will let you know if I think of anything else.

Hidden.png
 
Last edited by a moderator:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
i try the hidden file approach (using system(attrib +h path) which works with all platform i think). but unfortunately there's still a major bug... sometimes the decrypted file cannot be found. so it will redecrypt the file and caused double / triple / and so on. i'm still looking on a way to prevent this.
 

FeaR616

Veteran
Veteran
Joined
Nov 22, 2014
Messages
277
Reaction score
52
First Language
german
Primarily Uses
alright, I know this thread isn't used since 2014...

but people said to me, I have to encrypt the audio files. so I tested this script here just a few moments ago. and now, I need help!

first: maybe I'm stupid, maybe this script is, but it doesn't work properly (at least I think so) so I copy & paste my audio folder back into the project folder and delete the script and delete the folder this script creates when encrypting files.

but if I want to playtest (normal, without this script, with audio folder) again, the game throws an error everytime saying "unable to find file" and can not find the audio files. what is this ****? the files are there, this encryption script is not used and the encrypted files are deleted. what does this script do that the game doesn't work without it anymore? how do I get it to work normal again?

/E: eehehehe, forget about this, I forgot ONE file to copy back -.-

so... the second thing is:

this script encrypt the files into the folder I determined in the script config. but when I play tested it, the whole game become a lag fest! -_-

nothing works properly (besides the menu - this runs at 60FPS...) and this script even throws errors with missing arguments (line 348 3 of 4 arguments [or vice versa] )

and sorry folks, this is no option to me to encrypt the audio files if it means that the game has to run with 5-8 FPS!

well, as I said, maybe I do something wrong, but I don't use this script if it causes extreme lag! 
 
Last edited by a moderator:

Misty

Programmer
Veteran
Joined
Sep 19, 2013
Messages
127
Reaction score
12
First Language
English
Primarily Uses
What this script does is hide your content in a folder of your choosing. It changes the names of the files and everything, making it almost impossible to find.

The script worked well for me after the .dll fix without lag, but my game was only 2 MB. You might want to read through the comments or wait for the creator to reply.

or looks at these.

http://forums.rpgmakerweb.com/index.php?/topic/15579-oc-audio-encryption/

or Hime's audio encrypt. I think it said you got to ask her about commercial use.

http://himeworks.com/2014/03/simple-audio-encryption/

and here is more on Hime encrypt

http://himeworks.com/2015/01/how-to-encrypt-your-rpg-maker-game/

Honestly, I'd google it. Last I checked you had to ask for commercial use.

WhiteFlute Ex-Crypt:

http://www.whiteflute.org/wfrgss/?vrp=1,35

Ex-crypt Tutorial:

http://www.rpgmakervxace.net/topic/10637-crypt-ex-custom-data-encryption/

Just to let you know. Any encryption can be broken. An encryption is just used to protect it from the majority of people. Don't stress about finding the perfect encryption.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Depending onthe amount to be recreated everytime a resiurce is loaded it could cause lags, though in my experience, its more of a milisecond stop sometimes rather than an FPS drop that happens continuously, its more like loading.
 

FeaR616

Veteran
Veteran
Joined
Nov 22, 2014
Messages
277
Reaction score
52
First Language
german
Primarily Uses
yeah, I found the other scripts, but I thought this one would be the best since it is recommended.

oh and my game will be... .big. it's now about 500MB. 

@Engr. Adiktuzmiko:

yeah, first I thought it is loading... but it seems not. the frame drop is the entire time! and I don't even use much music (it's just a demo at the moment...) so there is not much to load.

about commercial usage, I looked how other developers made it and looked into the folders of To the Moon and Always Sometimes Monsters. They don't encrypt their audio files.

so if this script cause lag and it depends on the game size or could not be fixed, then I don't encrypt the audio files too. 

 

Just to let you know. Any encryption can be broken. An encryption is just used to protect it from the majority of people. Don't stress about finding the perfect encryption.

 
yea, I know that. But I asked about it, because I want to try the commercial way, and everybody said "encrypt it!"  

it was said the same, there is no perfect protection, but at least a simple one should be done. but if this means to go the lag-fest way, I use no audio encryption at all! or I should test a simple one and watch if it cause lag or not... 

I will find a solution....
 
Last edited by a moderator:

Misty

Programmer
Veteran
Joined
Sep 19, 2013
Messages
127
Reaction score
12
First Language
English
Primarily Uses
yeah, I found the other scripts, but I thought this one would be the best since it is recommended.

oh and my game will be... .big. it's now about 500MB. 

@Engr. Adiktuzmiko:

yeah, first I thought it is loading... but it seems not. the frame drop is the entire time! and I don't even use much music (it's just a demo at the moment...) so there is not much to load.

about commercial usage, I looked how other developers made it and looked into the folders of To the Moon and Always Sometimes Monsters. They don't encrypt their audio files.

so if this script cause lag and it depends on the game size or could not be fixed, then I don't encrypt the audio files too. 
Thought about using some compressors?

Use pngquant:

Normally your png files will decrease by 50-70% without quality loss.

https://pngquant.org/

Honestly....I use .ogg audio because it is open source. You might want to lower the quality until you hear a sound quality change. 

I think you can buy a good compressor somewhere. I am not sure about the free ones, but most audio formats are already compressed.

http://www.any-audio-converter.com/
 
Last edited by a moderator:

FeaR616

Veteran
Veteran
Joined
Nov 22, 2014
Messages
277
Reaction score
52
First Language
german
Primarily Uses
oh, I think I will use the pngquant, looks good. thanks

and about music: I use the .ogg files from the music packs I bought from this website. I thought they are already at best possible quality and best compression needed.

I try it with the any audio converter... thanks again for this.
 

Misty

Programmer
Veteran
Joined
Sep 19, 2013
Messages
127
Reaction score
12
First Language
English
Primarily Uses
oh, I think I will use the pngquant, looks good. thanks

and about music: I use the .ogg files from the music packs I bought from this website. I thought they are already at best possible quality and best compression needed.

I try it with the any audio converter... thanks again for this.
You are welcome.

Let me know if you need anymore help. I added you as a friend. 
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Maybe its loading really a lot so it loada every now and then causing FPS to drop maybe... On my system, I have a 50mb archive of animations which cause a bit of loading when playing them.
 

FeaR616

Veteran
Veteran
Joined
Nov 22, 2014
Messages
277
Reaction score
52
First Language
german
Primarily Uses
I don't think it is because of loading the data... but I try the compressions ZEFK mentioned and test it again. but my hope is not soo big about this. ^^"
 

KockaAdmiralac

Cube-shaped garbage can
Veteran
Joined
Jun 15, 2015
Messages
569
Reaction score
153
First Language
Serbian
Primarily Uses
N/A
Awwww, come on!

This uses encryption even worse than XOR!

I thought this uses some newer encryption methods, like AES, and tried to see how you did it without loading the openssl.so, but when I saw this is just plain adding of @@KEY...

Well, I hope that era of MV changes something in aspects of game encryption :)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top