Game Development Community

Packaging Utility hangs

by Martin Andresen · in Torque Game Builder · 02/14/2007 (10:09 am) · 8 replies

Hi,

I'm trying to package a TGB game, but when I press analyze it does a scan and then prints:

"Analyzing: game/managed/datablocks.cs"

after which it hangs forever using 100% CPU.

Does anyone have any idea why it does this and how to fix it?

- Martin

#1
02/14/2007 (10:15 am)
Have you closed all of your datablocks?
#2
02/14/2007 (10:29 am)
Thanks for the quick response.

I'm not entirely sure what you mean by close all of my datablocks. The problem occurs right after opening the project in TGB and starting the analyze. Which datablocks needs to be closed for this?

- Martin
#3
02/14/2007 (10:53 am)
I don't know how your game is set up.

Which game example are you working on (or is it your own)? Open the game/managed/datablocks.cs file and make sure that everything has a closing bracket.
#4
02/14/2007 (12:03 pm)
@Martin, when 'play testing' your level -- ensure there are no errors or warnings in the console -- Red/Grey print outs ... if there are, then you'll most likely have to correct them before the Package Analyzer can successfully determine what needs to be included. It's not as forgiving as the Level Builder is for Play-testing
#5
02/14/2007 (1:02 pm)
Thanks for the help.

This is a full game we're working on. Wanted to check if anyone had any ideas on what to look for. There are no exec errors or similar. Guess I'll just have to try and eliminate some code until I figure out where the problem is.

- Martin
#6
02/14/2007 (5:11 pm)
Sometimes analyzing just takes a heck of a long time. Really. Leave it for an hour or more and see if it ever finishes.

Also, you can actually delete your duplicate posts instead of putting "duplicate post" in the body. Just click that little trash can right next to the edit link.
#7
02/16/2007 (12:52 am)
Thanks for the help for this. It "just" took a long time. I had only waited for it for 45 minutes or so. :) But it's pretty annoying that the window doesn't update any more once it has lost the focus. Kinda hard telling what it's doing.

- Martin
#8
02/16/2007 (1:32 am)
You do not by some accident exec file1 in file2 and exec file2 in file1. (or file1 -> file2 -> file3 -> file1)
haven't checked if the analyzer will fire an error on that but if not it will cycle forever in such a case, while running the game does not have this problem as it only execs a file once.