Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: DF on Mac OSX Lion?  (Read 15824 times)

Iriel

  • Bay Watcher
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #15 on: August 03, 2011, 04:38:24 pm »

Does it actually need to be different on pre-lion machines (and if so, what OS version is the one where it first matters?)
Logged

Iriel

  • Bay Watcher
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #16 on: August 03, 2011, 04:44:46 pm »

Either way, here you go

Code: [Select]
OSREV=`uname -r | cut -d. -f1`
if [ "$OSREV" -ge 11 ] ; then
  # OSX Lion
  export DYLD_LIBRARY_PATH="${PWD}/libs"
  export DYLD_FRAMEWORK_PATH="${PWD}/libs"
else
  # Pre-Lion
  export DYLD_FALLBACK_LIBRARY_PATH="${PWD}/libs"
  export DYLD_FALLBACK_FRAMEWORK_PATH="${PWD}/libs"
fi
Logged

mrjohnsly

  • Escaped Lunatic
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #17 on: August 04, 2011, 06:03:16 am »

Hey, I think I figured this out!!

The problem is in the df launch script (Installed as 'df')

Change

export DYLD_FALLBACK_LIBRARY_PATH=${PWD}/libs
export DYLD_FALLBACK_FRAMEWORK_PATH=${PWD}/libs

To

export DYLD_LIBRARY_PATH=${PWD}/libs
export DYLD_FRAMEWORK_PATH=${PWD}/libs

I think I love you! :) Thanks a lot.
Logged

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #18 on: August 11, 2011, 05:36:30 pm »

Yay, it worked! My life is complete once more! :D
Logged
Quote from: franti
"Let's expose our military to zombie-dust so they can't feel pain. They don't NEED skin."
Quote from: Ipwnurmom221
One FB post. Many dick jokes. Pokemon. !!VOLCANO!!. Dwarven mood thingee. Derailment itself. Girlinhat's hat. Cuba. Karl Marx. This is why i love Bay12 forums.
The rest of my sig.
Fear the fluffballs

musicssound

  • Escaped Lunatic
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #19 on: August 16, 2011, 05:04:37 pm »

Ok, sorry to be a newb, but what exactly do I need to change? I don't know where to find a 'df' startup script.
Logged

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #20 on: August 16, 2011, 05:14:26 pm »

It's the 'df' file in the main directory. Open it with TextEdit.
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!

musicssound

  • Escaped Lunatic
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #21 on: August 16, 2011, 05:22:34 pm »

Oh. I'm slightly confused now. I downloaded the latest update, but never installed it, and then I downloaded it again and took the fact that it was a duplicate as that I had already installed it. Therefore I couldn't find it in my horribly out of date installation.

I got it now! Thanks!
Logged

jjp9999

  • Escaped Lunatic
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #22 on: September 29, 2011, 10:14:54 am »

I made two versions that work in OS Lion. One is the regular version, the other has Mayday pre-installed. Both are version 0.31.25 (latest at the moment).

Both downloads are here:
http://techzwn.com/2011/09/dwarf-fortress-for-mac-os-lion-regular-and-mayday-pre-installed/
Logged

jjp9999

  • Escaped Lunatic
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #23 on: December 17, 2011, 11:16:03 pm »

Just adding to that, when new editions come out for Mac, you can probably just replace the launcher with the one used in these files, and it should work.
Logged

Fiskav

  • Guest
Re: DF on Mac OSX Lion?
« Reply #24 on: December 21, 2011, 04:15:07 am »

.
« Last Edit: December 08, 2015, 01:43:33 am by Fiskav »
Logged

FluffyBinLaden

  • Bay Watcher
  • Riddles in the Dark... Answers in the Light....
    • View Profile
Re: DF on Mac OSX Lion?
« Reply #25 on: January 15, 2012, 05:23:21 am »

You sirs, are my favorite people in the world. Why couldn't I find this thread 3 months ago??? I'm so glad that you guys figured this out, and I can't wait to get back into good old Hippie-Hatin' DF. :) Happy hunting, guys!
Logged
This is a signature. It has a five hundred character maximum. You may use pictures, which are not to exceed 80 pixels in height. I am wearing a hat.

Zerg for life. For the Swarm!

Fiskav

  • Guest
Re: DF on Mac OSX Lion?
« Reply #26 on: January 15, 2012, 05:26:29 am »

.
« Last Edit: December 08, 2015, 01:22:24 am by Fiskav »
Logged
Pages: 1 [2]