- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/updateengine.sh
r28 r20 1 1 #!/bin/bash 2 # Version 5 2 3 3 4 # Tries to start the 7dtd instance. … … 12 13 done 13 14 14 if [ ! -e $S DTD_BASE/steamcmd]; then15 mkdir $S DTD_BASE/steamcmd15 if [ ! -e $STEAMCMD_ROOT ]; then 16 mkdir $STEAMCMD_ROOT 16 17 cd /tmp 17 18 wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz 18 tar -xvzf steamcmd_linux.tar.gz -C $S DTD_BASE/steamcmd19 cd $S DTD_BASE/steamcmd19 tar -xvzf steamcmd_linux.tar.gz -C $STEAMCMD_ROOT 20 cd $STEAMCMD_ROOT 20 21 ./steamcmd.sh +quit 21 22 fi 22 23 23 cd $S DTD_BASE/steamcmd24 cd $STEAMCMD_ROOT 24 25 25 26 ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 251570" validate +quit … … 29 30 cp $SDTD_BASE/engine/Install/32bit/mono.dll $SDTD_BASE/engine/7DaysToDie_Data/Mono/ 30 31 cp $SDTD_BASE/engine/Install/32bit/SteamworksManaged.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/ 32 cp $SDTD_BASE/msvcr100.dll $SDTD_BASE/engine/ 31 33 } 32 34
Note:
See TracChangeset
for help on using the changeset viewer.