Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Sparkplug.Creations on Sat 12/07/2008 05:03:24

Title: Request to Manually Name Executable
Post by: Sparkplug.Creations on Sat 12/07/2008 05:03:24
Hi,

I know that the executable is based on the name of the directory the game is in, which isn't what I want since my directory is named "DevTree". I know I can rename it, but I would like to request the ability to manually specify a different name for the executable instead of the directory name. Perhaps in the General Settings?

Thanks,

-Reid
Title: Re: Request to Manually Name Executable
Post by: Pumaman on Sat 12/07/2008 10:14:51
It sounds like a reasonable request if anyone else would find it useful?
Title: Re: Request to Manually Name Executable
Post by: SSH on Sat 12/07/2008 12:54:46
Yup
Title: Re: Request to Manually Name Executable
Post by: Lt. Smash on Sat 12/07/2008 12:56:43
sounds useful. Onto the implementing list :)
Title: Re: Request to Manually Name Executable
Post by: Shane 'ProgZmax' Stevens on Sat 12/07/2008 15:58:00
I would like to add my vote for this - and perhaps some option in the setup to force savegames to be in the game folder?  I recently went through my documents and it was just overrun with ags games I'd deleted (but had no installers).  I think the whole my documents thing is a good idea, but not when so many ags games are distributed in zip or rars :\.
Title: Re: Request to Manually Name Executable
Post by: Cino on Sat 12/07/2008 16:07:07
It would be a nice feature. The save game thing also.
Title: Re: Request to Manually Name Executable
Post by: Makeout Patrol on Sat 12/07/2008 16:24:27
Absolutely, I would like this.
Title: Re: Request to Manually Name Executable
Post by: monkey0506 on Sun 13/07/2008 02:11:50
Quote from: ProgZmax on Sat 12/07/2008 15:58:00some option in the setup to force savegames to be in the game folder?

I'm not 100% sure, but isn't this possible using:

Game.SetSaveGameDirectory("/");

If not, you could do:

Game.SetSaveGameDirectory("/Saves"); // perhaps omitting the '/'

Also there is an option to set the directory from the General Settings pane (per-game).

Quote from: ProgZmax on Sat 12/07/2008 15:58:00I recently went through my documents and it was just overrun with ags games I'd deleted (but had no installers).  I think the whole my documents thing is a good idea, but not when so many ags games are distributed in zip or rars :\.

The latest AGS betas now put AGS save games in "My Documents\AGS Saves" (or something like that).

AGS 3.0.3 (now 3.1.0) Beta 1 Changelog:

Quote from: Pumaman on Sat 05/07/2008 23:21:19* On Windows XP and earlier, AGS will now create a "My Saved Games" folder in My Documents and then create individual game folders underneath, to avoid clutter

I'm not sure about Windows Vista though since this specifies XP and earlier.
Title: Re: Request to Manually Name Executable
Post by: Shane 'ProgZmax' Stevens on Sun 13/07/2008 03:31:02
I'm referring to games made by other people, monkey, that have not elected to put savegames in the game folder (and also don't have an option to remove the folder from my documents).  It just creates massive clutter over time because I'd say 95% of ags games don't have installers.
Title: Re: Request to Manually Name Executable
Post by: monkey0506 on Sun 13/07/2008 03:58:03
Oh well then...they should allow the user to set a custom saves directory! :P

Though the problem should be resolved I think with the My Saved Games folder used by AGS 3.1+ yes?
Title: Re: Request to Manually Name Executable
Post by: Pumaman on Sun 13/07/2008 13:15:39
Quote from: ProgZmax on Sun 13/07/2008 03:31:02
I'm referring to games made by other people, monkey, that have not elected to put savegames in the game folder (and also don't have an option to remove the folder from my documents).  It just creates massive clutter over time because I'd say 95% of ags games don't have installers.

The thing is that on Vista you might not have permission to write to the game folder, so if Winsetup provided that option it could confuse people if it then failed to work.

Hopefully the fact that 3.1 writes the save game folders to a "My Games" sub-folder in my documents should make the clutter much easier to clear up.
Title: Re: Request to Manually Name Executable
Post by: Sparkplug.Creations on Sun 13/07/2008 22:27:25
Thanks to everyone for your input.

-Reid
Title: Re: Request to Manually Name Executable
Post by: InCreator on Mon 14/07/2008 11:46:26
QuoteThe thing is that on Vista you might not have permission to write to the game folder, so if Winsetup provided that option it could confuse people if it then failed to work.

Hmm... Is there a way for AGS to detect operating system? Like, AGS was smart enough to decide by itself where to save?
Title: Re: Request to Manually Name Executable
Post by: Pumaman on Mon 14/07/2008 20:06:48
AGS already does decide a safe place to save, the question was whether it should provide an option to allow the player to override the save game location ... and I think the jury's still out on that.
Title: Re: Request to Manually Name Executable
Post by: monkey0506 on Mon 14/07/2008 20:18:06
Regarding the "safe place to save", does Game.SetSaveGameDirectory check that the directory is writable or just that it exists? If the latter, could we perhaps have something in the way of a System.IsPathWritable function?