Specify the name of packaged exe?

This seemed to work for me (5.3) and didn’t require changing any of the the module names or adding new modules:

  1. Rename the .uproject file to the new name. This change the name of the directory that the game data is stored in. You should not need to edit anything in it.
  2. In your Source folder, rename the two .Target.cs files. Edit the files to make the classes match the file names. These will control the name of the executable. You can still reference your old module names. Those are not user-facing so it should not matter what they are called.
  3. Delete your Binaries/Win64, Intermediate, and Saved folders. Regenerate the project files and rebuild. NOTE: deleting Saved will reset your editor preferences. You may be able to only delete as subset of those, but this is the safest option. I had some errors referencing the old name if I didn’t delete those.

When you rebuild, it should use the new name.

3 Likes