
ClarkG
Published
Multiplayer runs great. Single player won't even launch.
Multiplayer runs great. Single player won't even launch.
Works great out of the box on PopOS 22.04 with AMD hardware - playing with mods requires another, easy, step
It's necessary to run this command in the terminal, once before initially playing the game:
echo 'vm.max_map_count=1048576' | sudo tee /etc/sysctl.d/vm.max_map_count.conf
Otherwise I received a black screen. You run it one time after installing the game and that is it.
It's also necessary to have this installed on ext4 formatted parition. I could NOT get it to work when it was installed on an NTFS partition.
Works out of the box for vanilla servers - For Modded servers see comment below
To play with mods (or even without) use https://github.com/bastimeyer/dayz-linux-cli-launcher it's the simplest and most straightforward launcher I found. The dev is active and very helpful. I've created scripts on my desktop that point to the servers I want to play on. I right click, select "run as a program" and it boots straight into that server. Dayz's server browser has always been awful anyway. For locating servers, I use: https://www.battlemetrics.com/servers/dayz
When you run this code in the terminal, and the game does NOT launch, it will tell you what mods you're missing. Click the links to the mods and install. Easy. After that, it should run automatically. Here is the script that I right click on to run, or you can paste it into terminal everytime to see the output:
/home/linuxusername/gaming/dayz/launcher/dayz-launcher.sh \
--server 51.81.49.132:2702 \
--port 27416 \
--launch \
--name ingameDayZname
(hyphenated lines above need 2 spaces at the start of each line. The markdown implementation here is botched.)
the filepath is just to wherever you store the file downloaded from github. Server IP and port can be found on the battlemetrics site I linked above. Be sure to put the query port and game port in the right locations (2702 is the game port, and 27416 is the query port, in this example).
This may seem daunting, but it's quite easy. If you need assistance, I'm in the protondb discord "Goebb#2999" so shoot me a message or ping me. I'm not on discord a lot, so it may take a while for me to see it. Your best bet to contact me is on matrix: @dingus_:matrix.org