Last change
on this file since 21 was 21, checked in by alloc, 11 years ago |
Removed msvcr100.dll, seems to be no longer required. Updated the update script accordingly
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | # Version 5
|
---|
3 |
|
---|
4 | # Tries to start the 7dtd instance.
|
---|
5 |
|
---|
6 | sdtdCommandUpdateengine() {
|
---|
7 | for I in $(getInstanceList); do
|
---|
8 | if [ $(isRunning $I) -eq 1 ]; then
|
---|
9 | echo "At least one instance is still running (\"$I\")."
|
---|
10 | echo "Before updating the engine please stop all instances!"
|
---|
11 | return
|
---|
12 | fi
|
---|
13 | done
|
---|
14 |
|
---|
15 | if [ ! -e $STEAMCMD_ROOT ]; then
|
---|
16 | mkdir $STEAMCMD_ROOT
|
---|
17 | cd /tmp
|
---|
18 | wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
|
---|
19 | tar -xvzf steamcmd_linux.tar.gz -C $STEAMCMD_ROOT
|
---|
20 | cd $STEAMCMD_ROOT
|
---|
21 | ./steamcmd.sh +quit
|
---|
22 | fi
|
---|
23 |
|
---|
24 | cd $STEAMCMD_ROOT
|
---|
25 |
|
---|
26 | ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 251570" validate +quit
|
---|
27 | chown $SDTD_USER.$SDTD_GROUP -R $SDTD_BASE/engine
|
---|
28 |
|
---|
29 | cp $SDTD_BASE/engine/Install/32bit/7DaysToDie.exe $SDTD_BASE/engine/
|
---|
30 | cp $SDTD_BASE/engine/Install/32bit/mono.dll $SDTD_BASE/engine/7DaysToDie_Data/Mono/
|
---|
31 | cp $SDTD_BASE/engine/Install/32bit/SteamworksManaged.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/
|
---|
32 | }
|
---|
33 |
|
---|
34 | sdtdCommandUpdateengineHelp() {
|
---|
35 | echo "Usage: $(basename $0) updateengine"
|
---|
36 | echo
|
---|
37 | echo "Update the engine (aka game) files of 7dtd."
|
---|
38 | }
|
---|
39 |
|
---|
40 | sdtdCommandUpdateengineDescription() {
|
---|
41 | echo "Update the 7dtd engine files"
|
---|
42 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.