Prometheus
2007.04.08, 05:23 AM
Q: Porting from Windows to Mac. Using XCode. I have a bunch of folders of game content to load. Can't figure out how to get my app to set its working/current directory to the one with all the content!
I've heard of a legendary document called "Where's My File?" that used to be on a site called "onesadcookie". But it seems that site went down, and came back up without said tip article.
BUT... it is on Google Cache (http://72.14.253.104/search?q=cache:zCpPvNqf3loJ:tips.onesadcookie.net/tips/published/Where%27s%2Bmy%2BFile%253F+tips.onesadcookie.net&hl=en&ct=clnk&cd=4&gl=ca).
However, it is about setting the path to a "resources directory" that is established somewhere in XCode. (?) What are "resources" in this context, exactly?
I feel like I'm missing a major piece of the puzzle? (gee, what are the odds!) Do most Mac apps pack their resources internally somehow? What's the standard practice for loadin' stuff? Is it "bad" to have all the content in open directories?
Where do babies come from? :shock:
K, ignore that last one. :rolleyes:
I've heard of a legendary document called "Where's My File?" that used to be on a site called "onesadcookie". But it seems that site went down, and came back up without said tip article.
BUT... it is on Google Cache (http://72.14.253.104/search?q=cache:zCpPvNqf3loJ:tips.onesadcookie.net/tips/published/Where%27s%2Bmy%2BFile%253F+tips.onesadcookie.net&hl=en&ct=clnk&cd=4&gl=ca).
However, it is about setting the path to a "resources directory" that is established somewhere in XCode. (?) What are "resources" in this context, exactly?
I feel like I'm missing a major piece of the puzzle? (gee, what are the odds!) Do most Mac apps pack their resources internally somehow? What's the standard practice for loadin' stuff? Is it "bad" to have all the content in open directories?
Where do babies come from? :shock:
K, ignore that last one. :rolleyes: