====== Information ====== * Dota 2 ((https://www.dota2.com/home)) ((https://store.steampowered.com/app/570/Dota_2/)) * 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/93e4608611196bdbb5d4aae7549cb25d840ae13a|~93e4608]] ===== Prerequisites ===== * [[windows:10|Windows 10 (21H2)]] ====== Dependencies ====== ===== Git ===== * https://gitforwindows.org/ * Last tested: ''Git-2.49.0-64-bit.exe'' * Git from the command line and also from 3rd-party software ====== Launch Flags ====== * https://dota2.fandom.com/wiki/Launch_Options -autoconfig -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings ====== Bots Scripts ====== * Bot scripts are automatically loaded and used if present ((apparently relies on a ''Local Dev Script'' feature and the scripts being in a ''bots'' folder at ''dota\scripts\vscripts'')) * Use official Bot match from Main Menu ((no need for a custom lobby; as long as scripts are in the bots folder they'll be used (check Hero names); FretBots with OHA scripts [[https://steamcommunity.com/workshop/filedetails/discussion/3246316298/4764334012741504141/|needs more conf]])) "explorer.exe" "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts" ===== Open Hyper AI ===== * https://github.com/forest0xia/dota2bot-OpenHyperAI/commits/main/bots RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" "%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/forest0xia/dota2bot-OpenHyperAI.git" "%Temp%\OpenHyperAI" && 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" ===== Default Bots ===== * Removing the ''game\dota\scripts\vscripts\bots'' folder results in using default/built-in bot scripts RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" ====== Scripts ====== MKDIR "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)" "explorer.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)" ===== Open Hyper AI ===== "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 ====== ===== Start Menu ===== * Right-click -> New -> Shortcut DEL /F "%AppData%\Microsoft\Windows\Start Menu\Programs\Steam\Dota 2.url" "%UserProfile%\Desktop\Dota 2.url" MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2" "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2" ==== OHA Bot Scripts ==== "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" Open Hyper AI ==== Default Bots ==== "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat" Default Bots ==== Bots Folder ==== "explorer.exe" "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts" Bots Folder ==== Install Notes ==== "https://wiki.realmofespionage.xyz/games;windows;dota_2" Install Notes