Game Development Community

Runs in XCode but not the Finder

by Jack Stenner · in Torque Game Engine · 09/25/2005 (8:24 pm) · 8 replies

I know this must be something simple. My app runs fine through the XCode interface, but when I double click the application in the Finder, it doesn't. The application launches as usual, showing the initial "Start", "Options", "Quit" screen, but when I select "Start" the mission dialog appears and there is no mission to select. I've checked the console.log, and it doesn't show any problems. The app runs fine on Windows, and like I said, fine through XCode. Anyone else seen this? If so, what's the fix. This is with 1.4rc2 and XCode 2.1....

Thanks,
Jack

#1
09/26/2005 (11:22 am)
Following up on my own post, I also noticed that I can launch the application bundle from the command line and the mission files are available. So, for whatever reason, the mission files aren't being located when the app bundle is double-clicked.
#2
09/27/2005 (6:30 pm)
Are you using a fresh checkout from cvs? Which version of Xcode are you using, and did you read the readme.txt file?
#3
09/27/2005 (7:01 pm)
Quote:Are you using a fresh checkout from cvs?

The latest one I downloaded was probably 3 days ago.

Quote:Which version of Xcode are you using

2.1

Quote:did you read the readme.txt file?
Always do :-)

This happens on both my PowerBook as well as my G5.
#4
09/27/2005 (7:45 pm)
Just downloaded the latest from CVS and still the same thing. Compiles fine, runs via XCode and properly lists the mission file, but mission selection dialog is empty when launched via the Finder (dbl click).

BTW, this doesn't just happen with MY customized game, it happens with starter.fps as well. Stronghold isn't listed when launced via the Finder.
#5
09/28/2005 (5:29 pm)
Verified, looking into this now...
#6
09/28/2005 (6:10 pm)
Whew, was beginning to think had a loose screw, LOL.
#7
10/03/2005 (7:07 pm)
Updated code on CVS.
Fixed this issue, added the ability to put game content files inside the app bundle, as a bonus.

There are still some issues with unicode file names. See this technote from apple for an idea on why.
#8
10/03/2005 (7:12 pm)
Quote:added the ability to put game content files inside the app bundle, as a bonus

AWESOME! Thank you!