Changing Savegame folders on Mac (and linux)

Previous topic - Next topic

Jet

Had this buried in another thread and decided to break it out for anyone else seeking the information:

Quote from: Jet on March 08, 2019, 09:05:55 AMWhat command allows me to change savegame folder?

I found some great save game info for macs (and linux) in the game FAQs thread on Steam:

https://steamcommunity.com/app/270610/discussions/0/1836811737983629901/

From the FAQ:

QuoteQ) How can I change the save-game folder on MacOs or Linux?

A) In Windows, you can do this directly from the winsetupexe program. But on MacOs and Linux, you'll need to take a few precautions and follow these steps:

1) First, manually create the new savegame folder you want and name it something appropriate, like "MagesSaves".

2) Go to your current (default) savegame folder and open acsetup.cfg in a text editor. At the bottom of the [misc] section, add the following line containing the absolute path to your new savegame folder. For example, in Windows it would look like this:

user_data_dir=C:\MagesSaves

Tip: On MacOs, you can easily copy long pathnames by selecting the desired file or folder (in this case the Save Game folder that you created), and using Cmd+Opt+C to copy the full pathname. Paste this (using Cmd+V) into the the game's acsetup.cfg file as indicated above.

Note: For MacOS Steam installations, the Mage's Initiation acsetup.cfg file is typically found here: ~/Library/Application Support/Steam/SteamApps/common/Mages Initiation/Mage's Initiation.app/Contents/Resources/acsetup.cfg

Save the acsetup.cfg file and close it.

3) While still in the current (default) savegame folder, copy and paste all files ending in .dat into your new savegames folder (don't move or cut them - just copy and paste). This is important if you want to retain your achievements and in-game settings.

4) Now when you run the game, it should start up and look in the new savegames folder you created (which should be empty, so your in-game savegames list will also appear empty).

5) Repeat the above process for every new savegames folder you wish to create.

6) If you ever want to switch back to an older savegame folder, you'll need to open acsetup.cfg in your original (default) savegames folder and edit the user_data_dir= line to point to the folder where your desired savegames are stored. Then save the acsetup.cfg file and close it. This needs to be done prior to running the game.

(Note: at this point you should copy & paste (overwrite) all .dat files from your most recent savegames folder into the savegames folder you're switching over to, if you want to retain your most up-to date achievements.)

To go back to using the default savegames folder, simply delete the user_data_dir= line from acsetup.cfg all together and save it.

It's a bit fiddly, but there's currently no GUI set-up program for non-Windows AGS games.

So the line to enter in the config file (acsetup.cfg) is user_data_dir=savegamefilepathname

where "savegamefilepathname" is the exact path for the save games folder that we create

Since I'm not using Steam, I found my "acsetup.cfg" file in this folder:

Mac: ~/Library/Application Support/Mage's Initiation/