Wyniki wyszukiwania

Wyświetlanie 21-30 z 293,719,322 pozycji
127
26
Most disappointing BF game of all time
W tej chwili
Jesse Burson
2
Manual mods does't works
W tej chwili
Yooppi
26
2
Free Update! A new Hero awaits. Play the epic tale of Goberalt!
W tej chwili
knuddelholic
0
The Docker ARK Setup, Windows ARK server in Linux!
W tej chwili
SirDerpingham
dockeruser:~/arkwine$ cat Dockerfile
# syntax=docker/dockerfile:1.4
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y \
curl wget unzip gnupg2 software-properties-common lsb-release sudo \
winbind cabextract xvfb x11vnc x11-utils \
libvulkan1 mesa-vulkan-drivers mesa-utils vulkan-tools \
libgtk-3-0 libnss3 libasound2 locales \
wine wine32 wine64 winetricks \
iproute2 net-tools && \
rm -rf /var/lib/apt/lists/*

# Create steam user
RUN groupadd -g 1006 steam && \
useradd -m -u 1006 -g steam steam && \
mkdir -p /home/steam/steamcmd /home/steam/ARK && \
chown -R steam:steam /home/steam

USER steam
WORKDIR /home/steam

# Install SteamCMD
RUN curl -s https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz | tar -xz -C /home/steam/steamcmd

# Download VC++ redistributable
RUN wget -O /home/steam/vc_redist.x86.exe https://aka.ms/vs/16/release/vc_redist.x86.exe

# Copy entrypoint
COPY --chown=steam:steam entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

dockeruser@minbox:~/arkwine$ cat docker-compose.yml
services:
arkserver:
build:
context: .
container_name: arkbox
network_mode: host
env_file:
- .env # 👈 This is what you're missing
environment:
- DISPLAY=:99
- MAP_NAME=CrystalIsles
- CLUSTER_ID=arkcluster123
- SESSION_NAME=MyDockerARK
volumes:
- /home/steam/ARK:/home/steam/ARK
- /home/steam/ARK/cluster:/home/steam/ARK/cluster
- /var/log/duckdns/current_ip.txt:/home/steam/current_ip.txt:ro
shm_size: 2g
tmpfs:
- /tmp/.X11-unix:rw,exec,nosuid,size=65536k
restart: unless-stopped

dockeruser:~/arkwine$ cat entrypoint.sh
#!/bin/bash
set -e

export WINEDEBUG=-all
export DISPLAY=:99
export WINEPREFIX="/home/steam/.wine"
export WINEARCH=win64
export SDL_AUDIODRIVER=dummy
export DBUS_FATAL_WARNINGS=0

export XDG_RUNTIME_DIR="/tmp/runtime-$(id -u)"
mkdir -p "$XDG_RUNTIME_DIR"
chown "$(id -u):$(id -u)" "$XDG_RUNTIME_DIR"
export NO_AT_BRIDGE=1
unset PULSE_SERVER

echo "[INIT] Checking Wine prefix at $WINEPREFIX"

# Wait for ARK binary volume mount
while [ ! -f /home/steam/ARK/ShooterGame/Binaries/Win64/ShooterGameServer.exe ]; do
echo "[WAIT] ARK server executable not found, waiting for volume..."
sleep 2
done

# Read public IP from host-mounted file
if [[ -f /home/steam/current_ip.txt ]]; then
PUB_IP=$(cat /home/steam/current_ip.txt)
else
echo "[WARN] Could not read external IP, falling back to 127.0.0.1"
PUB_IP="127.0.0.1"
fi

# Enforce presence of Steam Web API key
if [[ -z "$STEAM_WEB_API_KEY" ]]; then
echo "[ERROR] STEAM_WEB_API_KEY is not set! Aborting."
exit 1
fi

# First-time Wine setup
if [ ! -f "$WINEPREFIX/system.reg" ]; then
echo "[WINE] First-time wineboot initialization..."
xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" wineboot

echo "[WINETRICKS] Configuring wine environment..."
winetricks -q settings win10 corefonts dxvk steam

echo "[WINE] Configuring DirectX registry settings..."
wine reg add "HKCU\\Software\\Wine\\DirectX" /v UseGLSL /t REG_DWORD /d 1

echo "[WINETRICKS] Installing VC++ 2015 (non-fatal if fails)..."
xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" \
wine /home/steam/vc_redist.x86.exe /quiet /norestart || echo "[WARN] vc_redist install failed"
else
echo "[WINE] Prefix already initialized."
fi

MAP_NAME=${MAP_NAME:-CrystalIsles}
CLUSTER_ID=${CLUSTER_ID:-arkcluster123}
SESSION_NAME=${SESSION_NAME:-MyDockerARK}

cd /home/steam/ARK/ShooterGame/Binaries/Win64

echo "[STARTING] Launching ARK Server"
echo "Map: $MAP_NAME | Cluster: $CLUSTER_ID | Session: $SESSION_NAME | PublicIP: $PUB_IP"

LOGFILE="/home/steam/ARK/ShooterGame/Saved/Logs/server-launch-$(date +%s).log"

xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" \
wine ShooterGameServer.exe \
"${MAP_NAME}?SessionName=${SESSION_NAME}?Port=7777?QueryPort=27015?RawUDPPort=7778?MaxPlayers=10?listen?ClusterID=${CLUSTER_ID}?ClusterDirOverride=cluster?PublicIPForEpic=${PUB_IP}" \
-ServerSteamApiKey=${STEAM_WEB_API_KEY} \
-NoBattlEye -crossplay -log -servergamelog -servergamelogincludetribelogs -servergamelogflush 2>&1 | tee "$LOGFILE"

dockeruser:~/arkwine$
1
Thoughts on the current class system ?!
W tej chwili
Ad Hominem
0
PC hard resets during shader compiling
W tej chwili
Crow
129,891
78
Old Farts' Coffee House
W tej chwili
Altbert
Na forum „Ostranauts Tech Support
2
Signal boxes might end up ruining your ship
W tej chwili
Xzystance:TTV
1
Intel GPU users Crash FIX please
W tej chwili
Stepper
0
Beta Feedback - Smol Maps
W tej chwili
Mother's Best Boy
Wyświetlanie 21-30 z 293,719,322 pozycji