1 Star 0 Fork 0

OrangePeel / MetaHookSv

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install-to-BlueShift.bat 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
hzqst 提交于 2021-10-16 12:09 . Fix #64
echo off
set LauncherExe=metahook.exe
set LauncherMod=bshift
for /f "delims=" %%a in ('"%~dp0SteamAppsLocation/SteamAppsLocation" 130 InstallDir') do set GameDir=%%a
if "%GameDir%"=="" goto fail
echo -----------------------------------------------------
echo Copying files...
copy "%~dp0Build\svencoop.exe" "%GameDir%\%LauncherExe%" /y
copy "%~dp0Build\SDL2.dll" "%GameDir%\" /y
copy "%~dp0Build\FreeImage.dll" "%GameDir%\" /y
xcopy "%~dp0Build\svencoop" "%GameDir%\%LauncherMod%" /y /e
powershell $shell = New-Object -ComObject WScript.Shell;$shortcut = $shell.CreateShortcut(\"MetaHook for BlueShift.lnk\");$shortcut.TargetPath = \"%GameDir%\%LauncherExe%\";$shortcut.WorkingDirectory = \"%GameDir%\";$shortcut.Arguments = \"-game %LauncherMod%\";$shortcut.Save();
echo -----------------------------------------------------
echo done
pause
exit
:fail
echo Failed to locate GameInstallDir of Half-Life : Blue Shift, please make sure Steam is running and you have Half-Life : Blue Shift installed correctly.
pause
exit
C++
1
https://gitee.com/OrangePee1/MetaHookSv.git
git@gitee.com:OrangePee1/MetaHookSv.git
OrangePee1
MetaHookSv
MetaHookSv
main

搜索帮助