mkdir -p ~/'Wine Prefixes' ~/'Downloads/Path of Exile' && wget 'https://www.pathofexile.com/downloads/PathOfExileInstaller.exe' -O ~/'Downloads/Path of Exile/PathOfExileInstaller.exe' && WINEPREFIX=~/'Wine Prefixes/Path of Exile' WINEARCH='win64' wine ~/'Downloads/Path of Exile/PathOfExileInstaller.exe'
mv ~/'Downloads/Path of Exile/Content.ggpk' ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile'
rm -Rf ~/'Downloads/Path of Exile' ~/'Desktop/Path of Exile.desktop' ~/'Desktop/Path of Exile.lnk' && sync
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/Path of Exile' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/Path of Exile/dxvk_state_cache' && sync
rm -Rf ~/'.local/share/applications/wine/Programs/Grinding Gear Games' && mkdir -p ~/'.local/share/applications/wine/Programs/Path of Exile'
nano ~/'.local/share/applications/wine/Programs/Path of Exile/Path of Exile.desktop'
[Desktop Entry] Name=Path of Exile Comment=You are an Exile, struggling to survive on the dark continent of Wraeclast, as you fight to earn power that will allow you to exact your revenge against those who wronged you. Categories=Game;AdventureGame;RolePlaying Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Path of Exile/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Path of Exile' WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Path of Exile' wine '/home/CHANGEME/Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe' --nologo Type=Application StartupNotify=true Path=/home/CHANGEME/Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile Icon=7F60_ClientIcon.0 Actions=Repair;Kill;Cache [Desktop Action Repair] Exec=gnome-terminal -- env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Path of Exile' wine '/home/CHANGEME/Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PackCheck.exe' Name=Check and Repair Data [Desktop Action Kill] Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Path of Exile' wineserver -k Name=Force-close [Desktop Action Cache] Exec=bash -c "rm -Rf ~/'Wine Prefixes/Path of Exile/dxvk_state_cache/'* ~/'Wine Prefixes/Path of Exile/mesa_shader_cache/'* ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/CachedHLSLShaders' ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/logs' ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile'*'.log' ~/'Wine Prefixes/Path of Exile/drive_c/windows/temp/'* ~/'Wine Prefixes/Path of Exile/drive_c/users/'$USER'/Temp/'* && sync && notify-send 'The Path of Exile cache has been cleaned.'" Name=Cache Clean-up
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Path of Exile/Path of Exile.desktop'
WINEPREFIX=~/'Wine Prefixes/Path of Exile' winecfg
WINEPREFIX=~/'Wine Prefixes/Path of Exile' winetricks
WINEPREFIX=~/'Wine Prefixes/Path of Exile' regedit
WINEPREFIX=~/'Wine Prefixes/Path of Exile' wineserver -k
cd ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile' &&
DXVK_HUD='full'
WINEDEBUG='-all'
DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/Path of Exile/dxvk_state_cache' MESA_GLSL_CACHE_DIR=~/'Wine Prefixes/Path of Exile' WINEPREFIX=~/'Wine Prefixes/Path of Exile' wine ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe'
cd ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile' && WINEPREFIX=~/'Wine Prefixes/Path of Exile' wine ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PackCheck.exe'
gio open ~/'Wine Prefixes/Path of Exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile'