Hiding the *main* main.cs in a dso
by Ken Finney · in Torque Game Engine · 09/05/2001 (8:34 pm) · 3 replies
examples/main.cs doesn't get compiled into a dso form. Is there an easy way to do this ?
Regards,
CERDIP
Regards,
CERDIP
About the author
#2
If you are wanting to do this to hide script code, all I did was make the main.cs be a stub with one line, simply exec'ing the first of the compiled scripts.
David
09/06/2001 (9:14 am)
Hi,If you are wanting to do this to hide script code, all I did was make the main.cs be a stub with one line, simply exec'ing the first of the compiled scripts.
David
#3
09/06/2001 (6:52 pm)
thanks David - I tried that, and it didn't go for some reason. I'll revisit it again on the weekend.
Torque Owner nohbdy
To get a dso of it you might be able to make a copy of it, put the copy in a subdirectory, and then put an exec() command in the real main.cs calling the copy.. the resulting DSO (assuming it compiles) would be what you were looking for...
-nohbdy