Executable name question

Started by Crimson Wizard, Fri 25/09/2009 13:50:18

Previous topic - Next topic

Crimson Wizard

I've probably missed something; anyway this question bothers me long enough to ask here.

Why it is made impossible to change executable name after you started your project? And why it should stay the same for winsetup to work properly?

ThreeOhFour

Well, it is not actually impossible. Here is how I do it:

Once I've decided on the actual name of the game, I get my game folder in My Documents and copy it, then paste it into My Documents - So I'll have "New Game" and "Copy of New Game". Then I'll rename "Copy of New Game" folder to "Thunderhead" or whatever I want to call my game, and use this set of files to build and compile my game. This works fine for me - the new .exe compiles as "Thunderhead" just as you'd expect, and the winsetup file recognises it perfectly. You could probably even shorten the method by just renaming the original folder if you so choose.

Hope this helps :)

Crimson Wizard

Quote from: Ben304 on Fri 25/09/2009 13:56:27
Once I've decided on the actual name of the game, I get my game folder in My Documents and copy it, then paste it into My Documents - So I'll have "New Game" and "Copy of New Game". Then I'll rename "Copy of New Game" folder to "Thunderhead" or whatever I want to call my game, and use this set of files to build and compile my game. This works fine for me - the new .exe compiles as "Thunderhead" just as you'd expect, and the winsetup file recognises it perfectly. You could probably even shorten the method by just renaming the original folder if you so choose.
Hmm, that's interesting, I'll remember that for future.

But my intention was also to now the reasons of such restriction: why AGSdoes not allow you to rename games executable normally (from editor - that's it).

RickJ

I believe, historically, the name of the game folder and game are one and the same.   You could probably just rename the game folder and delete the contents of the compiled directory and everything would work fine.  I've never experienced a problem not being able to rename a game; likely I am lucky and just happen to do everything required. 

Khris

I guess since it's that easy to rename the game.exe (by renaming the folder), there's really no need to build this functionality into the editor.

Also, all winsetup.exe does is run the executable with a "--setup" param.
So you can always rename the game.exe, create a shortcut to it, then in the shortcut's properties add " --setup" to the target field, then rename it to winsetup.lnk or whatever you please.

SMF spam blocked by CleanTalk