From 6ef95d65b65c97c03da4e663f2f2afcae1ab7dcb Mon Sep 17 00:00:00 2001 From: ehellas Date: Tue, 30 Apr 2024 18:51:00 -0300 Subject: [PATCH] Add /game/ path back --- docker-compose-steam.yml | 2 +- docker/Dockerfile-steam | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose-steam.yml b/docker-compose-steam.yml index ca503fc..5fb1ffa 100644 --- a/docker-compose-steam.yml +++ b/docker-compose-steam.yml @@ -134,7 +134,7 @@ services: # Saves go here now - ./valley_saves:/config/xdg/config/StardewValley/Saves # If you'd like to set an existing savegame before the first start otherwise this file will be edited when starting the first game - - ./configs/autoload.json:/data/Stardew/Mods/AutoLoadGame/config.json + - ./configs/autoload.json:/data/Stardew/game/Mods/AutoLoadGame/config.json # deploy: # ## The container is CPU hungry, you can limit using this block # ## If you don't plan to play using VNC, 1 core should be enough to host for others diff --git a/docker/Dockerfile-steam b/docker/Dockerfile-steam index 0d67ad8..dea7ce8 100644 --- a/docker/Dockerfile-steam +++ b/docker/Dockerfile-steam @@ -8,14 +8,14 @@ ARG SRCDS_APPID # Steam appId # Set the name of the application. ENV APP_NAME="StardewValley" ## Uses a distinct PATH from Stardew/game/ that GOG has. -ENV GAME_PATH="/data/Stardew/" +ENV GAME_PATH="/data/Stardew/game" ## lib32gcc-s1 is required for steamcmd RUN apt-get update && apt-get install -y wget unzip tar strace mono-complete xterm gettext-base jq netcat procps lib32gcc-s1 && apt-get clean # Game + ModLoader 1.6.2 4.0.1 -RUN mkdir -p /data/Stardew && \ +RUN mkdir -p ${GAME_PATH} && \ mkdir -p /data/nexus && \ mkdir -p /data/steamcmd @@ -30,7 +30,7 @@ ARG STEAM_GUARD RUN chown -R 1000:1000 /data && \ export HOME=/data && \ - /data/steamcmd/steamcmd.sh +force_install_dir /data/Stardew +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_GUARD} +app_update ${SRCDS_APPID} validate +quit + /data/steamcmd/steamcmd.sh +force_install_dir ${GAME_PATH} +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_GUARD} +app_update ${SRCDS_APPID} validate +quit RUN mkdir -p /data/.steam/sdk32 && \ cp -v /data/steamcmd/linux32/steamclient.so /data/.steam/sdk32/steamclient.so && \