OSX - poor directory choices

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
hhaamu
Engineer
Engineer
Posts: 1
Joined: 04 Sep 2006 20:20

OSX - poor directory choices

Post by hhaamu »

Hello

The directory choices on your OSX build are very inconvenient.
  • The user files are being saved to wherever OpenTTD.app is located. I do not want a config file in /Applications/
    • The correct location is $HOME/Library/Application\ Support/OpenTTD/
  • The data and music files are in the application bundle. This makes upgrading a chore (copy data files safe, copy new application bundle in place, copy data files back).
    • Proper location: /Library/Application\ Support/OpenTTD/
    • Getting them copied automagically may require an installer
Disclaimer: my "locations" may be off, I only got my hands on OSX a few months ago.


I think the correct parameters for make are

Code: Select all

USE_HOMEDIR=1 PERSONAL_DIR="Library/Application Support/OpenTTD/ DATA_DIR="/Library/Application Support/OpenTTD/"
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

currently the path system is being rewritten for all platforms. Once Darkvater is done, I will look at issues like this. It's planned, but it takes time to do it right :wink:

As it is now, it works, but it's actually not designed to be in the application folder yet.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 33 guests