EVE with just wine - privacy-friendly

  1. Why this?

Running EVE on Steam or Lutris requires UNS (unprivileged namespaces) to be enabled, which is incorrectly sold as a security feature. In reality it opens the door to a massive attack surface that unnecessarily obliterates linux security.

Steam: I love what steam has done to move gaming to linux, and they do a great job and all… but steam is too nosy. Always poking into directories it shouldn’t, and telemetry is aggressive.

So, here it is, a stable, privacy-friendly EVE online install script.
Tested on kernel 7.1.3 and wine-staging 11.13-1
Install gamemode, lib32-gamemode, wine-staging, and winetricks first.


#!/bin/env bash

#: Enter the path where you wish to install EVE:
EVE_DIR=$HOME/.wine_eve
DX11_CACHE=$EVE_DIR/cache/dxvk
DX12_CACHE=$EVE_DIR/cache/vkd3d
MESA_CACHE=$EVE_DIR/cache/mesa

#: Setup
mkdir -p $EVE_DIR $DX11_CACHE $DX12_CACHE $MESA_CACHE
cd $EVE_DIR
WINEPREFIX=$EVE_DIR WINEDLLOVERRIDES=winemenubuilder.exe=d wineboot -u

#: We remove symlinks to actual user’s files
for i in Desktop Documents Pictures Music Videos Downloads ; do rm -f $EVE_DIR/drive_c/users/$USER/$i && mkdir $EVE_DIR/drive_c/users/$USER/$i ; done
rm -f $EVE_DIR/drive_c/users/$USER/AppData/Roaming/Microsoft/Windows/Templates

#: Optionals
#: Under drives, remove all but C:
#: Under staging, check the boxes up.
WINEPREFIX=$EVE_DIR winecfg

#: Install prerequisites
WINEPREFIX=$EVE_DIR winetricks -q corefonts d3dcompiler_47 dxvk vcrun2022 msdelta

#: Automating the installation of gecko can be a headache, so we do a trick: we launch explorer, which will ask whether to install gecko. Say yes, then close the windows.
WINEPREFIX=$EVE_DIR wine iexplore

#: Download and Install EVE
cd $EVE_DIR/drive_c/users/Public/
curl -L -O https://launcher.ccpgames.com/eve-online/release/win32/x64/eve-online-latest+Setup.exe
WINEPREFIX=$EVE_DIR wine eve-online-latest+Setup.exe


Launch the game

This is basic. A cleaner and more advanced setup will be maintained in this github.

Wine probably created a launcher in the start menu. You may edit it to match.
You can also alias-it in ~/.bashrc

WINEPREFIX=~/.wine_eve DXVK_STATE_CACHE_PATH=~/.wine_eve/cache/dxvk/ MESA_SHADER_CACHE_DIR=~/.wine_eve/cache/mesa/ VKD3D_SHADER_CACHE_PATH=~/.wine_eve/cache/vkd3d/ VKD3D_CONFIG=force_raw_va_cbv
gamemoderun wine C:/users/xen/AppData/Roaming/Microsoft/Windows/Start\ Menu/Programs/CCP\ Games/EVE\ Online.lnk

Make sure to switch to DirectX 11 in the launcher options. It runs better than DX12 as of date.

Additional tip: First time after you logon, go sit outside Jita or other trade hub for a bit to fill in that cache. Then, good as you are!


That is it.

4 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.