mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 03:34:52 +01:00
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:
parent
4e6aa809de
commit
11cb3ce998
7 changed files with 147 additions and 66 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue