Fix some major issues (networking didn't work, gameservers didn't work) with the steamclient version.

Implemented a basic steampipe alloc system and fixed build.
This commit is contained in:
Mr_Goldberg 2020-01-15 10:11:37 -05:00
parent 4e6aa809de
commit 11cb3ce998
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
7 changed files with 147 additions and 66 deletions

View file

@ -3,6 +3,8 @@ APP_NAME="bin/test_executable"
APP_ID=480
APP_PATH=$(dirname "$0")
CONFIG_PATH=$(dirname "$0")
#path to steam-runtime/run.sh
STEAM_RUNTIME=""
CUR_DIR=$(pwd)
cd "$CONFIG_PATH"
@ -17,7 +19,13 @@ cp x86/steamclient.so ~/.steam/sdk32/steamclient.so
cp x86_64/steamclient.so ~/.steam/sdk64/steamclient.so
echo $BASHPID > ~/.steam/steam.pid
cd "$APP_PATH"
if [ -z "$STEAM_RUNTIME" ]
then
SteamAppPath="$APP_PATH" SteamAppId=$APP_ID SteamGameId=$APP_ID "$APP_NAME"
else
SteamAppPath="$APP_PATH" SteamAppId=$APP_ID SteamGameId=$APP_ID "$STEAM_RUNTIME" "$APP_NAME"
fi
cd "$CUR_DIR"
#restore original
rm -f ~/.steam/steam.pid