DayZ
Run DayZ Standalone on Linux/SteamOS and MacOS
I think we are many players expect the arrival of DayZ on Linux / MacOS and SteamOS, especially with the partnership between Bohemia and Steam.
Pending a native port, a temporary solution is already possible, the standalone version works under wine through the use PlayOnLinux.

For that, simply install Steam with PlayOnLinux, and modify the startup script to correct a problem with textures.


Edit /home/$USER/.PlayOnLinux/shortcuts/Steam with gedit or nano (or other text editor)


#!/bin/bash [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" export WINEPREFIX="/home/$USER/.PlayOnLinux//wineprefix/Steam" export WINEDEBUG="-all" #ScriptID=Steam cd "/home/$USER/.PlayOnLinux//wineprefix/Steam/drive_c/./Program Files/Steam" # Launch Game POL_Wine Steam.exe "$@"

becomes

#!/bin/bash [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" export WINEPREFIX="/home/$USER/.PlayOnLinux//wineprefix/Steam" export WINEDEBUG="-all" #ScriptID=Steam cd "/home/$USER/.PlayOnLinux//wineprefix/Steam/drive_c/./Program Files/Steam" # Fix moire flashes in smoke and dirt POL_Wine_Direct3D "StrictDrawOrdering" "enabled" # Launch Game POL_Wine Steam.exe "$@"

Just ADD :

# Fix moire flashes in smoke and dirt
POL_Wine_Direct3D "StrictDrawOrdering" "enabled"

Don't forget to configure the Steam Container on PlayOnLinux for use the last version of WIne ! (Actually 1.7.9)

Now your can run Steam with PlayOnLinux, download DayZ, and play it.

don't forget to use the last drivers of AMD (Catalyst/FGLRX) or NVIDIA (nvdia-drivers or bumblebee and run command "primusrun" if your use OPTIMUS solution on laptop.) :)


Performance is not terrible, so you need to configure graphic settings for that, but this is a temporary solution before a native port.
Автор останньої редакції: Tikilou; 24 груд. 2013 о 1:55
< >
Показані коментарі 6175 із 81
I can get into a server with PlayOnLinux and Ubuntu 14.04, but the second I try to open an in-game menu, it crashes
Maybe a problem with battleye ?
The Game is working but when i press any button, DayZ crashes
Please help me :CCC
Автор останньої редакції: Djupt; 20 груд. 2014 о 2:57
Цитата допису Lnux:
So if you already have the Linux Steam client you need to install the Windows one again through WINE? Or, would you be ok with the Linux client?

If you have Linux Steam and you want to run Windows Steam games you WILL need to install Windows Steam using PlayOnLinux (or WINE, but PoL is FAR easier as it wraps a convenient GUI and such around WINE to hide some of the pain points from you). It's okay though. Steam itself is not terribly huge, and neither is the WINE environment that is set up for it. It only adds a couple few megabytes overhead to any given game (mebbe around 50ish megs all told?) As an added bonus, these WINE folders can be fairly easily relocated whereever you like, or backed up easily in case of hard drive failure, so it's actually a kinda nice way to encapsulate those few Windows games a Linux user might have on their Linux machine.

Цитата допису _Gregy_ RunOuttaBish:
Apart from the fact that running things through WINE will make it slow as hell. Somebody shoots at you? You're already dead.

This is patently UNTRUE! I've been playing Windows games in WINE for years, and a great many of them run BETTER than they do on ACTUAL M$ Windows due to the far lower overhead of Linux, and the rather amazing work the many WINE developers have done improving it over the years. Since hitting 1.0 and higher, WINE has continued to impress me with the number of games/apps I've been able to successfully test and run with little to no hassle (even though MOST of them I do end up erasing anyhow, just to make room for my growing collection of excellent Linux native games).
For me, this is caused by a lack of a feature in Wine:

https://bugs.winehq.org/show_bug.cgi?id=31910

You can just hit 'y' on the first and second EULA screens to say yes when you can't see the button. It will open a black window that installs the service, but fails when tries to start it (though you may not see any return). I'm guessing this is others issues who are loading but being booted off the server, as it can't communicate with your BattlEye.
I have it running on a Macbook Retina w the WINE wrapper here - http://portingteam.com/files/file/8091-dayz-standalone

I'm sure the hacks he's doing can be ported over to PoL, BattlEye is working also. You do need a recent WINE release, steam updated the webhelper in Sept and some fixes must have been implemented in WINE.
My friend was able to join a server successfully on Linux. However, his character was completely white for him and everything else was gray/black (it was not a night time server) and he also got bad FPS. He was having some problems with crashes at first, but he was able to join a game after some troubleshooting.

I'm not sure if anything I am about to say will work, but go ahead and try it.

1. Try running the game in windowed mode.
You can change it to windowed mode in a config filed that is just called "DayZ" and it should be a CFG file. For Windows this is located in a DayZ folder in My Documents. You have to right click and open it with Notepad or another text editor. I am sure the process is similar for Linux. Once there, You should change everything that ends with a W or H to your normal screen resolution. Also, scroll all the way to the bottom and change Windowed = 0 to Windowed = 1
Here's what the lines that I changed looks like for me in windowed mode (My resolution is 1360 x 768):
...
Resolution_W=1360;
Resolution_H=768;
...
winW=1360;
winH=768;
winDefW=1360;
winDefH=768;
...
Render_W=1360;
Render_H=768;
...
Windowed=1;

Note that the game may automatically modify the resolution itself to fit the screen better, but if you right click the config file, go to properties, and check "Read-only," (hopefully the process is similar on Linux) the game should not automatically modify it. I think that changing the game to windowed mode is what helped stopped crashes for my friend.


2. Disable the Steam Overlay while in-game
I had my friend try this as well, and I think some other people online have said this worked for them in regards to crashing as soon as you click or press anything on your keyboard. Doing this is very simple. Just go to your Steam Library, right click DayZ, and uncheck "Enable the Steam Overlay while in-game". Done!


Those are the two main things I suggest trying if your game actually starts, but crashes. I would also make sure your drivers are updated, but my friend's game started crashing right after the initial loading screen once he updated his AMD Catalyst drivers (Bohemia Interactive Logo -> DayZ Logo -> Crash). That last thing I would suggest, is to maybe mess around with your Wine/PlayOnLinux versions (still not sure if this will work and you might have to re-install Steam after you do this) and check out the WineHQ page for DayZ Standalone. I will provide the link, but someone else also provided it in an earlier post. The posts there are pretty outdated, but maybe you can find something useful:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=29534

GOOD LUCK TO YOU! If I said anything stupid... hopefully it's because I'm not very familiar with Linux.



If you have a potential solution to my friend's problem, which I will leave at the end of this post, please leave a post here or send me a friend request,

We tried changing the Wine version first, but with no avail. We ended up having to re-install Steam and the game completely. At this point we figured it had to do with the driver. We will try uninstalling the driver and getting an older one in the near future, and I will post the result.

Problem: Game started crashing right after the initial loading screen once he updated his AMD Catalyst drivers (Bohemia Interactive Logo -> DayZ Logo -> Crash).
Автор останньої редакції: Sancus; 5 січ. 2015 о 19:13
Has anyone tried TrackIR with this?
Looks like battleye broke things up again.
Цитата допису Zire:
Looks like battleye broke things up again.
F*ck... SteamOS coming in November, come on Bohemia, think about it, we need a Linux native client !!!
Цитата допису Tikilou:
Цитата допису Zire:
Looks like battleye broke things up again.
F*ck... SteamOS coming in November, come on Bohemia, think about it, we need a Linux native client !!!


+1
-You- need a Linux client...not "we" ;-) /sarc

[quote=Tikilou;617329920702668483
F*ck... SteamOS coming in November, come on Bohemia, think about it, we need a Linux native client !!! [/quote]
"we" !

Read the post before yours. ;)
To be honest, I don't mind sticking with either MS, or Linux software.

It would be nice however, being able to use both without restriction as well as cost effective.

I've been wanting to try a Linux OS for a while now, but I have stopped myself from installing one, simply because of lack of compatibility.

However, there are wider, global ramifications. If more software is available that enhances the Linux experience, it may force MS, at some point, to redefine their stance on the ♥♥♥♥ that it keeps pushing out year in, year out, for premium prices. As a result, it may be the case that more households, and business operators also drop Windows licenses, for a Linux solution.

I am almost certain though, that Day Z will be made compatible with Linux, at some point, just not now.
Автор останньої редакції: Diogenes; 9 берез. 2015 о 4:44
Цитата допису Bavarin Fleetfoot:
Цитата допису Lnux:
So if you already have the Linux Steam client you need to install the Windows one again through WINE? Or, would you be ok with the Linux client?

If you have Linux Steam and you want to run Windows Steam games you WILL need to install Windows Steam using PlayOnLinux (or WINE, but PoL is FAR easier as it wraps a convenient GUI and such around WINE to hide some of the pain points from you). It's okay though. Steam itself is not terribly huge, and neither is the WINE environment that is set up for it. It only adds a couple few megabytes overhead to any given game (mebbe around 50ish megs all told?) As an added bonus, these WINE folders can be fairly easily relocated whereever you like, or backed up easily in case of hard drive failure, so it's actually a kinda nice way to encapsulate those few Windows games a Linux user might have on their Linux machine.

Цитата допису _Gregy_ RunOuttaBish:
Apart from the fact that running things through WINE will make it slow as hell. Somebody shoots at you? You're already dead.

This is patently UNTRUE! I've been playing Windows games in WINE for years, and a great many of them run BETTER than they do on ACTUAL M$ Windows due to the far lower overhead of Linux, and the rather amazing work the many WINE developers have done improving it over the years. Since hitting 1.0 and higher, WINE has continued to impress me with the number of games/apps I've been able to successfully test and run with little to no hassle (even though MOST of them I do end up erasing anyhow, just to make room for my growing collection of excellent Linux native games).

could you quote any of those games that run better on linux?
< >
Показані коментарі 6175 із 81
На сторінку: 1530 50

Опубліковано: 24 груд. 2013 о 1:53
Дописів: 81