KatsBits Community

[doom3.gpl] Change name of Doom3.exe

kat · 1 · 87320

0 Members and 1 Guest are viewing this topic.

Offline kat

  • Administrator
  • Hero Member
  • *
    • Posts: 3138
    • KatsBits


The preferable way to change the name of the *.exe produced by compiling doom3.gpl is to modify the compiler output so it writes the name(space) correctly - changing the program executable or shortcut is possible but not the correct approach to use, neither is renaming any part of the project Visual Studio's Solution Explorer (in relation to naming the *.exe this does nothing, it only changes the name of the Solution project).


Changing the name of 'projects' in the Solution Explorer don't effect the name of the executable

To correctly change the exe name, in the Solution Explorer;

Step 1
  • Under "exes" right-click "DoomDLL" to open "DoomDLL Properties Pages".
  • Expand "Configuration Properties" (if not already expanded) and select "Debugging".
  • To the right of "Command" (not "Commend Arguments") click "$(OutDir)DOOM3.exe" to highlight for editing, replace "DOOM3" with the name of choice, e.g. "Catacombs" - string should read "$(OutDir)[custom name].exe", i.e. "$(OutDir)Catacombs.exe".
  • Click "Apply", then optionally if not continuing to 'Step 2', click "OK" to exit the Properties Page manage.


    Set "Configuration Properties » Debugging » Command" to rename the executable
Step 2
  • Expand "Configuration Properties" if not already visible, expand "Linker" then select "General".
  • To the right of "Output File" select "$(OutDir)DOOM3.exe" to highlight for editing, replace "DOOM3" with the name of choice, e.g. "Catacombs" - string should read "$(OutDir)[custom name].exe", i.e. "$(OutDir)Catacombs.exe".
  • Click "Apply", then "OK" to exit the Properties Page manage.


    Change "Linker" properties to reflect the name of the executable to be compiled
Other useful doom3.gpl topics
- Compiling doom3.gpl source code using Visual Studio
- Changing the Doom3.exe shortcut & program icon