UE4 package renaming method

The content comes from:

UE4 renames the name of the project and exe - Programmer Squad , if there is infringement, it must be deleted after notification;

Background: After the project has been named, it needs to be renamed and packaged; according to the above link, find the corresponding renaming process. PS: mine is a C++ project;

(I used the original author's picture directly, I will not post my own picture)

1. Project name

1. The original project name is as follows:

insert image description here


2 Open the config file of the project

insert image description here

found in the config file

DefaultEditor.ini file;

(1) In fact, this file may be blank; just fill it in according to the part selected in the picture below;

insert image description here

 (2) Change the original name to the new name:

insert image description here

(3) uproject is also changed to helloWorld 

insert image description here

(4) The same is true for the project name folder 

insert image description here

 

(5) Right click to generate

insert image description here

insert image description here

  

It will be different at this step: the original author did a pure blueprint project at the beginning; if we fail to generate the corresponding sln file here, we can use our own batch file to process the attempt;

(6) This place begins a formal modification involving the renaming of the C++ part

  • Find the project name /Source/Mypro.Target.cs, modify the name to Helloword.Target.cs, note that the above file does not need to be modified (MyproEditor.Target.cs)

insert image description here

open this file 

insert image description here

 Observe the above picture, in fact, there are three variables that should all have the original names, for example: Mypro;

But according to the tutorial, you only need to modify the parts of the two red boxes. In fact, all three can be modified.

(4) After the modification is completed, first batch process it;

Then open the sln file and compile

(5) After the compilation is complete, right-click uproject, convert the engine version (the version you use), and then generate the vs file.

Guess you like

Origin blog.csdn.net/gaofei7439/article/details/122345842