Recent Topics

Ads

RoR under Linux

Problems installing or downloading the game? Check the Install Guide first.

Moderators: Developer, Management, Web Developer

Forum rules
READ THE INSTALL GUIDE BEFORE YOU POST IN THIS SUBFORUM.

The stickies exist to handle common queries. Save our time and yours by reading them first.

Thank you.
User avatar
xpander
Posts: 167
Contact:

RoR under Linux

Post#1 » Sun Jan 26, 2020 11:34 pm

[Update 17th May 2020]
added instructions for Enhanched graphics with vkbasalt

Installation Guide for Linux users


Click here to watch on YouTube

https://lutris.net/games/warhammer-onli ... reckoning/

NOTE! Make sure you install wine for your your distro first (apt install wine and run winecfg for once) - for Lutris to work correctly



DXVK Setup:
1. If you have AMD GPU, then it should work out of box
2. If you have Nvidia GPU you need to fake your GPU as AMD in order for the game to take correct sRGB path.
to do this with nvidia create a dxvk.conf file into your warhammer folder with the contents:

Code: Select all

d3d9.customVendorId = 1002
this fakes the GPU as AMD and rendering is working correctly.
WARNING! Launcher might not render correctly with DXVK, but when you mouse over stuff, the connect button will be visible to click

To get rid of launcher being black with DXVK (make an exception so the Launcher uses regular wined3d instead of DXVK):
Spoiler:
Image
Image
For Lutris you might want to read this: viewtopic.php?f=4&t=35023&p=412197#p412197



Enhanched Graphics with vkBasalt: This works only with DXVK
1. Download/Install vkBasalt for your distro: https://github.com/DadSchoorse/vkBasalt
2. Download configuration files and extract them into your Warhammer directory: https://drive.google.com/open?id=1_7yxO ... EToTrQfWTw
3. Change the shader paths to full paths of your shader folder location in the vkbasalt.conf
4. add ENABLE_VKBASALT=1 into the environment variables under Lutris or in your Scripts

*pressing home key while in game should enable/disable vkbasalt effects on fly to compare to default look

https://imgur.com/a/PjRTusf



Additional Tweaks:
  • If your performance isn't where it should be, change the wine version back to 5.0 (thatone gives a bit better performance)
  • To disable MatchMakingRating spam in chat, Right click on the chat, choose filters and disable channel 9
  • Enable Anti Aliasing, Click on the game on Lutris, Configure -> Runner Options -> Find Anti-Aliasing Sample Count - Set it to 8 or 16 ( should be no performance impact on midrange GPUs and up)
Addons go to: ~/warhammer-online-return-to-reckoning/prefix/drive_c/Program Files (x86)/Return of Reckoning/Interface/AddOns
  • If performance starts to degrade, delete the cache folder from warhammer dir
~/warhammer-online-return-to-reckoning/prefix/drive_c/Program Files (x86)/Return of Reckoning/cache



Addon Manager: https://github.com/Idrinth/WARAddonClient
-Copy the WARAddonClient.jar into the Warhammer Installation folder
-Make a script into the same folder containing

Code: Select all

#!/bin/bash
# Go into the directory
BINDIR="$(dirname "$(readlink -fn "$0")")"
cd "$BINDIR"

# Start the Addon Manager with Java
java -jar ./WARAddonClient.jar
Spoiler:
Image
Last edited by xpander on Sun May 17, 2020 2:32 pm, edited 23 times in total.

Ads
User avatar
MisterViktor
Posts: 19

Re: RoR under Linux

Post#2 » Sun Feb 09, 2020 7:46 am

I'm not a Linux fan! But I decided to try, in the hope of at least slightly reducing the lags of the friezes and the crash of the game client.
Specially for the game, I installed Debian, and the game got up on it without any problems.

To say that I was pleasantly surprised - is to say nothing. Now the game works just fine, I forgot about the lags, even on the fort, even in the warband. Now no crashes, no lags, no friezes!

Under Linux, I can turn on all effects, during the battle on fort, edit the interface while in the warband, and write rel - and I won’t get any crash.

In two weeks I received only one crash - and that when rebooted the server.

With absolute certainty, I can recommend Linux to anyone who has unstable game play. And yes, the problem is not in the server, but in the disagreement of modern Windows and the game client.

What is my evidence? I have them!
Stream on integrated graphics Intel HD Graphics 4600
https://www.youtube.com/watch?v=sXIFo1HtGuc

User avatar
Natherul
Former Staff
Posts: 3151
Contact:

Re: RoR under Linux

Post#3 » Sun Feb 09, 2020 7:50 am

I can confirm this works great.

User avatar
Valkinz
Posts: 1

Re: RoR under Linux

Post#4 » Wed Mar 11, 2020 5:26 pm

I was able to get this going as well. I did have to run the setup under wine before lutris would launch it.

Ruscour
Posts: 54

Re: RoR under Linux

Post#5 » Fri Mar 20, 2020 12:56 pm

Works great, thanks.

If anyone wants notifications for queue pops, you can do something like this alongside the scenarioAlert addon

Code: Select all

while inotifywait -e modify "/opt/lutris/warhammer-online-return-to-reckoning/prefix/drive_c/Program Files (x86)/Return of Reckoning/logs/scenarioAlert.log"; do notify-send "QUEUE POP"; paplay /usr/share/sounds/gnome/default/alerts/sonar.ogg; done
obviously substitute the sound file and message as necessary.

The package containing inotifywait was called "inotify-tools" for me.
ruscur - RR6x Shaman <Art of Execution>
From Australia or nearby countries less cool? Join our Asia Pacific discord community!

User avatar
xpander
Posts: 167
Contact:

Re: RoR under Linux

Post#6 » Fri Mar 20, 2020 1:28 pm

Ruscour wrote:
Fri Mar 20, 2020 12:56 pm
Works great, thanks.

If anyone wants notifications for queue pops, you can do something like this alongside the scenarioAlert addon

Code: Select all

while inotifywait -e modify "/opt/lutris/warhammer-online-return-to-reckoning/prefix/drive_c/Program Files (x86)/Return of Reckoning/logs/scenarioAlert.log"; do notify-send "QUEUE POP"; paplay /usr/share/sounds/gnome/default/alerts/sonar.ogg; done
obviously substitute the sound file and message as necessary.

The package containing inotifywait was called "inotify-tools" for me.
i also have this: https://github.com/xpander69/scalert_linux
:) but yeah scripting is easy on linux

KhorneBerserker
Posts: 15

Re: RoR under Linux

Post#7 » Mon Mar 23, 2020 2:40 pm

It doesn't run in my case.
I'm using Arch linux.
Lutris and manual way failed to launch the game. My wine package version: wine-staging 5.4-1
Using up to date March 2020 torrent to download the game.

I've tried followings:
fresh prefix 64 bit
installing everything listed in lutris script
tried other prefix with only vcrun2012 and dotnet40 (after fail - adding corefonts to that basic - didn't help)
repeating the same with 32 bit prefixes
changing windows version to XP (changes error message), win10 (the message remains the same as in win7)

The last try uses following settings:
fresh prefix 64bit with vcrun2012 dotnet40
win10 version
Terminal output: https://pastebin.com/gwENKqrn
Screenshot of the error message Image

User avatar
xpander
Posts: 167
Contact:

Re: RoR under Linux

Post#8 » Mon Mar 23, 2020 6:32 pm

try changing wine version to 5.0 in lutris. do not use the system wine. use the lutris provided ones


edit: do you have intel IGP? cause i see message

Code: Select all

002e:fixme:d3d:wined3d_check_device_format_conversion output 0x59331b0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
looks like you GPU or drivers do not support that format. AMD and Nvidia should support fine, no idea about intel


edit2: you also need to install d3dx9_34 into the prefix or d3dcompiler_47 (thisone works from wine 5.2 and you dont need d3dx9_34 then) for it to work.

You also didnt specify where it fails?... does the launcher work? or launcher also doesnt show up

Ads
KhorneBerserker
Posts: 15

Re: RoR under Linux

Post#9 » Mon Mar 23, 2020 10:18 pm

As I said, I've tried with default lutris script settings. To be more specific - as in video, with lutris wine (current version is 5.4). Downloading 5.0.
I have intel GPU hd4600, mesa 19.3.
I forgot to add that I tried to run it with vulkan (dxvk), but no effect on error message popup. https://pastebin.com/81FhyF81 wine logs with DXVK
The launcher doesn't show up - error message appears as in screenshot.
I tried it now with the prefix from previous attempt with d3dcompiler_47 - the same behavior.

But what if the problem in

Code: Select all

0030:fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
and in the message error "hostname cannot be parsed" ?

Edit:
Behavior with lutris (despite wine version - 5.4 or 5.0) - no visible error pop ups with relatively small wine output https://pastebin.com/3gPgEWZa.

User avatar
xpander
Posts: 167
Contact:

Re: RoR under Linux

Post#10 » Tue Mar 24, 2020 7:53 am

It must be something on your system then. I just tested it from scratch, installed with lutris again. with the 5.4 wine. just same as in my videos, click and click and it works.
Can you try some other distro just to test it? maybe you are missing something on your Arch insrtallation. I do use Arch Linux myself also though.

Who is online

Users browsing this forum: No registered users and 15 guests