Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:dota_2 [2024/04/29 20:22] – Sean Rhone | games:dota_2 [2024/04/30 18:42] (current) – Sean Rhone |
---|
| |
====== SteamCMD ====== | ====== SteamCMD ====== |
| |
| ===== Install ===== |
| |
* https://developer.valvesoftware.com/wiki/SteamCMD#Manually | * https://developer.valvesoftware.com/wiki/SteamCMD#Manually |
| |
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 |
| |
| ===== Login ===== |
| |
| **** |
| |
cd ~/'Steam/steamcmd' && ~/'Steam/steamcmd/steamcmd.sh' +login 'Espionage724' +quit && sync && cd ~ | cd ~/'Steam/steamcmd' && ~/'Steam/steamcmd/steamcmd.sh' +login 'Espionage724' +quit && sync && cd ~ |
====== steamclient.so ====== | ====== steamclient.so ====== |
| |
* ''steamclient.so'' is required and can be copied from SteamCMD, an official Steam client installation, or provided by a Steam emulator | * ''steamclient.so'' is required and can be copied from SteamCMD, a Steam install ((Linux 64-bit)), or provided by a Steam emulator |
| * Goldberg Emu and SteamCMD notes are provided below and can be ran freely to switch between them |
| |
===== Goldberg Emulator ===== | ===== Goldberg Emulator ===== |
===== Reset Settings ===== | ===== Reset Settings ===== |
| |
* TODO: Check this on Linux with ''host_writeconfig'' as Settings could not be saved on Windows | **** |
| |
ANV_NO_GPL='1' ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -novid -autoconfig | ANV_NO_GPL='1' ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -novid -autoconfig |
| |
| ==== Settings Save ==== |
| |
| * Open Dota 2's in-game console with the ''\'' key |
| * Type ''host_writeconfig'' |
| * :!: Errors with saving or finding a file path may require a Steam emulator if using Steam client's or SteamCMD's ''steamclient.so'' |
| |
===== Launch ===== | ===== Launch ===== |
| |
* :!: ''ANV_NO_GPL=1'' was required for Intel UHD 630 to prevent random crashing | * :!: 2023: ''ANV_NO_GPL=1'' and ''-vulkan_disable_graphics_pipeline_library'' was required for Intel UHD 630 to prevent random crashing, but doesn't seem needed as of 2024/04/29 |
| |
ANV_NO_GPL='1' ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -vulkan_disable_steam_shader_cache -vulkan_disable_graphics_pipeline_library -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings -console | ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -vulkan_disable_steam_shader_cache -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings -console |
| |
===== Bot Match ===== | ===== Bot Match ===== |
| |
* Immediately launches into a Bot Match | * Immediately launches into an All-pick Bot Match |
* Presumably ''3'' = Unfair difficulty ([[https://github.com/ValveSoftware/Dota2-Gameplay/discussions/15723|discussion]]) | * :?: Presumably ''3'' = Unfair difficulty ([[https://github.com/ValveSoftware/Dota2-Gameplay/discussions/15723|discussion]]) |
| |
ANV_NO_GPL='1' ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -vulkan_disable_steam_shader_cache -vulkan_disable_graphics_pipeline_library -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings -console +sv_lan '1' +dota_bot_set_difficulty '3' +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 -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings -console +sv_cheats '1' +sv_lan '1' +dota_bot_set_difficulty '3' +dota_start_ai_game '1' +map 'dota' |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
| |
mkdir -p ~/'.local/share/applications/Valve' && nano ~/'.local/share/applications/Valve/Dota 2.desktop' && sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/Valve/Dota 2.desktop' | mkdir -p ~/'.local/share/applications/Valve' && nano ~/'.local/share/applications/Valve/Dota 2.desktop' && sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/Valve/Dota 2.desktop' |
| |
| |
<code> | <code> |
Name=Dota 2 | Name=Dota 2 |
Categories=Game | Categories=Game |
Exec='/bin/bash' -c "ANV_NO_GPL='1' ~/'Steam/steamapps/common/SteamLinuxRuntime_sniper/run' -- ~/'Steam/steamapps/common/dota 2 beta/game/dota.sh' -vulkan_disable_steam_shader_cache -vulkan_disable_graphics_pipeline_library -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings -console +sv_lan '1' +dota_bot_set_difficulty '3' +dota_start_ai_game '1' +map 'dota'" | 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 -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings -console +sv_cheats '1' +sv_lan '1' +dota_bot_set_difficulty '3' +dota_start_ai_game '1' +map 'dota'" |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
| |
* TODO: Organize this | * TODO: Organize this |
* :!: Goldberg Emu didn't work and couldn't be figured out | * :!: No version of Goldberg Emu worked, and couldn't be figured out |
* :!: In-game settings saving to ''.cfg'' failed because of not finding an expected file path or env pointing to it, and presumably this is provided by Steam client; Goldberg didn't work on Windows but maybe provides the expected paths; also TODO test all of this on Linux | * :!: In-game settings saving to ''.cfg'' failed because of not finding an expected file path or env pointing to it, and presumably this is provided by Steam client; Goldberg didn't work on Windows but maybe provides the expected paths |
| |
* ''steamcmd.exe'' at ''C:\Program Files\570'' | * ''steamcmd.exe'' at ''C:\Program Files\570'' |
| |
<code>start "" "dota2.exe" -vulkan -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings -console +sv_lan "1" +sv_cheats "1" +dota_bot_set_difficulty "3" +dota_start_ai_game "1" +map "dota"</code> | <code>start "" "dota2.exe" -vulkan -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings -console +sv_lan "1" +sv_cheats "1" +dota_bot_set_difficulty "3" +dota_start_ai_game "1" +map "dota"</code> |
| |
| |