- Site Map >
- Community >
- Sims Discussion >
- Sims 2 >
- Sims 2 Help >
- Install/Uninstall - Does anyone understand "VirtualStore" issues affecting empty neighbourhood templates?
- Site Map >
- Community >
- Sims Discussion >
- Sims 2 >
- Sims 2 Help >
- Install/Uninstall - Does anyone understand "VirtualStore" issues affecting empty neighbourhood templates?
Replies: 14 (Who?), Viewed: 2785 times.
#1
27th Jan 2017 at 10:27 AM
Last edited by Airelda : 27th Jan 2017 at 10:15 PM.
Reason: *SOLVED*
Posts: 244
Does anyone understand "VirtualStore" issues affecting empty neighbourhood templates?
Hi everyone,After carefully following and installing empty templates into my game in an effort to get rid of all Maxis characters I am still getting folders full of Maxis characters after starting a new hood. I have successfully installed empty templates in my game many times in the past - before taking a long break from The Sims 2 so I am experienced at this and I believe I have done this correctly.
I have Windows 10 installed, and the necessary Pescado hacks.
I wonder if this insight by Pideli has any merit? Is this causing my issue?
This quote from Pideli is the second-last comment on feedback for Jawusa's "Clean And Empty Stealth Hood Templates" : Page 5 of Jawusa's feedback comments
Quote:
NOTE to Windows 7 users! I first couldn't get it to work even though I followed all these instructions, but just as I was about to write an angry comment, I saw this: http://sims.wikia.com/wiki/Game_gui...an_neighborhood - Read at the bottom of the page for what you also need to do! You need to delete a folder from VirtualStore. And now it works like a charm!!! Thank you for this upload. :D |
Here is the information about VirtualStore he is referencing in his post:
Quote:
When you're using Windows 7 or 8, you need to delete the files in the virtual store or the same townies will appear again and again. So, after you've done all that is described in this amazing tutorial, after shutting down the game as soon as the neighborhood you just created shows up, open cms by pressing the windows key + r at the same time. Then type in "%temp%" without the " of course and press enter. Click on local, scroll down until you see a file called Virtual Store, open it, and then you have to do 2 things: First, set up you as the owner of the folder and set it to "read only"/write protected. Second, delete the EA Folder in there. Not only will you game load much faster, no more townies unless you created them. |
Advertisement
#2
27th Jan 2017 at 1:24 PM
Posts: 7,898
Thanks: 204702 in 302 Posts
Have you tried deleting the folder in Virtual store? It's perfectly safe. All that is, is a copy of what is in your EA games folder that is now accessible to your user account.
Life Stories || EA Sims 2 Store Items || EA Pre-Order Incentives || Pet Stories || Dog Agility Items || Castaway Stories || Holy Simoly Add-ons || Overrides and Defaults
4esf Archive || Holy Simoly Archive || Sims2Artists || tumblr || CEP-Extras List || Buyable Game Ojbects
If you enjoy the content on s2a or GoS, consider donating to support hosting costs.
Life Stories || EA Sims 2 Store Items || EA Pre-Order Incentives || Pet Stories || Dog Agility Items || Castaway Stories || Holy Simoly Add-ons || Overrides and Defaults
4esf Archive || Holy Simoly Archive || Sims2Artists || tumblr || CEP-Extras List || Buyable Game Ojbects
If you enjoy the content on s2a or GoS, consider donating to support hosting costs.
#3
27th Jan 2017 at 4:00 PM
By "the necessary Pescado mods", do you mean notownieregen?
What I lack in decorum, I make up for with an absence of tact.
What I lack in decorum, I make up for with an absence of tact.
#4
27th Jan 2017 at 5:33 PM
Posts: 12,355
Thanks: 855 in 4 Posts
And the others too I think Nysha. OP does seem to be aware of what they all are (in her other thread). Did you try it Airelda?
#5
27th Jan 2017 at 9:59 PM
Last edited by Airelda : 27th Jan 2017 at 11:09 PM.
Posts: 244
*UPDATED - Solved!*
Hi guys, thanks for your help. Seems like I had an unusual problem even though I am surely not the first person to try this with Windows 10!Turns out the Virtualstore was indeed creating copies of my game folders and preventing the empty templates installed in the main game to take effect. To test this theory, I tried deleting the EA Games folder I found in Virtualstore, then run the game. Instantly, a new EA Games folder would appear in Virtualstore.
You can find the Virtualstore folder here if you need to check if you have this problem too:
C:\Users\*your user name*\AppData\Local\Virtualstore
Please note that the Virtualstore folder is hidden by default and may need to be made visible by going to the View menu of the folder and checking the box marked "Hidden items"
If you look in this folder and find Windows has added a Program Files\EA Games folder there, you may have the same problem installing custom clean or empty templates that I did.
When I saw I had this problem, I realised I had to stop the game from creating these extra game files. The reason for them generating is to do with the fact that The Sims 2 is a much older game than the current Windows platforms and from Windows 7 onward, older programs of all types may find Virtualstore activating automatically. It's some kind of security system on the newer Windows platforms.
I found an excellent tutorial here which teaches you to fix the problem (written for another game but works perfect for The Sims):
How to Fix UAC and Virtualstore Problems
The best method to use is Method 3 in this tutorial as it means you will not have to lower your UAC security level to fix the problem permanently.
Mods, I feel this might be important information to add to our knowledge database about installing custom neighbourhood templates. Is it possible for this to be pinned somewhere or added somewhere for future users?
#6
27th Jan 2017 at 10:28 PM
Posts: 12,355
Thanks: 855 in 4 Posts
Sounds like another very annoying 'security system' from Microsoft. I had a look on my Win10 comp and can't see anything in the Virtual Store folder, apart from something to do with Paint Shop Pro. I wonder why? However it might be worth adding this information to the wiki for TS2.
Oh wait, it seems to be to do with security permissions - looking at that site you linked to. I'm glad you worked it out.
Oh wait, it seems to be to do with security permissions - looking at that site you linked to. I'm glad you worked it out.
#7
27th Jan 2017 at 10:55 PM
Posts: 2,456
Thanks: 4246 in 17 Posts
I think a copy of the fix should be pinned here and not just the link in case somethin happens to that other site.
I'm glad you found the solution and got it fixed. :D
I'm glad you found the solution and got it fixed. :D
#8
28th Jan 2017 at 7:06 AM
The virtual store is only utlised when you install the game to a UAC location, such as the Program Files or Program Files[x86] folders.
Sorry for the long post, but many of the problems I see people writing about with their sims games seem to be caused by ignorance about how UAC works. Just changing the install location would solve most of those.
[Disclaimer- simplified explanation ahead, this is not intended to be completely technically precise! ]
Windows Vista, 7, 8 and 10 all use a security measure called UAC (User account control). UAC can be customised, but in the default setting it ensures that any attempt to write to a protected area must be confirmed by administrator permission. So for example, if you install The Sims 2 and let it install to the default location, you will see a pop-up where Windows informs you about the attempt, and asks you to authorise the install. Very handy for if you click on something on the internet, and it tries to install malware onto your computer- you'll know about it and can prevent it!
In addition to needing permission, UAC also uses file virtualization. This is a measure where no changes are allowed to be made to UAC protected areas- instead, those changes are made to the user's profile, so that the original operating system files are left intact. So, when you install Sims 2 to the default location, you need administrator confirmation and then the files are virtualized to your 'virtual store' folder. In the 'old days' (pre-WIn XP), programs such as SIms 1 used to put all of the install files and userdata (such as savegames and mods) into the Windows or Program Files folders. By the time Sims 2 was released, userdata was generally installed to the local user profile (so, your savegames and mods were in your My Documents folder). With WIndows XP we could all change the install data with no problems, so adding custom script files, lighting files, overrides etc., to the TSData folder was easy. With Vista onwards, the Program Files or Program Files[x86] folders are normally protected by UAC, so if you add something to the overrides folder or edit a script for modular stairs, you need administrator permission and the file is virtualized to your user account virtual store.
So, this is (one of the reasons) why some people have trouble playing older games on newer operating systems. A good example is Sims 3- when it first came out we had to install mods to the same place as we installed the program. This meant that for most players, the mods were virtualized because the default install location was UAC protected. Later, EA released a patch so that the game read mods in the Documents folder. So players deleted old mods from the Program Files folder and put the new ones in the Documents folder. But, the mod files were cached in the virtual store folder. So people had all sorts of issues where mods were oldversioned even though the latest version was in the documents folder, or that mods still worked even though they had been deleted.
To prevent all this, I would recommend to install games to a non-UAC location. This means, not the Windows folder, or the Program Files or Program Files[x86] folders. I make a folder in the root of my hard drive especially for my games installations, called (imaginatively enough) 'Games'. When I install a game, I just choose advanced (or custom) install and change 'Program Files' to 'Games'. So Sims 2 is installed to C:\Games\EA Games. This way, I can mod without having to grant administrator permissions, and without having to clear my virtual store. Which means clean templates work!
Some people recommend to turn off UAC or virtualization, however they are essential security measures and I would advise against that. Others (like the tutorial linked earlier) show how to change file permissions, however this is lengthy and can cause problems if done incorrectly. An alternative install location is much simpler and cleaner, and bypasses virtualization altogether. Virtualization is necessary for the information that protects your data and makes your computer work (like drivers, security software, browsers, user authentication) but not so important for games (which can be reinstalled if you break something whilst modding, and won't stop your computer from working).
More info can be found here:
https://en.wikipedia.org/wiki/User_Account_Control
Windows Vista, 7, 8 and 10 all use a security measure called UAC (User account control). UAC can be customised, but in the default setting it ensures that any attempt to write to a protected area must be confirmed by administrator permission. So for example, if you install The Sims 2 and let it install to the default location, you will see a pop-up where Windows informs you about the attempt, and asks you to authorise the install. Very handy for if you click on something on the internet, and it tries to install malware onto your computer- you'll know about it and can prevent it!
In addition to needing permission, UAC also uses file virtualization. This is a measure where no changes are allowed to be made to UAC protected areas- instead, those changes are made to the user's profile, so that the original operating system files are left intact. So, when you install Sims 2 to the default location, you need administrator confirmation and then the files are virtualized to your 'virtual store' folder. In the 'old days' (pre-WIn XP), programs such as SIms 1 used to put all of the install files and userdata (such as savegames and mods) into the Windows or Program Files folders. By the time Sims 2 was released, userdata was generally installed to the local user profile (so, your savegames and mods were in your My Documents folder). With WIndows XP we could all change the install data with no problems, so adding custom script files, lighting files, overrides etc., to the TSData folder was easy. With Vista onwards, the Program Files or Program Files[x86] folders are normally protected by UAC, so if you add something to the overrides folder or edit a script for modular stairs, you need administrator permission and the file is virtualized to your user account virtual store.
So, this is (one of the reasons) why some people have trouble playing older games on newer operating systems. A good example is Sims 3- when it first came out we had to install mods to the same place as we installed the program. This meant that for most players, the mods were virtualized because the default install location was UAC protected. Later, EA released a patch so that the game read mods in the Documents folder. So players deleted old mods from the Program Files folder and put the new ones in the Documents folder. But, the mod files were cached in the virtual store folder. So people had all sorts of issues where mods were oldversioned even though the latest version was in the documents folder, or that mods still worked even though they had been deleted.
To prevent all this, I would recommend to install games to a non-UAC location. This means, not the Windows folder, or the Program Files or Program Files[x86] folders. I make a folder in the root of my hard drive especially for my games installations, called (imaginatively enough) 'Games'. When I install a game, I just choose advanced (or custom) install and change 'Program Files' to 'Games'. So Sims 2 is installed to C:\Games\EA Games. This way, I can mod without having to grant administrator permissions, and without having to clear my virtual store. Which means clean templates work!
Some people recommend to turn off UAC or virtualization, however they are essential security measures and I would advise against that. Others (like the tutorial linked earlier) show how to change file permissions, however this is lengthy and can cause problems if done incorrectly. An alternative install location is much simpler and cleaner, and bypasses virtualization altogether. Virtualization is necessary for the information that protects your data and makes your computer work (like drivers, security software, browsers, user authentication) but not so important for games (which can be reinstalled if you break something whilst modding, and won't stop your computer from working).
More info can be found here:
https://en.wikipedia.org/wiki/User_Account_Control
Sorry for the long post, but many of the problems I see people writing about with their sims games seem to be caused by ignorance about how UAC works. Just changing the install location would solve most of those.
I will choose a path that's clear- I will choose free will
-RUSH- -RADIO- -RADIO- -EON- -ARCHIVES-
Simpeople and Me Archive- 11Dots Archive- My Sims World Archive- Sims 1 Archive
Angel Classic Rock Mix!
-RUSH- -RADIO- -RADIO- -EON- -ARCHIVES-
Simpeople and Me Archive- 11Dots Archive- My Sims World Archive- Sims 1 Archive
Angel Classic Rock Mix!
#9
28th Jan 2017 at 7:11 AM
Posts: 2,456
Thanks: 4246 in 17 Posts
*showing my ignorance here :D* .. What UAC?
EDIT: *now showin my blondness* ..Umm.. nvm .. I opened your spoiler ... lol ..
EDIT: *now showin my blondness* ..Umm.. nvm .. I opened your spoiler ... lol ..
#10
28th Jan 2017 at 9:34 AM
Very interesting, thank you for the information! @maxon I agree, this should be added to the Wiki, who does that?
"I dream of a better tomorrow, where chickens can cross the road and not be questioned about their motives." - Unknown
~Call me Jo~
#11
28th Jan 2017 at 11:15 AM
Posts: 12,355
Thanks: 855 in 4 Posts
I think I might have a try at doing that - I wanted that badge anyway
That explanation is good SimSample (if a bit long!) - explains why I don't or didn't have the problem as the game is installed on my E drive.
That explanation is good SimSample (if a bit long!) - explains why I don't or didn't have the problem as the game is installed on my E drive.
#12
28th Jan 2017 at 11:51 AM
Last edited by maxon : 28th Jan 2017 at 12:12 PM.
Posts: 12,355
Thanks: 855 in 4 Posts
Double-posted because I wanted to set this out separately. This is my first version of a summary of what could go in the wiki:
Changes in game files (not My Documents), such as installing empty templates, not taking effect
Description
Installing the game on newer Windows platforms (7, 8, 10) can cause an issue to do with Windows use of virtualisation security features and Virtual Store (see the wiki article here for further information: https://en.wikipedia.org/wiki/User_Account_Control). An example might be installing empty templates to create neighbourhoods without any sims in them only to find when neighbourhoods are created in game that they are full of the regular Pleasantview townies and NPCs and so on. This can be caused by the way Window’s Virtual Store creates copies of game files for regular use in running the game in order to protect the installation files from being overwritten and thus damaging your installation. Copies are made of the game folders in your Virtual Store folders and the game uses them instead of the ones in Programs. Installing empty templates then means you might edit the template files and folders in your game files but the game continues to use the unchanged versions in your Virtual Store folders. Hence, lots of unwanted NPCs and townies.
Solution: there several possible solutions
Some people recommend turning off the system altogether. However, virtualisation does provide a measure of security for Windows users which is important and if you are not too confident about handling such issues, turning off the system may not be a good idea. Another possibility is to edit or delete the files and folders in the Virtual Store folders in your system. This can mean making any changes you want twice (a big undertaking if you’re doing templates). Making the TS2 folders read only may also be necessary here.
However, there is a much more straightforward solution. The Virtual Store system only activates if you install the game to the default location (the Program Files or Program Files[x86] folders). Thus the easiest solution is to install the game into a non-default location. When installing the game,
1. When the option comes up to choose the location of your installation, choose advanced (or custom) install and change the location of where the game will install
2. For example you could change 'Program Files' to 'Games' which means that Sims 2 is installed to C:\Games\EA Games instead of the default C:\Program Files\EA Games. Another example might be installing to a different drive (if you have one).
Doing this means you can mod the game without having to deal with the duplicate files and folders in Virtual Store and can avoid having to grant administrator permissions all the time.
This entry was compiled from information reported by Airelda and SimSample. You can read about how Airelda reported and resolved the issue in this thread - http://www.modthesims.info/showthre...849#post5152849 See SimSample’s post 8 for a fuller explanation of the reason for the problem.
My main issue with the wiki is where would you put it. I would say it's an installation issue but the problem turns up when you attempt to mod the game.
Changes in game files (not My Documents), such as installing empty templates, not taking effect
Description
Installing the game on newer Windows platforms (7, 8, 10) can cause an issue to do with Windows use of virtualisation security features and Virtual Store (see the wiki article here for further information: https://en.wikipedia.org/wiki/User_Account_Control). An example might be installing empty templates to create neighbourhoods without any sims in them only to find when neighbourhoods are created in game that they are full of the regular Pleasantview townies and NPCs and so on. This can be caused by the way Window’s Virtual Store creates copies of game files for regular use in running the game in order to protect the installation files from being overwritten and thus damaging your installation. Copies are made of the game folders in your Virtual Store folders and the game uses them instead of the ones in Programs. Installing empty templates then means you might edit the template files and folders in your game files but the game continues to use the unchanged versions in your Virtual Store folders. Hence, lots of unwanted NPCs and townies.
Solution: there several possible solutions
Some people recommend turning off the system altogether. However, virtualisation does provide a measure of security for Windows users which is important and if you are not too confident about handling such issues, turning off the system may not be a good idea. Another possibility is to edit or delete the files and folders in the Virtual Store folders in your system. This can mean making any changes you want twice (a big undertaking if you’re doing templates). Making the TS2 folders read only may also be necessary here.
However, there is a much more straightforward solution. The Virtual Store system only activates if you install the game to the default location (the Program Files or Program Files[x86] folders). Thus the easiest solution is to install the game into a non-default location. When installing the game,
1. When the option comes up to choose the location of your installation, choose advanced (or custom) install and change the location of where the game will install
2. For example you could change 'Program Files' to 'Games' which means that Sims 2 is installed to C:\Games\EA Games instead of the default C:\Program Files\EA Games. Another example might be installing to a different drive (if you have one).
Doing this means you can mod the game without having to deal with the duplicate files and folders in Virtual Store and can avoid having to grant administrator permissions all the time.
This entry was compiled from information reported by Airelda and SimSample. You can read about how Airelda reported and resolved the issue in this thread - http://www.modthesims.info/showthre...849#post5152849 See SimSample’s post 8 for a fuller explanation of the reason for the problem.
My main issue with the wiki is where would you put it. I would say it's an installation issue but the problem turns up when you attempt to mod the game.
#13
28th Jan 2017 at 10:22 PM
File virtualisation and the virtual store folder are touched on several times in Sims 3 help articles, but not at all that I can see in Sims 2. It ought to be linked to in the article for uninstalling (clean install) and the articles that cover making empty neighbourhoods (such as hood creator guidelines). Other then that perhaps make it as a self contained article, link to it in the Game Help page maybe?
Sims 2 Game Helpwiki
Sims 2 Game Helpwiki
I will choose a path that's clear- I will choose free will
-RUSH- -RADIO- -RADIO- -EON- -ARCHIVES-
Simpeople and Me Archive- 11Dots Archive- My Sims World Archive- Sims 1 Archive
Angel Classic Rock Mix!
-RUSH- -RADIO- -RADIO- -EON- -ARCHIVES-
Simpeople and Me Archive- 11Dots Archive- My Sims World Archive- Sims 1 Archive
Angel Classic Rock Mix!
#14
28th Jan 2017 at 10:32 PM
Posts: 12,355
Thanks: 855 in 4 Posts
Quote: Originally posted by simsample
File virtualisation and the virtual store folder are touched on several times in Sims 3 help articles, but not at all that I can see in Sims 2. It ought to be linked to in the article for uninstalling (clean install) and the articles that cover making empty neighbourhoods (such as hood creator guidelines). Other then that perhaps make it as a self contained article, link to it in the Game Help page maybe? Sims 2 Game Helpwiki |
That makes sense - I'll look at it tomorrow.
#15
29th Jan 2017 at 12:21 PM
Posts: 244
Thanks to everyone who continued to contribute to this discussion! Simsample, it is really interesting that simply locating the game in a non-default location can avoid this problem. Thanks for sharing that knowledge!
Maxon, you did a great summary of the information here! Thanks for writing it up for posterity!
Maxon, you did a great summary of the information here! Thanks for writing it up for posterity!
Who Posted
|