默认执行命令
UE4Editor-Cmd.exe "MyProject\MyProject.uproject" -run=Cook -MapIniSection=AllMaps -I18NPreset= -TargetPlatform=Android_ETC1 -buildmachine -Unversioned -fileopenlog -abslog="C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+4.7\Cook.txt" -stdout -FORCELOGFLUSH -CrashForUAT -unattended -AllowStdOutLogVerbosity
坑:
以下文件和目录会被默认包含打包,关闭的开关暂时没有找到
D:\Program Files\Epic Games\4.7\Engine\Build build.properties False
D:\Program Files\Epic Games\4.7\Engine\Content\Internationalization\English * True
D:\Program Files\Epic Games\4.7\Engine\Config * True
D:\Program Files\Epic Games\4.7\Engine\Content\Stats * True
D:\Program Files\Epic Games\4.7\Engine\Content\Slate * True
D:\Program Files\Epic Games\4.7\Engine\Content\Localization\Engine\en *.locres True
D:\Program Files\Epic Games\4.7\Engine\Plugins *.uplugin True
C:\Users\Administrator\Documents\Unreal Projects\MyProject *.uproject False
C:\Users\Administrator\Documents\Unreal Projects\MyProject\Config * True
C:\Users\Administrator\Documents\Unreal Projects\MyProject\Saved\Cooked\Android_ETC1 * True
![](https://i-blog.csdnimg.cn/blog_migrate/d1a2fb65fa3ccabaec813c1b584264ef.jpeg)
By EnoroF QQ:245219247