Recent Topics

Ads

[deprecated] RoR Under Linux

Problems installing or downloading the game? Check the Install Guide first.
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
faiden
Posts: 96

Re: [Guide] RoR Under Linux

Post#41 » Sun Nov 06, 2016 3:24 am

ufthakk wrote:very good and helpful guide. but im still not able to login, stucked in the loading screen. game doesnt connect to the server. maybe there is ip blocking for some regions ? or do i need a static ip? sry but im running out of ideas.
I had the same "black box" not connection to the server. After some trial and error what worked for me odd.
I'm running dualboot with windows 10 so I could check if the files worked on windows. I could connect without problem when booting windows10. I then booted up linux and used the same files to play and it worked. So I bet it has something todo with some non updated config file or something.

edit: I can run the game with only dotnet40 and d3dx9_36
faiden@Quakenet#martys_square
https://www.youtube.com/watch?v=LRq_SAu ... tu.be&t=73
https://www.twitch.tv/faidentv
Patch Notes 7/1/17 wrote:- Bugman's Best now heals group members instead of all allies

Ads
quimbydogg
Posts: 3

Re: [Guide] RoR Under Linux

Post#42 » Wed Nov 16, 2016 3:06 pm

Using playonlinux on Gentoo. I setup a 32bit prefix and install dotnet40 and d3dx9_36.

Everything works fine with wine 1.9.13 but starting at version 1.9.14 I just get a black display in the warhammer window, sometimes partial graphics display but something is really messed up. Anyone else have a similar problem? I've tried numerous wine versions between 1.9.9 and 1.9.23

goate
Posts: 14

Re: [Guide] RoR Under Linux

Post#43 » Mon Nov 21, 2016 5:28 pm

quimbydogg,

It seems like I had a similar issue at some point in my long bout of troubleshooting.

I would try this:
As recommended by Ufthakk here I downloaded the DirectX June 2010 Redistributeable found at the Microsoft site. I executed directx_june2010_redist.exe under my 32-bit wine prefix, then gave it a path to extract it to. I chose Z:\tmp\directx9_redist" (/tmp/directx9_redist), and ran "DXSETUP.EXE" in the extracted folder.

Code: Select all

WINEPREFIX=/home/XXXXX/.local/share/wine32 wine directx_june2010_redist.exe
WINEPREFIX=/home/XXXXX/.local/share/wine32 wine /tmp/directx9_redist/DXSETUP.EXE
Not sure if that's it, but it seems like that may have done it for me.

-gracken/goate

User avatar
brzimacak
Posts: 12
Contact:

Re: [Guide] RoR Under Linux

Post#44 » Thu Dec 29, 2016 9:05 am

i`m still working on this challenge :-)
(switched completely to Linux - Ubuntu)
I AM THE ONE!
Darkhell (CHOSEN)
Zodec (MARAUDER)
Rozhag (CHOPPA)

Warhammer RoR - Installation Guide (Video)
https://youtu.be/I1lHDdd5HW4

User avatar
fs0ciety
Posts: 1

Re: [Guide] RoR Under Linux

Post#45 » Sat Jan 14, 2017 1:31 pm

How do I do the installation on Manjaro?

Sorry, I'm no Linux expert yet

User avatar
faiden
Posts: 96

Re: [Guide] RoR Under Linux

Post#46 » Sat Jan 14, 2017 3:07 pm

fs0ciety wrote:How do I do the installation on Manjaro?

Sorry, I'm no Linux expert yet
Wow I do envy you to go through the wonders of linux!!

Ok so first you want to install wine-staging (Its the hardcore version of wine)
(If you have another wine installed just replace it)
https://github.com/wine-compholio/wine- ... arch-linux

Code: Select all

sudo pacman -Syu wine-staging


Then we need need to create a WIN32 prefix
(Basicly a directory where everything is run from called .war in your home firectory)
https://wiki.archlinux.org/index.php/Wine#WINEPREFIX

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.war winecfg
Close down the winecfg window that popped up

Now we need to install Winetricks:
Winetricks is a script to allow one to install base requirements needed to run Windows programs.
https://wiki.archlinux.org/index.php/Wine#Winetricks

Code: Select all

sudo pacman -Syu winetricks
Now we Install dotnet40 and d3dx9_36 wich Warhammer need to run.

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.war winetricks dotnet40
WINEARCH=win32 WINEPREFIX=~/.war winetricks d3dx9_36
Now follow the instructions in the link bellow: (Skip step 6, but do step 7)
https://www.returnofreckoning.com/join. ... =us&step=2
You can place the game wherever you want to just remember where you put it.

After you downloaded the game and extracted it with the launcher take the path and insert it into a nifty script:

create a file named war.sh and make it executable with:

Code: Select all

chmod +x war.sh
edit the file and enter:

Code: Select all

#!/bin/bash

# Edit this to where your warhammer directory is
cd ~/.war/drive_c/Games/"Warhammer Online - Age of Reckoning"

# NVidia-specific settings; remove possible performance bottlenecks
export __GL_FSAA_MODE=0
export __GL_DEFAULT_LOG_ANISO=0
export __GL_LOG_MAX_ANISO=0
export __GL_SYNC_TO_VBLANK=0
export __GL_YIELD=NOTHING

# NVidia optimizations introduced since driver 310.14
# Note: Here (and in all other places where this flag is used), the word 
# "optimisations" can also be spelled "optimizations". The original spelling 
# of the word works for me, but the American spelling is what's in the 
# documentation for the drivers, and there have been reports that the original 
# spelling doesn't always work. 
export LD_PRELOAD="libpthread.so.0 libGL.so.1"
export __GL_THREADED_OPTIMIZATIONS=1
export __GL_THREADED_OPTIMISATIONS=1

# Wine-staging improvements
#export STAGING_SHARED_MEMORY=1
#export STAGING_RT_PRIORITY_SERVER=90
#export STAGING_RT_PRIORITY_BASE=90
export CSMT=enabled

# Less log spam and tell wine where and what.
export WINEDEBUG=-all
export WINEARCH=win32
export WINEPREFIX=~/.war

# Start the game!
wine RoRLauncher.exe
Now you should be able to run the game. GO to the directory where you created the script and run:

Code: Select all

./war.sh
You will get an error when you press the connect button but the game should run.
If not check back here and we will see if we can fix it.

The game will NOT look as pretty as on Windows but I think it has better performance.
faiden@Quakenet#martys_square
https://www.youtube.com/watch?v=LRq_SAu ... tu.be&t=73
https://www.twitch.tv/faidentv
Patch Notes 7/1/17 wrote:- Bugman's Best now heals group members instead of all allies

User avatar
Vralkhir
Posts: 19

Re: [Guide] RoR Under Linux

Post#47 » Tue Jan 17, 2017 3:31 pm

Hello all ;-)

so it's been a little while, but since in the meantime I found out another thing or 2, I thought I'd share the information with everyone willing to do a little fumbling with wine.

So first of all, I installed the game on an old friends PC, whom I helped switching to Linux. We copied an functioning wine-prefix and ran into some problems.

1. Server buttons on the client where always shown in yellow, connecting was impossible for him. A little digging in the log showed some secure connection error. Installing lib32-gnutls solved that, so You could give it a try with Your distro's pendant.

2. When setting the windows version to XP in wine, he would get a black screen. Switching to Win7 helped with that.

3. On my own install, I looked for advice and tuning options on the arch-wiki and mesa options. Tweaking mesa does not do a lot for performance (at least on my system: core2duo, 4g of RAM, ATI HD4570 512 MB - old Asus x61SL). But this https://wiki.archlinux.org/index.php/ga ... e_programs really helped a lot. The Linux-ck kernel easily doubled my performance in WAR (just my feeling, no fps or sth) and atm my wine-staging with ck-patch is compiling. If anyone is interested in the results, I'd gladly share them with You, IF the compile will work out (had to edit the patch file).

4. While tweaking I killed my prefix and had to set a new one. Experience was, that dxd9_36 is not enough for my system to get WAR working, however the full dxd9* as suggested by demorde does the trick for me.

So long everyone, have a nice WAAAGH!

acensi0n
Posts: 1

Re: [Guide] RoR Under Linux

Post#48 » Wed Feb 22, 2017 5:50 am

FYI, I installed and couldn't start launcher:

Code: Select all

err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe") not found
I was using wine 2.2 which default version is windows 7 rather then XP. There is an issue with installing dotnet40 on windows 7 which you can read about here: https://blogs.msdn.microsoft.com/astebn ... he-scenes/.

To resolve, run winecfg and set version to Windows XP. then run:

Code: Select all

winetricks --force dotnet40

Ads
User avatar
Vralkhir
Posts: 19

Re: [Guide] RoR Under Linux

Post#49 » Wed Feb 22, 2017 10:05 pm

acensi0n wrote:FYI, I installed and couldn't start launcher:

Code: Select all

err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe") not found
I was using wine 2.2 which default version is windows 7 rather then XP. There is an issue with installing dotnet40 on windows 7 which you can read about here: https://blogs.msdn.microsoft.com/astebn ... he-scenes/.

To resolve, run winecfg and set version to Windows XP. then run:

Code: Select all

winetricks --force dotnet40
Hey, will be good to know that, the next time I'll break my prefix ;)

Btw, RoR is working great with d3d9-gallium. Performance is now on par to using windows on my system. Rumors have it, that gallium-nine brings a lot more to amd-gpu's, but i cant confirm in lack of nv hardware.
Anyways, if anyone would like to try d3d-nine, You first need a wine-version with patched d3d9 support and turn it on in winecfg. Then make sure to put into the registry the following keys (its easy via winetricks):
1. Make those folders if they dont exist -> hkey_current_user -> software -> wine -> AppDefaults -> RoRLauncher.exe -> DllRedirects
2. In DllRedirects make a new string d3d9
3. Add to that new string the value "d3d9-csmt.dll" (without quotes)

That will prevent the launcher from starting in d3d9-nine mode, which will cause it to crash, but lets the game run with it.
Good luck and happy WAAAGH!

Korrus
Posts: 2

Re: [Guide] RoR Under Linux

Post#50 » Mon Feb 27, 2017 10:53 pm

I'm not getting past the data.myp error which is (I believe) the culprit for the characters not showing up in the game. lodctr /r is somehow broken for me so it does nothing to help, and all the links to download a working data.myp file are dead.

Anyone with a working data.myp, please upload it.

Who is online

Users browsing this forum: No registered users and 22 guests