gameservergame-servergame-servershacktoberfestdedicated-game-serversgamelinuxgsmserverbashgaminglinuxmultiplayer-game-servershell
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
957 B
36 lines
957 B
#!/bin/bash
|
|
# LGSM install_steamfix.sh function
|
|
# Author: Daniel Gibbs
|
|
# Website: http://gameservermanagers.com
|
|
lgsm_version="201215"
|
|
|
|
fn_steamclientfix(){
|
|
echo ""
|
|
echo "Applying steamclient.so fix"
|
|
echo "================================="
|
|
sleep 1
|
|
mkdir -pv "${HOME}/.steam/sdk32"
|
|
cp -v "${rootdir}/steamcmd/linux32/steamclient.so" "${HOME}/.steam/sdk32/steamclient.so"
|
|
sleep 1
|
|
}
|
|
|
|
# Gary's Mod Specific
|
|
fn_libsteamfix(){
|
|
echo ""
|
|
echo "Applying libsteam.so fix"
|
|
echo "================================="
|
|
sleep 1
|
|
if [ "${gamename}" == "Garry's Mod" ]; then
|
|
mkdir -pv "${HOME}/.steam/sdk32"
|
|
cp -v "${filesdir}/bin/libsteam.so" "${HOME}/.steam/sdk32/libsteam.so"
|
|
elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then
|
|
mkdir -pv "${HOME}/.steam/bin32"
|
|
cp -v "${filesdir}/Bin/libsteam.so" "${HOME}/.steam/bin32/libsteam.so"
|
|
fi
|
|
sleep 1
|
|
}
|
|
|
|
fn_steamclientfix
|
|
if [ "${gamename}" == "Garry's Mod" ]||[ "${gamename}" == "Serious Sam 3: BFE" ]; then
|
|
fn_libsteamfix
|
|
fi
|
|
|