The following describes how to setup Path of Exile.
Prerequisites (Arch only):
Dataset
Create a ZFS dataset for wine bottle.
Copy zfs create -o mountpoint=legacy vault/sys/ $( hostname ) /home/john/local/share/wine
Add to fstab:
Copy vault/sys/chin/home/john/local/share/wine /home/john/.local/share/wine zfs rw,relatime,xattr,noacl 0 0
Mount it
Copy mkdir /home/john/.local/share/wine
mount -a
Configuration
Always use env WINEPREFIX=${HOME}/.local/share/wine/<wine bottle>
when creating bottles. Otherwise wine defaults to ~/.wine
.
Install dependencies:
Copy pacman -S mpg123 lib32-gst-plugins-base-libs pulseaudio-alsa lib32-libpulse lib32-alsa-plugins lib32-libldap lib32-openal
Copy pacaur -S ttf-ms-fonts ttf-tahoma
To create a 32bit bottle use WINEARCH=win32
.
Copy env WINEARCH=win32 WINEPREFIX= ${HOME} /.local/share/wine/pathofexile winecfg
Enable CSMT, optionallenable emulate virtual desktop and change DPI.
Tuning
Get videocard RAM:
Copy echo $"VRAM: "$(($(grep -P -o -i "(?<=memory:).*(?=kbytes)" /var/log/Xorg.0.log) / 1024))$" Mb"
Set in regedit. Copy the number.
Copy env WINEARCH=win32 WINEPREFIX= ${HOME} /.local/share/wine/pathofexile wine regedit
Go to HKEY_CURRENT_USER>Software>Wine
Add new string to Direct3D folder. Right click>New String, type "VideoMemorySize", add "VideoMemorySize" string, use video memory number
With Installer
Install dependencies
Copy env WINEARCH=win32 WINEPREFIX= ${HOME} /.local/share/wine/pathofexile winetricks -q glsl=disabled directx9 usp10 msls31
Download and execute installer.
Copy cd ${HOME} /.local/share/wine/pathofexile
wget https://www.pathofexile.com/downloads/PathOfExileInstaller.exe
env WINEARCH=win32 WINEPREFIX= ${HOME} /.local/share/wine/pathofexile wine ${HOME} /.local/share/wine/pathofexile/PathOfExileInstaller.exe
Run game launcher.
Copy env WINEDEBUG=-all WINEARCH=win32 WINEPREFIX= ${HOME} /.local/share/wine/pathofexile wine "${HOME}/.local/share/wine/pathofexile/drive_c/Program Files/Grinding Gear Games/Path of Exile/PathOfExile.exe" dbox -no-dwrite -noasync