Game Development Community

(Pre)Compiled Torque scripts

by Funky Diver · in Torque Game Engine · 02/13/2003 (10:59 am) · 3 replies

Hello!

I'm new to the engine and I have 2 questions, I couldnt find the answers in the forum threads.

1) Is it possible to precompile the Torque script files in some kind of bytecode to speed up the thing at run-time?

2) How can I secure script and data files from unathourized user editing? Does Torque create some kind of resource files with protection?

Thank you!

Alex

#1
02/13/2003 (11:22 am)
If I recall correctly:


run the game, all the scripts and gui files will now have a .dso extension (compiled, binary etc..)

now, just whack all the .cs and .gui files and noone will be able to (including YOU) modify anything script/gui wise.
#2
02/14/2003 (4:12 am)
Thanx!

Is it possible to put all .dso and other files into one big one? Like virtual disk system?
#3
02/14/2003 (5:22 am)
AFAIK Torque supports zip files to do this. (Unless that is broken right now, but methinks it's working)