Portal 2
Portal 2 linux fail (there is no linux executable)
So I've tried to run portal2 on linux and it doesn't start.

I've located a file portal2.sh that is supposed to start it and found a few problems with it:

it uses \r\n line terminators (like on windows) rather than \n (like on linux) so the script can't run for this reason.
Fixing this, the way it uses to determine the directory of the script is wrong. It should do this:

pushd `dirname $0` > /dev/null
GAMEROOT=`pwd`
popd > /dev/null

But this is not enough because the variable pointing at the executable file is only set on OsX but not on linux.

But also this is not enough because THERE IS NO LINUX EXECUTABLE THERE!!!!!!

From a beta version I'd expect at least the executable file to be present, you know... so that it can do at least something.
< >
1-3 / 3 のコメントを表示
You need to opt into the beta. If you have a broken portal2.sh (MS-DOS line endings) and no executable, that means the beta is not enabled. To fix this, right click on Portal 2 in the library, open "Properties", then on the "Betas" tab opt into "beta - Beta" instead of "NONE".
最近の変更はistvan_vが行いました; 2014年4月2日 7時27分
Thanks. It's a bit counter-intuitive given that the item is already called Portal 2 (Beta)
ikr, i don't see the point of having Portal 2 (Beta) [Beta]
it seems redundant. But it doesn't break anything other than a visual thing, so personally for me I don't mind, especially since i get to play the game on Linux, YAY
< >
1-3 / 3 のコメントを表示
ページ毎: 1530 50

投稿日: 2014年4月2日 3時31分
投稿数: 3