Changeset 28


Ignore:
Timestamp:
May 27, 2014, 11:25:14 AM (10 years ago)
Author:
alloc
Message:

SteamCMD within SDTD_BASE (still V.8)

Location:
scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/etc/7dtd.conf

    r25 r28  
    11#!/bin/sh
    22
    3 # Root directory where steamcmd should be placed
    4 export STEAMCMD_ROOT=/home/sdtd/steamcmd
     3# User login info for Steam to download/update the engine
    54export STEAM_USER=
    65export STEAM_PASS=
  • scripts/usr/local/lib/7dtd/commands/updateengine.sh

    r23 r28  
    1212        done
    1313
    14         if [ ! -e $STEAMCMD_ROOT ]; then
    15                 mkdir $STEAMCMD_ROOT
     14        if [ ! -e $SDTD_BASE/steamcmd ]; then
     15                mkdir $SDTD_BASE/steamcmd
    1616                cd /tmp
    1717                wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
    18                 tar -xvzf steamcmd_linux.tar.gz -C $STEAMCMD_ROOT
    19                 cd $STEAMCMD_ROOT
     18                tar -xvzf steamcmd_linux.tar.gz -C $SDTD_BASE/steamcmd
     19                cd $SDTD_BASE/steamcmd
    2020                ./steamcmd.sh +quit
    2121        fi
    2222
    23         cd $STEAMCMD_ROOT
     23        cd $SDTD_BASE/steamcmd
    2424
    2525        ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 251570" validate +quit
Note: See TracChangeset for help on using the changeset viewer.