User Tools

Site Tools


games:linux:dota_2_steamcmd

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:linux:dota_2_steamcmd [2025/03/29 07:18] Sean Rhonegames:linux:dota_2_steamcmd [2025/04/25 21:10] (current) – Debian 12 -> openSUSE TW Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * [[https://www.dota2.com/|Dota 2]] +  * Dota 2 ((https://www.dota2.com/home)) ((https://store.steampowered.com/app/570/Dota_2/)) 
-  * [[https://developer.valvesoftware.com/wiki/SteamCMD|SteamCMD]] +  * SteamCMD ((https://developer.valvesoftware.com/wiki/SteamCMD)) 
-  * [[https://mr_goldberg.gitlab.io/goldberg_emulator/|Goldberg Emulator]]+  * Goldberg Steam Emulator ((https://mr_goldberg.gitlab.io/goldberg_emulator/)) 
 +  * https://blog.realmofespionage.xyz/?p=139
  
-  * These notes allow downloading Dota 2 using SteamCMD and running it in offline mode ((I only do singleplayer local bot matches; LAN usage is untested))+  * These notes allow downloading Dota 2 using SteamCMD and running it in offline mode
  
 ===== Media ===== ===== Media =====
Line 13: Line 14:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[linux;distros;fedora_xfce|Fedora (Xfce)]]+  * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]]
  
-===== Resources =====+====== Quick Update ======
  
-  * https://github.com/SteamDatabase/GameTracking-Dota2/tree/master/game/bin/linuxsteamrt64+  * Dota 2 (570) + Sniper Runtime (1628350) + OHA bot scripts (Git)
  
-====== AIO Update ======+  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 ~
  
-  * Game + Scripts+====== Dependencies ======
  
-  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 ~+****
  
-  * Validate +  sudo zypper install git-core libvulkan_intel
- +
-  cd ~/'Steam/steamcmd' && ~/'Steam/steamcmd/steamcmd.sh' +login 'Espionage724' +app_update '570' validate +quit && sync && cd ~+
  
 ====== SteamCMD ====== ====== SteamCMD ======
Line 34: Line 33:
  
   * https://developer.valvesoftware.com/wiki/SteamCMD#Manually   * https://developer.valvesoftware.com/wiki/SteamCMD#Manually
- 
-  sudo dnf install 'glibc.i686' 
  
   wget -O '/tmp/steamcmd_linux.tar.gz' 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz' && mkdir -p ~/'Steam/steamcmd' && cd ~/'Steam/steamcmd' && tar -xvzf '/tmp/steamcmd_linux.tar.gz' && cd ~ && sync   wget -O '/tmp/steamcmd_linux.tar.gz' 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz' && mkdir -p ~/'Steam/steamcmd' && cd ~/'Steam/steamcmd' && tar -xvzf '/tmp/steamcmd_linux.tar.gz' && cd ~ && sync
Line 77: Line 74:
 ===== Install/Update ===== ===== Install/Update =====
  
-  * :!: This and ''validate'' may need re-ran several times if game data is restored from backup ((''Error! App '570' state is 0xE after update job.''))+  * :!: 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.''))
   * :?: Presumably this fresh-installs Dota 2 also   * :?: Presumably this fresh-installs Dota 2 also
  
Line 105: Line 102:
 ==== Permissions ==== ==== Permissions ====
  
-  chmod -v +x ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' ~/'Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2'+****
  
-  sudo restorecon -F -I -R -v ~/'Steam' ~/'.steam'+  chmod -v +x ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' ~/'Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2'
  
 ===== In-game Settings ===== ===== In-game Settings =====
Line 138: Line 135:
  
   ~/'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'   ~/'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 ===
 +
 +****
 +
 +  ~/'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 -vulkan_disable_graphics_pipeline_library -novid -nodev -nojoy -console +sv_lan '1' +dota_bot_practice_difficulty '4' +dota_start_ai_game '1' +map 'dota'
  
 ====== Bots Scripts ====== ====== 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''))   * 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''))
- 
-  sudo dnf install 'git-core' 
  
   gio open ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts'   gio open ~/'Steam/steamapps/common/dota 2 beta/game/dota/scripts/vscripts'
Line 161: Line 162:
 ====== Desktop Launcher ====== ====== Desktop Launcher ======
  
-  * TODO: Icon+  * TODO: Update scripts
  
-  mkdir -p ~/'.local/share/applications/Valve' && nano ~/'.local/share/applications/Valve/Dota 2 - Bots.desktop' && update-desktop-database --quiet ~/'.local/share/applications'+  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> <code>
Line 172: Line 173:
 Type=Application Type=Application
 StartupNotify=true StartupNotify=true
-Icon=TODO.0+Icon=/home/CHANGEME/Steam/steamapps/common/dota 2 beta/game/dota/resource/game-icon.bmp
  
 # End</code> # End</code>
/srv/www/wiki/data/attic/games/linux/dota_2_steamcmd.1743247091.txt.gz · Last modified: by Sean Rhone