User Tools

Site Tools


games:linux:dota_2_pre-crownfall_steamcmd

Differences

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

Link to this comparison view

Next revision
Previous revision
games:linux:dota_2_pre-crownfall_steamcmd [2026/01/06 02:41] – created Sean Rhonegames:linux:dota_2_pre-crownfall_steamcmd [2026/05/11 05:08] (current) Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * Dota 2 ((https://www.dota2.com/home)) ((https://store.steampowered.com/app/570/Dota_2/)+  * Dota 2 
-  * SteamCMD ((https://developer.valvesoftware.com/wiki/SteamCMD)) +  * Build9968 (revision 8806282
-  * Goldberg Steam Emulator ((https://mr_goldberg.gitlab.io/goldberg_emulator/)) +  * 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=139+  * https://blog.realmofespionage.xyz/?p=194 
 +  * 64-bit
  
-  * These notes allow downloading Dota 2 using SteamCMD and running it in offline mode+===== Prerequisites =====
  
-  * :!2026/01/06: WIP ([[games:windows:dota_2_pre-crownfall_steamcmd|Windows notes]])+  * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]] 
 +  * [[programs:linux:steamcmd|SteamCMD + Goldberg Emu]]
  
-===== Media =====+====== Dota 2 Pre-Crownfall ======
  
-  * [[https://www.youtube.com/watch?v=6rElYyThb4U|Quick-swap Bot Scripts]]+===== Files =====
  
-===== Prerequisites =====+==== Content ====
  
-  * [[linux:distros:ubuntu|Ubuntu]]+  * https://steamdb.info/depot/373301/history/?changeid=M:345077333630773072 
 +  * 22811 files, 3169 MB 
 +  * ''373301'' manifest ''345077333630773072''
  
-====== Quick Update ======+  ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'download_depot' '570' '373301' '345077333630773072' +'quit'
  
-  * Dota 2 (570) + Sniper Runtime (1628350) + OHA bot scripts (Git)+  mkdir -p ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && cp -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_373301/game/'~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && rm -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_373301'
  
-  cd ~/'Steam/steamcmd' && ~/'Steam/steamcmd/steamcmd.sh' +login 'Espionage724' +app_update '570' +quit && ~/'Steam/steamcmd/steamcmd.sh' +login 'Espionage724' +app_update '1628350' +quit && rm -Rf ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/bots' ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/OpenHyperAI' && git clone --branch 'main' --depth '1' --recurse-submodules 'https://github.com/forest0xia/dota2bot-OpenHyperAI.git' ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/OpenHyperAI' && mv ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/OpenHyperAI/bots' ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts' && sync && cd ~+==== Linux ====
  
-====== Dependencies ======+  * https://steamdb.info/depot/373306/history/?changeid=M:1187457404753184778 
 +  * 70 files, 478 MB 
 +  * ''373306'' manifest ''1187457404753184778''
  
-****+  ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'download_depot' '570' '373306' '1187457404753184778' +'quit'
  
-  sudo apt install git lib32gcc-s1+  mkdir -p ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && cp -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_373306/game/'* ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && rm -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_373306'
  
-====== SteamCMD ======+==== Content 2 ====
  
-===== Install =====+  * https://steamdb.info/depot/381451/history/?changeid=M:1614127368160565013 
 +  * 20 files, 1054 MB 
 +  * ''381451'' manifest ''1614127368160565013''
  
-  * https://developer.valvesoftware.com/wiki/SteamCMD#Manually+  ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'download_depot' '570' '381451' '1614127368160565013' +'quit'
  
-  wget -O '/tmp/steamcmd_linux.tar.gz' 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz' && mkdir -~/'Steam/steamcmd' && cd ~/'Steam/steamcmd' && tar -xvzf '/tmp/steamcmd_linux.tar.gz&& cd ~ && sync+  mkdir -p ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && cp -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381451/game/'~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && rm -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381451'
  
-===== Login =====+==== Content 3 ====
  
-****+  https://steamdb.info/depot/381452/history/?changeid=M:5177112179094656049 
 +  20 files, 1325 MB 
 +  ''381452'' manifest ''5177112179094656049''
  
-  cd ~/'Steam/steamcmd' && ~/'Steam/steamcmd/steamcmd.sh' +login 'Espionage724' +quit && sync && cd ~+  ~/'Steam/steamcmd/steamcmd.sh' +'login'Espionage724' +'download_depot' '570' '381452' '5177112179094656049' +'quit'
  
-====== steamclient.so ======+  mkdir -p ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && cp -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381452/game/'* ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && rm -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381452'
  
-  * ''steamclient.so'' is required and can be copied from SteamCMD, a Steam install ((Linux 64-bit)), or provided by a Steam emulator +==== Content 4 ====
-  * Goldberg Emu notes are provided below+
  
-===== Goldberg Emulator =====+  * https://steamdb.info/depot/381453/history/?changeid=M:2704118242337151326 
 +  * 20 files, 1094 MB 
 +  * ''381453'' manifest ''2704118242337151326''
  
-  * https://mr_goldberg.gitlab.io/goldberg_emulator/+  ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'download_depot' '570' '381453' '2704118242337151326' +'quit'
  
-==== Install ====+  mkdir -p ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && cp -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381453/game/'* ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && rm -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381453'
  
-  * :!: This relies on [[https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/jobs/4247811310/artifacts/download|this URL]] which looks fragile, but comes from the above download page+==== Content 5 ====
  
-  rm -Rf '/tmp/Goldberg_Lan_Steam_Emu_master.zip' '/tmp/Goldberg_Lan_Steam_Emu' && wget -O '/tmp/Goldberg_Lan_Steam_Emu_master.zip' 'https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/jobs/4247811310/artifacts/download&& unzip '/tmp/Goldberg_Lan_Steam_Emu_master.zip-d '/tmp/Goldberg_Lan_Steam_Emu&& mkdir -p ~/'.steam/sdk64/steam_settings&& mv '/tmp/Goldberg_Lan_Steam_Emu/linux/x86_64/steamclient.so' ~/'.steam/sdk64' && ls ~/'.steam/sdk64/steamclient.so' && rm -Rf '/tmp/Goldberg_Lan_Steam_Emu_master.zip' '/tmp/Goldberg_Lan_Steam_Emu&& sync+  https://steamdb.info/depot/381454/history/?changeid=M:5297697076786798060 
 +  * 20 files, 795 MB 
 +  * ''381454'' manifest ''5297697076786798060''
  
-==== Settings ====+  ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'download_depot' '570' '381454' '5297697076786798060' +'quit'
  
-  * [[https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/blob/master/Readme_release.txt|Readme_release.txt]] +  mkdir -p ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && cp -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381454/game/'~/'Steam/steamapps/common/Dota 2 Pre-Crownfall&& rm -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381454'
-  * ''offline'', ''disable_overlay'', ''disable_networking'', ''force_account_name''+
  
-  touch ~/'.steam/sdk64/steam_settings/offline.txt' ~/'.steam/sdk64/steam_settings/disable_overlay.txt' ~/'.steam/sdk64/steam_settings/disable_networking.txt' && echo 'Espionage724' | tee ~/'.steam/sdk64/steam_settings/force_account_name.txt'+==== Content 6 ====
  
-====== Dota 2 ======+  * https://steamdb.info/depot/381455/history/?changeid=M:3533452766342976639 
 +  * :!: 344 files, 16385 MB 
 +  * ''381455'' manifest ''3533452766342976639''
  
-===== Restore Backup =====+  ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'download_depot' '570' '381455' '3533452766342976639' +'quit'
  
-****+  mkdir -p ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && cp -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381455/game/'~/'Steam/steamapps/common/Dota 2 Pre-Crownfall' && rm -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570/depot_381455'
  
-  mkdir -p ~/'Steam/steamapps' && mv ~/'Downloads/Dota 2/'* ~/'Steam/steamapps' && sync+==== Back-up ====
  
-===== Install/Update =====+  * ''50.4 GB'', 25320 items (23305 files, 2015 folders)
  
-  * :!: This and ''validate'' may need re-ran multiple times if game data is restored from backup ((''Error! App '570' state is 0xE after update job.'')) +  gio open ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall'
-  * This fresh-installs Dota 2 also+
  
-  cd ~/'Steam/steamcmd' && ~/'Steam/steamcmd/steamcmd.sh' +login 'Espionage724' +app_update '570' +quit && sync && cd ~ +==== Permissions ====
- +
-==== Check/Repair Data ====+
  
 **** ****
  
-  cd ~/'Steam/steamcmd&& ~/'Steam/steamcmd/steamcmd.sh+login 'Espionage724' +app_update '570' validate +quit && sync && cd ~+  chmod +x ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall/dota.sh' ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall/bin/linuxsteamrt64/dota2'
  
-==== Runtime ==== +==== Clean-up ====
- +
-  * 2025/12/23: ''Steam Linux Runtime 3.0 (sniper)'' (''1628350''+
-  * :?: TODO: Better way to check, update, and future-update (([[https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/docs/container-runtime.md|container-runtime.md]] implies ''medic'' is next; [[https://steamdb.info/search/?a=all&q=Steam+Linux+Runtime|SteamDB]])) +
- +
-  cd ~/'Steam/steamcmd' && ~/'Steam/steamcmd/steamcmd.sh' +login 'Espionage724' +app_update '1628350' +quit && sync && cd ~ +
- +
-  ls --directory ~/'Steam/steamapps/common/SteamLinuxRuntime'+
- +
-  cat ~/'Steam/steamapps/'*'.acf' | grep 'Runtime' +
- +
-  cat ~/'Steam/steamapps/'*'.acf' | grep -e 'sniper' -e '1628350' +
- +
-  gio open ~/'Steam/steamapps/common/' +
- +
-==== Permissions ====+
  
 **** ****
  
-  chmod -v +x ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' ~/'Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2' +  rm -Rf ~/'Steam/steamcmd/linux32/steamapps/content/app_570'
- +
-===== In-game Settings ===== +
- +
-  * This resets in-game Settings and starts Dota 2+
  
-  ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -autoconfig -vulkan_disable_steam_shader_cache -novid -nodev -nojoy -console+====== Initial Settings ======
  
-==== Settings Save ====+  * ''-autoconfig'' 
 +  * Configure Video settings 
 +  * In-game console ''\'' -> ''host_writeconfig''
  
-  - Configure in-game Settings +  LD_LIBRARY_PATH=~/'Steam/steamapps/common/Dota 2 Pre-Crownfall/bin/linuxsteamrt64LD_PRELOAD='/lib64/libfreetype.so.6MESA_VK_WSI_PRESENT_MODE='fifo' ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall/bin/linuxsteamrt64/dota2' -autoconfig -vulkan_disable_steam_shader_cache -novid -nodev -nojoy -console +'sv_lan' '1'
-  - Open Dota 2's in-game Console with the ''\'' key +
-  Type ''host_writeconfig''+
  
   host_writeconfig   host_writeconfig
  
-  * :!: Errors with saving or finding a file path may require a Steam emulator if using an official ''steamclient.so''+====== Main Menu ======
  
-===== Launch =====+****
  
-  * Main Menu+  LD_LIBRARY_PATH=~/'Steam/steamapps/common/Dota 2 Pre-Crownfall/bin/linuxsteamrt64' LD_PRELOAD='/lib64/libfreetype.so.6' MESA_VK_WSI_PRESENT_MODE='fifo' ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall/bin/linuxsteamrt64/dota2' -vulkan_disable_steam_shader_cache -novid -nodev -nojoy -console +'sv_lan' '1'
  
-  ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -vulkan_disable_steam_shader_cache -novid -nodev -nojoy -console+====== Bot Match ======
  
-==== Bot Match ==== +****
- +
-  Immediately launches into an Unfair All-pick Bot Match +
- +
-  :!: ''+sv_cheats 1'' allows controlling bots and [[https://dota2.fandom.com/wiki/Cheats|cheats]], but may cause click targeting to not work as-expected ((instead of clicking-off a selected enemy hero and automatically moving your hero, it'll keep the enemy hero selected and **not** move your hero)) +
- +
-  ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -vulkan_disable_steam_shader_cache -novid -nodev -nojoy -console  +sv_lan '1' +dota_bot_practice_difficulty '4' +dota_start_ai_game '1' +map 'dota' +
- +
-=== Test === +
- +
-  * ''dota.sh'' mods below //likely// revert with ''validate''; TODO: Update script +
- +
-  ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' --devel --systemd-scope --import-vulkan-layers --remove-game-overlay -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -vulkan_disable_steam_shader_cache -novid -nodev -nojoy -console +sv_lan '1' +dota_bot_practice_difficulty '4' +dota_start_ai_game '1' +map 'dota' +
- +
-  * Wayland +
- +
-  sed -i 's/SDL_VIDEO_DRIVER=x11/SDL_VIDEO_DRIVER=wayland/g' ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' +
- +
-  * X11 +
- +
-  sed -i 's/SDL_VIDEO_DRIVER=wayland/SDL_VIDEO_DRIVER=x11/g' ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' +
- +
-  * Check +
- +
-  cat ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' | grep 'SDL_VIDEO_DRIVER=' +
- +
-====== 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'')) +
- +
-  gio open ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts' +
- +
-===== Default Bots ===== +
- +
-  * Removing the ''vscripts/bots'' folder results in using default/built-in bot scripts +
- +
-  rm -Rf ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/bots' +
- +
-===== Open Hyper AI ===== +
- +
-  * https://github.com/forest0xia/dota2bot-OpenHyperAI/commits/main/ +
- +
-  rm -Rf ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/bots' ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/OpenHyperAI' && git clone --branch 'main' --depth '1' --recurse-submodules 'https://github.com/forest0xia/dota2bot-OpenHyperAI.git' ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/OpenHyperAI' && mv ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/OpenHyperAI/bots' ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts' && sync +
- +
-====== Desktop Launcher ====== +
- +
-  * TODO: Update scripts +
- +
-  mkdir -p ~/'.local/share/applications/Valve' && nano ~/'.local/share/applications/Valve/Dota 2 - Bots.desktop' && sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/Valve/Dota 2 - Bots.desktop' && update-desktop-database --quiet ~/'.local/share/applications' +
- +
-<code> +
-[Desktop Entry] +
-Name=Dota 2 +
-Categories=Game +
-Exec='/bin/bash' -c "~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -vulkan_disable_steam_shader_cache -novid -nodev -nojoy -console +sv_lan '1' +dota_bot_practice_difficulty '4' +dota_start_ai_game '1' +map 'dota'" +
-Type=Application +
-StartupNotify=true +
-Icon=/home/CHANGEME/Steam/steamapps/common/dota 2 beta/game/dota/resource/game-icon.bmp +
- +
-# End</code> +
- +
-====== Troubleshooting ====== +
- +
-  * https://developer.valvesoftware.com/wiki/SteamCMD#Known_Issues +
-  * https://wiki.archlinux.org/title/Steam/Troubleshooting+
  
-  ldd ~/'Steam/steamcmd/linux32/steamcmd'+  LD_LIBRARY_PATH=~/'Steam/steamapps/common/Dota 2 Pre-Crownfall/bin/linuxsteamrt64' LD_PRELOAD='/lib64/libfreetype.so.6' MESA_VK_WSI_PRESENT_MODE='fifo' ~/'Steam/steamapps/common/Dota 2 Pre-Crownfall/bin/linuxsteamrt64/dota2' -vulkan_disable_steam_shader_cache -novid -nodev -nojoy -console +'sv_lan' '1' +'dota_bot_practice_difficulty' '4' +'dota_start_ai_game' '1' +'map' 'dota'
  
/srv/www/wiki/data/attic/games/linux/dota_2_pre-crownfall_steamcmd.1767685276.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki