Game Development Community

Building with Project Builder Part 2

by J. Alan Atherton · in Torque Game Engine · 07/08/2003 (10:37 am) · 4 replies

I decided to start a new thread on this, since the other one is getting rather long. With the HEAD from about a month ago, I got Torque to compile just fine with PB 2.1, OS 10.2.something. When I run from Project Builder (yes, I updated the build paths), the GUI intro screen comes up, but when I go to start mission, no missions show up in the box, so I can't test my actual game. If I just run from the Finder, the program icon appears in the doc and the running programs list, but nothing ever comes up... not a window or anything. So I end up having to force quit. I like Macs, but don't have a whole lot of experience with them, and I don't have one to keep... just one to test with a little bit every few months. Any tips would be greatly appreciated.

#1
07/08/2003 (8:13 pm)
If the gui screen came up, everything is generally running fine. If it can't find something custom/content wise, must be a problem with where things are placed/located.

If running from the Finder doesn't work, then there really IS something messed up with your content locations... Most people have the opposite problem (runs fine from Finder, but not from PB as the exe path isn't pointing to the right place...).

d
#2
07/08/2003 (10:11 pm)
Thanks for the quick response, David.
Ok, well, what I did was zip up my whole torque folder (runs fine on Windows) and brought it over to my family's place that has a mac running 10.2.6. I installed the Dec 2002 dev tools, and my program compiled as it was. Just today I went over to my brother's, who has more advanced macs, also running 10.2.6, and installed the dev tools, and on one of his machines the same problem occurred, but on the other, it complained about not finding main.cs, even though it was all the same layout as the other machine.
I have primarily changed player.cc and shapebase.cc, with some minimal changes in other places, but nothing platform-related. I have edited some of the .cs scripts as well, again mostly player.cc. What is needed for the .mis files to appear in the GUI? I have no experience with coding on the mac, and don't have any clue where to look with the debugger to find out why the missions aren't coming up.
#3
07/09/2003 (8:40 am)
Delete all .dso when moving a tge install from win to Mac (and vice versa) !!!
Otherwise, you get grief (ie it has to recompile most, if not all the scripts for things to work.
Note, I might be wrong, but it's the way I got it to work when I moved a development folder from one of my PCs to my ibook
As for the reasons for that, not sure...
#4
07/09/2003 (5:32 pm)
Deleting all of the .dso files definitely helped. I still can only start the game from within PB, but the missions actually show up in "start mission." It freezes when I try to start, but that's something else. Now my time with the mac has expired, so I'll have to wait a while before I can test anything else... thanks a bunch for the help!