Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- DIR=~/steam-linux
- mkdir -p "$DIR"
- cd "$DIR"
- wget -qO- http://store.steampowered.com/public/client/steam_client_linux|awk -F\" '/file/&&/steam_linux/{print $4}'|wget -P package -i- -NB http://store.steampowered.com/public/client/
- unzip -o package/*.zip.\*
- mkdir -p patch
- wget -qO- http://www.steamonlinux.com/mirror/patches|tee patch/series|awk '{print $2}'|wget -P patch -i- -NB http://www.steamonlinux.com/mirror/
- mkdir -p override
- wget -qO- http://www.steamonlinux.com/mirror/overrides|tee override/series|awk '{print $2}'|sort -u|wget -P override -i- -NB http://store.steampowered.com/public/client/
- chmod +x steam.sh linux32/steam
- echo Universe = store.steampowered.com/public/client/steam_client_linux > steam.cfg
- ./steam.sh
- cat override/series|while read f p; do
- unzip -o override/"$p" "$f"
- done
- chmod +x steam.sh linux32/steam
- cat patch/series|while read f p; do
- bspatch $f $f patch/$p
- done
- echo BootStrapperInhibitAll = enable >> steam.cfg
- sed 's|\(${DEBUGGER}\)|LD_PRELOAD=`echo linux32/*.so` \1|' steam.sh > run.sh
- sed -i '1a\rm -vf ~/[sS]steamstore.steampowered.com/public/client/steam_client_linux/ClientRegistry.blob' run.sh
- chmod +x run.sh
- ./run.sh "$@"
Advertisement
Add Comment
Please, Sign In to add comment