Page 1 of 1

How do I change the project name?

Posted: Fri Mar 03, 2017 9:36 pm
by hicior103
As in the title, Its so confusing for me, theres no option to change project name and description. I mean 'Sample App' name and 'CE# Framework - Sample App'.

Re: How do I change the project name?

Posted: Sat Mar 04, 2017 3:28 pm
by ateisenkolb
The window title can be changed via console variable "sys_game_name". Add this CVar with your project name into game.cfg or system.cfg and restart.

See: Getting Started > Launcher

Re: How do I change the project name?

Posted: Sat Mar 04, 2017 4:47 pm
by Cry-Flare
As a warning - If you're using the launcher, don't change name by "Edit Project" without changing the folder name the project is in on disk. Otherwise you wont be able to use the launcher for that project until the folder and the project name in launcher match. Bit wierd imo.

Re: How do I change the project name?

Posted: Mon Mar 06, 2017 11:02 am
by Cry-Miron
You can change the name of the C# project by opening the SampleApp.cryproject (for the blank template) or Game.cryproject (for the Rolling Ball template) in a text-editor like Notepad or Notepad++. Inside that file you can change the value of "name" which by default looks like this:

Code: Select all

"info": { "name": "CE# Framework - Sample App" },
That way you can change the name of your game to whatever you want.
For example:

Code: Select all

"info": { "name": "This is not the best game in the world. This is just a tribute." },
As a warning - If you're using the launcher, don't change name by "Edit Project" without changing the folder name the project is in on disk. Otherwise you wont be able to use the launcher for that project until the folder and the project name in launcher match. Bit wierd imo.
I just checked this (because I made a typo when I created the projects) and Edit Project does seem to work for me. The only problem I have now is that my folder still has the typo, but that can be fixed by removing the project and importing it again.

Re: How do I change the project name?

Posted: Mon Mar 06, 2017 4:43 pm
by Cry-Flare
Will test again and pm if its still an issue.