Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JurassicJeep

macrumors newbie
Original poster
Aug 27, 2013
1
0
Hi, I'm not sure if this qualifies as "basics," sorry in advance.
I'm trying to prevent a game from deleting part an uncompiled version of the save file (.cs) before compilation (.cs.dso).
The game is Space Pirates and Zombies, below is an how it is done for Windows. Is there anyway to replicate this procedure on a mac?

Open up any folder
Copy "%AppData%\MinMaxGames\" into the address bar
Right click on the "SpacePiratesAndZombies" folder and click properties
Click on the "Security" tab and click the "Advanced" button on the bottom.
In the "Permissions" tab, click the "Change Permissions..." button
You will see the various permission entries. My computer has one for "SYSTEM", "Administrators" and "Glarg". There should be buttons below to "Add...", "Edit..." and a greyed out "Remove".

I select the entry for "Glarg" (if you have multiple users, select the one you are currently logged in as) and click the "edit" button below.
Yet another window box pops up with only one tab, "Object"
Scroll down and in the "Deny" column place a checkmark next to "Delete subfolders and files" and "Delete" permissions. Click "OK".

You will now see a new entry in the "Permissions" tab window. It should be of type "Deny" and the name be your user account, in my case "Glarg". This will prevent the game (which does not run as administrator) from being able to delete any files.

Run SPAZ and open any savegame, and then save it. There should now be a .cs file (that is more than 1KB) in %appdata%\MinMaxGames\SpacePiratesAndZombies\b_save

If there is, save wherever you like. I made a "Spazmod" folder on the desktop, and copied it into it twice, renaming one with .bak (so I will always have the original even when I edit the other one).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.