Posted April 20, 2013
After sending an entire morning trying to find where my save game directory for Pharaoh went to, I discovered something that I thought might be useful to the community at large.
As you know, many older games save their settings, high scores and saves directly to their Program File directory or sub-directories. Pharaoh is an example. After installing Pharaoh Gold on Windows 8 and starting and saving a game, I could not find the Save games directory ANYWHERE. I could save and load games in Pharaoh, but couldn't find where they had actually GONE to. I wanted to copy some old save games from a previous install into the directory, but it was just not there.
After doing some research I discovered that Windows 7 and especially 8 blocks programs from writing data into the Program Files directories. You can forcibly write files in yourself, but programs can't because they don't have the proper rights. Any file that attempts to be written is redirected to a hidden directory: C:\Users\[Username]\AppData\Local\VirtualStore\Program Files (x86)\... These files are visible to the program that wrote them, but are not seen in the Program Files (x86) directory through Explorer (or any other program). This allows each user to have a "secure" location for writing game data. Once you FIND the files, you can read, write, copy, etc. them back and forth as you desire. You can manually copy the files BACK to Program Files, but the game will not be able to update them, only read them. Any new files will always go to the VirtualStore.
I thought this would be a good thing for GOGers to know about.
As you know, many older games save their settings, high scores and saves directly to their Program File directory or sub-directories. Pharaoh is an example. After installing Pharaoh Gold on Windows 8 and starting and saving a game, I could not find the Save games directory ANYWHERE. I could save and load games in Pharaoh, but couldn't find where they had actually GONE to. I wanted to copy some old save games from a previous install into the directory, but it was just not there.
After doing some research I discovered that Windows 7 and especially 8 blocks programs from writing data into the Program Files directories. You can forcibly write files in yourself, but programs can't because they don't have the proper rights. Any file that attempts to be written is redirected to a hidden directory: C:\Users\[Username]\AppData\Local\VirtualStore\Program Files (x86)\... These files are visible to the program that wrote them, but are not seen in the Program Files (x86) directory through Explorer (or any other program). This allows each user to have a "secure" location for writing game data. Once you FIND the files, you can read, write, copy, etc. them back and forth as you desire. You can manually copy the files BACK to Program Files, but the game will not be able to update them, only read them. Any new files will always go to the VirtualStore.
I thought this would be a good thing for GOGers to know about.