sudemon Nov 9, 2012 @ 6:21am
[ArchLinux] Game launchers for ArchLinux
For Arch Linux distro:

Amnesia Launcher (replaced 'arch' to 'uname -m' , "Steam/SteamApps/common/Amnesia The Dark Descent/run_steam.sh":
#!/bin/sh

# Steam claims they are going to put us in the app directory.
if [ `uname -m` == "x86_64" ]; then
./checklibs.sh libs64 Amnesia.bin64
./Amnesia.bin64
else
./checklibs.sh libs Amnesia.bin
./Amnesia.bin
fi

SpaceChem (but not working with current mono package), "Steam/SteamApps/common/SpaceChem/spacechem-launcher.sh":
#!/usr/bin/env bash

REQUIRED_PACKAGES="mono sdl sdl_mixer sdl_image xclip"

# Determine whether any required packages are missing:
ANY_PACKAGES_MISSING=0
WARN_PACKAGES_MISSING="warning: some packages are missing, you need install them:"

for p in $REQUIRED_PACKAGES; do
pacman -Qq $p > /dev/null 2>&1
if [ $? != 0 ]; then
MISSING_PACKAGES+="$p "
ANY_PACKAGES_MISSING=1
fi
done

if [ $ANY_PACKAGES_MISSING != 0 ]; then
/usr/bin/xterm -e "echo $WARN_PACKAGES_MISSING $MISSING_PACKAGES && read"
exit
fi

echo 'spacechem-launcher: launching SpaceChem...'
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. mono SpaceChem.exe
Showing 1-6 of 6 comments
< >
blackout24 Nov 9, 2012 @ 7:12am 
Thanks for your work!
sudemon Nov 9, 2012 @ 7:34am 
Simply adapted existing files for archlinux.
I wonder why steampowered SpaceChem crashes, in the original version for Linux is no problem.
Netist Nov 9, 2012 @ 7:49am 
Originally posted by sudemon:
Simply adapted existing files for archlinux.
I wonder why steampowered SpaceChem crashes, in the original version for Linux is no problem.
Interestingly, I'm having a similar issue with World of Goo. Though, it tends to be less crashing and more unplayable lag.

I believe it's because Steam is using a 32-bit binary instead of a 64-bit one, at least in the case of World of Goo.
vodik Nov 9, 2012 @ 8:24am 
Please update the Archlinux wiki for the time being:

https://wiki.archlinux.org/index.php/Steam

We've been trying to collect all seperate external dependancies for various games in one place.
vodik Nov 9, 2012 @ 8:48am 
/usr/bin/xterm -e "echo $WARN_PACKAGES_MISSING $MISSING_PACKAGES && read"

Do away with this. Use either notify-send, zenity, or xmessage to display message. Its kinda silly :P
Last edited by vodik; Nov 9, 2012 @ 8:48am
blackout24 Nov 9, 2012 @ 9:09am 
Originally posted by Netist:
Originally posted by sudemon:
Simply adapted existing files for archlinux.
I wonder why steampowered SpaceChem crashes, in the original version for Linux is no problem.
Interestingly, I'm having a similar issue with World of Goo. Though, it tends to be less crashing and more unplayable lag.

I believe it's because Steam is using a 32-bit binary instead of a 64-bit one, at least in the case of World of Goo.

I'm playing World of Goo Demo without Problems on Arch x86_64.
Showing 1-6 of 6 comments
< >
Per page: 15 30 50
Date Posted: Nov 9, 2012 @ 6:21am
Posts: 6