mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Warcraft III' WINEARCH='win32' winecfg /v 'winxp' && sync && WINEPREFIX=~/'.wine/Warcraft III' WINEARCH='win32' wine ~/'Downloads/Warcraft III/War3-1.27-Installer-enUS-ROC/Installer.exe'
sync && WINEPREFIX=~/'.wine/Warcraft III' wine ~/'Downloads/Warcraft III/War3-1.27-Installer-enUS-TFT/Installer.exe'
wget --no-check-certificate -O ~/'Downloads/Warcraft III/War3TFT_127b_English.exe' 'https://ftp.blizzard.com/pub/war3x/patches/pc/War3TFT_127b_English.exe' && md5sum ~/'Downloads/Warcraft III/War3TFT_127b_English.exe' | grep '565cfe931dcdefd28a1026b6da4031f7' > '/dev/null' && sync && WINEPREFIX=~/'.wine/Warcraft III' wine ~/'Downloads/Warcraft III/War3TFT_127b_English.exe'
sync && WINEPREFIX=~/'.wine/Warcraft III' wine ~/'Downloads/War3TFT_127b'*'.exe'
mkdir -p ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom' && mv -v -f ~/'Downloads/Warcraft III/Maps/'*'.w3x' ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom/'
WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Misc' /v 'seeintromovie' /t 'REG_DWORD' /d '1' /f
cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && WINEDEBUG='' WINEPREFIX=~/'.wine/Warcraft III' wine explorer /desktop='WC3FT','1280x720' ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Frozen Throne.exe' -opengl -windowed
rm -Rf ~/'Downloads/Warcraft III' ~/'Desktop/Warcraft III.desktop' ~/'Desktop/Warcraft III - The Frozen Throne.desktop' && sync
WINEPREFIX=~/'.wine/Warcraft III' wine reg delete 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'gamma' /f
WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'cinematicbpp' /t 'REG_DWORD' /d '32' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'colordepth' /t 'REG_DWORD' /d '32' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'texcolordepth' /t 'REG_DWORD' /d '32' /f
WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'cinematicheight' /t 'REG_DWORD' /d '1080' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'cinematicwidth' /t 'REG_DWORD' /d '1920' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'resheight' /t 'REG_DWORD' /d '1080' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'reswidth' /t 'REG_DWORD' /d '1920' /f
WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'cinematicrefresh' /t 'REG_DWORD' /d '75' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'refreshrate' /t 'REG_DWORD' /d '75' /f
rm -Rf ~/'.local/share/applications/wine/Programs/Warcraft III' ~/'.config/menus/applications-merged/wine-Programs-Warcraft III'*'.menu' && update-desktop-database --quiet ~/'.local/share/applications' && mkdir -p ~/'.local/share/applications/wine/Programs/Warcraft III'
ee ~/'.local/share/applications/wine/Programs/Warcraft III/Warcraft III: Reign of Chaos.desktop' && update-desktop-database --quiet ~/'.local/share/applications'
[Desktop Entry] Name=Warcraft III: Reign of Chaos Categories=Game;AdventureGame;LogicGame;RolePlaying;StrategyGame Exec='/bin/sh' -c "cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && WINEPREFIX=~/'.wine/Warcraft III' wine ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Warcraft III.exe' -opengl" Type=Application StartupNotify=true Icon=3263_Warcraft III.0 StartupWMClass=war3.exe Actions=Kill;Notes; [Desktop Action Kill] Exec='/bin/sh' -c "WINEPREFIX=~/'.wine/Warcraft III' wineserver --kill" Name=Force-close Warcraft III [Desktop Action Notes] StartupNotify=false Exec=gio open 'https://wiki.realmofespionage.xyz/games;bsd;wine;warcraft_3' Name=Installation Notes # End
ee ~/'.local/share/applications/wine/Programs/Warcraft III/Warcraft III: The Frozen Throne.desktop' && update-desktop-database --quiet ~/'.local/share/applications'
[Desktop Entry] Name=Warcraft III: The Frozen Throne Categories=Game;AdventureGame;LogicGame;RolePlaying;StrategyGame Exec='/bin/sh' -c "cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && WINEPREFIX=~/'.wine/Warcraft III' wine ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Frozen Throne.exe' -opengl" Type=Application StartupNotify=true Icon=0128_Frozen Throne.0 StartupWMClass=war3.exe Actions=Kill;Notes; [Desktop Action Kill] Exec='/bin/sh' -c "WINEPREFIX=~/'.wine/Warcraft III' wineserver --kill" Name=Force-close Warcraft III [Desktop Action Notes] StartupNotify=false Exec=gio open 'https://wiki.realmofespionage.xyz/games;bsd;wine;warcraft_3' Name=Installation Notes # End
WINEPREFIX=~/'.wine/Warcraft III' winecfg
WINEPREFIX=~/'.wine/Warcraft III' winetricks
WINEPREFIX=~/'.wine/Warcraft III' regedit
WINEPREFIX=~/'.wine/Warcraft III' wineserver --kill
killall -9 'wine.bin'
cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && WINEDEBUG='' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Warcraft III.exe'
-opengl
cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && WINEDEBUG='' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Frozen Throne.exe'
-opengl
gio open ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III'
gio open ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom'
gio open ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Save'
mkdir -p ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom' && mv ~/'Downloads/'*'.w3m' ~/'Downloads/'*'.w3x' ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom'
cp -R ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom' ~/'Downloads'