2
\$\begingroup\$

I want to know if it is possible to set the path for my game's save data in GameMaker: Studio outside of the two default options I am given in the program. The options I get are:

%LocalAppData%\<game_name>

and

%AppData%\<game_name>

I can't seem to find a text box or text feild that let's me set something different. I feel like there should be one for advanced users so that path variables and wildcards can be used in the save data path.

I also tried opening the game's config .gmx and setting the path there. Unfortunately it did not work as the only values that do work are 0 & 1 which represent the default path options respectively. Is this possible? Am I missing something?

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Try saving it using the file system. \$\endgroup\$
    – clabe45
    Aug 1 '17 at 18:46
1
\$\begingroup\$

Short answer:

You can't do it.

Longer answer:

Game Maker Studio does not support a user-specified path for it's game-saving functionality. However, what you are trying to do is possible with the file system API in GML. Without using GML, you are limited to using the default paths for game saves.

Personally, I would use plain text files to save your game data in.

See also:

\$\endgroup\$
1
  • \$\begingroup\$ I thought so, thanks for the info. I really hate when SDKs pull this crap, I don't need my hand held. \$\endgroup\$ Aug 1 '17 at 19:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .