I’m still quite new to unreal engine, but I have been tinkering around with the lyra starter project to much success. I wanted to let a friend test out my level and packaged the game. It was at this point I realized, there is no easy way to rename the project from ‘Lyra’ to something else. No matter what I try I am not able to properly rename the project.
I have tried following these steps which did not work. I have also tried using various ue c++ renaming tools found online to no success.
Clearly the lyra project is intended to be used as a framework for other games, so renaming the executable seems like something that should be much easier than I have found it to be.
If someone could point me in the direction of a suitable solution, I’d be more than grateful.
There is definitely some nuance to renaming projects. However, there is a great video from a creator not affiliated with Epic Games that shows you exactly how to change the name of the .exe for lyra games! Here is that video:
Thanks for the welcome, and the link. I did find this video earlier, and I have implemented the ‘fix’ temporarily, but I would ideally be able to change the base name of both exe’s that are generated. The solution given in that video also requires that the project first be built to then edit generated files. This feels somewhat hacky, and its easy enough to edit an exe name after its been generated. I’m hoping to properly change the project name if possible. Honestly really surprised its not easier to change the generated exe name.
Bumping the post since its been almost a week and there is still not a suitable method of renaming the lyra project. (the suggested solution requires the project exe be changed after its initially created ~ this is not a solution imo)
Hope someone can point me in the right direction, because there obviously is a way to rename the project.
Yes, I already linked that video, around that exact timestamp in my op. The instructions he gives are incredibly vague, and I have tried to follow them as best I can, but it never works after the fact.
He also states that you can remove the entire shooter core, or shooter maps, or the little bomb game which I havent been able to, as the project doesnt build without them.
A more detailed guide for how to rename the lyra project would be incredibly useful.
Renaming Lyra required me to write a custom tool, it generates hundreds of redirectors and renames hundreds of entries in obscure places all through the project. After that’s done, the actual blueprint content needs a fair bit of work itself even with all redirectors in place.
It is a monumental task. Michael should not have made that throwaway comment about renaming some blank project
The answer is - if you have to ask, you’re probably not going to be able to do it. No one could possibly walk you through it.
@Vaei much thanks for your info. I came to a similar conclusion tbh (that I dont yet have the skill/knowledge). Congrats on getting your copy renamed properly though!! Do you intend to release your custom tool? What kind of work did the blueprints need? I’m guessing just more renaming of nodes etc?
Considering the purpose of the project, the fact renaming it is such a task completely defeats the point in using it imo. Its only taken me a few weeks to create a menu system with very similar functionality to lyra, and im a total newb to unreal engine, so I imagine that most people who actually have the knowledge to rename lyra, probably aren’t even using it at all.
I do hope that the lyra team takes this into consideration for future updates. ~ As well as making it easier to actually remove the various plugins from the project.
No matter your level of knowledge Lyra has an incredibly well made foundation and your time is better spent elsewhere. It absolutely does achieve it’s job.
I don’t remember all of the blueprint steps but it’s a lot more than you’re thinking and I spent many hours tracking down everything.
I have no plans to release the tool, someone will probably write a better one long before I’m in any position to deal with that.
Most people have no need to rename it either, it’s best used for learning purposes, unless they’re asset flipping which I don’t wish to support. I spent a long time rewriting Lyra from scratch purely for the purpose of fully understanding how every line of code works. You can’t get far using a pre-existing code base that you don’t understand.
In the Lyra source folder, the first thing is to edit LyraGame.Target.cs, LyraClient.Target.cs, LyraEditor.Target.cs, LyraGameEOS.Target.cs and LyraServer.Target.cs. In each file, do a search and replace, and replace LyraGame with what you want to call your game (for example NewDawn). Save all the files .
Then you can rename the LyraGame.Target.cs to what you are calling your game (for example NewDawn.Target.cs).
Regenerate the Visual Studio solution (right click on the project file and select Generate Visual Studio project files.
Once that is done, fire up the editor, package the project, and both executables will now be called what you are calling your game (for example NewDawn.exe).