| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:dota_2_steamcmd [2025/09/21 03:17] – Sean Rhone | games:linux:dota_2_steamcmd [2025/12/23 03:20] (current) – Chat with Wayland seems fine Sean Rhone |
|---|
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] | * [[linux:distros:ubuntu|Ubuntu]] |
| |
| ====== Quick Update ====== | ====== Quick Update ====== |
| **** | **** |
| |
| sudo zypper install 'git-core' | sudo apt install git lib32gcc-s1 |
| |
| ====== SteamCMD ====== | ====== SteamCMD ====== |
| ==== Runtime ==== | ==== Runtime ==== |
| |
| * 2025/03/29: ''Steam Linux Runtime 3.0 (sniper)'' (''1628350'') | * 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]])) | * :?: 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]])) |
| |
| === Test === | === Test === |
| |
| * 2025/04/26: Console can't be typed to directly with ''SDL_VIDEO_DRIVER=wayland'' but accepts copy/paste/Enter for ''host_writeconfig'' | * ''dota.sh'' mods below //likely// revert with ''validate''; TODO: Update script |
| * Above applies to in-game chat too (OHA's ''!pos 2'') | |
| * ''dota.sh'' //likely// reverts 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 -vulkan_disable_graphics_pipeline_library -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' --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' | sed -i 's/SDL_VIDEO_DRIVER=x11/SDL_VIDEO_DRIVER=wayland/g' ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' |
| |
| cat ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' | grep 'SDL_VIDEO_DRIVER=' | * X11 |
| |
| host_writeconfig | sed -i 's/SDL_VIDEO_DRIVER=wayland/SDL_VIDEO_DRIVER=x11/g' ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' |
| |
| !pos 2 | * Check |
| | |
| | cat ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' | grep 'SDL_VIDEO_DRIVER=' |
| |
| ====== Bots Scripts ====== | ====== Bots Scripts ====== |