Skip to content

Commit 3136db5

Browse files
committed
Moved vcrun to dockerfile
1 parent 61ca521 commit 3136db5

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

spaceengineers/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN mkdir -p ${HOME}/.steam/sdk64 &&\
3535
./space_engineers.sh setup
3636

3737
# Install wine dependencies
38-
RUN Xvfb :1 -screen 0 1024x768x24 & DISPLAY=:1 WINEPREFIX="${WINE_LOCATION}" winetricks -q dotnet48 vcrun2019
38+
RUN Xvfb :1 -screen 0 1024x768x24 & DISPLAY=:1 WINEPREFIX="${WINE_LOCATION}" winetricks -q dotnet48 vcrun2013 vcrun2017 vcrun2019
3939

4040
# Install Wine Mono
4141
RUN wget https://dl.winehq.org/wine/wine-mono/7.4.0/wine-mono-7.4.0-x86.msi &&\

spaceengineers/space_engineers.sh

-21
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ setup) #run only once.
106106
show_spinner "Configuring WINE" $!
107107
#install dependencies
108108
install_dependency msxml4 "MSXML4"
109-
install_dependency vcrun2013 "Visual 2013 C++"
110-
install_dependency vcrun2017 "Visual 2017 C++"
111109
install_dependency corefonts "COREFONTS"
112110
install_dependency faudio "FAUDIO"
113111
# The IP binding seems to go wrong sometimes with the default installed winhttp lib from wine
@@ -125,23 +123,4 @@ setup) #run only once.
125123
echo "Setup complete. Please place your server's .cfg file in ${install_location}/config/SpaceEngineers-Dedicated.cfg.
126124
You'll need to edit it and change the <LoadWorld /> part to read: <LoadWorld>C:\users\\${whoami}\Application Data\SpaceEngineersDedicated\Saves\\${world_name}</LoadWorld>."
127125
;;
128-
backupworld) #put an entry in your crontab pointing to this script with the first argument being 'backupworld'.
129-
logstampworld=$(date +%s)
130-
cd ${install_location}/config
131-
cp -rf Saves/${world_name} backups/world-$logstampworld
132-
;;
133-
*)
134-
if ps ax | grep -v grep | grep $procname >/dev/null; then
135-
echo "$screen_name is running, not starting"
136-
exit
137-
else
138-
if [[ ! -f ${install_location} ]]; then
139-
echo "Space Engineers Dedicated Server is not installed"
140-
exit 1
141-
fi
142-
143-
echo "$screen_name is not running, starting"
144-
screen -dmS ${screen_name} -t ${screen_name} $0 start
145-
fi
146-
;;
147126
esac

0 commit comments

Comments
 (0)