Game Development Community

launching Torque with main.cs.dso

by Tony A · in Torque Game Builder · 08/24/2009 (8:27 pm) · 3 replies

Hi,

I would like to be able to launch TGBGame.exe with main.cs.dso and not main.cs? my goal is to package my game with .dso's only. is that possible at all?

Thanks.

#1
08/24/2009 (9:40 pm)
Not exactly the same, but I moved the contents of my main.cs file into a separate file in the common directory. Now main.cs is only one exec() line to call that other file. TGEA does seem to compile main.cs into a .dso so there may be code in that codebase that you could use.
#2
08/25/2009 (12:16 am)
Somewhere out there is a resource that might help. The gist was that they shrunk the main.cs to be as small as possible, removing all extraneous bits. They then put this string inside the executable. Finally, instead of reading in the main.cs and exec'ing that, they exec'd the string.
#3
08/25/2009 (11:59 am)
Thanks guys! I will try to locate that resource.