Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:bsd:wine:dota_2_classic_source1_steamcmd [2025/08/25 01:59] – Sean Rhone | games:bsd:wine:dota_2_classic_source1_steamcmd [2025/08/25 03:33] (current) – [Files] Sean Rhone |
---|
wget -O '/tmp/steamcmd-win32.zip' 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip' | ====== SteamCMD ====== |
| |
mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Dota 2 Classic' WINEARCH='win32' wineboot -i | mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Dota 2 Classic' WINEARCH='win32' wineboot -i || wget -O '/tmp/steamcmd-win32.zip' 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip' && mkdir -p ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam' && sha384sum '/tmp/steamcmd-win32.zip' | grep '6a1c547d186a4dc581ca356a2e68222d2ac41f2f94cc02fa8699a638a2c3e3245fa799130fe4258f109e1b8e50cf4f32' > '/dev/null' && bsdunzip -d ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam' '/tmp/steamcmd-win32.zip' |
| |
mkdir -p ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam' | ls ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamcmd.exe' |
| |
sha384sum '/tmp/steamcmd-win32.zip' | grep '6a1c547d186a4dc581ca356a2e68222d2ac41f2f94cc02fa8699a638a2c3e3245fa799130fe4258f109e1b8e50cf4f32' > '/dev/null' && bsdunzip -d ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam' '/tmp/steamcmd-win32.zip' | WINEPREFIX=~/'.wine/Dota 2 Classic' wine ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +quit |
| |
ls ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamcmd.exe' | ====== Files ====== |
| |
| mkdir -p ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic' |
| |
| * Content |
| |
| WINEPREFIX=~/'.wine/Dota 2 Classic' wine ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +download_depot '316570' '571' '23442636256031311' +quit |
| |
| cp -Rf ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamapps/content/app_316570/depot_571/'* ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic' |
| |
| * Win32 |
| |
| WINEPREFIX=~/'.wine/Dota 2 Classic' wine ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +download_depot '316570' '573' '7613852565918547628' +quit |
| |
| cp -Rf ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamapps/content/app_316570/depot_573/'* ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic' |
| |
| * English |
| |
| WINEPREFIX=~/'.wine/Dota 2 Classic' wine ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +download_depot '316570' '575' '1660329391753369241' +quit |
| |
| cp -Rf ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamapps/content/app_316570/depot_575/'* ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic' |
| |
| * Etc |
| |
| ln -s -f ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steam.dll' ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic/bin' |
| |
| rm -Rf ~/'.wine/Dota 2 Classic/drive_c/Program Files/Steam/steamapps/content/app_316570' |
| |
| ====== Goldberg Emulator ====== |
| |
| wget -O '/tmp/Goldberg_Lan_Steam_Emu_v0.2.2.zip' 'https://gitlab.com/Mr_Goldberg/goldberg_emulator/uploads/6e8225169c8eaabc6768431e7fe41dc3/Goldberg_Lan_Steam_Emu_v0.2.2.zip' && sha384sum '/tmp/Goldberg_Lan_Steam_Emu_v0.2.2.zip' | grep '700ded52bb3576822398d95dfd3233b2228f867c0fa8f8b1112dc465f10778773f0ac1c6aabea1760da1b1dbba8d970b' > '/dev/null' && bsdunzip -d '/tmp/Goldberg_Lan_Steam_Emu_v0.2.2' '/tmp/Goldberg_Lan_Steam_Emu_v0.2.2.zip' |
| |
| cp -n ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic/bin/steam_api.dll' ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic/bin/steam_api.dll~' |
| |
| mv -f '/tmp/Goldberg_Lan_Steam_Emu_v0.2.2/steam_api.dll' ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic/bin' |
| |
| ls -l ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic/bin/steam_api.dll' | grep '967680' |
| |
| ===== Settings ===== |
| |
| mkdir -p ~/'.wine/Dota 2 Classic/drive_c/users/'$USER'/AppData/Roaming/Goldberg SteamEmu Saves/settings' |
| |
| echo 'Espionage724' | tee ~/'.wine/Dota 2 Classic/drive_c/users/'$USER'/AppData/Roaming/Goldberg SteamEmu Saves/settings/account_name.txt' > '/dev/null' |
| |
| ====== Reset Settings ====== |
| |
| **** |
| |
| cd ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic' && WINEPREFIX=~/'.wine/Dota 2 Classic' wine ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic/dota.exe' -autoconfig -console -novid |
| |
| ====== Bot Match ====== |
| |
| **** |
| |
| cd ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic' && WINEPREFIX=~/'.wine/Dota 2 Classic' wine ~/'.wine/Dota 2 Classic/drive_c/Program Files/Dota 2 Classic/dota.exe' -novid +cl_interp '0' +sv_lan '1' +dota_bot_practice_difficulty '4' +dota_start_ai_game '1' +map 'dota' |
| |