How to change folder structure and names for packaged game?

Hey,
I am ready to start the process of getting my little game on Steam, and I have questions about folder structure and names before I start uploading my builds.

I have set my desired game name in all places the project settings allow me to, such as “build target” etc, but there are still some files and folders that are using my original project name.
So I’ve tried a few times to rename my project by following a few guides, which seems to give me the result I want, but they all end with me getting errors after I try to run the built game so I’ve had to give up on renaming.

I’m a bit surprised that it’s so hard to do this.
I’ve looked through several big and small games on Steam that I know are built in UE4, and I was expecting someone else to have files such as “UE4Game-Win64-Shipping” but a search through my entire Steam folder gives no results.

The closest I could get when looking through folders was Darksiders Genesis which seems to have been internally named “ProjectMayhem” since there is a folder named that in their build, but even they have renamed all their .exe files despite that so I’m just really confused.

I don’t think it’s the project name, I think it’s here:

Yes thank you, I have changed that as well but more is still needed!

1 Like

Are you making the installation from the launcher?

It seems you might get more config option there, not sure. Some docs here:

No I was just packaging, thanks for directing me to the project launcher, it must be the “correct” way to release.
However it seems both packaging and building from the launcher are creating the same folder structure with the same names?
So I’m still not getting around that.

As for folder structure, there’s not much to it, eh? You only have the PAK file and few other executables.

But I do recall having the same problem with the exe name, but I did just find somewhere simple like that.

Ok, so I made a new project, and it packaged with the name ‘windows no editor’.

The I changed the name of the project, literally by just changing the name of the uproject file in windows.

The launcher isn’t happy after that, until you re-specify what you want to build here:

image

Then it gave me ‘NewName’ as my packaged exe:

image

Thanks for checking that out!
Yes I’ve been through that same process.

In the end I decided to make a clone of the project from the launcher, and now I have a new project name and my .exe and content folder inside the build folder are getting that same name so I’m pretty happy about that.

But I cannot for the life of me figure out why my [GameFolder]\Engine\Binaries\Win64/UE4Game.exe is called that.
I mean I have dozens of UE4 Steam games installed on my computer and NOBODY ELSE has an exe named UE4, so I must be doing something wrong right? :joy:

Somehow I ended up with MyProg-Win64-Shipping, and it just was a config thing, but I can’t recall exactly where…

after giving up on this ■■■■ I was forced to let it go and just move on.
and now, after 1 month of doing absolutely nothing to change this and just working on the game itself, it has now magically “fixed” itself.

my exe file is now called “gameName-Win64-Shipping.exe” AND it’s located under “\gameName\Binaries\Win64”
instead of the previous
“gameName\Engine\Binaries\Win64”

what the hell?

seriously dude, this ■■■■■■ me off.
i don’t understand how this is possible nor how the hell it changed.

the reason it upsets me so much is because we are already live on steam.
I don’t yet know how steam will handle the new game files.
when I upload a new folder structure, will steam then automatically delete the old files so that ONLY the new folder structure exists?
or will the old files be kept on the computer of everyone who has already downloaded the game?
no it’s not a big deal, but I know how much i hate it when other programs leave ■■■■ files even after uninstalling etc. so im not thrilled about being one of “those” devs now.

this might be off-topic but i just want to say that the grass was in fact NOT greener on the other side of the river, and i love Unity more for each day i spend working in Unreal

1 Like

I sympathize…

The way to know what Steam is going to do, is give only yourself the update, and take a look at what it does.