====== Information ======
* Dota 2
* Build 9968 (revision 8806282)
* Pre-Crownfall ((Before [[https://steamdb.info/patchnotes/14102378/|Crownfall]] 7.36 (April 18, 2024); this version doesn't have Hero Facets)) ((Files based around patch [[https://steamdb.info/patchnotes/13942756/|13942756]]))
* https://blog.realmofespionage.xyz/?p=194
* DX11 + Vulkan
* 64-bit
===== Prerequisites =====
* [[windows;10|Windows 10 (21H2)]]
* [[programs;windows;steamcmd|SteamCMD + Goldberg Emu]]
====== Dota 2 Pre-Crownfall ======
===== Restore =====
MKDIR "%ProgramFiles%\Steam\steamapps\common" & "%SystemRoot%\explorer.exe" "%ProgramFiles%\Steam\steamapps\common"
DIR /B "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe"
===== Files =====
==== Folder ====
MKDIR "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall\EmptySteamDepot"
==== Content ====
* https://steamdb.info/depot/373301/history/?changeid=M:345077333630773072
* 22811 files, 3169 MB
* ''373301'' manifest ''345077333630773072''
"%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "373301" "345077333630773072" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_373301" "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall" /MOVE /E
==== Win32 ====
* https://steamdb.info/depot/373302/history/?changeid=M:3223891623566010794
* 8 files, 396 MB
* ''373302'' manifest ''3223891623566010794''
"%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "373302" "3223891623566010794" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_373302" "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall" /MOVE /E
==== Win64 ====
* https://steamdb.info/depot/373303/history/?changeid=M:4910157572659539857
* 93 files, 113 MB
* ''373303'' manifest ''4910157572659539857''
"%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "373303" "4910157572659539857" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_373303" "%ProgramFiles%\Steam\steamapps\common\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%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381451" "1614127368160565013" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_381451" "%ProgramFiles%\Steam\steamapps\common\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%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381452" "5177112179094656049" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_381452" "%ProgramFiles%\Steam\steamapps\common\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%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381453" "2704118242337151326" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_381453" "%ProgramFiles%\Steam\steamapps\common\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%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381454" "5297697076786798060" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_381454" "%ProgramFiles%\Steam\steamapps\common\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%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "381455" "3533452766342976639" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_381455" "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall" /MOVE /E
==== Vulkan ====
* https://steamdb.info/depot/401536/history/?changeid=M:2280473185934245640
* 3 files, 2 MB
* ''401536'' manifest ''2280473185934245640''
"%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "401536" "2280473185934245640" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_401536" "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall" /MOVE /E
==== Linux ====
* https://steamdb.info/depot/373306/history/?changeid=M:1187457404753184778
* 70 files, 478 MB
* ''373306'' manifest ''1187457404753184778''
* [[games:linux:dota_2_pre-crownfall_steamcmd|Notes]] ((optional, but nice to include for [[#back-up|back-up]]))
"%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +download_depot "570" "373306" "1187457404753184778" +quit
"%SystemRoot%\System32\Robocopy.exe" "%ProgramFiles%\Steam\steamapps\content\app_570\depot_373306" "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall" /MOVE /E
==== Back-up ====
* ''51.4 GB'', 23,409 Files, 2,022 Folders
"%SystemRoot%\explorer.exe" "%ProgramFiles%\Steam\steamapps\common"
Dota 2 Pre-Crownfall
=== 7z ===
* ''2023 folders, 23409 files, 55288915417 bytes (52 GiB)''
* Expects [[windows:10#zip|7-Zip]]
"%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%UserProfile%\Downloads\Dota 2 Pre-Crownfall (win64 + Linux).zip" "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall"
==== Clean-up ====
RMDIR /S /Q "%ProgramFiles%\Steam\steamapps\content\app_570"
====== Compat Settings ======
"%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES NoDTToDITMouseBatch" /f
"%SystemRoot%\System32\reg.exe" 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 =====
"%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Dota 2 Pre-Crownfall" dir="in" action="block" profile="any" program="%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe" & "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Dota 2 Pre-Crownfall" dir="out" action="block" profile="any" program="%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe"
===== Delete Rules =====
"%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Dota 2 Pre-Crownfall"
====== Initial Settings ======
* ''-autoconfig''
* ''-dx11'' ((Vulkan can be used instead with ''-vulkan'', also on [[#launcher_shortcuts|shortcuts]]))
* Configure Video settings
* In-game console ''\'' -> ''host_writeconfig''
"%ProgramFiles%\Steam\steamapps\common\Dota 2 Pre-Crownfall\game\bin\win64\dota2.exe" -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings
host_writeconfig
-vulkan
====== Launcher Shortcuts ======
===== Desktop =====
==== Dota 2 ====
"%ProgramFiles%\Steam\steamapps\common\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-Crownfall" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Dota 2 Pre-Crownfall"
==== Dota 2 ====
"%ProgramFiles%\Steam\steamapps\common\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 Settings ====
"%ProgramFiles%\Steam\steamapps\common\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