Dedicated Server Linux: Difference between revisions
From MARNE Wiki
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
git | In order to run marne dedicated server you need the following dependencies installed on your system; <pre>git, podman, & a text editor</pre>> | ||
<pre> | |||
git clone https://github.com/silkker/MARNE | |||
cd MARNE | cd MARNE | ||
| Line 9: | Line 12: | ||
podman build --no-cache -t marne_tonga:latest . | podman build --no-cache -t marne_tonga:latest . | ||
# Exit once it boots to a shell | |||
podman run --replace -it \ | podman run --replace -it \ | ||
| Line 35: | Line 38: | ||
mv /opt/games/bf1/EAAntiCheat.GameServiceLauncher.exe /opt/games/bf1/EAAntiCheat.GameServiceLauncher.exe.bak | mv /opt/games/bf1/EAAntiCheat.GameServiceLauncher.exe /opt/games/bf1/EAAntiCheat.GameServiceLauncher.exe.bak | ||
curl -L | 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 | 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 | wlheadless-run -c cage -- maxima-cli launch --game-path /opt/games/bf1/bf1.exe --game-args=-mserver battlefield-1 | ||
</pre> | |||
Revision as of 20:20, 16 February 2026
In order to run marne dedicated server you need the following dependencies installed on your system;
git, podman, & a text editor
>
git clone https://github.com/silkker/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