====== 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; :!: OHA scripts with FretBots may be different)) explorer "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts" ===== Dependencies ===== * 2024/08/14: Git ==== Git ==== * https://www.git-scm.com/download/win * Last tested: ''Git-2.46.0-64-bit.exe'' * :!: Git from the command line and also from 3rd-party software (make sure it's selected) ===== 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" ===== Open Hyper AI ===== * https://github.com/forest0xia/dota2bot-OpenHyperAI * https://steamcommunity.com/sharedfiles/filedetails/?id=3246316298 RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" && git 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" ====== Troubleshooting ====== * Goldberg Emu works with ''Goldberg_Lan_Steam_Emu_master--475342f0.zip\experimental_steamclient\steamclient64.dll'' at real Steam's root in ''Program Files (x86)\Steam\steamclient64.dll'' ([[https://developer.valvesoftware.com/wiki/Zh/Counter-Strike_2/Dedicated_Servers#Failed_to_initialize_Steamworks_SDK_for_gameserver._Failed_to_load_module_.27C:.5CProgram_Files_.28x86.29.5CSteam.5Csteamclient64.dll.27|CS2 dedi-server hint]]) ===== Bad host_writeconfig ===== * No Goldberg Emu, official Steam client not running, ''dota2.exe'' ran directly ((doesn't happen with Goldberg ''steamclient64.dll'' at Steam's folder and Steam not running)) > host_writeconfig [SplitScreen] Writing configuration for slot 0 [SplitScreen] Tried to write clouded file, but we don't have Steam interfaces? Probably bug with order of initialization, or trying to run without steam Requested non-existent write path USRLOCAL! Requested non-existent write path USRLOCAL! [SplitScreen] Error writing user config file 'cfg/user_keys_0_slot0.vcfg' Requested non-existent write path USRLOCAL! [SplitScreen] Tried to write clouded file, but we don't have Steam interfaces? Probably bug with order of initialization, or trying to run without steam Requested non-existent write path USRLOCAL! Requested non-existent write path USRLOCAL! [SplitScreen] Error writing user config file 'cfg/user_convars_0_slot0.vcfg'