User Tools

Site Tools


games:windows:dota_2_steamcmd

This is an old revision of the document!


Information

SteamCMD

MKDIR "%ProgramFiles(x86)%\Steam"
"explorer.exe" "%ProgramFiles(x86)%\Steam"
"%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +quit

Goldberg Emulator

  • 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

  • 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

"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

netsh 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 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"

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

"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"

Git

  • No components required
  • Git from the command line and also from 3rd-party software

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

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

Install Notes

"https://wiki.realmofespionage.xyz/games;windows;dota_2_steamcmd"
Install Notes
/srv/www/wiki/data/attic/games/windows/dota_2_steamcmd.1743979251.txt.gz · Last modified: by Sean Rhone