Linux Support

Having a problem? Ask your fellow players for guidance and support.

Moderators: Devs, Guides

Post Reply
hitechhippie
Posts: 1
Joined: Sun May 05, 2019 3:35 am

Linux Support

Post by hitechhippie » Tue May 21, 2019 12:53 am

The RoF2 client works well with most later (3.X+) versions of WINE under Linux.

1. Download and unpack the RoF2 client into a desired folder.
2. Follow the instructions on the eqreborn website to manually patch your client with the patch file download.
3. Create a fresh wineprefix in a terminal:

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/.local/share/wineprefixes/eqreborn winecfg
4. If using wine staging, uncheck the CSMT box under the staging options.
5. Ensure you have winetricks installed on your system (see your Linux distro for how to install winetricks)
6. In a terminal:

Code: Select all

WINEPREFIX=$HOME/.local/share/wineprefixes/eqreborn winetricks d3dx9
7. In a terminal:

Code: Select all

WINEPREFIX=$HOME/.local/share/wineprefixes/eqreborn winetricks corefonts
8. In a terminal:

Code: Select all

WINEPREFIX=$HOME/.local/share/wineprefixes/eqreborn winetricks csmt=off
9. Either move the unpacked eqreborn client into your wineprefix drive_c folder or sym link it; I prefer sym link, like this:

Code: Select all

ln -s <path_to_your_eqreborn> $HOME/.local/share/wineprefixes/eqreborn/drive_c/eqreborn
10. Create a launcher script in /usr/local/bin/eqreborn to add all your desired graphical tweaks, here is mine:

Code: Select all

#!/bin/bash

# Mesa graphics opts
# This forces 16x Anisotrophic FIltering on Gallium (amdgpu and intel iris)
export R600_TEX_ANISO=16
# Forces 16x anti aliasing on Gallium based drivers (andgpu and intel iris)
export pp_jimenezmlaa=32
# Gives you a cool FPS and CPU utilization HUD in game
export GALLIUM_HUD=".x180.y10.w1.h1fps+cpu+GPU-load"
# Performance for multithreaded OpenGL calls (better FPS in Mesa/Gallium)
export mesa_glthread=true

# WINE opts
export WINEDEBUG=-all
export WINEARCH=win32
export WINEPREFIX=$HOME/.local/share/wineprefixes/eqreborn

cd $WINEPREFIX/drive_c/eqreborn
/usr/bin/wine eqgame.exe patchme
11. Launch

Code: Select all

eqreborn
anywhere in a terminal to play.

Post Reply