text file project for RGSS and GML

Started by Memor-X, November 03, 2011, 09:05:42 pm

Previous topic - Next topic

Memor-X

i'm about given up with the encryption .dll i had been previously using so i'll ask this, is there a way to protect the data in a text file in RGSS which can be used in Game Maker, a .dll, class, script, whatever, i'm not fussed, as long as the data in the text file is unreadable by normal means eg. a text file says "hello, i'm readable", when projected it won't say that (like with XOR Encryption) and if a single character is mission, it wont return to the original text.....or something like that

NOTE: if the method can use be used in php then that will be great but i already have a work around for that anyways

ForeverZer0

If you are using RMXP's Ruby to either or encrypt or decrypt the data, then the answer is "no".  Its still the same fundamental problem. Pretty much any type of method you come up with that uses Ruby might as well be open-source and posted up publicly for all to simply reverse-engineer. 

If the Ruby side doesn't matter, then there are literally unlimited different ways that you can render the text illegible. It can be as advanced or as simple as you want, so long as the program/dll reading it knows how to make sense of it. Some simple ways are shifting the bits of each character of text according to some algorithm you come up with, or implemented an existing encryption like AES, etc.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Memor-X

with the ruby side, the only thing that matter is that it works and that i can also use it with game maker, you know of any i can search for, preferably a download i can search for

ForeverZer0

http://rubyforge.org/frs/download.php/12184/crypt-1.1.4.zip

This is a Ruby gem, but you can extract the scripts from it. You will have to alter them slightly to work in the RMXP environment, such as removing the "requires" etc.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Memor-X

thanks, i'll read though it and see what changes i'll need to make in my game maker and rpg maker xp code