| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:dota_2_steamcmd [2025/04/20 17:05] – [Install] Sean Rhone | games:windows:dota_2_steamcmd [2026/04/10 18:17] (current) – Sean Rhone |
|---|
| ====== Information ====== | ====== Information ====== |
| |
| | * Dota 2 ((https://www.dota2.com/home)) |
| | * SteamCMD + Goldberg Steam Emulator |
| * https://blog.realmofespionage.xyz/?p=139 | * https://blog.realmofespionage.xyz/?p=139 |
| |
| ====== SteamCMD ====== | * Open Hyper AI ((https://github.com/forest0xia/dota2bot-OpenHyperAI)) ((2025/06/21: Not tested beyond 7.39 "Spring Forward")) |
| |
| * https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip | * :!: 2026/04/09: WIP |
| * ''steamcmd.exe'' to ''Steam'' folder | |
| |
| MKDIR "%ProgramFiles(x86)%\Steam" | ===== Prerequisites ===== |
| |
| "explorer.exe" "%ProgramFiles(x86)%\Steam" | * [[windows;10|Windows 10 (21H2)]] |
| | * [[programs;windows;steamcmd|SteamCMD]] |
| "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +quit | * [[programs;windows;git|Git]] |
| | |
| ====== Goldberg Emulator ====== | |
| | |
| * [[https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/jobs/4247811310/artifacts/download|Latest zip]] (([[https://mr_goldberg.gitlab.io/goldberg_emulator/|source]])) | |
| * ''experimental_steamclient\steamclient64.dll'' to ''Steam\emu'' folder | |
| | |
| MKDIR "%ProgramFiles(x86)%\Steam\emu" | |
| | |
| "explorer.exe" "%ProgramFiles(x86)%\Steam\emu" | |
| | |
| DIR "%ProgramFiles(x86)%\Steam\emu\steamclient64.dll" | |
| | |
| REG ADD "HKEY_CURRENT_USER\SOFTWARE\Valve\Steam\ActiveProcess" /v "SteamClientDll64" /t "REG_SZ" /d "C:\Program Files (x86)\Steam\emu\steamclient64.dll" /f | |
| | |
| ===== Settings ===== | |
| | |
| * [[https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/blob/master/Readme_release.txt?ref_type=heads|Readme_release.txt]] | |
| | |
| * ''force_account_name.txt'' for in-game username | |
| * All other files are empty | |
| | |
| MKDIR "%ProgramFiles(x86)%\Steam\emu\steam_settings" | |
| | |
| "notepad.exe" "%ProgramFiles(x86)%\Steam\emu\steam_settings\force_account_name.txt" | |
| | |
| Espionage724 | |
| | |
| "notepad.exe" "%ProgramFiles(x86)%\Steam\emu\steam_settings\disable_networking.txt" | |
| | |
| "notepad.exe" "%ProgramFiles(x86)%\Steam\emu\steam_settings\disable_overlay.txt" | |
| | |
| "notepad.exe" "%ProgramFiles(x86)%\Steam\emu\steam_settings\offline.txt" | |
| |
| ====== Dota 2 ====== | ====== Dota 2 ====== |
| ===== Install ===== | ===== Install ===== |
| |
| MKDIR "%ProgramFiles(x86)%\Steam\steamapps" | MKDIR "%ProgramFiles%\Steam\steamapps\common" & "%SystemRoot%\explorer.exe" "%ProgramFiles%\Steam\steamapps" |
| |
| "explorer.exe" "%ProgramFiles(x86)%\Steam\steamapps" | DIR /B "%ProgramFiles%\Steam\steamapps\appmanifest_570.acf" & DIR /AD /B "%ProgramFiles%\Steam\steamapps\common" | "%SystemRoot%\System32\find.exe" "dota 2 beta" |
| |
| "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" +quit | "%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" +quit |
| |
| "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" validate +quit | "%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" validate +quit |
| |
| ===== Initial Launch ===== | ===== Initial Launch ===== |
| * In-game console ''\'' -> ''host_writeconfig'' | * In-game console ''\'' -> ''host_writeconfig'' |
| |
| "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings | "%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings |
| |
| ====== Firewall ====== | ====== Firewall ====== |
| ===== Block ===== | ===== Block ===== |
| |
| "netsh.exe" advfirewall firewall add rule name="Dota 2" dir="in" action="block" profile="any" program="%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" | "netsh.exe" advfirewall firewall add rule name="Dota 2" dir="in" action="block" profile="any" program="%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" |
| |
| "netsh.exe" advfirewall firewall add rule name="Dota 2" dir="out" action="block" profile="any" program="%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" | "netsh.exe" advfirewall firewall add rule name="Dota 2" dir="out" action="block" profile="any" program="%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" |
| |
| ===== Delete Rules ===== | ===== Delete Rules ===== |
| ====== Scripts ====== | ====== Scripts ====== |
| |
| MKDIR "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)" | MKDIR "%ProgramFiles%\Steam\scripts\Dota 2 (570)" |
| |
| "explorer.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)" | "explorer.exe" "%ProgramFiles%\Steam\scripts\Dota 2 (570)" |
| |
| ===== Update ===== | ===== Update ===== |
| |
| "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" | "notepad.exe" "%ProgramFiles%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" +quit | "%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" +quit |
| |
| :: End</code> | :: End</code> |
| |
| "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" | "%ProgramFiles%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" |
| |
| ===== Validate ===== | ===== Validate ===== |
| |
| "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" | "notepad.exe" "%ProgramFiles%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" validate +quit | "%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" validate +quit |
| PAUSE | PAUSE |
| |
| :: End</code> | :: End</code> |
| |
| "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" | "%ProgramFiles%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" |
| |
| ===== Bot Scripts ===== | ===== Bot Scripts ===== |
| * https://github.com/forest0xia/dota2bot-OpenHyperAI/commits/main/ | * https://github.com/forest0xia/dota2bot-OpenHyperAI/commits/main/ |
| |
| "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" | "notepad.exe" "%ProgramFiles%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" |
| |
| <code> | <code> |
| "%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/forest0xia/dota2bot-OpenHyperAI.git" "%Temp%\OpenHyperAI" | "%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/forest0xia/dota2bot-OpenHyperAI.git" "%Temp%\OpenHyperAI" |
| |
| RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" | RMDIR /S /Q "%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" |
| MKDIR "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" | MKDIR "%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" |
| |
| XCOPY /E /Q /Y "%Temp%\OpenHyperAI\bots\" "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots\" | XCOPY /E /Q /Y "%Temp%\OpenHyperAI\bots\" "%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots\" |
| |
| RMDIR /S /Q "%Temp%\OpenHyperAI" | RMDIR /S /Q "%Temp%\OpenHyperAI" |
| :: End</code> | :: End</code> |
| |
| "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" | "%ProgramFiles%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" |
| | |
| === Git === | |
| | |
| * https://gitforwindows.org/ | |
| * Last tested: ''Git-2.49.0-64-bit.exe'' | |
| | |
| * No components required | |
| * Git from the command line and also from 3rd-party software | |
| |
| ==== Default ==== | ==== Default ==== |
| |
| "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat" | "notepad.exe" "%ProgramFiles%\Steam\scripts\Dota 2 (570)\default-bots.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" | RMDIR /S /Q "%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" |
| |
| :: End</code> | :: End</code> |
| |
| "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat" | "%ProgramFiles%\Steam\scripts\Dota 2 (570)\default-bots.bat" |
| |
| ====== Launcher Shortcuts ====== | ====== Launcher Shortcuts ====== |
| ===== Desktop ===== | ===== Desktop ===== |
| |
| * Right-click Desktop -> New -> Shortcut | ==== Dota 2 ==== |
| |
| <code>"%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings +sv_lan "1" +dota_bot_practice_difficulty "4" +dota_start_ai_game "1" +map "dota"</code> | <code>"%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings +sv_lan "1" +dota_bot_practice_difficulty "4" +dota_start_ai_game "1" +map "dota"</code> |
| |
| Dota 2 | Dota 2 |
| |
| ===== Start Menu ===== | ===== Start Menu ===== |
| |
| * Right-click -> New -> Shortcut | |
| |
| MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2" | MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2" |
| ==== Dota 2 ==== | ==== Dota 2 ==== |
| |
| <code>"%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings +sv_lan "1" +dota_bot_practice_difficulty "4" +dota_start_ai_game "1" +map "dota"</code> | <code>"%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings +sv_lan "1" +dota_bot_practice_difficulty "4" +dota_start_ai_game "1" +map "dota"</code> |
| |
| Dota 2 | Dota 2 |
| ==== Reset ==== | ==== Reset ==== |
| |
| <code>"%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings</code> | <code>"%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings</code> |
| |
| Reset In-Game Settings | Reset In-Game Settings |
| ==== Updater ==== | ==== Updater ==== |
| |
| "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" | "%ProgramFiles%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" |
| |
| Update | Update |
| ==== Validate ===== | ==== Validate ===== |
| |
| "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" | "%ProgramFiles%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" |
| |
| Verify Game Files | Verify Game Files |
| === Open Hyper AI === | === Open Hyper AI === |
| |
| "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" | "%ProgramFiles%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" |
| |
| Use Open Hyper AI Bots | Use Open Hyper AI Bots |
| === Default === | === Default === |
| |
| "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat" | "%ProgramFiles%\Steam\scripts\Dota 2 (570)\default-bots.bat" |
| |
| Use Default Bots | Use Default Bots |
| === Folder === | === Folder === |
| |
| "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts" | "%ProgramFiles%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts" |
| |
| Bots Folder | Bots Folder |