Jump to content

Does this script secure enough?  

17 members have voted

  1. 1. Does this script secure enough?

    • This script Perfect ! This should be pinned to punish those script thief ! LOL
      5
    • This script Already have enough Protection to protect my script
      4
    • This script Need a little more protection to protect my script
      2
    • This script really lack protection. Even i can crack it. but it's better than nothing. (people choosing this please pm me how you crack it so i can improve it)
      0
    • Just scrap this script... (Vote by script thief probably goes here :p)
      0


Recommended Posts

EST_CS2 - SCRIPT CONTROL

Author  : Estriole & caitsith2
Version : 2.0

 

  this script written based (also take some code) from:

 

   TDS - SCRIPT DISABLER
   Author  : TDS
   Version : 1.0 

    

 â–  Changelog        â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

 

 

 v1.0 2014.06.14     >     Initial Release

 v1.1 2014.06.16     >     add simple dumb encryption so the rvdata2 cannot read easily
 v1.2 2014.06.18     >     improve the dumb encryption with reverse method.
                     >     add REAL encryption using cypher method.
                     >     make the encryption and decryption as method.
                     >     add support for having crypt key hidden inside the hidden script
                           so it's harder to crack. double encryption
 v1.3 2014.06.27     >     Fix script folder cannot be changed. thx to caitsith2 for pointing it out.
                     >     Add temp_key encryption to your hidden key. harder to crack

 v1.4 2014.06.30     >     Add Triple encryption using caitsith2 code.                    
 v1.5 2014.07.04     >     Add Protection from write to file method. expert coder
                           might still able to crack it. but it will be difficult.
                           and if they can crack it... by logic. they're have the ability
                           to create scripts better than what they want to steal anyway...
 v1.6 2014.07.05     >     Removed the dumb encryption and reverse method. because there's
                           potential it can ruin the scripts if it have trailing tokens.
                           thanks to killozapit to point it out. this script already
                           have better encryption anyway (cypher + scramble)

 v1.7 2014.07.06     >     Improve the write to file prevention method by LOTS!
                     >     Added protecion from script modification. so when this script changed after people decrypt the project...
                           it will fail the decryption.
                           coder that CAN crack this update only mean to test his/her skill not thinking on stealing your scripts :D
                           if anyone can crack this. share with me please so i can find a way to prevent that.
 v1.8 - v1.9         >     Never released because can be cracked immediately
                           after i add extra security... but i still left the code
                           in 2.0 to make extra steps that thief have to do before
                           they can crack this script...

 

 v.2.0               >     Since any prevention method (in v.1.8 / v.1.9) can be
                           undone by the thief (not easily. but doable)... by
                           modifying the script control scripts...
                           i decide to use dll (thanks to tsukihime for her tutorial...
                           this script can't use dll without her tutorial)
 

 

 â–  License        â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

 Free to use in all project (except the one containing pornography)
 as long as i credited (ESTRIOLE).
 
 I started writing this script. but then caitsith2 helps me a lot in improving
 this script. so i think this script already become collaboration between me and
 him. so the second person need to credited is catsith2 !
 
 EDIT: policy change... game containing pornography ALLOWED to use this script.
 because i think it would be better so no more people can steal their scripts
 and create ANOTHER pornography game. this exception is valid ONLY for this script
 and EST - ENCRYPTER script.
 
 This script written based (also take some code) from TDS SCRIPT DISABLER script.
 so you need to credit TDS too if you use this script.

 From v2.0 > this script use dll. using knowledge learned from tsukihime's tutorial
 about using dll in RPG MAKER VX ACE... so Added Tsukihime in the credit list...
 
 so in summary this is all people that you need to credit when using this script:
 1) Estriole
 2) caitsith2
 3) TDS
 4) Tsukihime
 
 â–  Introduction     â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

    This script created to give better control to the script. we can disable
 a single script, disable a group of scripts and import script from external files
 replacing marked script editor entry. the external scripts CAN be encrypted too.
 read the how to use on how to encrypt it.
 

 â–  Feature     â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

 - v.2.0 >>> NOW use dll to avoid thief modification !!!
 - 99% guarantee to make script thief's head dizzy.

 - Great combo with EST - ENCRYPTER
 - Disable single script
 - Disable group script
 - Import script from external .txt files
 - Encrypt your external script.
 - Hide your personal script from the decrypter program. they can access your
 project but cannot read the script easily. (yes... perhaps expert coder can
 reverse the code and make it .txt but it will give them hell at least).
 - from v 1.2 > added real encryption and add double encryption support.
 - from v 1.4 > added triple encryption. OMG... this really mean bussiness.
 - from v 1.5 > added write to file protection
 - from v 1.7 > added script modification protection. so if people modify
                the script after decrypting your project. it will fail the decryption.
                people that can crack this protection only do that for testing
                their skill. i'm 100% sure they don't need your script because
                they can script better. :P.
 - from v 1.9 > add sc check that make thief harder to edit scripts.
 

 â–  Requirement     â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›
   Just RPG MAKER VX ACE program :D
 - RPG MAKER VX ACE program :D
 - EST_CS2_SCRIPT_CONTROL.dll can be downloaded either from demo or from script page...
 put that dll file INSIDE your project folder.

 â–  Compatibility     â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

  1) MUST BE PLACED ABOVE ALL SCRIPTS you want disabled/imported
  2) TXT Files must use UTF-8 Encoding
  3) this script name MUST be: EST_CS2 - SCRIPT CONTROL for better security.
     you can have other name. but it won't as secure then.

 â–  Screenshot     â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

 howtouse.jpg

 

(this one is old screenshot. will update it later with new one)

(don't use EST - SCRIPT CONTROL as script name)

(use EST_CS2 - SCRIPT CONTROL as script name from v2.0)

 â–  How to use    â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

 

you can look at script header or:

 

 

 0) DOWNLOAD EST_CS2_SCRIPT_CONTROL.dll either from demo or from script page...
 put that dll file INSIDE your project folder. (see demo for more info).
 
 1) Disable single script
  add # at start of script name in script editor to disable single script
  example: #Victor Basic Module
 
  External script can also disabled using this feature
  example: #&Victor Basic Module
   
 2) Disable group scripts
  To disable a group of scripts make 2 new blank scripts and in their name
  add this:

  <Disabled_Scripts>

  </Disabled_Scripts>

  Any scripts put between these 2 new scripts will be disabled at the start
  of the game.

  External script can also disabled using this feature
  example:
  <Disabled_Scripts>
  &Victor Basic Module
  &Yanfly Ace Battle Engine
  </Disabled_Scripts>
 
 3) Importing external script.
  - First create "Scripts" folder inside your project folder
  (if no folder named "Script" this script will throw error print in console)
  - create/copy the txt files that contain your scripts.
  (some scripters use strange character to make the scripts look neater. me included: â–  :D)
  so... MAKE SURE the txt files saved using UTF-8 Encoding. if you got error about unicode
  character. then your txt files not UTF-8 Encoding. just save as and choose the correct
  Encoding.
 
  - then add & at the start of the txt files name. (REQUIRED)
  example: &Victor Basic Module.txt
           &Yanfly Battle Engine.txt
           
  - open up your script editor. make new blank scripts in the position where you
  want the imported script placed. you can move it later too when you need to
  reorder your script list. rename the scripts name to the txt files name (without .txt).
  example according above:
           &Victor Basic Module
           &Yanfly Battle Engine
  then the blank script with that name will automatically replaced with the external script.
 
  NOTE: do not use &cypher_key as script name for your script.
        because it's reserved to use in double encryption...
        use it only for scripts containing your hidden key and recrypt process.
 
 4) Encrypting your game with the external scripts imported.
 just use step 5. it's safer.
 
 5) Encrypting your scripts. with the crypt key INSIDE the imported scripts.
 (double encryption)
 - finish your game first.
 
 - DOWNLOAD &cypher_key.txt from the topic page / GRAB it from demo Scripts folder.
 
 open the txt file and change mykey variable in CONFIGURATION section:
 
 ##################################################
 #                                                #
 #             CONFIGURATION                      #
 #                                                #
 ##################################################

 mykey = x
 
 change x any TEXT you want... (not unique array like v.1.9 or below)
 
 example:
 
 ##################################################
 #                                                #
 #             CONFIGURATION                      #
 #                                                #
 ##################################################
 
 mykey = "don't steal my script please... i'll buy you some candy... what flavour you like"
 
 some tips. you can cut and paste from the array to reorder your key.
 it save time.
 
 NOTE: Do not change anything else beside the config. to make sure your
 scripts protected.
 
 - SAVE the changes
 
 - open up your script editor. make new blank scripts directly BELOW this script.
   name it &cypher_key
 - play test with DO_CONVERSION_TO_RVDATA = true
 - after that change DO_CONVERSION_TO_RVDATA = false (OPTIONAL)
 - delete your Scripts folder. encrypt the game using editor normally.
 
 WARNING: DO NOT PLAYTEST AGAIN WITH DO_CONVERSION_TO_RVDATA = true
 after you DELETE the SCRIPTS FOLDER !!! it will re-encrypt your project
 with no external SCRIPTS!!!
 
 EXTRA WARNING: IT WOULD BE WISE TO BACKUP YOUR SCRIPTS FOLDER SOMEWHERE
 IN CASE YOU WANT TO EDIT THE GAME AGAIN :D.

 

 

 â–  Script   â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

 

Script:

http://pastebin.com/cu6F4PuC

 

&cypher_key.txt:

pastebin version

dropbox version

(version 2.0)

 

EST_CS2_SCRIPT_CONTROL.dll:

https://www.dropbox.com/s/iw1lyro9s7hchua/EST_CS2_SCRIPT_CONTROL.dll

place it inside your project folder along with your Game.exe :D.

 

 â–  Demo   â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

Latest Demo

https://www.dropbox.com/s/759lj0tmyrnaxkq/EST_CS2_SCRIPT_CONTROL.rar

 

Demo example already encrypted (to test the script still working even in encrypted files)

https://www.dropbox.com/s/ph4binwnnq9pycj/EST_CS2_SCRIPT_CONTROL%20-%20Encrypted.exe

(this one not updated yet)

 

 â–  Credit and thanks   â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›

- Estriole

- caitsith2

- TDS for Script disabler

- Tsukihime for her tutorial about using dll

 

Author's Notes

Please give feedback... since it's a long time. maybe i'm rusty and miss some bugs.

suggestion to improve this script also welcomed

 

Please Vote as your heart tells you :D.

Edited by estriole

Share this post


Link to post
Share on other sites

we can easily add # at the beginning of the script name. actually i already mod TDS script disabler long time ago to achieve that. it make debugging script easier.

 

then last night i got a little inspiration to add some external script support (that can be encrypted). and i add that feature. i guess this script would be helpful for the scripters. so i release it :D.

Share this post


Link to post
Share on other sites

updated the script to v 1.1

- added simple dumb encryption so the rvdata2 files cannot be read easily.

 

above is preparation before i release my EST - Z_CRYPTER script. (might even improve the encryption in v 1.2)

scripts for encrypting graphics and sound (already finished actually. but currently try adding video). when it's finished i will release it.

hopefully this two scripts would become a deadly combo for newbie decrypters out there.

 

EDIT: the demo (both) still not updated. grab the scripts from pastebin.

i will update the demo after i release the other script.

Edited by estriole

Share this post


Link to post
Share on other sites

updated the script to v1.2

 v1.2 2014.06.18     >     improve the dumb encryption with reverse method.
                     >     add REAL encryption using cypher method.
                     >     make the encryption and decryption as method.
                     >     add support for having crypt key hidden inside the hidden script
                           so it's harder to crack. double encryption
 

the EST - Z_CRYPTER script will be postponed. until i found a better implementation of the script.

Share this post


Link to post
Share on other sites

Some method of automatically creating the "A-Z" + "a-z" + "0-9" + " ", using a reduced version of RC4 to scramble the initial values, along with a user supplied key.

 

 

mykey = "Your key here :)".split(//)

base = []
i=0
while i<63
  base.push(i)
  i+=1
end
scramble_key = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ".split(//)
i = 0
j = 0
while i < 2079
  k = (i < 252) ? mykey[i%mykey.size].to_i : 0
  j = ( j + base[i%63].to_i + k ) % 63
  temp=base[i%63]
  base[i%63]=base[j]
  base[j]=temp
 
  temp=scramble_key[i%63]
  scramble_key[i%63]=scramble_key[j]
  scramble_key[j]=temp
 
  i+=1;
end;
recrypt_script(scramble_key)
scramble_key = nil
mykey = nil
base = nil

Share this post


Link to post
Share on other sites

Found a bug in your code, that resulted from changing the default script directory.  (Another tool I was using, that converts *.rvdata2 files over to a text format, suitable for use with source control engines like git or svn, uses YAML/ for the large majority of the files, and scripts/ to store all the scripts contained within scripts.rvdata2.

 

As such, I needed to change the default so it looked for the scripts to be crypted elsewhere, but you seem to have one hard-coded reference left in the code.

Share this post


Link to post
Share on other sites

@caitsith2: sorry.... can you explain a little bit more what bug you mentioned. i don't quite get what you mean. pardon me. english is not my first language.

 

originally i write something in this post. but i pm you instead. since it explain how this script works. and making everyone know it would make this script easy to crack :D.

Share this post


Link to post
Share on other sites

updated the script to v1.3.

 v1.3 2014.06.27     >     Fix script folder cannot be changed. thx to caitsith2 for pointing it out.
                                >     Add temp_key encryption to your hidden key. harder to crack
 

Share this post


Link to post
Share on other sites

You have no idea how much I use this script. I tend to put in every script I think is even remotely interesting in my game and then use the script disabler to disable it until I need it (or if I need it).  Thank you so much for improving on an already fantastic script by TDS. It seems like almost all of your scripts have become handy to me. :P

Share this post


Link to post
Share on other sites

updated the script to v.1.4:

 v1.4 2014.06.30     >     Add Triple encryption using caitsith2 code.                     
 

if you use this script you also need to credit caitsith2.

 

WARNING: if you're upgrading from previous version. there's some change on how to create the hidden key.

 

 

 5) Encrypting your scripts. with the crypt key INSIDE the imported scripts.
 (double encryption)
 - finish your game first.
 - then create a txt files named &cypher_key.txt
 
 then in that text put this code:
 
 mykey = x
 mykey = prepare_scramble_key(mykey)     ##<<<< this line new from v1.4 (required)
 recrypt_script(mykey)
 mykey = nil
 
 change x to array of shuffled characters to map the A-Z, a-z, 0-9, and ' ' (spaces)
 total of UNIQUE (2x31)+1 = 63 characters. UNIQUE means you must not have duplicate value
 
 example:
 
 mykey = ["3", "y", "v", "I", "6", "u", "K", "D", "w", "X", "H", "e", "1", "S", "B", "g", "a", "W", "C", "0", "9", "b", "z", "T", "A", "q", "U", "4", "O", "o", "E", "N", "r", "n", "m", "d", "k", "x", "P", "t", "R", "s", "J", "L", "f", "h", "Z", "j", "Y", "5", "7", "l", "p", "c", "2", "8", "M", "V", "G", "i", " ", "Q", "F"]
 mykey = prepare_scramble_key(mykey)     
 recrypt_script(mykey)
 mykey = nil
 
 - open up your script editor. make new blank scripts directly BELOW this script.
   name it &cypher_key
   
 - play test with DO_CONVERSION_TO_RVDATA = true
 - after that change DO_CONVERSION_TO_RVDATA = false
 - delete your Scripts folder. encrypt the game using editor normally.

 

 

Edited by estriole

Share this post


Link to post
Share on other sites

Double Update

 v1.5 2014.07.04     >     Add Protection from write to file method. expert coder
                           might still able to crack it. but it will be difficult.
                           and if they can crack it... by logic. they're have the ability
                           to create scripts better than what they want to steal anyway...
 v1.6 2014.07.05     >     Removed the dumb encryption and reverse method. because there's
                           potential it can ruin the scripts if it have trailing tokens.
                           thanks to killozapit to point it out. this script already
                           have better encryption anyway (cypher + scramble)

 

 EDIT: policy change... game containing pornography ALLOWED to use this script.
 because i think it would be better so no more people can steal their resources
 and create ANOTHER pornography game. this exception is valid ONLY for this script

Edited by estriole

Share this post


Link to post
Share on other sites

HUGE UPDATE !!!

FEEL THE DIFFERENCE !!!

 

First of all I change the scripts name to EST_CS2 - SCRIPT CONTROL

this script becomes collaboration script between Estriole and caitsith2. we struggle together to take this script to next level... and we DID !!!

 

Update content:

 v1.7 2014.07.06     >     Improve the write to file prevention method by LOTS   !!!!!!!!!!
                     >     Added protecion from script modification. so when any

                           script changed after people decrypt the project...  it will fail the decryption.

                           i think coder that CAN really crack this update only mean to test his/her skill not thinking on

                           stealing your scripts :P.

 

                           if anyone can crack this. share with me please so i can find a way to prevent that.
 

                           we also put some protection against some advanced attack method which i won't list here to not

                           giving the thief an early start biggrin.gif.

 

      99% guarantee to make script thief's head dizzy.
 

           (our head is already dizzy making this scripts LOL... so they will surely dizzy too...)

 

     PLEASE VOTE and tell me what you really think about this scripts. biggrin.gif

 

EDIT: Make sure to grab the &cypher_key.txt and edit that instead of creating your own. to avoid mistake.

Edited by estriole

Share this post


Link to post
Share on other sites

UPDATED THE SCRIPTS

 v.2.1               >     when not having dll installed... this script can still work to
                           control the script (disable scripts). the one that don't
                           work is only the encryption part... set puts as warning
                           instead of msgbox. so it don't disturb the playtest.
                     >     added auto recrypt thief written file setting in &cypher_key.txt
                           if it's set to ON. any files written "before" the &cypher_key.txt
                           will be "recrypted" tongue.gif. if it's set to ON. put this script
                           and &cypher_key ABOVE any custom scripts that write files. such as
                           Tsukihime Data Backup. etc... i set default to false.
                           so only turn it on if you want extra security.
 

make sure to redownload &cypher_key.txt to new version

Share this post


Link to post
Share on other sites

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 :D.

Edited by estriole

Share this post


Link to post
Share on other sites

Ok, I'm about to use this script for my project workshop to edit my scripts. Not really game project, just test project. But it seems adding .dll is unecessary because I only need to disable and control certain scripts. Yes, the script control function itself. I don't need the encryption thingy. And when I tested the project, it will show the popup telling if the dll is missing.

 

Though, even I can delete the lines which loads the .dll files, I think it's better to put the option to load the .dll or not. It's script controler after all.

Share this post


Link to post
Share on other sites

A standalone taking control of scripts is very much appreciated.

Edited by MHRob

Share this post


Link to post
Share on other sites

sorry for late response. been busy... 

@theo: OMG once again i forgot to update the pastebin link....

 

btw i already edited the pastebin...

 

but if you lazy to copy paste from pastebin... you can just change all "msgbox" to "puts" :D.

i made it that way so when no dll exist... when it try to load the dll... it will error and go to rescue (the puts message) then proceed to control_scripts method (which disabling the scripts).

 

or if you want you can delete this whole line (from begin->rescue->end... but i don't think it affect speed much since it will only execute first line then go to rescue)

begin
EST_CS2_add_entropy =  Win32API.new("EST_CS2_SCRIPT_CONTROL.dll", "add_entropy", "", "P")
EST_CS2_cipher =  Win32API.new("EST_CS2_SCRIPT_CONTROL.dll", "cipher", "", "P")
EST_CS2_prepare_scramble_key =  Win32API.new("EST_CS2_SCRIPT_CONTROL.dll", "prepare_scramble_key", "", "P")
EST_CS2_convert_scripts_to_rvdata =  Win32API.new("EST_CS2_SCRIPT_CONTROL.dll", "convert_scripts_to_rvdata", "", "P")
EST_CS2_decrypt_rvdata_to_scripts =  Win32API.new("EST_CS2_SCRIPT_CONTROL.dll", "decrypt_rvdata_to_scripts", "", "P")
EST_CS2_recrypt_script =  Win32API.new("EST_CS2_SCRIPT_CONTROL.dll", "recrypt_script", "", "P")
EST_CS2_execute =  Win32API.new("EST_CS2_SCRIPT_CONTROL.dll", "execute", "", "P")
 
eval(EST_CS2_add_entropy.call())
eval(EST_CS2_cipher.call())
eval(EST_CS2_prepare_scramble_key.call())
eval(EST_CS2_convert_scripts_to_rvdata.call())
eval(EST_CS2_decrypt_rvdata_to_scripts.call())
eval(EST_CS2_recrypt_script.call())
eval(EST_CS2_execute.call())
rescue
  puts "EST_CS2_SCRIPT_CONTROL.dll missing...\nPlace it inside your project folder (same location as Game.exe)"
  puts "The Project will continue but only with script control function.\nIt will not load your encrypted script."
end

if you decide to delete that line... remember... do not delete the last line containing:

control_scripts

since that method is the one that disabling the scripts. :D

 

or you can just left the rescue blank by deleting the two puts :D.

 

once again sorry for late response... my current work just got so intense that i didn't have spare time to even check the net >.<.

Edited by estriole

Share this post


Link to post
Share on other sites

My project features over 100 scripts maybe even over 120 and they have to be in a certain order in the script line to avoid errors and conflicts. How do you address this with your script protection for such a massive project?

Share this post


Link to post
Share on other sites

it will be protected without problem with ordering...

since you can arrange the order of your script you're importing in you script editor.

 

1) create "Scripts" folder in your project folder (or depending on your config)

2) cut/copy (cut is better since you'll need to erase the source later) the script code to a txt files. save it with UTF-8 encoding. then name it.

txt files name should start with &

ex: &theo_sbs.txt

 

3) open your script editor. and it the previous slot where your script placed. change the script slot name to your file name (without .txt)

ex: &theo_sbs

then if you copy(not cut) the script in step 2. don't forget to erase the content of the script to blank. or people will be able to see it :D.

side note: don't use &cypher_key.txt as file name since it reserved to extra protection script.

 

it will have effect like the script placed in that slot. so ordering will not messed up.

 

the rest of encryption process (taken from script header)

 

 

 5) Encrypting your scripts. with the crypt key INSIDE the imported scripts.

 (double encryption)
 - finish your game first.
 
 - DOWNLOAD &cypher_key.txt from the topic page / GRAB it from demo Scripts folder.

place it in Scripts folder
 
 open the txt file and change mykey variable in CONFIGURATION section:
 
 ##################################################
 #                                                #
 #             CONFIGURATION                      #
 #                                                #
 ##################################################

 mykey = x
 
 change x any TEXT you want... (not unique array like v.1.9 or below)
 
 example:
 
 ##################################################
 #                                                #
 #             CONFIGURATION                      #
 #                                                #
 ##################################################
 
 mykey = "don't steal my script please... i'll buy you some candy... what flavour you like"
 
 NOTE: Do not change anything else beside the config. to make sure your
 scripts protected.
 
 - SAVE the changes
 
 - open up your script editor. make new blank scripts directly BELOW this script.
   name it &cypher_key
 - play test with DO_CONVERSION_TO_RVDATA = true
 - after that change DO_CONVERSION_TO_RVDATA = false (OPTIONAL)
 - delete your Scripts folder. encrypt the game using editor normally.
 
 WARNING: DO NOT PLAYTEST AGAIN WITH DO_CONVERSION_TO_RVDATA = true
 after you DELETE the SCRIPTS FOLDER !!! it will re-encrypt your project
 with no external SCRIPTS!!! launching game from Game.exe will not a problem though
 

 

 

 EXTRA WARNING: IT WOULD BE WISE TO BACKUP YOUR SCRIPTS FOLDER SOMEWHERE
 BEFORE YOU DELETE IT... IN CASE YOU WANT TO EDIT THE GAME AGAIN :D.

Edited by estriole

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted