tools/gdc-psyfork/example-scripts/gdc_cstrike.sh
author Ruben Gonzalez <drifter01620@gmail.com>
Thu May 22 09:49:27 2014 -0400 (2014-05-22)
changeset 4378 568f4497ef4a
parent 3902 691bd6a50850
permissions -rw-r--r--
Update CS:GO team score gamedata.
     1 #!/bin/bash
     2 
     3 # Path to DepotDownloader
     4 DD_PATH=/home/gdc/dd
     5 
     6 # Path for DepotDownloader to download to, relative to DD_PATH
     7 DD_DIR=css
     8 
     9 # App ID
    10 DD_APP=232330
    11 
    12 # Beta name
    13 DD_BETA=prerelease
    14 
    15 # Beta passowrd, if applicable
    16 #DD_BETA_PASSWORD=passwordhere
    17 
    18 # Relative path to game's engine directory from DD
    19 ENGINE_PATH_FROM_DD=${DD_DIR}
    20 # Game's directory name
    21 GAME_DIR=cstrike
    22 
    23 BIN_EXT="_srv"
    24 
    25 # SM gamedata engine name
    26 ENGINE_NAME=css
    27 
    28 # List of gamedata files to run checks on
    29 gamedata_files=(
    30 	"sdktools.games/game.cstrike.txt"
    31 	"sdktools.games/engine.css.txt"
    32 	"sm-cstrike.games/game.css.txt"
    33 )
    34 
    35 # Is game a 2006/2007 "mod" ?
    36 # If so, bin names are adjusted with _i486 suffix and no update check will be done
    37 MOD=0
    38 
    39 # DO NOT EDIT BELOW THIS LINE
    40 
    41 source ./gdc_core.sh $1 $2 $3 $4
    42 
    43 exit $?