记录一下UE4右键修复
新建文本文档,输入以下内容,再把后缀改成.bat 然后管理员权限执行
需要源码版引擎
需要注意的地方:
SET UnrealEngineDir=F:\Engine //这个F:\Engine是你的引擎安装根目录
set LauncherPath=%UnrealEngineDir%\Engine\Binaries\Win64\UnrealVersionSelector.exe
//这个UnrealVersionSelector.exe 根据个人情况目录可能不一致,调整为自己的路径
:: UnrealProjectMenuRegistration.cmd
::
:: This batch file will try to find where the Unreal Engine is installed, then update your registry
:: to register the Unreal Project File type (and its right click menu for things such as generating
:: Visual Studio project files, and launching)
::
:: Run as an Administrator, as it's required for writing to HKLM.
::
:: Author: David Moore <david@sadrobot.co.nz>
@ECHO OFF
echo.
echo Locating where Unreal Engine is installed by checking the Windows registry...
::FOR /F "tokens=2*" %%A IN ('reg query "HKLM\SOFTWARE\EpicGames\Unreal Engine" /v "INSTALLDIR"') DO (
:: SET "UnrealEngineDir=%%B"

本文提供了一个UE4右键修复的批处理脚本教程,通过修改注册表来注册Unreal Project文件类型及其右键菜单选项,如生成Visual Studio项目文件和启动游戏等。适用于需要在Windows环境下对UE4项目进行管理和开发的用户。
最低0.47元/天 解锁文章
2580

被折叠的 条评论
为什么被折叠?



