My it has been a while since I've last posted. My time is now dominated by work, and I have had little free time to work on all the little projects that I used to... However, I just had to make sure to allocate some time for Portal 2. And I'm glad I did; it's an AWESOME game! My favorite bit, though, was inside the steam directory, where there is a "portal2.sh" file. I understand that this file is primarily for Mac computers (they have Bash too), but I did find this interesting bit in this file:
#determine platform
UNAME=`uname`
if [ "$UNAME" == "Darwin" ]; then
# prepend our lib path to LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH="${GAMEROOT}"/bin:$DYLD_LIBRARY_PATH
elif [ "$UNAME" == "Linux" ]; then
# prepend our lib path to LD_LIBRARY_PATH
export LD_LIBRARY_PATH="${GAMEROOT}"/bin:$LD_LIBRARY_PATH
fi
if [ -z $GAMEEXE ]; then
if [ "$UNAME" == "Darwin" ]; then
GAMEEXE=portal2_osx
fi
fi
So their script will set up the library environment if run under Linux, but will not assign an executable, meaning that they had a mind to support Linux, but didn't compile the final binary. Hearing this after the whole "evidence of linux-based steam client found in Mac OSX client" thing from a year or so back just gets me excited. I know I'm probably just getting my hopes up, but it would be awesome to see Linux supported by arguably one of the best game studios out there.
BTW: Portal 2 was FANTASTIC. Play it if you haven't already. :)
0 Responses to Portal 2 for Linux?
Leave a Reply