• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

SOLVED Change default project directory for IDE

J

jerob

Guest
I have changed the default project directory under Preferences>General Settings>Paths so that the 'GameMakerStudio2' folder is now located in a sub-folder of documents in an effort to tidy up my documents folder. After deleting the old 'GameMakerStudio2' folder, it is re-created each time I launch GameMaker Studio 2 even though I no longer need it. Is there a way to stop this from happening as it undermines my reason for changing the default path in the first place?
 
J

jerob

Guest
I managed to solve this myself. If anyone else has this issue, the solution is to manually change the default_macros.

C:\Program Files\GameMaker Studio 2\defaults\default_macros.json

Change the following line to show the correct directory:
JSON:
"my_projects_directory": "${MyDocuments}/${program_name}",
Example:
JSON:
"my_projects_directory": "${MyDocuments}/${GameDesign}/${program_name}",
I had to change the user permissions to be able to write to this .json file
 
Top