Name Change
by Adam Smith · in Torque 3D Beginner · 01/23/2016 (12:08 am) · 12 replies
when i launch my game, the name is "Torque 3D MIT-mygamename". How to i make it so its just "mygamename". also i need help with the icon of the .exe. i cannot change it at all. i did everything i could find. but every time i recompile it, it doesn't change the icon. Please help
About the author
I make code and design racing games for Simple Life Games. I am also the CEO of SLG(Simple Life Games) and somewhat good at C++.
Recent Threads
#2
01/23/2016 (12:05 pm)
Thank you. This helped alot!
#4
01/23/2016 (1:46 pm)
You don't have to recompile the engine to change the name on the window but you do if you intend to change the icon - it is embedded in the resource segment of the executable file.
#6
01/23/2016 (6:00 pm)
http://stackoverflow.com/questions/4213938/how-to-assign-an-icon-to-an-executable-on-windows-or-visual-studio
#7
01/24/2016 (7:29 am)
Note - you may need to reboot to see the icon update in Windows Explorer. Right-click the executable and select "Properties" - it should have the new icon in the properties window even if the icon Windows has cached hasn't updated.
#8
01/24/2016 (9:24 am)
1. I have visual studio express, so there is no reference view. 2. I found a new way to do it. but what do i select in visual express to go to project/properties/application. in VS. also, is generateProject.bat the recompile thing? if not tell me.
#9
I also removed the engine name from there.
01/24/2016 (12:31 pm)
It is done here: github.com/GarageGames/Torque3D/blob/development/Templates/Full/game/main.cs#L50I also removed the engine name from there.
#10
01/24/2016 (2:11 pm)
The name change is done, now its down to Icon change. Thank you guys for all your help. this game we(as in the team im in Simple Life Games) are making will be amazing. thank you again. Including Duion. it all helps.
#11
01/24/2016 (2:21 pm)
For the icon, you can just try and rename your icon file to Torque.ico and replace your current game Torque icon located in "Torque3D/My Projects/Project Name/buildFiles/VisualStudio 20xx/projects/", then do a rebuild.
#12
I said "resource," not "reference." But you're right, Express doesn't have this. Fortunately for you, the Torque3D.rc file is just text - change the path to reflect the icon file you want to use and save it (the values for IDI_ICON1 and IDI_ICON2, just replace the icon file name with your own and place your icon file in the buildFiles/<vc version>/projects folder where the torque.ico file currently is).
01/24/2016 (5:15 pm)
generateProjects.bat generates the project files - it doesn't compile anything.I said "resource," not "reference." But you're right, Express doesn't have this. Fortunately for you, the Torque3D.rc file is just text - change the path to reflect the icon file you want to use and save it (the values for IDI_ICON1 and IDI_ICON2, just replace the icon file name with your own and place your icon file in the buildFiles/<vc version>/projects folder where the torque.ico file currently is).
Torque Owner Richard Ranft
Roostertail Games
Canvas.setWindowTitle("MyCoolGame");For the icon, you'll have to tweak the source solution in Visual Studio. In the Solution View - roll out the project <MyCoolGame> (not <MyCoolGame> DLL). Under "Source Files" you'll see Torque.rc. Edit this - change the icon values for IDI_ICON1 and IDI_ICON2 in the resource editor.