User Tools

Site Tools


games:windows:dota_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
games:windows:dota_2 [2025/01/12 21:58] – [Git] Sean Rhonegames:windows:dota_2 [2025/04/16 00:49] (current) – [Git] Sean Rhone
Line 1: Line 1:
-====== Bots Scripts ======+====== Information ======
  
-  * 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'')) +  * Dota 2 ((https://www.dota2.com/home)) ((https://store.steampowered.com/app/570/Dota_2/))
-  * 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"+  * 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]]
  
-===== Dependencies =====+===== Prerequisites =====
  
-  * 2024/08/14Git+  * [[windows:10|Windows 10 (21H2)]]
  
-==== Git ====+====== Dependencies ======
  
-  * https://www.git-scm.com/download/win +===== Git ===== 
-  * Last tested: ''Git-2.47.1-64-bit.exe''+ 
 +  * https://gitforwindows.org
 +  * Last tested: ''Git-2.49.0-64-bit.exe''
  
   * Git from the command line and also from 3rd-party software   * Git from the command line and also from 3rd-party software
 +
 +====== Launch Flags ======
 +
 +  * https://dota2.fandom.com/wiki/Launch_Options
 +
 +<code>-autoconfig</code>
 +
 +<code>-dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings</code>
 +
 +====== 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 ===== ===== Default Bots =====
Line 22: Line 47:
  
   RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots"   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 ===== ===== Open Hyper AI =====
  
-  * https://github.com/forest0xia/dota2bot-OpenHyperAI +  "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat"
-  * https://steamcommunity.com/sharedfiles/filedetails/?id=3246316298+
  
-  RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots"+<code> 
 +@echo off
  
-  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"+"%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/forest0xia/dota2bot-OpenHyperAI.git" "%Temp%\OpenHyperAI"
  
-====== Troubleshooting ======+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"
  
-  * 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]])+XCOPY /E /Q /Y "%Temp%\OpenHyperAI\bots\" "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots\"
  
-===== Bad host_writeconfig =====+RMDIR /S /Q "%Temp%\OpenHyperAI"
  
-  * 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))+:: End</code> 
 + 
 +  "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\OpenHyperAI-update.bat" 
 + 
 +===== Default ===== 
 + 
 +  "notepad.exe" "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat"
  
 <code> <code>
-> host_writeconfig +@echo off 
-[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 +RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots" 
-Requested non-existent write path USRLOCAL! + 
-Requested non-existent write path USRLOCAL! +:: End</code> 
-[SplitScreen] Error writing user config file 'cfg/user_keys_0_slot0.vcfg' + 
-Requested non-existent write path USRLOCAL! +  "%ProgramFiles(x86)%\Steam\scripts\Dota 2 (570)\default-bots.bat" 
-[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! +====== Launcher Shortcuts ====== 
-Requested non-existent write path USRLOCAL! + 
-[SplitScreen] Error writing user config file 'cfg/user_convars_0_slot0.vcfg'</code>+===== 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
  
/srv/www/wiki/data/attic/games/windows/dota_2.1736737080.txt.gz · Last modified: by Sean Rhone