User Tools

Site Tools


games:windows:warcraft_3_1.26a

DotA AI

TODO

  • C:\Program Files (x86)\Warcraft III

Patch

"%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\War3TFT_126a_English.exe" --location "http://ftp.blizzard.com/pub/war3x/patches/pc/War3TFT_126a_English.exe" --progress-bar && "%SystemRoot%\System32\certutil.exe" -hashfile "%UserProfile%\Downloads\War3TFT_126a_English.exe" "SHA384" | "%SystemRoot%\System32\find.exe" "91fb4b2c954d41b4c63c91662f251dfccdd7ec86b798e905e2bedb051b42b76b2408fedf8dd41073648a4aad73bdd22b" && "%UserProfile%\Downloads\War3TFT_126a_English.exe"

Compat Settings

"%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles(x86)%\Warcraft III\war3.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES NoDTToDITMouseBatch" /f
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\war3.exe" /v "UseLargePages" /t "REG_DWORD" /d "1" /f

Firewall

Block

"%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Warcraft III" dir="in" action="block" profile="any" program="%ProgramFiles(x86)%\Warcraft III\war3.exe" & "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Warcraft III" dir="out" action="block" profile="any" program="%ProgramFiles(x86)%\Warcraft III\war3.exe"

Delete Rules

"%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Warcraft III"

Libraries

DSOAL

master

  • latest-master/DSOAL.7z
  • dsound.dll
  • dsoal-aldrv.dll
"%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\DSOAL.zip" --location "https://github.com/kcat/dsoal/releases/download/latest-master/DSOAL.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\DSOAL.zip" -C "%UserProfile%\Downloads" && MOVE /Y "%UserProfile%\Downloads\DSOAL_r"*".zip" "%UserProfile%\Downloads\DSOAL-master.zip" && "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\DSOAL-master.zip" --strip-components="2" -C "%ProgramFiles(x86)%\Warcraft III" "DSOAL/Win32/dsoal-aldrv.dll" "DSOAL/Win32/dsound.dll" && DIR /B "%ProgramFiles(x86)%\Warcraft III\dsoal-aldrv.dll" "%ProgramFiles(x86)%\Warcraft III\dsound.dll" & DEL /Q "%UserProfile%\Downloads\DSOAL-master.zip" "%UserProfile%\Downloads\DSOAL.zip"

alsoft.ini

"%SystemRoot%\System32\notepad.exe" "%ProgramFiles(x86)%\Warcraft III\alsoft.ini"
[general]
drivers = wasapi
resampler = bsinc48
stereo-mode = speakers
period_size = 64
periods = 16

[game_compat]
enable-sub-data-ext = true

# End

Settings

In-game

"%ProgramFiles(x86)%\Warcraft III\war3.exe" -window
  • Options → Video → Resolution: 1024x768x32
  • Options → Sound → Sound Provider: Creative Labs EAX2
  • Single Player → Profile Name

Registry

"%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" /v "lockfb" /t "REG_DWORD" /d "0" /f
"%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" /v "refreshrate" /t "REG_DWORD" /d "76" /f
"%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" /v "cinematicrefresh" /t "REG_DWORD" /d "76" /f
"%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" /v "vsync" /t "REG_DWORD" /d "1" /f
"%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" /v "softwaremidi" /t "REG_DWORD" /d "0" /f

Etc

"%ProgramFiles(x86)%\Warcraft III\war3.exe" -nativefullscr
"%ProgramFiles(x86)%\Warcraft III\war3.exe" -classic -nativefullscr
/usr/local/www/wiki/data/pages/games/windows/warcraft_3_1.26a.txt · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki