Savegames in "My Documents" (IMPLEMENTED)

Started by tiagocorreia, Wed 26/04/2006 15:33:50

Previous topic - Next topic

tiagocorreia

Hi,

I've been reading the forums, but I didn't found what i want.
Is it possible to have the save file in the My Documents folder, or in Local SettingsApplication Data

I would prefer in the My Docuemtns folder. I've read this post
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=19623.0
but I didn't found if this feature has been implemented or not. Or if this can be done in script.

I tought it could be something like, in the file acsetup.cfg
datadir=MyDocs

If it was like this this, it would save inside a folder with the game name, inside the My Documents folder.

These feature is needed to Windows XP and 2000 users with no priviligies to change files inside the program files.

SSH

Unprivilidged users can just "install" (aka unzip) the whole game under My Documents and their problems will be solved.
12

tiagocorreia

I understand this.
This might be easy for the more or less experienced users.

Since the company where I work is building a adventure game, we want to install it in a regular way (in program files).

This game is going to be used in schools so, this is not really an option.

Changing the acsetup.cfg, can only be done with users with privileges, so not even with a extra EXE before the game run.

Scorpiorus


Pumaman

#4
The simplest solution here would probably be some sort of SetSaveGameDirectory function, which allowed you to pass a special token to set it to My Documents. Obviously this would be non-portable for Mac/Linux but it's probably worth doing, especially for running the game off a CD.

Edit by strazer:

AGS v2.72 RC 1:
* Added Game.SetSaveGameDirectory command, including support for My Documents folder.

SMF spam blocked by CleanTalk