* 2025/03/31: Works good [[bsd;freebsd_14.2_xfce|14.2-R-p2]]! * [[games;windows;dota_2_steamcmd|Windows reference]] * https://forums.freebsd.org/threads/dota-2.79688/#post-682298 mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Dota 2' WINEARCH='win64' wineboot * SteamCMD 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 * Goldberg emu 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' * Restore backup mv ~/'Downloads/Dota 2/'* ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamapps' && sync * Install/update WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamcmd.exe' +login 'Espionage724' +app_update '570' +quit && sync * Validate WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamcmd.exe' +login 'Espionage724' +app_update '570' validate +quit && sync * Reset settings (DX11) 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 * Vulkan DLC * https://steamdb.info/depot/401536/history/?changeid=M:642425852607340895 WINEPREFIX=~/'.wine/Dota 2' wine ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamcmd.exe' +login 'Espionage724' +download_depot '570' '401536' '642425852607340895' +quit && sync mv -fv ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamapps/content/app_570/depot_401536/game/bin/win64/gfsdk_aftermath_lib.x64.dll' ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamapps/content/app_570/depot_401536/game/bin/win64/rendersystemvulkan.dll' ~/'.wine/Dota 2/drive_c/Program Files (x86)/Steam/steamapps/common/dota 2 beta/game/bin/win64' WINEPREFIX=~/'.wine/Dota 2' wineserver -k * Reset settings (VK) 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 -vulkan -novid -useforcedmparms -noforcemaccel -noforcemspd -nogammaramp -nomicsettings * Bot match (VK) 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' -vulkan -novid -nodev -nojoy -console +sv_lan '1' +dota_bot_practice_difficulty '4' +dota_start_ai_game '1' +map 'dota' ====== OHA TODO ====== * OpenHyperAI Git Update * https://github.com/forest0xia/dota2bot-OpenHyperAI/commits/main/ * :!: Not refactored for above paths 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