Straximus
04-21-2010, 07:06 PM
http://www.phoronix.com/scan.php?page=article&item=steam_linux_script&num=1
I don't imagine most of you give a damn one way or the other, but I'm quite excited by this find. I know it may well be another year or more before I hear another peep about Steam and/or Source on Linux, but I'm excited none-the-less.
The bash script that launches the Mac Steam client (still in closed beta) checks to see whether it's running on OSX or Linux, so it can load the proper libraries.
The relevant snippet:
#determine platform
UNAME=`uname`
if [ "$UNAME" == "Darwin" ]; then
PLATFORM=osx32
# prepend our lib path to LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH="${STEAMROOT}"/${PLATFORM}:$DYLD_LIBRARY_PATH
elif [ "$UNAME" == "Linux" ]; then
PLATFORM=linux32
# prepend our lib path to LD_LIBRARY_PATH
export LD_LIBRARY_PATH="${STEAMROOT}"/${PLATFORM}:$LD_LIBRARY_PATH
fi
Maybe someday, my days of running Valve games on Wine will be nothing more than a bad memory.
I don't imagine most of you give a damn one way or the other, but I'm quite excited by this find. I know it may well be another year or more before I hear another peep about Steam and/or Source on Linux, but I'm excited none-the-less.
The bash script that launches the Mac Steam client (still in closed beta) checks to see whether it's running on OSX or Linux, so it can load the proper libraries.
The relevant snippet:
#determine platform
UNAME=`uname`
if [ "$UNAME" == "Darwin" ]; then
PLATFORM=osx32
# prepend our lib path to LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH="${STEAMROOT}"/${PLATFORM}:$DYLD_LIBRARY_PATH
elif [ "$UNAME" == "Linux" ]; then
PLATFORM=linux32
# prepend our lib path to LD_LIBRARY_PATH
export LD_LIBRARY_PATH="${STEAMROOT}"/${PLATFORM}:$LD_LIBRARY_PATH
fi
Maybe someday, my days of running Valve games on Wine will be nothing more than a bad memory.