The stand-alone mod S.T.A.L.K.E.R. Anomaly aims to be the most stable and customizable experience for fans of the S.T.A.L.K.E.R. games. It's powered by the Monolith 64-bit engine, a custom fork of the X-Ray engine.

Forum Thread
  Posts  
Anomaly in WINE (Linux) and other things (Games : S.T.A.L.K.E.R.: Call of Pripyat : Mods : S.T.A.L.K.E.R. Anomaly : Forum : Support : Anomaly in WINE (Linux) and other things) Locked
Thread Options 1 2
TOVOT
TOVOT Human
Mar 4 2019 Anchor

this is my low-end PC: Steamcommunity.com (View more info)

MANY TRICKS IN THIS POST IS ALSO USEFULL FOR WINDOWS USERS

I play Anomaly 1.5.0 BETA 2.4 (with only the addon: BTTR Models and english voices) in Archlinux 64bit, and this is step-by-step guide for a good WINE 64bit prefix setting to run Anomaly (in DX 10 or 11 with almost all options enabled in medium settings, and A-life full simulated but at half values) whit 50-60fps in all areas (resolution 1360x768); obviosly, if you have medium or high-end pc can raise more settings:

install: trizen (archlinux), wine, winetricks

install all (also optionals) dependiencies of wine, is important or probable game won't start (for different distro check the relative opyionals dependiences for WINE):

$ trizen -S alsa-lib alsa-plugins cups dosbox giflib gnutls gsm gst-plugins-base-libs lib32-alsa-lib lib32-alsa-plugins lib32-giflib lib32-gnutls lib32-gst-plugins-base-libs lib32-libjpeg-turbo lib32-libldap lib32-libpng lib32-libpulse lib32-libxcomposite lib32-libxinerama lib32-libxslt lib32-mpg123 lib32-ncurses lib32-openal lib32-opencl-icd-loader lib32-ocl-icd lib32-sdl2 lib32-vulkan-icd-loader lib32-vulkan-icd-loaderv4l-utils lib32-vkd3d libgphoto2 libjpeg-turbo libldap libpng libpulse libxcomposite libxinerama libxslt mpg123 ncurses openal opencl-icd-loader ocl-icd samba sane sdl2 v4l-utils vkd3d

create a new WINE prefix (ATTENTION: this delete all data in your /.wine directories, if you have one already created):

$ rm -r ~/.wine
$ env WINEPREFIX=$HOME/.wine WINEARCH=win64 winetricks

in WINETRICKS: Select the default wineprefix > Install a Windows DLL or component > select:

cmd
d3dcompiler_47
d3dx... <-- all DLLs if start d3dx
quartz

yes use winetricks for create a prefix, not just wine, and if you are able to create multiple prefixes... do it...

OK, now Run winecfg and install these libraries (and select Windows 7 in Applications):

atl110
d3d10
d3d10_1
d3d10core
d3d11
dxgi
msvcp110
msvcr110
msvcr90
vcomp110

opzionale (controller):

xinput1_1
xinput1_2
xinput1_3
xinput9_1_0

download this DLLs: my Google DRIVE (both: DX DLLs and DLL compiler, but only 64bit version, why Anomaly is 64bit) and put these six files in /bin folder of Anomaly. I found the scripts - inside the folders - in Internet but I don't remember where, and need only for enable Vulkan in WINE, for DX10-11 is enought the DLLs without start the script; the DLLs is just the Microsoft free-to-share DLLs.

ok, now download A.R.E.A. mod (yes the entire great mod - but not fully translated - or find the needed file in Internet); take the PsExec.exe file (this one also work in Windows, and work for any executable) from A.R.E.A. and put into Anomaly root folder (not in /bin folder).

open a terminal ad start:

$ wine cmd

and start the game with this command (from the root folder of the game), a bit of DOS skills is needed (but is very easy commands, don't worry)...

for quad-core:

PsExec.exe -d -a 0,1,2,3 bin\xrEngine.exe

for dual-core

PsExec.exe -d -a 0,1 bin\xrEngine.exe

after xrEngine.exe you can add (in command) your preferences of launch (like -smap2048).

UPDATE (21 march 2019): you can also download this great (but untraslated) mod COC by stason174
after download and installation, take only the shaders folder in gamedata folder, now delete (after backup) the original shaders folder of Anomaly1.5 in gamedata folder of Anomaly1.5, and place the shaders from stason174 (I see a bit more FPS and no lag, no stuttering). PROBABLE CRASH ! I think need to recompile the shaders properly for low-spec, from Anomaly shaders instead, not shure, just try...

lower values (of this settings) can solve many issue of fps drops...

r__detail_density [0.200,0.600] - same as in-game grass density option
r__geometry_lod [0.100,1.200] - same as in-game objects detail option.

DX8

r1_glows_per_frame [2,32] - controls maximum number of light sources

r1_lmodel_lerp [0.000,0.333] - controls the Linear Interpolation of lighting

r1_ssa_lod_a [16.000,96.000] - controls Level of Detail in game world
r1_ssa_lod_b [16.000,64.000] - controls Level of Detail in game world

DX9, 10, 11

r2_ssa_lod_a [16.000,96.000] - controls Level of Detail in game world
r2_ssa_lod_b [32.000,64.000] - controls Level of Detail in game world

FPS (huge boost): r2_sun off (in-game console) and tweak the sun (hemi and amb), and tonemap

! another file you can tweak for fps issue: alsoft.ini (in root folder)
this last need to be set in base of your system, hardware and software (google is your friend if you don't know wath you need to set); my english is bad, but this is irrilevant for me and for the result of this guide :)

helpfull guide:

my configuration files here: my Google DRIVE

THIS IS THE RESULT:

ss tovot 03 05 19 01 26 29 k00

tested with nvidia proprietary driver on Archlinux Openbox custom personal build, work perfectly, maybe I forgot some details in this guide, if need help contact me (arbitrio@altervista.com) or write here (in this post), and visit my blog: Arbitrio (can use Google Traslator for languages), I write in good mode for automatic translators: short phrases every comma.

ENJOY!

Edited by: TOVOT

--

Anarchist Male Eterosexual Notomophobic

Aug 13 2019 Anchor

I am running ArchLinux latest, did everything as described. game launches, in the wine cmd it gives display and window errors, and sometimes the game launches, and i can use arrow keys in the menu, but if i move my cursor, it crashes.

TOVOT
TOVOT Human
Aug 16 2019 Anchor
99percenter wrote:

I am running ArchLinux latest, did everything as described. game launches, in the wine cmd it gives display and window errors, and sometimes the game launches, and i can use arrow keys in the menu, but if i move my cursor, it crashes.

Can you post an log file? Myabe in pastebin (or similar sites). It would also be useful to know your system specifications. I can try to help you.

The method I described here works for me in both Anomaly and Dead Air.

--

Anarchist Male Eterosexual Notomophobic

Aug 20 2019 Anchor

here is terminal output Pastebin.com

here is d3d11 log paste Pastebin.com

here is dxgi log Pastebin.com

i noticed it says its using my kaby lake intel gpu, it should be using the nvidia through Bumblee....

Sep 4 2019 Anchor

I have a laptop with a GTX 1070 and Ubuntu Linux, I am using Wine version 4.0 stable, all I had to do to get Anomaly 5.0 to run is install the package d3dx9 through Winetricks and then Anomaly is stable. I am only running it on the DirectX 9 (R2) and the DirectX 9 Enhanced preset in game. I did adjust a few of the graphics sliders, like maxing out my rendering distances, but I did not touch the SSAO settings and my experience was mostly smooth. It may not be as pretty as my Desktop system with its GTX 1080ti and Windows 10 with all of the native DirectX libraries to let me max out everything in the graphics settings....

I am going to try enabling SSDO and low settings to see how it works.

TOVOT
TOVOT Human
Sep 12 2019 Anchor
99percenter wrote:

here is terminal output Pastebin.com

here is d3d11 log paste Pastebin.com

here is dxgi log Pastebin.com

i noticed it says its using my kaby lake intel gpu, it should be using the nvidia through Bumblee....

I don't know how to help them, unfortunately, these days I will try to run the new version of Anomaly through Proton, then I'll try to update the guide ... also because to me WINE has never liked, too confused and full of inexplicable and abstruse procedures ... like these that I've listed here, which seem to me really too many to start any program.
If you go to see a game for windows, made native in Linux, they usually change some libraries and the executable, in most cases (in my opinion it would be better to learn the code, and if open, rewrite the links between libraries, even amateur and rewrite the downloadable ... the problem is obviously that the developers, for legal / economic reasons put everything closed, and and decompile, from what I know, it's not like working on an open-source).

--

Anarchist Male Eterosexual Notomophobic

Nov 12 2019 Anchor

Okay, there's even an easier way to play Anomaly with DXVK.

If you've used that guide - backup, then throw away the directx dlls and everything that was in that x64 google drive folder if you want to use latest DXVK 1.4.4. It does glitch out some of the text but it's far from unplayable.

A way to make it work with latest Winetricks is:

1. Make a new 64bit wineprefix

2. Install a Windows DLL or component (d3dcompiler_43 , d3dx11_43, dxvk, quartz)

3. Save, close, open Winetricks with command line: DXVK_HUD=full winetricks then open the launcher through explorer and use DX11 option (if that isn't obvious once you get to a framerate you're comfortable with you can disregard DXVK_HUD=full or DXVK_HUD=1, just run winetricks normally)

If dxvk_hud displays DXVK 1.4.4 everything should be working fine besides the text. It will work with Lutris too (so you can easily make a shortcut), just make sure you get quartz, d3dcompiler_43 and d3dx11_43 (or later) inside the wineprefix.

I'm getting from 60~ (Rostok) to 80~ (Garbage etc) fps with RX 5700 XT and Ryzen 5 3600 displaying 3440x1440 104 fov but I had to lower quite a few settings. Doing r2_sun off would get me +20~fps but I didn't want to go that far. I don't think Stalker, even with DX11 should pose a challenge to this setup normally but hey at least it works (besides the ring gfx_0.0.0 errors which are driver related issue to be resolved soon with mesa 20 and llvm 10 hopefully).

Tested with Pop_OS 19.10.

Native linux Anomaly when?

Edited by: Micropiglets

TOVOT
TOVOT Human
Dec 19 2019 Anchor
Micropiglets wrote:

Native linux Anomaly when?

a few months ago (when I posted this thread) I played in Linux (Arch) and they put STALKER (the first chapter), a Linux native. therefore it is possible, if the players that use Linux will require it to the developers of CoC, Anomaly, Dead Air, and the like, most likely they will receive it

--

Anarchist Male Eterosexual Notomophobic

Dec 20 2019 Anchor

Fast guide for playing with DXVK (Proton)? Maybe Lutris installer/script with dx10/11?

Dec 22 2019 Anchor

Fast guide for playing with DXVK (Proton)? Maybe Lutris installer/script with dx10/11?

It's very simple to get it running in DX11 and you have winetricks available through lutris as well so most of the guide will work but I'll update it and focus on how to do it on lutris.

Performance will be underwhelming but it'll run.

1. Make a new 64bit wineprefix (right click on an lutris library entry, choose Winetricks)

2. Install a Windows DLL or component (d3dcompiler_43 , d3dx11_43, quartz - not sure if the last one is really necessary) leave DXVK for later since Lutris gives you a more convenient selection functionality

3. Set up lutris: in Game options tab point it to AnomalyLauncher.exe as the Executable and prefix you've made in step 1.

4. Switch DXVK on in Runner options tab, choose latest Wine runner (or whichever you want as long as it'll work and render everything you need)

5. In System options tab scroll down to Environment variables, click "Add" and input DXVK_HUD in first column and full (or 1) in the second - this is an overlay with various info useful for fine tuning performance (to turn it off later just write 0 in the second column or delete the entry)

6. Run the game. If Anomaly menu text is glitchy for you, try DXVK 1.3.4 in Runner options tab.



TOVOT wrote:
Micropiglets wrote:

Native linux Anomaly when?

a few months ago (when I posted this thread) I played in Linux (Arch) and they put STALKER (the first chapter), a Linux native. therefore it is possible, if the players that use Linux will require it to the developers of CoC, Anomaly, Dead Air, and the like, most likely they will receive it

Requiring might be too forceful but we could make a request.

Still in order for the devs to think it worthwhile we need more than you and me. If you make a thread or a petition or whatever let me know please.

Jan 13 2020 Anchor

For anyone wondering the above still works, basically only 'tweaks' needed are d3dcompiler and d3dx11, though I'm having crashes with the new settings menu and some random hangs, but otherwise still plays fine

for the devs to think it worthwhile we need more than you and me.

dozens of us, dozens!

May 14 2020 Anchor

If you have problem with freezing system when you play Anomaly, then limit your fps (for example 60 fps). It is possible to do in Lutris.

May 14 2020 Anchor

You can also try using Proton and Steam to run Anomaly. In my case the performance with that approach is not much worse than on Windows.

Sep 27 2020 Anchor

Hi,

sorry to necrobump this post, but I'm trying hard to make Anomaly work on my wife's former laptop. The game already runs under windows on the same machine, but I suspect that the weak discrete graphics card with 1gb dedicated ram AMD HD6630M uses weak windows drivers (AMD refused to update them beginning 2014). So, since I can't use vulkan (AMD doesn't provide vulkan support for anything before GCN), I am trying to use galliumnine, which is working wonderfully atm with Vampires: Bloodlines (the old one), but Anomaly is giving me a really hard time. I am getting a "your video card doesn't meet game requirements. Try to lower game settings" warning all the time, while the really puzzling thing is the following: the user.ltx file is not created AND the log reports of a really big fault in the shaders, which are not to be found in the directory either. Does anyone have a clue about what's happening here?

Sep 27 2020 Anchor

Try to run in dx 8 or 9

Sep 28 2020 Anchor

Galliumnine only works with dx9 and dx8. Tried all four options (the laptop has i5-2410m, so AVX is available) and I get less funny messages on dx8, but it still won't run. Same message

Sep 28 2020 Anchor

I don`t know for galliumnine because I have nvidia graphic card and proprietary drivers, but I can tell you that 2 gb vram is barely enough to play in dx 9 (dxvk) with textures on half.

btw. are you using beta 3 hotfix 8 version or RC 18?

Oct 8 2020 Anchor

Ok, when it comes to VRAM I hear you, except somehow on windows it runs (not very good, obviously). My issue is having it not working at all.

I am using the previous installment, the one that had the hotfix 8.1 . Missed the new beta. I might try this new thing.

Any luck in using the openxray 1.6 engine with this mod?

Ok, I am using beta 3 hotfix 8.1, sorry for the lack of clarity

Oct 8 2020 Anchor

Openxray doesn`t work with Anomaly or similar CoC mods. In fact, openxray only support CoP and maybe CS.

About beta 3 hotfix 8, it was a performance mess. On my rig it was unplayable. But RC 18 is different story. It isn`t perfect, but it is much smoother. I can`t still promise you that it will work on 1 gb VRAM graphic card. Why? Maybe wine using more VRAM or graphic drivers are not good enough for that model on linux.

You can find RC18 on discord.

Jan 14 2021 Anchor

In the case of Npc fighting, the fps drops too much. Is there a solution? help pls

Feb 8 2021 Anchor

So I tried the 1.5.1.2 and I got this:

Files.catbox.moe

Any idea what am I lacking? I'm using wine 6.1 since no other runner available in Lutris even booted up the game.

I had no real issues with 1.5.0 beta hotfix something.

Feb 9 2021 Anchor

I also get the Discord RPC crash when launching 1.5.1, all previous Anomaly versions worked fine and all stalker games/mods in general. First time Ive encountered this. I'm gonna set up new wine prefix and start adding dll and other components via winetricks to see if any of them help. There's gotta be a magic dll that fixes this, since I don't see any Windows users reporting the issue.

Feb 9 2021 Anchor

It happens if you get 'wine-devel' > 6.0 or 'wine-staging' > 6.0-rc4. wine has changed too much between release 5 and 6, and i still can't discover what is the real cause of this annoying issue.

BTW with 'wine' 6.x i have a lot of another unwanted phenomenons and i'm pretty confident to switch back to some last 5.x release.

Edited by: shatterAx

Feb 9 2021 Anchor
shatterAx wrote:

It happens if you get 'wine-devel' > 6.0 or 'wine-staging' > 6.0-rc4. wine has changed too much between release 5 and 6, and i still can't discover what is the real cause of this annoying issue.

Is it only that? Cause I tried with couple Lutris runners (5.7.11, 5.6.5, 6.0 and some older alternative 4.0 ish) and they wouldn't even give me that error prompt, they just failed to launch Anomaly 1.5.1 completely and they worked for 1.5.0 if I remember correctly.

Anyway are you saying that wine-stable will run 1.5.1? I haven't had problems with wine 6.1 yet (although rc versions caused all games to freeze every several seconds)

Edited by: Micropiglets

Feb 9 2021 Anchor

Well I got it running, I completely wiped my old prefix and set new one and only added wine-mono, dx9, dx10, dx11, vcrun2015 and dxvk. No naggin at launch and runs smooth with dx10. (I have wine-stable 6.0.0 from official winehq repos).

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.