====== Information ====== * Dota 2 ((https://www.dota2.com/home)) ((https://store.steampowered.com/app/570/Dota_2/)) * SteamCMD + Goldberg Steam Emulator * https://blog.realmofespionage.xyz/?p=139 * Open Hyper AI ((https://github.com/forest0xia/dota2bot-OpenHyperAI)) ((https://steamcommunity.com/sharedfiles/filedetails/?id=3246316298)) * Last tested commit: [[https://github.com/forest0xia/dota2bot-OpenHyperAI/commit/20004418444ba99caf3694690b976fc55411e8bf|2000441]] ===== Prerequisites ===== * [[windows:10|Windows 10 (21H2)]] ====== Dependencies ====== ===== Git ===== * https://gitforwindows.org/ * Last tested: ''Git-2.49.0-64-bit.exe'' * For [[#open_hyper_ai|Open Hyper AI]] * Git from the command line and also from 3rd-party software ====== SteamCMD ====== * https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip * ''steamcmd.exe'' to ''Steam'' folder MKDIR "%ProgramFiles(x86)%\Steam" "explorer.exe" "%ProgramFiles(x86)%\Steam" "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +quit ====== 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 ====== ===== Install ===== MKDIR "%ProgramFiles(x86)%\Steam\steamapps\common" "explorer.exe" "%ProgramFiles(x86)%\Steam\steamapps" "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" +quit "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" validate +quit ===== Initial Launch ===== * ''-autoconfig'' * Configure Video settings * 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 ====== Firewall ====== ===== 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="out" action="block" profile="any" program="%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" ===== Delete Rules ===== **** "netsh.exe" advfirewall firewall delete rule name="Dota 2" ====== Scripts ====== MKDIR "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)" "explorer.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)" ===== Update ===== "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" @echo off "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" +quit :: End "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" ===== Validate ===== "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" @echo off "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +app_update "570" validate +quit PAUSE :: End "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" ===== Bot Scripts ===== ==== Open Hyper AI ==== * https://github.com/forest0xia/dota2bot-OpenHyperAI/commits/main/ "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" @echo off "%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" MKDIR "%ProgramFiles(x86)%\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\" RMDIR /S /Q "%Temp%\OpenHyperAI" :: End "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" ==== Default ==== "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat" @echo off RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" :: End "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat" ====== Launcher Shortcuts ====== ===== Desktop ===== * Right-click Desktop -> New -> Shortcut "%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" Dota 2 ===== Start Menu ===== * Right-click -> New -> Shortcut MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2" "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2" ==== Dota 2 ==== "%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" Dota 2 ==== Reset ==== "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings Reset In-Game Settings ==== Updater ==== "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\update-steamcmd.bat" Update ==== Validate ===== "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\validate-steamcmd.bat" Verify Game Files ==== Bot Scripts ==== === Open Hyper AI === "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" Use Open Hyper AI Bots === Default === "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat" Use Default Bots === Folder === "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts" Bots Folder ==== Install Notes ==== "https://wiki.realmofespionage.xyz/games;windows;dota_2_steamcmd" Install Notes