Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: monkey0506 on Fri 28/08/2009 21:53:01

Title: SUGGESTION: Only create save directory while saving.
Post by: monkey0506 on Fri 28/08/2009 21:53:01
I'm pretty notorious for having a whole slew of conceptual ideas (each with its own respective project) which never see the light of day out in the real world. It just recently occurred to me that despite very few of these ever dealing with save game files, AGS always creates the save directory (if it doesn't exist).

Wouldn't it make more sense if the folder was only created if there wasn't something in it? Is that feasible? Difficult to implement? It's not something I'm too worried about, but it's more of an aesthetic/organizational issue just having a ton of empty folders lying around.
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: DoorKnobHandle on Fri 28/08/2009 22:00:32
That is something I absolutely support (if it's reasonably easy to adapt/implement) for exactly the same reasons.
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: Gilbert on Sat 29/08/2009 18:25:34
The problem is, AGS ALWAYS uses the save game system (for use with RestartGame() ), even though your game may never use that. I'd like to have an option to disable the save game system permanently in a game, in case it's not really needed.
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: Joe on Sat 29/08/2009 18:29:53
I think this should be corrected as soon as possible, I really don't like every time I run an AGS game it creates a Folder in my Docs... even if you change the directory with the "SetSaveGameDirectory" function the game will keep creating the MySavedGames folder in myDocs... And it's really not nice...
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: Pumaman on Mon 31/08/2009 21:41:55
Yes, as Gilbert says the reason this happens is because AGS automatically creates a Restart Point save game when you start the game. I suppose it would be possible to add some sort of General Setting to allow you to disable the Restart Game feature which would stop this happening, but how many game authors would actually bother to change that setting?
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: Joe on Mon 31/08/2009 23:55:40
Well It bothers me but and not only the fact of creating the folder without saving, also the fact you can't avoid the My saved games folder to be created in my docs when you have changed the save game directory.
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: Matti on Tue 01/09/2009 00:13:42
That bothers me too. If I would have the freedom to do so, I would throw all the my docs/pics/whatever windows folder in the trashcan, they really annoy me and I never use them.
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: Gilbert on Tue 01/09/2009 01:54:51
This would bother me also, but since I'm sticking to V2.6x it's not a problem for me yet.
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: monkey0506 on Tue 01/09/2009 02:33:30
You're only restricted to My Documents if you set it from the editor. Using Game.SetSaveGameDirectory you still have the option of specifying "./DirectoryName" to work within the same directory as the EXE (even "./" would work).
Title: Re: SUGGESTION: Only create save directory while saving.
Post by: Joe on Tue 01/09/2009 11:43:31
Yes, if I use that function i can set the save game directory to the main exe folder but it still creates an empty folder in my docs called "My saved games"...