@echo off
set KeyName="HKEY_CURRENT_USER\Software\Battle.net\Configuration"
set ValueName="Server List"
set data="grunt1.91d2.cn"
call :SetRegedit
set KeyName="HKEY_CURRENT_USER\Software\Blizzard Entertainment\Diablo II"
set ValueName="Aux Battle.net"
call :SetRegedit
set ValueName="BNETIP"
call :SetRegedit
set KeyName="HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III"
set ValueName="Battle.net Gateways"
set data="1001.00.grunt1.91d2.cn 8 91d2 "
call :SetRegedit
set KeyName="HKEY_CURRENT_USER\Software\Battle.net\Configuration"
set data="1000.03.grunt1.91d2.cn 0 91d2 "
call :SetRegedit
echo y|copy "91d2(bbs.91d2.cn)
天使辅助 V4.4.exe" launcher.exe
start launcher.exe
exit
:SetRegedit
reg add %KeyName% /v %ValueName% /t reg_sz /d %data% /f
goto :eof
参数说明:KeyName是注册表位置,ValueName是表项,data是写入值
使用说明:
将全文保存为*.bat文件("*"可以取你想取的名字),要放在游戏目录下运行.
[ 此帖被q309499712在2021-05-09 23:02重新编辑 ]