Dedicated Server Linux
More actions
git clone https://github.com/Twig6943/MARNE
cd MARNE
vim auth.toml
vim tmux.conf # optional (uncomment from Containerfile as well)
podman build --no-cache -t marne_tonga:latest .
# Exit once it boots to a shell
podman run --replace -it \
--name marne_tonga \
-p 25200:25200/udp \
-p 11079:11079/tcp \
--security-opt seccomp=unconfined \
marne_tonga:latest
podman start -ai marne_tonga
mkdir -p /opt/games/bf1
wlheadless-run -c cage -- $HOME/maxima.sh # (ctrl+c once its done)
PROTONPATH=$HOME/.local/share/maxima/wine/proton WINEPREFIX=$HOME/.local/share/maxima/wine/prefix umu-run $HOME/.local/share/maxima/wine/prefix/drive_c/windows/syswow64/regedit.exe $HOME/dll_overrides.reg
PROTONPATH=$HOME/.local/share/maxima/wine/proton WINEPREFIX=$HOME/.local/share/maxima/wine/prefix umu-run $HOME/.local/share/maxima/wine/prefix/drive_c/windows/syswow64/regedit.exe $HOME/game.reg
mv /opt/games/bf1/EAAntiCheat.GameServiceLauncher.exe /opt/games/bf1/EAAntiCheat.GameServiceLauncher.exe.bak
curl -L https://github.com/silkker/MARNE/raw/refs/heads/main/Marne.dll -o /opt/games/bf1/dinput8.dll
vim /opt/games/bf1/ServerSettings.txt
wlheadless-run -c cage -- maxima-cli launch --game-path /opt/games/bf1/bf1.exe --game-args=-mserver battlefield-1