tools/gdc-psyfork/example-scripts/gdc_csgo.sh
author Nicholas Hastings <skamonkey@gmail.com>
Mon Apr 29 20:51:54 2013 -0400 (2013-04-29)
changeset 3902 691bd6a50850
parent 3694 65d8f56a0006
permissions -rw-r--r--
Synced gdc-psyfork (NPOTB).
skamonkey@3694
     1
#!/bin/bash
skamonkey@3694
     2
skamonkey@3694
     3
# Path for DepotDownloader to download to, relative to DD_PATH
skamonkey@3694
     4
DD_DIR=csgo
skamonkey@3694
     5
skamonkey@3694
     6
# AppId to use for DepotDownloader for Steam3 content (steamcmd app_update number)
skamonkey@3694
     7
DD_APP=740
skamonkey@3694
     8
skamonkey@3902
     9
# Relative path to game's engine directory from DD
skamonkey@3902
    10
ENGINE_PATH_FROM_DD=${DD_DIR}/
skamonkey@3694
    11
# Game's directory name
skamonkey@3694
    12
GAME_DIR=csgo
skamonkey@3694
    13
skamonkey@3694
    14
# SM gamedata engine name
skamonkey@3694
    15
ENGINE_NAME=csgo
skamonkey@3694
    16
skamonkey@3694
    17
# List of gamedata files to run checks on
skamonkey@3694
    18
gamedata_files=(
skamonkey@3694
    19
	"sdktools.games/engine.csgo.txt"
skamonkey@3694
    20
	"sm-cstrike.games/game.csgo.txt"
skamonkey@3694
    21
)
skamonkey@3694
    22
skamonkey@3694
    23
# Is game a 2006/2007 "mod" ?
skamonkey@3694
    24
# If so, bin names are adjusted with _i486 suffix and no update check will be done
skamonkey@3694
    25
MOD=0
skamonkey@3694
    26
skamonkey@3694
    27
# DO NOT EDIT BELOW THIS LINE
skamonkey@3694
    28
skamonkey@3694
    29
source ./gdc_core.sh $1 $2 $3 $4
skamonkey@3694
    30
skamonkey@3694
    31
exit $?