Game Development Community

Packaging Utility not exporting GUI profile

by Gustavo Boni · in Torque Game Builder · 01/23/2007 (7:02 am) · 17 replies

I was trying to pack my game using the Packaging utility, but it not exports my GUI profiles. Am i missing something or is it a bug?

#1
01/23/2007 (7:08 am)
After you analyze with the packaging utility make sure you check that all the assets you want aren't in pruned, if so you can just check it to ensure it makes it :)
#2
01/23/2007 (7:45 am)
Thanks to reply Matthew.

I've checked that and in pruned are just some .png screesnhots and there's no assets in "unknown files" and "ignored files".
#3
01/24/2007 (1:09 pm)
Hm, maybe i was not clear with what is happening. =P

When i pack my game to distribute for my friends, my mainScreen.gui is with the default control fonts, colors and sizes. How can i export that correctly?

Thanks
#4
01/24/2007 (1:15 pm)
What occurs in the packaged game that you know the mainScreen GUI didn't get packaged? Or is it just not there?
#5
01/24/2007 (5:18 pm)
It's there, the mainScreens GUI shows up just like i have made it. The problem is the profiles! So, my text looks like the default profile not like the one i choose.
#6
01/24/2007 (7:40 pm)
I think some images will help you understand:

It's how my GUI looks like when running on the editor:

img201.imageshack.us/img201/6983/009000002ng.png
And here is how it looks like when running later i use the packaging utility to distribute my game:

img262.imageshack.us/img262/7067/untitled18zq.jpg
#7
01/24/2007 (7:50 pm)
I've had problems with gui profiles not exporting with my game either but I was using built in TGB profiles and figured it was pruning out GG code on purpose. Are you by any chance using some built in profiles? If so, copying them out to your own code might do the trick.

#8
01/25/2007 (5:46 am)
Yes, i'm using built in profiles. I copied to my project in mainScreen.gui and it didnt work. It might be a bug?
#9
01/25/2007 (12:30 pm)
Could be. I always use manual builds so I'm not familiar with all the "features" of the packaging utility.
#10
01/25/2007 (12:43 pm)
Ben, what do you mean when you say "manual builds"? Is there a way to distribute the game without use the packaging utility?
#11
01/25/2007 (4:10 pm)
Yes! Search for a forum post by Matt Langley about how to do manual builds. Basically what the packaging utility is doing is attempting to remove the tools directory and prune out any resources in your project that are not used. Matt's post is much more in depth and I think covers some of the EULA type stuff you need to take care of (for instance removing the tools directory).

#12
01/29/2007 (1:16 pm)
Hi Ben,

I searched the site but i couldnt find any post about Manual Builds. I think it was deleted... =(

Thanks for your help!
#13
01/29/2007 (2:59 pm)
I doubt it was deleted but I can't find it either. I was hoping someone who might remember where it was would chime in.

#14
01/29/2007 (5:47 pm)
I think the thread you're looking for is www.garagegames.com/mg/forums/result.thread.php?qt=54388. Just make sure you read the whole thread before starting since there's a correction later.
#15
01/29/2007 (6:06 pm)
Thanks Richard!!
#16
01/29/2007 (6:08 pm)
Ah you're a lifesaver Richard, that's exactly the thread!
#17
01/29/2007 (6:14 pm)
Thanks you too Ben, i appreciate your help very much =)