Game Development Community

Can I hide my scripts?

by Marty · in Technical Issues · 04/28/2004 (8:39 am) · 3 replies

Is there any way that I can hide/compile/obfuscate my custom scripts in the distribution versions of my finished Torque games?

#1
04/28/2004 (8:45 am)
Yes, just distribute the .dso files for those scripts (i.e. no .cs).

Try this.
1. Start your game once (so the the .cs files get compiled into .dso).
2. Copy everything to a second directory (starting with the directory the executable is in).
3. CD to the NEW directory, containing your scripts
4. Delete the .cs scripts you do not want to distribute
5. Re-run from your new directory and...

violla. It should still function, minus the .cs files.

[HOW]EdM
#2
05/06/2004 (8:37 am)
Thanks, Ed!

BTW, is your "Essential Guide to Torque" done yet?

Let me know if you need any beta-readers!
#3
07/28/2004 (9:43 pm)
Marty,

Sorry I never saw your post! You're welcome, and not the guide is not done, but it is getting there.

Thanks for asking,

[HOW]EdM|EGTGE