Game Development Community

Packaging utility error

by Tom Bentz · in Torque Game Builder · 09/27/2006 (6:44 pm) · 11 replies

Im trying run a game through the packager but am having issues. The first time I ran the game through the packager it created the game without errors. But for some reason certain particle effects were not working so I deleted the packaged folder and tried again. Now when I run the analyze game function it analyzed the files several times (I dont know if it was doing this before) and when I build the game I am getting this error:
An Error was encountered that the packager cannot recover from. Build aborted.

The message window stops at: Failed copying file: MC360/managed/project.t2d.dso

I've tried building other games that Ive done earlier and they build fine. Its only this game.
Any ideas???

*EDIT - I dont know what I did but its working again. Im still having issues with the particle effects not working in the build though if anyone has any info.

*EDIT #2 resolved - figured out that some images in the managed/datablocks.cs was referring to the TGB directory not my working directory.

#1
10/08/2006 (1:49 am)
I am having this same problem but only when building for Mac OSX. Building for Windows is fine.

Here are the last lines:

Copying Executable and dependencies
Copying the .app bundle
Renaming the executable
Processing Info.plist entries...
Copying File : TestGame/managed/project.t2d.dso
Failed copying file : TestGame/managed/project.t2d.dso
#2
10/08/2006 (2:43 am)
I had problems after tweaking the project then trying to build the project into the same folder as the previous build. Try changing the name of the folder for the build.
#3
10/08/2006 (10:39 am)
I've had similar problems but I couldn't nail down any cause for the error. Actually, I just restarted TGB and tried again and it worked like a charm.
#4
10/08/2006 (5:28 pm)
I've tried restarting TGB, and the computer, but no luck. I've also tried renaming the folder, but I'm still having the same problem.
#5
10/08/2006 (8:59 pm)
And you've tried building the game into a new directory like TestAnotherGame from the project builder?
#6
10/09/2006 (12:14 am)
You mean a different "Output Directory Name" ? If so, yup, I've also tried that.
#7
10/09/2006 (8:22 am)
I also frequently have problems with the build tool. I just do my builds manually these days.
#8
10/09/2006 (7:37 pm)
Oh, I see, how do I do a manual build for Mac?
#9
10/10/2006 (8:26 am)
Basically, copy all your project to the "build" dir and then go through and remove all the .cs files except for the root dir main.cs and the prefs.cs files. Make sure to delete the tools dir (because GG will get cranky if you ship the tools, read the EULA) and definitely be sure you aren't sending any of GG's IP out the door unprotected.
#10
10/10/2006 (8:05 pm)
Isn't that how you build a build for Windows on a Windows machine? According to www.garagegames.com/mg/forums/result.thread.php?qt=48129, we can't do a build for Mac on a Windows machine?
#11
10/10/2006 (8:26 pm)
Oh sorry, my bad. Somewhere in the thread I forgot you were doing a mac build. I'm not familiar with the mac build process.