Advice for my drm script

Hello,

to prevent my exe. (which has a drm) getting replaced I wrote a smaller script.

Since many of you users are really good in scripts I would like to know if you know a way to prevent the script from getting decrypted/deleted?
Maybe putting it deeper into the code or other ways? I've tried EST script control but this got cracked too.

Here is the script

Text = "

  Invalid launcher detected.\nPlease use the launcher that is shipped with this product

"

 

if File.open("Game.exe").read.size != 1900720

  msgbox Text.strip

  exit

end

 
Don't use DRM. DRM only hurts legitimate consumers. Pirates never have to deal with DRM.
The code I provided was specifically for the type of DRM you chose to obtain, which was useless in RPG Maker because it simply encrypts the RM player.


That's like trying to protect a flash game by encrypting the flash player that is shipped with the game.


Estriole's encryption was cracked already?
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Your code doesn't close the file and also doesn't open the file in binary mode. Use File.size.

Original thread: https://forums.rpgmakerweb.com/threads/advice-for-my-drm-script.35074/