How to run Bennu in OSX?

Started by Imerion, March 08, 2012, 10:17:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Imerion

I tried to make a Mac-port of one of my games, but I can't seem to get the MacOS X version of Bennu to run.
Anyone who knows how to make it work? I currently use this script, but it just says it can't find "bgdc" and "bgdi" :

#!/bin/sh

CURDIR=$(dirname 0)
BENNUDIR=$CURDIR/bgdruntime_osx

export PATH=$PATH:/bgdruntime_osx/bin/
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/bgdruntime_osx/lib/

bgdc Oljan.prg
bgdi Oljan.dcb
Try my games : Neotron Games

handsource-dyko

I think it's similair to linux. If you put bennu in some arbitrary folder, you can type:

./bgdc my_prog.prg
./bgdi my_prog.dcb


But I have to say, I'm not a mac user, but to me it's looks like just another unix with some differences.

josebita

I'd say the script needs to be changed like this:
#!/bin/sh

CURDIR=$(dirname 0)
BENNUDIR=$CURDIR/bgdruntime_osx

export PATH=$PATH:$BENNUDIR/bgdruntime_osx/bin/
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$BENNUDIR/bgdruntime_osx/lib/

bgdc Oljan.prg
bgdi Oljan.dcb

Imerion

Thanks! Will try it next time I have access to a Mac. :)
Try my games : Neotron Games