Game Development Community

Why is my Torque failing to work?

by Shane09 · in General Discussion · 09/27/2008 (6:44 am) · 3 replies

I have Torque Game Engine 1.4.2. I made a folder and inside is 'Torque Demo Debug OSX', 'main.cs', 'common', 'creator', 'tutorial.base', and 'console'. I renamed 'tutorial.base' to 'Current'. But to make sure 'Torque Demo Debug OSX' could still read my information, I opened up the 'main.cs' and changed

$defaultGame = "tutorial.base";
$displayHelp = false;

to

$defaultGame = "Current";
$displayHelp = false;

So now everything should be set to work now right? Well not for me. When I run 'Torque Demo Debug OSX', It takes me to the Torque Application homepage. I can edit my GUIs, but when I click f10 (world editor), it says this:

GuiControl::awaken: failed onWake

Ok, so then I click "Retry", and then it says:

GuiControl::removeObject: child control wake state is bad

So, I click "Retry" again, and it says:

GuiControl::preRender: control is not awake

After I click "Retry" again, it says:

GuiControl:: sleep: child control is already asleep

And then it attempts to load the world editor and nothing happens. The page turns all white, but the loading bar never moves, so the only thing I can do is click "Cancel".


What am I doing wrong, or what do I need to do to fix this?

Thanks.

#1
09/27/2008 (7:39 am)
Hey there.

Well the problem here is not the main.cs file, but rather the other files inside of it.

Since many executable paths include this:

~/tutorial.base/

Then it needs to be named tutorial.base.

I would use spotlight to look at all the files in the folder and change all the lines with tutorial.base into current.
#2
09/27/2008 (7:40 am)
I don't have a problem with that, it's just that if I actually published my game I wouldn't want it to be called 'tutorial.base'. Do you know the certain folders that I would need to change? Also, how many folders am I supposed to be looking for? 100s?

Or will leaving everything "tutorial.base" not affect my game as long as I can change the actual published application of my game from "tutorial.base"?
#3
09/27/2008 (8:17 am)
This is what I meant about some things that you can't explain in words. There could be hundreds of files that you need to change... But I don't expect any less then 10.

Just use spotlight to look for 'tutorial.base' inside all the files. it will show you a list. THen go into each file, and change the script into 'current'