games:bsd:wine:dota_2_steamcmd
This is an old revision of the document!
Steam needs installed (to create registry stuff), then PrgFiles(x86)\Steam folder needs completely deleted, and Goldberg specific experimental dll from troubleshooting needs to be the only thing in new PrgFiles\Steam folder
If steamcmd reports offline/needs to be online, prefix can't be win7 (default win10 works)
- TODO: DXVK dxgi and d3d11, Wine dll overrides (native Dota 2 Vulkan works too Intel UHD 630)
mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Dota 2' WINEARCH='win64' wineboot
cd ~/'.wine/Dota 2/drive_c/steamcmd'
- Login
WINEPREFIX=~/'.wine/Dota 2' wine '/home/espionage724/.wine/Dota 2/drive_c/steamcmd/steamcmd.exe' +login 'Espionage724' +quit && sync
- Install/Update
WINEPREFIX=~/'.wine/Dota 2' wine '/home/espionage724/.wine/Dota 2/drive_c/steamcmd/steamcmd.exe' +login 'Espionage724' +app_update '570' +quit && sync
- Validate
WINEPREFIX=~/'.wine/Dota 2' wine '/home/espionage724/.wine/Dota 2/drive_c/steamcmd/steamcmd.exe' +login 'Espionage724' +app_update '570' validate +quit && sync
- Launch
cd ~/'.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game'
WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game/bin/win64/dota2.exe' -novid -nodev -nojoy -console
- Reset Settings
WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game/bin/win64/dota2.exe' -autoconfig -novid -nodev -nojoy -console
- Launch to Bot Match
WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game/bin/win64/dota2.exe' -novid -nodev -nojoy -console +sv_lan '1' +dota_bot_set_difficulty '3' +dota_start_ai_game '1' +map 'dota'
- OpenHyperAI Git Update
rm -Rf ~/'.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/bots' ~/'.wine/Dota 2/drive_c/steamcmd/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' ~/'.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/OpenHyperAI' && mv ~/'.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game/dota/scripts/vscripts/OpenHyperAI/bots' ~/'.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game/dota/scripts/vscripts' && sync
Vulkan
- Download depot on smallest Vulkan-related DLC (some are just dlls, other are shader cache 1GB)
- TODO: Theoretically OpenGL might be downloadable with last-known depot number containing the dlls; check if Dota 2 win64 ever had OGL
cd ~/'.wine/Dota 2/drive_c/steamcmd'
WINEPREFIX=~/'.wine/Dota 2' wine '/home/espionage724/.wine/Dota 2/drive_c/steamcmd/steamcmd.exe' +login 'Espionage724' +download_depot '570' '401536' +quit && sync
/home/espionage724/.wine/Dota 2/drive_c/steamcmd/steamapps/content/app_570/depot_401536/game/bin/win64/
gfsdk_aftermath_lib.x64.dll
rendersystemvulkan.dll
- Move above files to:
/home/espionage724/.wine/Dota 2/drive_c/steamcmd/steamapps/common/dota 2 beta/game/bin/win64/
TODO
mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Dota 2' WINEARCH='win32' wineboot
mkdir -p ~/'.wine/Dota 2/drive_c/Program Files/Steam' && gio open ~/'.wine/Dota 2/drive_c/Program Files/Steam'
WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +quit
WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +download_depot '570' '401531' '1822535442835152089' +quit
Real TODO
mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Dota 2' WINEARCH='win64' wineboot
wget -O '/tmp/steamcmd.zip' 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip' && md5sum '/tmp/steamcmd.zip' | grep 'c320ecf2c5d82b605e81bc11a8078c39' && mkdir -p ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam' && bsdunzip '/tmp/steamcmd.zip' -d ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam' -o
WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamcmd.exe' +login 'Espionage724' +quit && sync
wget -O '/tmp/Goldberg_Lan_Steam_Emu_master.zip' 'https://gitlab.com/Mr_Goldberg/goldberg_emulator/-/jobs/4247811310/artifacts/download' && mkdir -p '/tmp/Goldberg_Lan_Steam_Emu_master' ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/emu/steam_settings' && bsdunzip '/tmp/Goldberg_Lan_Steam_Emu_master.zip' -d '/tmp/Goldberg_Lan_Steam_Emu_master' -o && mv -f '/tmp/Goldberg_Lan_Steam_Emu_master/experimental_steamclient/steamclient64.dll' ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/emu'
WINEPREFIX=~/'.wine/Dota 2' wine REG ADD 'HKEY_CURRENT_USER\SOFTWARE\Valve\Steam\ActiveProcess' /v 'SteamClientDll64' /t 'REG_SZ' /d 'C:\Program Files (x86)\Steam\emu\steamclient64.dll' /f
touch ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/emu/steam_settings/offline.txt' ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/emu/steam_settings/disable_overlay.txt' ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/emu/steam_settings/disable_networking.txt' && echo 'Espionage724' | tee ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/emu/steam_settings/force_account_name.txt'
mv ~/'Downloads/Dota 2/'* ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamapps' && sync
WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamcmd.exe' +login 'Espionage724' +app_update '570' +quit && sync
WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamcmd.exe' +login 'Espionage724' +app_update '570' validate +quit && sync
cd ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamapps/common/dota 2 beta/game' && WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamapps/common/dota 2 beta/game/bin/win64/dota2.exe' -autoconfig -console -dx11 -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings
/srv/www/wiki/data/attic/games/bsd/wine/dota_2_steamcmd.1743377401.txt.gz · Last modified: by Sean Rhone