If you play Succession Games or Games of the Month then you often have to download .SAV files that were created on Windoze machines. You can't open these files using the Mac OS file selection dialogs because they are not correctly identified as CIv3 game files, so you have to use the Civ3 internal Load Game dialog. But this has its problems if, like me, you have multiple copies of the Civ3 application and need to move from one to another.
So attached is a small AppleScript. Download it and save it into your "/Library/Scripts/Folder Action Scripts" directory. Right click (or Control click) the directory you download files to - maybe your ~/ Desktop folder or a specific Downloads directory - enable Folder Actions if they are not already, and then select "Attach a Folder Action". Attach the script to the downloads folder and you are set.
Now, whenever you download a file to that directory, the script will run automagically to see if it has a .sav or .SAV extension. If the extension is .sav it is changed to .SAV, as the file selector is case sensitive. The file type and creator are changed to "GAMd" and "Civ3" and the file can be loaded using the Mac OS Load Game dialog from a Civ3 copy anywhere on your hard drives.
[Update] Attached is a new version of this script, superceding the previous copy. The new script scans downloaded folders to look for .sav files. It can also be used as a Droplet. Drop a .sav file on it and it will convert it to .SAV with the correct creator and type. Drop a folder on it and it will convert all the .sav files contained in the folder and its subfolders. It can also run as an application. Double click it and you can select a folder full of files for conversion.
Replaced by a zipped disk image (20 October, 2004)
Previous versions downloaded 86 times.
So attached is a small AppleScript. Download it and save it into your "/Library/Scripts/Folder Action Scripts" directory. Right click (or Control click) the directory you download files to - maybe your ~/ Desktop folder or a specific Downloads directory - enable Folder Actions if they are not already, and then select "Attach a Folder Action". Attach the script to the downloads folder and you are set.
Now, whenever you download a file to that directory, the script will run automagically to see if it has a .sav or .SAV extension. If the extension is .sav it is changed to .SAV, as the file selector is case sensitive. The file type and creator are changed to "GAMd" and "Civ3" and the file can be loaded using the Mac OS Load Game dialog from a Civ3 copy anywhere on your hard drives.
[Update] Attached is a new version of this script, superceding the previous copy. The new script scans downloaded folders to look for .sav files. It can also be used as a Droplet. Drop a .sav file on it and it will convert it to .SAV with the correct creator and type. Drop a folder on it and it will convert all the .sav files contained in the folder and its subfolders. It can also run as an application. Double click it and you can select a folder full of files for conversion.
Replaced by a zipped disk image (20 October, 2004)
Previous versions downloaded 86 times.