Game Development Community

Cannot run game after packaging

by Jules · in Torque 3D Professional · 02/05/2010 (7:34 am) · 4 replies

After making a package, excluding the .cs files, and only allowing the main.cs file I get an error on trying to load up the game, after install.

GuiControl::onAdd() unable to find specified profile and GuiDefault profile does not exist!

Any ideas?

#1
02/05/2010 (8:41 am)
Forgot to add this is 1.1a, I had a problem with creating dso files at first, but that was to do with main.cs file compileAll. Which .cs files do we need to keep apart from the main.cs ?
#2
02/05/2010 (11:32 am)

Did it correctly compile core/art/gui/profiles.cs to DSO? Does it load correctly?
#3
02/06/2010 (5:25 am)
Thanks Rene. Everything as far as I can tell compiles to dso, except for the following:

under /game
main.cs

under scripts/server

banlist.cs
prefs.cs

So unless something is looking at a cs file when it should be looking at a dso file. Not sure..
#4
02/06/2010 (5:43 am)
Instead of deleting *.cs files, I deleted the relevant files manually, all works now. Something that has a .cs extension is obviously getting deleted.