angus Posted November 28, 2017 Share Posted November 28, 2017 At the moment, if you want to rename a project then it's quite a large amount of hassle and causes inevitable errors. It would be nice if there was a way in the SDK browser to rename a project and have it do the work to change file names and paths automatically. 1 Link to comment
sebastianbah Posted November 29, 2017 Share Posted November 29, 2017 Hi Angus, We've added this suggestion to our internal bug tracker, but, I'm afraid, we can't give any ETA since it's not in a high priority. Thanks! Link to comment
Antoine Posted December 14, 2020 Share Posted December 14, 2020 Hello, Any news on that feature ? What is the right way to rename a project with the current status of the engine ? I'm using Unigine 2.10. Thanks Link to comment
bmyagkov Posted December 14, 2020 Share Posted December 14, 2020 31 minutes ago, Antoine said: Hello, Any news on that feature ? What is the right way to rename a project with the current status of the engine ? I'm using Unigine 2.10. Thanks Hello! We are expected this kind of feature in some of following SDK's next year, most likely it will be available in 2.15. This days If you need to rename your project it can be done manually. If you have an urgent need to do this now - let us know and we will write you how to guide. Thanks! Link to comment
Antoine Posted December 14, 2020 Share Posted December 14, 2020 Hi Bmyagkov, Thanks for your answer. It would be great if you could give some quick guidelines. Link to comment
bmyagkov Posted December 15, 2020 Share Posted December 15, 2020 On 12/14/2020 at 6:01 PM, Antoine said: Hi Bmyagkov, Thanks for your answer. It would be great if you could give some quick guidelines. DISCLAIMER: Before we start, I would like to note that it may be much easier to simply create a new project in SDK with name you want and copy the /data folder from the old project. But if you feel brave enough, let's get started: As a first thing, you should need some sort of text editor, something like "Notepad++" would be great. We will edit every included file in a root of project folder. There was six of them by default - "launch_debug.bat", "launch_editor.bat", "launch_release.bat", "*.csproj" (for C# project), "*.project", "*.sln" First of all - make a backup and close SDK browser. Backup the entire folder of your project, so if anything went wrong you can restore everything to its original form. Locate project folder and rename it to a new name you want. Usually it is located at C:\Users\tester\Documents\UNIGINE Project\ The main file that you should pay attention to is ".project". Open it with text editor and search through using your current project name, then replace here each string for desired name you want to see. After this part is done lets get back to projects root folder. We need to rename the rest files to a new name, except .bat ones. Files like ".sln" and ".csproject" should be edited to. ".csproj" are contains the name of your app and to rename it change following lines: Solution ".sln" are contains previous name too and should be edited as well as others to prevent further errors Now we need to edit "*.bat" files to make SDK buttons usable again. Open "launch_debug.bat" and "launch_release.bat" and change "unigine_project_x64.exe" to "%new_name_x64.exe" and if required enter valid world in the end of six line: If you are running C++ project you also should edit "*.vcxproj" which is located at /data/source/*.vcxproj. Give it new name and then open with text editor. Find there 5 line and give your project new name between those tags <ProjectName>name</ProjectName> After all the renaming is complete, please start the SDK Browser and delete the old project. Then go to the projects tab and click "add existing" where locate same folder where you recently done changes. So that is all. The editor and application must have a new name and run as before! Thanks! 1 Link to comment
Antoine Posted January 15, 2021 Share Posted January 15, 2021 Thanks a lot, it worked like a charm! 1 Link to comment
Recommended Posts