Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
games:dota_2 [2024/04/27 22:24] – Sean Rhone | games:dota_2 [2024/04/29 20:30] – 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 ~ |
| |
====== Goldberg Emulator ====== | ====== steamclient.so ====== |
| |
| * ''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 ===== |
| |
* https://mr_goldberg.gitlab.io/goldberg_emulator/ | * https://mr_goldberg.gitlab.io/goldberg_emulator/ |
| * This is a Steam emulator |
| |
===== Install ===== | ==== Install ==== |
| |
* :!: 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 | * :!: 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 |
rm -Rf '/tmp/Goldberg_Lan_Steam_Emu_master.zip' '/tmp/Goldberg_Lan_Steam_Emu' ~/'.steam/sdk64/steamclient.so' && 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 | rm -Rf '/tmp/Goldberg_Lan_Steam_Emu_master.zip' '/tmp/Goldberg_Lan_Steam_Emu' ~/'.steam/sdk64/steamclient.so' && 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 |
| |
===== Settings ===== | ==== Settings ==== |
| |
* [[https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/blob/master/Readme_release.txt|Readme_release.txt]] | * [[https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/blob/master/Readme_release.txt|Readme_release.txt]] |
| |
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' | 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' |
| |
| ===== SteamCMD ===== |
| |
| **** |
| |
| mkdir -p ~/'.steam/sdk64' && ln --force --symbolic ~/'Steam/steamcmd/linux64/steamclient.so' ~/'.steam/sdk64' |
| |
====== Dota 2 ====== | ====== Dota 2 ====== |
===== 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 |
===== Launch ===== | ===== Launch ===== |
| |
* :!: ''ANV_NO_GPL=1'' is required for Intel UHD 630 to prevent random crashing | * :!: ''ANV_NO_GPL=1'' was required for Intel UHD 630 to prevent random crashing |
| |
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 | 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 |
| |
* TODO: Organize this | * TODO: Organize this |
| * :!: Goldberg Emu didn't work 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 |
| |
* ''steamcmd.exe'' at ''C:\Program Files\570'' | * ''steamcmd.exe'' at ''C:\Program Files\570'' |