Change project name ONLY for packaged game?

After some experimentation, I’ve finally found a solution:

  1. Go to the project folder: C:\Unreal\ > rename it to

  2. Rename [old_project_name].uproject in the same folder (this determines the name of the final project folder name)

  3. Go here C:\Unreal\ [new_project_name] \Binaries\Win64 > Rename all of the files to the new project name (you will want to create backups of the old versions first, just in case. Rename them to something like [old_project_name_OLD]

  4. Download Notepad++

  5. Open each of those files in the Binaries folder (.exp, .lib, .pdp, .target) in notepad++ > search > replace > “Find what:” [old_project_name], “Replace with:” [new_project_name] > save all files

288135-unreal-notepad-projectrename-01.jpg

5B) For the [new_project_name].target file specifically, change this line: “TargetName”: “Project Name”, (Where Project Name is allowed to have a space. This will be the name of the final .exe)

  1. Delete the C:\Unreal\ [new_project_name] \Intermediate folder and re-launch the project in the editor at least once, so the folder & contents are re-created (this will rename some C++ files to the new project’s name, but won’t create some files until the project is packaged)

  2. In the Unreal FrontEnd, re-path the “project” (in the project section) and “local directory path” (in package) in your custom launch profile

*Note: This fix causes a new issue which bricks the packaged game from loading, if “do you wish to build” is unchecked (it should always be checked, anyway): "failed to open descriptor file …\ [old_project_name] .uproject.

1 Like