====== Information ====== * Dota 2 * Build 9968 (revision 8806282) * Pre-Crownfall ((Before [[https://steamdb.info/patchnotes/14102378/|Crownfall]] 7.36 (April 18, 2024); No Hero Facets)) ((Files based around patch [[https://steamdb.info/patchnotes/13942756/|13942756]])) * https://blog.realmofespionage.xyz/?p=194 * DX11 ((Vulkan API is DLC; see [[games;bsd;wine;dota_2_steamcmd?rev=1747611205#todo|FreeBSD]] under ''Reset settings (DX11)'')) * 64-bit ===== Prerequisites ===== * [[windows;11_ltsc|Windows 11 (24H2)]] ====== 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 ====== Dota 2 Pre-Crownfall ====== ===== Folder ===== **** MKDIR "%ProgramFiles%\Dota 2 Pre-Crownfall\EmptySteamDepot" ===== Files ===== ==== Content ==== * https://steamdb.info/depot/373301/history/?changeid=M:345077333630773072 * 22811 files, 3169 MB * ''373301'' manifest ''345077333630773072'' "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "373301" "345077333630773072" +quit ROBOCOPY "%ProgramFiles(x86)%\Steam\steamapps\content\app_570\depot_373301" "%ProgramFiles%\Dota 2 Pre-Crownfall" /MOVE /E ==== Win32 ==== * https://steamdb.info/depot/373302/history/?changeid=M:3223891623566010794 * 8 files, 396 MB * ''373302'' manifest ''3223891623566010794'' "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "373302" "3223891623566010794" +quit ROBOCOPY "%ProgramFiles(x86)%\Steam\steamapps\content\app_570\depot_373302" "%ProgramFiles%\Dota 2 Pre-Crownfall" /MOVE /E ==== Win64 ==== * https://steamdb.info/depot/373303/history/?changeid=M:4910157572659539857 * 93 files, 113 MB * ''373303'' manifest ''4910157572659539857'' "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "373303" "4910157572659539857" +quit ROBOCOPY "%ProgramFiles(x86)%\Steam\steamapps\content\app_570\depot_373303" "%ProgramFiles%\Dota 2 Pre-Crownfall" /MOVE /E ==== Content 2 ==== * https://steamdb.info/depot/381451/history/?changeid=M:1614127368160565013 * 20 files, 1054 MB * ''381451'' manifest ''1614127368160565013'' "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381451" "1614127368160565013" +quit ROBOCOPY "%ProgramFiles(x86)%\Steam\steamapps\content\app_570\depot_381451" "%ProgramFiles%\Dota 2 Pre-Crownfall" /MOVE /E ==== Content 3 ==== * https://steamdb.info/depot/381452/history/?changeid=M:5177112179094656049 * 20 files, 1325 MB * ''381452'' manifest ''5177112179094656049'' "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381452" "5177112179094656049" +quit ROBOCOPY "%ProgramFiles(x86)%\Steam\steamapps\content\app_570\depot_381452" "%ProgramFiles%\Dota 2 Pre-Crownfall" /MOVE /E ==== Content 4 ==== * https://steamdb.info/depot/381453/history/?changeid=M:2704118242337151326 * 20 files, 1094 MB * ''381453'' manifest ''2704118242337151326'' "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381453" "2704118242337151326" +quit ROBOCOPY "%ProgramFiles(x86)%\Steam\steamapps\content\app_570\depot_381453" "%ProgramFiles%\Dota 2 Pre-Crownfall" /MOVE /E ==== Content 5 ==== * https://steamdb.info/depot/381454/history/?changeid=M:5297697076786798060 * 20 files, 795 MB * ''381454'' manifest ''5297697076786798060'' "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381454" "5297697076786798060" +quit ROBOCOPY "%ProgramFiles(x86)%\Steam\steamapps\content\app_570\depot_381454" "%ProgramFiles%\Dota 2 Pre-Crownfall" /MOVE /E ==== Content 6 ==== * https://steamdb.info/depot/381455/history/?changeid=M:3533452766342976639 * :!: 344 files, 16385 MB * ''381455'' manifest ''3533452766342976639'' "%ProgramFiles(x86)%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381455" "3533452766342976639" +quit ROBOCOPY "%ProgramFiles(x86)%\Steam\steamapps\content\app_570\depot_381455" "%ProgramFiles%\Dota 2 Pre-Crownfall" /MOVE /E ==== Clean-up ==== * Back-up/archive folder ((''50.2 GB'', 23,336 Files, 2,020 Folders)) RMDIR /S /Q "%ProgramFiles(x86)%\Steam\steamapps\content\app_570" "explorer.exe" "%ProgramFiles%\Dota 2 Pre-Crownfall" ====== Goldberg Emulator ====== * Forces Dota 2 to offline, sets display name, and allows settings save/persistence ((in-game video settings don't stick otherwise; settings save to Steam user account and relies on Steam APIs)) * [[https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/jobs/4247811310/artifacts/download|Latest zip]] (([[https://mr_goldberg.gitlab.io/goldberg_emulator/|source]])) * Last tested: ''Goldberg_Lan_Steam_Emu_master--475342f0.zip'' * ''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" ====== Compat Settings ====== **** REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\dota2.exe" /v "UseLargePages" /t "REG_DWORD" /d "1" /f ====== Firewall ====== ===== Block ===== **** "netsh.exe" advfirewall firewall add rule name="Dota 2 Pre-Crownfall" dir="in" action="block" profile="any" program="%ProgramFiles%\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe" && "netsh.exe" advfirewall firewall add rule name="Dota 2 Pre-Crownfall" dir="out" action="block" profile="any" program="%ProgramFiles%\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe" ===== Delete Rules ===== **** "netsh.exe" advfirewall firewall delete rule name="Dota 2 Pre-Crownfall" ====== Initial Settings ====== * ''-autoconfig'' * Configure Video settings * In-game console ''\'' -> ''host_writeconfig'' "%ProgramFiles%\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe" -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings host_writeconfig ====== Launcher Shortcuts ====== ===== Desktop ===== ==== Dota 2 ==== "%ProgramFiles%\Dota 2 Pre-Crownfall\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 ===== **** MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2 Pre-Crownfal" & "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2 Pre-Crownfal" ==== Dota 2 ==== "%ProgramFiles%\Dota 2 Pre-Crownfall\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%\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe" -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings Reset In-Game Settings ==== Install Notes ==== "https://wiki.realmofespionage.xyz/games;windows;dota_2_pre-crownfall_steamcmd" Install Notes