GUI Editor Crash on Windows 7
by Playboom Entertainment · in Torque Game Builder · 08/19/2009 (1:18 am) · 2 replies
I'am using Windows 7.
I've been tried this tutorial tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIMainMenuText.
When, trying to add "GuiControl" (look at 2nd step), my TGB is crash.
This is the Screenshot:
www.shareapic.net/content.php?id=18884161&owner=suharian
Thanks..
Last Update:
after I recheck using WinXP and Vista, same problem was happen ....
Any one can't help me.....
I've been tried this tutorial tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIMainMenuText.
When, trying to add "GuiControl" (look at 2nd step), my TGB is crash.
This is the Screenshot:
www.shareapic.net/content.php?id=18884161&owner=suharian
Thanks..
Last Update:
after I recheck using WinXP and Vista, same problem was happen ....
Any one can't help me.....
About the author
#2
The problem you're running into is clearly a major bug, and I'm really surprised to see a bug this severe in a production release.
I've found a workaround, but it's really frustrating. In your game's folder, you should find "game/gui/mainMenuGui.gui"
If you don't see it, follow the tutorial up to the step just before it crashes and save the GUI.
You can open this file in a text editor. It will look like:
If you change it to:
Then you'll be able to open the GUI again in the editor and the control will be there. You can then follow along with the rest of the tutorial. The only problem is, you have to do this EVERY time you want to add a new control to the root control (which is the mainMenuGui control listed on the right side of the editor.)
I can see exactly why the crash is happening, but I don't know enough about TGB's source to fix it myself. Hopefully someone from GG will read this and look into it. It's a really severe bug that makes it impossible to build a new GUI from scratch using the GUI Editor.
11/24/2009 (10:43 am)
Hey there. Unfortunately, I don't work for GarageGames, so I can only provide limited help.The problem you're running into is clearly a major bug, and I'm really surprised to see a bug this severe in a production release.
I've found a workaround, but it's really frustrating. In your game's folder, you should find "game/gui/mainMenuGui.gui"
If you don't see it, follow the tutorial up to the step just before it crashes and save the GUI.
You can open this file in a text editor. It will look like:
//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiControl(mainMenuGui) {
canSaveDynamicFields = "0";
isContainer = "0";
Profile = "GuiModelessDialogProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "0 0";
Extent = "640 480";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
hovertime = "1000";
};
//--- OBJECT WRITE END ---If you change it to:
//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiControl(mainMenuGui) {
canSaveDynamicFields = "0";
isContainer = "0";
Profile = "GuiModelessDialogProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "0 0";
Extent = "640 480";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
hovertime = "1000";
new GuiControl() {
};
};
//--- OBJECT WRITE END ---Then you'll be able to open the GUI again in the editor and the control will be there. You can then follow along with the rest of the tutorial. The only problem is, you have to do this EVERY time you want to add a new control to the root control (which is the mainMenuGui control listed on the right side of the editor.)
I can see exactly why the crash is happening, but I don't know enough about TGB's source to fix it myself. Hopefully someone from GG will read this and look into it. It's a really severe bug that makes it impossible to build a new GUI from scratch using the GUI Editor.
Torque Owner Playboom Entertainment