Choose your operating system:
Windows
macOS
Linux
To convert an existing project into a template:
Move the project folder into the appropriate Templates directory:
Engine Version
Path
Launcher
C:\Program Files\Unreal Engine[Version]\Templates
Source
[ForkLocation]\UE4\Templates
Open Templates\[ProjectName]\Config\DefaultGame.ini and add or update the ProjectName variable.
[/Script/EngineSettings.GeneralProjectSettings] ProjectID=E6468D0243A591234122E38F92DB28F4 ProjectName=MyTestTemplate
Copy Templates\TP_FirstPerson\Config\TemplateDefs.ini to Templates\[ProjectName]\Config\TemplateDefs.ini. You can use any existing template folder in place of TP_FirstPerson.
Open Templates\[ProjectName]\Config\TemplateDefs.ini and update the LocalizedDisplayNames and LocalizedDescriptions variables.
[/Script/GameProjectGeneration.TemplateProjectDefs] LocalizedDisplayNames=(Language="en",Text="My Test Template") LocalizedDescriptions=(Language="en",Text="A project including starter content and a first person character set up in Blueprints.")
You may add an icon file in Templates\[ProjectName]\[ProjectName].png
You should now see the new template in the New Project dialog.
To see new templates, you only need to close and open the New Project dialog. However, if you make any changes to an existing template (for example LocalizedDisplayNames), the change will not appear until you restart the editor.