Game guide:Avoiding corruption: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>K6ka
No edit summary
m (Replaced the link to this site with a link to sims.fandom.com.)
 
(118 intermediate revisions by 40 users not shown)
Line 1: Line 1:
{{GameGuide-nav}}
{{GameGuide-nav}}


''This tutorial is for [[The Sims 2]] only.''
:''This tutorial is for [[The Sims 2]] only.''
[[File:Explosion..jpg|thumb|The famed "Big Firey Ball Visible From Space"]]


'''Corruption''' in ''The Sims 2'' is when some or all of the game data, whether it is in a neighborhood or in the core game files, become corrupted. Corrupted game data is a bad thing, and could make a neighborhood or the entire game unplayable, depending on what type of corruption occurred. This game guide will try to clear up the misconception between game corruption and neighborhood (shortened to 'hood') corruption, highlight known actions that guarantee corruption, and steps to fix existing corruption.
'''Corruption''' in ''The Sims 2'' is when some or all of the game data, whether it is in a neighborhood or in the core game files, become glitchy or unreadable. In severe enough cases, corruption could make a neighborhood or the entire game unplayable. This game guide explains the difference between game corruption and neighborhood (shortened to 'hood') corruption, highlights known actions that guarantee corruption, provides solutions to fix existing corruption, and dispels common myths about what's game-breaking and what's not.


==The basics on corruption==
__FORCETOC__
===What's corruption? ===
Corruption is when the files for your game or neighborhood end up with junky, glitchy, or nonsense data that cause problems in your game. This can be limited to one neighborhood ("neighborhood corruption" or "hood corruption"), or it can occur globally across your game ("game corruption"). Corruption varies in severity: some forms of corruption can easily be fixed with third-party tools, other forms will cause the game or neighborhood to become unplayable, and many are somewhere in between.


When a neighborhood or game becomes irreversibly corrupted, it is referred to by some players as a "BFBVFS" (<u>B</u>ig <u>F</u>iery <u>B</u>all <u>V</u>isible <u>F</u>rom <u>S</u>pace).<ref>{{Wayback|url=http://wikka.moreawesomethanyou.com/BFBVFS|date=20090917032033|title=BFBVFS - MATYWikka}}</ref>
==The Difference Between Game Corruption and Hood Corruption==
It's common for players to mix up game corruption and hood corruption, and some think all corruption requires a full reinstall.


===The difference between game corruption and hood corruption===
To clear this misconception up, it's important to know that the game stores information on your computer in TWO different locations, assuming that you installed the game in the default locations.
In discussions about corruption, there are usually two types mentioned: ''game corruption'' and ''neighborhood corruption'' (also called "hood corruption"). New players may mix up game corruption and hood corruption, and some incorrectly think all corruption requires a full reinstall.


The ''C:\Program Files\EA Games'' location is where the files that make up the core and backbone of the game are housed. These include the objects.package file, the Sims3D files, audio files, movie files, default items in the game, user interface, graphics, and the game's programming. It also contains the character files for Universal NPCs, such as the [[Grim Reaper]], [[Mrs. CrumpleBottom]], and the [[Therapist]]. The files here are normally never modified, and shouldn't be modified (Mods/hacks '''do''' modify the game's programming, however, it doesn't actually modify the files themselves. The mod loads after the original files, so code from the original files is simply not used, and code that the mod modifies is used instead). There are a few files here that can safely be modified should the player know exactly what they are doing. Corruption that occurs here is known as "Game Corruption".
With ''game corruption'', the corruption occurs within the game's ''installation'' files. These are located on your computer's hard drive—typically <code>C:\Program Files</code> on Windows and <code>Applications</code> on Mac. The installation files are the ones that make up the core and backbone of the game, including the UI, in-game meshes and textures, the Universal NPCs (e.g. [[Grim Reaper]], [[Mrs. CrumpleBottom]]), audio files, and the game's programming itself. These files are normally not modified. If they're modified improperly, the game may begin behaving unpredictably, and the only way to fix it is to reinstall the game, or to replace the modified installation files if you can get access to fresh versions.


With ''hood corruption'', the corruption occurs within ''your saved game data''. These are typically located in your Documents folder, and includes your neighborhoods, custom content, lots and houses bin, storytelling images, and so forth. You can typically find these files at:
The ''C:\My Documents\EA Games\The Sims 2\'' location is where the player's saved game data, custom content, lot & houses bin, storytelling images, neighborhood stories, etc. are stored. Corruption normally occurs in a neighborhood's folder, located in the ''Neighborhoods'' folder. Each neighborhood gets a folder with a unique ID on it (E.g. 'N001') where data relating to the neighborhood, such as Sims, relationships, memories, and lots in the neighborhood are located. Corruption that occurs here is known as "Neighborhood Corruption", and fortunately, it is far less serious than game corruption, but it's also far more common.
*'''Windows:''' <code>Users\<your username>\Documents\EA Games\The Sims 2</code>
*'''Mac:''' <code>\Users\<your username>\Library\Containers\com.aspyr.sims2.appstore\Data\Library\Application Support\Aspyr\The Sims 2</code>


Corruption normally occurs in a neighborhood's folder, located in the ''Neighborhoods'' folder. Each neighborhood gets a folder with a unique ID on it (e.g. <code>N001</code>) containing data relating to the neighborhood (e.g., Sims, relationships, memories, and lots in the neighborhood). Neighborhood corruption is more common than game corruption, but it's often more easily fixable.
==Known Symptoms of Corruption==
This is an '''incomplete list''' of possible symptoms that may indicate corruption. '''Not all symptoms listed here may be a sign of corruption,''' but may be indicators of other problems, such as bad custom content.


===What is and isn't corruption===
Symptoms include:
This is an '''incomplete list''' of possible symptoms that may or may not indicate corruption. '''Not all symptoms listed here may be a sign of corruption,''' but may be indicators of other problems, such as bad custom content.
*Children & toddlers with long-term wants other than Grow Up.<ref>Certain pre-made Sims, such as [[Daniel Bell]], have these oddities.</ref>

*Wants that don't fit the age group (e.g. a toddler who suddenly wants to go on a date).
====Definite signs of corruption====
*Memories & thought bubbles that contain squiggly lines.
Symptoms include:
*Children and toddlers with aspirations other than Grow Up, or long-term wants.
**Some pre-made Sims are an exception to this rule: for instance, [[Daniel Bell]] has a long-term want. However, this only applies to pre-made Sims.
**If you use cheats to age a teen or older Sim into a child or toddler, they will retain their aspiration and long-term wants. This is ''not'' a sign of corruption.
*Children whose family tree contains [https://i.redd.it/siyqi943soo61.png animals] as their mother or father.
*Wants that don't fit the age group (e.g., a toddler who suddenly wants to go on a date. Toddlers wanting to buy a tree or a bush is ''not'' corruption, as this want is allowed for that age group).
*Memories being lost or totally random.
*Memories being lost or totally random.
*Memories displaying <code>$Subject</code> (e.g. "$Subject Got an A+").
*Disappearing Sims.
*Sims completely disappearing from the neighborhood.
*Disappearing lots.
*Disappearing lots. (While some lot types, like secret societies, don't appear in neighborhood view, most lot types should not disappear.)
*Sims losing family members in their family tree.
*Sims losing family members in their family tree.
*Sims showing stats, such as [[Personality]], of other Sims of the neighborhood. This can be checked in-game or using [[Package editor#SimPE|SimPE]].
*Sims becoming unplayable.
*Sims losing stats, like suddenly losing all Personality points and skill points.
*Lots becoming unplayable.
*Neighborhoods causing the game to crash, even with no custom content installed.

====Things that are not corruption====
The following symptoms or behavior are not desired game behavior, but are not corruption.
*'''Blank or blue Wants/Fears slots.''' This can be caused by a momentary glitch or certain mods, but it's not corruption.
*'''"Sim does not exist"/"Incorrect subject instance" or Sim Wants and Fears errors in HoodChecker.''' This usually just means that the relevant relationship, memory, or token is pointing to the wrong location, and can be easily fixed with HoodChecker.
**"Sim does not exist" errors do ''not'' mean that a Sim has been deleted. Deleted Sims will be displayed at the top of the HoodChecker log with the message, "Sim has no Character file."
*'''Pink or purple flashing.''' This happens when the game runs out of texture memory and starts dumping textures that are currently in use.<ref>[http://www.leefish.nl/mybb/showthread.php?tid=7909&pid=41063#pid41063 LeeFish: Sims 2 UC Win10 Pink Flashing (Post #2)]</ref> It's not related to corruption.
*'''Blue flashing.''' This usually indicates a missing texture, missing item groups, or a glitchy mod. (Sims with flashing blue faces can be fixed through Change Appearance in the mirror.)
*'''Red flashing.''' Red flashing doesn't mean corruption; it just means the game thinks your graphics card or drivers are unsupported.<ref>[https://modthesims.info/wiki.php?title=Game_Help:Red_Flashing_Walls Game Help: Red Flashing Walls (Mod The Sims)]</ref> (It can also be caused by outdated lighting mods.)

====What could be, but isn't always, corruption====
Some game problems can be caused by corruption, but they can also be caused by something else.
*'''Game crashes.''' There are ''many'' reasons your game can crash, such as insufficient memory or bad custom content. Corruption can cause crashes, but it's not the only or most likely cause.
*'''Neighborhoods disappearing from the game or HoodChecker.''' Neighborhoods disappear when they contain unreadable data or can't be found by the game, which can be caused by renaming files improperly or incompletely, changing the name of your <code>Documents\The Sims 2</code> folder, or corruption. Check your game directory before assuming it's corruption.
*'''Memories and thought bubbles with squiggly lines and/or stretched and distorted text.''' Sometimes the game displays squashed need icons (that resemble squiggly lines) because it can't find the proper thumbnail like [https://imgur.com/yq8SJSw this], which is not corruption. Thought bubbles displaying squashed interest icons may be corruption, but these can likely be fixed using the [[FFS Lot Debugger|BatBox]] to clear corrupt memories and gossip.<ref name="midge1" /> However, thought bubbles displaying squashed interest icons when gossiping about corrupt gossip have been patched out of the game since the [[The Sims 2: University|University]] or [[The Sims 2: Nightlife|Nightlife]] expansion packs. They may also be due to a Sim lacking wants when asked by another sim what they want through the ask interaction.<ref>April Black’s video provides more context. https://youtu.be/4GauWWd_5DM</ref>
*'''Sims disappearing from households or becoming unplayable.''' If a Sim vanishes from their household, but still appears elsewhere in-game (e.g. Relationships panel, family tree, memories), that can just be a glitch (and you may be able to summon them back to the lot using the Tombstone of L and D). It's a sign of corruption if the Sim has disappeared ''everywhere'' in-game or if they show up in memories as $Subject.
*'''Lots becoming unplayable.''' If a single lot causes the game to crash, that specific lot may be corrupt, but moving out the family and bulldozing the lot will be sufficient. Sometimes lots may crash due to CC, and removing the problem CC will fix the crashing.
*'''Buy and Build Mode becoming indefinitely disabled.''' Use ''Fix...'' > ''Reenable Controls'' on the [[FFS Lot Debugger|Batbox]] to reenable them.
*'''"Sim has no Character file" in HoodChecker.''' Sometimes, running HoodChecker on a neighborhood returns the error "Sim has no character file." In an unmodded game, this ''is'' a sign of corruption, but if you have mods that add custom NPCs, this is a side effect of the mod and is completely normal. (Most custom NPCs have a character file beginning with <code>0x00</code>.)<ref name="midge1">[https://midgethetree.tumblr.com/post/629528762801864704/midge-is-squiggly-lines-thought-bubble-always-a Midge The Tree on Tumblr]</ref> There is an incomplete list of mods that create NPCs [https://modthesims.info/wiki.php?title=CustomContentThatCreatesNPCs here.]
*'''SimPE displaying Sim portraits with red or blue backgrounds or Mr. Potato Heads.''' Seeing these in SimPE can sometimes indicate problems, but they can also be harmless.
**Red backgrounds means SimPE can't locate all character data in the Sim's character file. This ''can'' be a sign of corruption if seen on normally-playable Sims, but this is also common for NPCs whose data is stored outside of the Characters folder (such as Universal NPCs, who are located in the ''objects.package'', or custom NPCs added to the Downloads folder).<ref name="mtsbg2">[https://modthesims.info/showthread.php?p=5666156#post5666156 Red/Blue Thumbnails in SimPE & Other Simmer's Experiences with It (Post #5)]</ref>
**The Mr. Potato Head appears when SimPE can't find the Sim's portrait. This doesn't indicate corruption; it can happen even if the Sim has a portrait in-game.<ref>[https://modthesims.info/showthread.php?p=5666062#post5666062 Red/Blue Thumbnails in SimPE & Other Simmer's Experiences with It (Post #2)]</ref>
**Blue backgrounds means the Sim's character file is ''unlinked.'' It's not unusual to see this on NPCs with incomplete character files (e.g. [[Pollination Technician]] or the [[Unsavory Charlatan]]) or deceased Sims in premade neighborhoods.<ref name="mtsbg2" />
**SimPE also has difficulty reading split character files, but the game does not. Split character files do not indicate corruption. They can be caused by certain mods.

==Corruption on Macs: The Mac File Limit==
Players on macOS need to be aware of the Mac file limit. MacOS has a built-in limit of how many files can be open at once which is not specific to any game. When launching ''The Sims 2'', the game opens every file in your game's Documents folder in addition to its installation files. If the computer's file limit is surpassed while the game is still opening, the computer will stop reading the game files, which can lead to temporary or permanent data loss (i.e., corruption).<ref name="maclimit">[https://bunsim.tumblr.com/MacFileLimitHelp Sims 2 on Macs: Crashes and File Limits]</ref>

===Signs you've hit the file limit===
If you've hit the file limit, you'll experience strange in-game behavior that might not obviously resemble corruption. This can include:<ref name="maclimit" />
*'''Disappearing Sims:''' Sims permanently vanish from the Family Bin or their homes. These Sims will be missing from the Relationships panel and family trees, and memories about them will have no portrait and display <code>$Subject</code> in place of their name.
*'''Disappearing lots:''' Lots placed from the Lot Bin will be missing their buildings, and appear empty. In some cases, the lots may simply not appear in the Lot Bin.
*'''Missing lot or neighborhood icons:''' Neighborhood thumbnails are replaced by wireframe icons. If traveling between lots, the lot thumbnails will be replaced by the same wireframe icons.
*'''Widespread aspiration failure:''' All Sims and pets are suddenly experiencing [[aspiration failure]], including very young Sims (e.g. babies and toddlers).
*'''Body Shop shows a black screen:''' If you open Body Shop, the menu will appear, but the left side of the screen (where the mannequin appears) will be completely black.

===Avoiding the file limit===
The only way to prevent corruption caused by hitting the file limit is to not reach the file limit in the first place. Luckily, there are several things you can do to reduce the risk.
*'''Close other programs before starting the game.''' The more programs you have open, the more files are in use on your computer, and the less space your Mac has to read the game files.
*'''Remove folders of neighborhoods that you don't play.''' If you don't play the premade 'hoods, drag their folders out of your game folder or delete them. If you have multiple neighborhoods, but only want to play with one specific neighborhood today, put the folders for the other 'hoods on your desktop. Leaving them in forces the game to open extra files.
*'''Prevent overpopulation.''' ''Always'' run your game with mods to reduce overpopulation, create townie-free custom neighborhoods, and avoid moving Sims across neighborhoods (as this creates excessive amount of "stub" files that the OS has to open).
*'''Clean up your custom content.''' The game opens your files in alphabetical order, meaning it reaches your Downloads folder before your Neighborhoods folder. A messy or overflowing Downloads folder will quickly bring you to the file limit.
**Delete redundant or glitchy files, content missing meshes or textures, or content that you don't use.
**Reduce the amount of custom content you're using.
**Organize your content by name or category. Avoid organizing your content into multiple subfolders, as this increases the number of files your game has to read.
**Rename files with lengthy names or special characters.
**Use default replacements where available. These typically store multiple recolors of custom content in a single .package file.
**Use content that's repositoried ("repo'ed" or "slaved") to existing in-game content or another piece of custom content.

{{Tip|If you have access to Windows, use SimPE or [https://modthesims.info/d/648473/ccmerger-1-4-merge-your-packages.html CCMerger] to merge custom content files together. This allows you to bundle multiple pieces of content into one or two files, thus reducing your chance of reaching the file limit.}}

====Raising the file limit (MacOS Mojave and earlier) ====
You may have seen mentions of "raising the file limit" on forums or other ''Sims 2'' guides for Mac. It ''is'' possible to increase the file limit on macOS 10.14 (Mojave) and earlier using a Terminal command. Unfortunately, this was disabled in macOS 10.15 (Catalina), so anyone running 10.15 or higher cannot raise the file limit.

If your Mac is on 10.14 (Mojave) or lower, the way you raise the file limit depends on what version of the OS you're running.
*On MacOS 10.11 through 10.14 (El Capitan through Mojave), follow the steps in [https://modthesims.info/t/608063 this guide].
*On MacOS 10.9 or 10.10 (Mavericks or Yosemite), follow the steps in [https://bunsim.tumblr.com/MacFileLimitHelp this guide].


==Playing in a neighborhood while its package file is open in SimPE==
The data regarding Sims and Lots is stored in two separate locations: the corresponding subfolders of the Neigborhood folder, and the neighborhood's main package file, named "[Number]_Neighborhood.package". If one opens this file in SimPE or a similar program, then launches the game and creates new Sims and lots in the neighborhood, these Sims and lots will disappear immediately and no data will reference them in the Neighborhood.package file, while they will still have their own separate files in the dedicated subfolders.

This is because the Neighborhood.package file, like any file on any computer, can only be edited in one program at once. While the game will still read it when it's open in SimPE, it is technically read-only and the game will not be able to save any modification made by the player. Because ''The Sims 2'' doesn't have an error message that would be displayed in the event of a save failure, it will look as if the progress was saved even though it has not. Always close SimPE, Hoodchecker, and any other ''Sims 2'' programs before running the game.

==Avoiding corruption==
Most forms of corruption, particularly game corruption, can be avoided by not doing certain things in-game.
=== Avoiding game corruption===
The following actions are known to ''corrupt the game's installation files''. They should ''not'' be attempted, as the only way to fix them is to reinstall the game.
====Interacting with Universal NPCs outside of their in-game designated purposes====
Certain NPCs, such as the [[Grim Reaper]], [[Mrs. CrumpleBottom]], [[Therapist]], [[Pollination Technician]]s, [[ideal plantsim]], and so forth, do not have playable character data. Their character files are not located in the folder of the neighborhoods, but in the ''objects.package'' file in the <code>C:\Program Files</code> location. Modifying them in any way or form that involves hacks, cheats, or [[Package editor#SimPE|SimPE]] will corrupt that file.<ref name="NPC1">[https://www.modthesims.info/showthread.php?t=349317 Mod The Sims: NPCs that are safe to marry]</ref> Unsafe interactions with these NPCs include:
*Making them selectable or moving them into a household
*Renaming them or changing their appearance
*Changing any of their data through SimPE
A list of unsafe NPCs, including Universal NPCs, can be found at [[Game guide:Which NPCs are safe to play as?]]

The following will not corrupt the game:

*Spawning Universal NPCs on your lot - just having these NPCs on your lot does not corrupt the game.
**This includes Universal NPCs being spawned to "collect" child ghosts. They may not be able to leave the lot, however, so you can delete them with the move objects cheat to remove them. There are several mods that will stop these NPCs from being summoned to collect child ghosts if you find this annoying.
*Clicking either yes or no on dialogs such as [https://i.redd.it/f5g8spnay05a1.jpg this] (Sims being introduced through Apartment Life's [[Reputation#Secret Networking|Secret Networking]] system)
**Clicking yes will create a relationship between your Sim and the NPC. However, relationships are stored in the neighborhood package file and will not result in a modification of your objects.package (or the character files)
**Clicking no will result in no change and no relationship will be created
**You can get [https://midgethetree.tumblr.com/post/616594357984854016/networking-friend-fix-sometimes-if-a-sim-has-a the Networking Friend fix] if you want the game to stop choosing Universal NPCs for this dialog.

====Recklessly modifying the game's installation files without backups====
It ''is'' possible to safely modify the game's installation files, but because these contain the core data used to run the game, indiscriminately messing with these files can cause glitchy behavior or prevent the game from starting. If you don't back up the files before modifying them, and the changes cause problems, you may be forced to reinstall the game to fix it. '''Always''' back up any installation files you plan on modifying, even if you don't think you'll have a problem—it's better to be safe than sorry.

{{Tip|The average ''Sims 2'' player can safely modify certain core files without causing damage. Examples of this include editing the ''Graphics Rules.sgr'' and ''Video Cards.sgr'', installing Sims2RPC, [[Game guide:Allmenus cheat|enabling the allmenus cheat]], and installing custom lighting systems.}}

====Deleting default replacements in-game====
By default, the game prevents you from deleting EAxis content in Create-a-Sim or Buy/Build mode. However, using default replacements can reenable the in-game or Body Shop "Delete" icon. "Deleting" a default replacement will delete the texture of the object or Create-a-Sim content in the installation files, which can result in paper-white objects or Sims and break any related Want trees.<ref>[https://modthesims.info/t/577460 Mod The Sims: I deleted a Default Replacement the wrong way... :(]</ref> Unless you backed up your installation files, the only way to fix this is to reinstall the game. (Deleting a default replacement from your Downloads folder is completely safe.)


==Avoiding Game Corruption==
===Avoiding neighborhood corruption===
The following actions will ''permanently'' corrupt your neighborhood. There are methods of getting a corrupted neighborhood to keep running for a good while longer, but these are not permanent solutions. The best option is to never attempt these actions.
The following actions are known to CORRUPT YOUR GAME FILES. They should NEVER be attempted, unless you are just happy to have a broken game. ACTIONS TAKEN HERE WILL NOT ONLY CORRUPT YOUR GAME, BUT WILL ALSO CORRUPT ALL YOUR NEIGHBORHOODS, EXISTING AND FUTURE. In short: '''DO NOT TRY THIS AT ALL!'''


====Deleting character or lot files from the Documents folder====
*Interact with Universal NPCs, such as the Grim Reaper, Mrs. CrumpleBottom, Therapist, Pollination Technicians, ideal plantsim, etc. in ANY WAY OUTSIDE OF THEIR IN-GAME DESIGNATED PURPOSES.
The neighborhood saves Sim and lot data in two different locations: the Neighborhood.package file, and the character or lot file itself. If you want to delete a Sim or lot file from your game, do so using [[Game guide:How to delete a Sim correctly|this game guide]]. If you delete the character or lot file without properly cleaning the Neighborhood.package file, your hood will be left with half of a Sim or a lot, and will not function properly.
**These Sims do not have playable character data. Their character files are not located in the Neighborhoods.package file, but in the objects.package file in the C:\Program Files location. Modifying them in any way or form that involves hacks, cheats, or [[SimPE]] will corrupt that file.<ref name="NPC1">[http://www.modthesims.info/showthread.php?t=349317 A thread at MTS that discusses the issue further].</ref>
**[http://simswiki.info/wiki.php?title=Playing_NPCs_and_Adding_them_to_Households Here is an incomplete list] of known NPCs that are safe to play as, and those that aren't.


*The Characters folder is located at <code>~\The Sims 2\Neighborhoods\''<Hood>''\Characters\</code>
*Modify ANY file in the C:\Program Files location in ANY WAY or form.
*The Lots folder is located at <code>~\The Sims 2\Neighborhoods\''<Hood>''\Lots\</code>
**These files were not intended by Maxis/EA for you to tamper with them, and doing so could void your warranty and destroy your game. '''There are a FEW files that CAN be safely modified IF YOU KNOW EXACTLY WHAT YOU ARE DOING.''' The [[:Game_guide:Allmenus_cheat|allmenus cheat]] is a perfect example.


==== Using the ''deleteallcharacters'' cheat====
==Avoiding Neighborhood Corruption==
Contrary to popular belief, it's safe to delete Sims from the [[Family bin|Family Bin]].<ref name="matydel">[http://www.moreawesomethanyou.com/smf/index.php?PHPSESSID=4d966d677b98eac6343e0b7555f54957&topic=23232.msg608607#msg608607 More Awesome Than You!: Are stub character files really harmful to your game? If so, how? (Reply #2)]</ref> When you delete a Sim from the bin, the Sim's character file is "stubbed," but the file itself is still complete.<ref>[https://modthesims.info/showthread.php?p=5798549#post5798549 Mod The Sims: How EXACTLY does deleting Sims from the family bin cause corruption? (Post #1)]</ref> However, the <code>deleteallcharacters</code> cheat wipes out all character files in the neighborhood's Characters folder, and may not fully clean out all the data.<ref name="mtspg2">[https://modthesims.info/showthread.php?p=5798747#post5798747 Mod The Sims: How EXACTLY does deleting Sims from the family bin cause corruption? (Post #32)]</ref> To be on the safe side, avoid the cheat, and use [[Game guide:Creating a clean neighborhood|these instructions]] to create a new neighborhood with no Sims at all.
The following actions will PERMANENTLY corrupt your neighborhood. There are methods of getting a corrupted neighborhood to keep running for a good while longer, but these are not permanent solutions. The best option is to never attempt these actions.


====Using ''changelotzoning'' on occupied lots====
*Delete a Sim in the [[family bin]].
Trying to use the <code>changelotzoning</code> cheat on an occupied lot will cause problems in-game. Some lot types do not allow the lot to be saved, while others could make the lot disappear from the neighborhood. If you want to change the lot zoning of an existing lot, move any Sims out first, and don't attempt to change the lot zoning of a community lot that your Sim is currently visiting.
**As crazy as it seems, but EAxis didn't code this part properly, and now it's costing a lot of people their beloved neighborhoods. The in-game delete button doesn't delete the Sim entirely. It shreds off a portion of the Sim's character file and their Sim Description (which is located in the Neighborhoods.package file), unlinks the character file, and leaves a 1KB character file in the "Characters" folder. The game does not properly clean out all references to the Sim, which means that memories, gossip, relationships, Sim Wants And Fears, etc. that involve the deleted Sim are now corrupted, as they point to non-existent data. Even if a Sim was created fresh out of Create-A-Sim, it doesn't mean that they are safe to delete via this method.
***[http://www.modthesims.info/showthread.php?t=504497 This thread] shows you how to delete a Sim correctly. It's not perfect, and it still leaves some rubble behind, but it is nonetheless safer than the in-game delete button.


====Overpopulating your neighborhood====
*Delete Character Files from the C:\Documents\EA Games\The Sims 2\Neighborhoods\<Hood>\Characters folder.
The maximum value of the Sim Creation Index is 32767. Once a neighborhood has reached the limit, trying to create any new sims (via births, CAS or any other way) will result in the game crashing. This is not actually a character file limit as previously thought because if you manually set the SCID to 32767 you will see the same results as if you actually had 32767 character files - the limit is with the value of the SCID and not the number of files.
**The neighborhood saves Sim data in two different locations - the Neighborhood.package file, and the character file itself. If you delete the character file without properly cleaning the Neighborhood.package file, your hood will be left with half-a-Sim, and will not function properly.<ref>Character file can be deleted safely once [http://www.modthesims.info/showthread.php?t=504497 this] method is followed.</ref>


However, MacOS users also have the MacOS file limit to contend with and need to be cautious of running up against that file limit. Additionally, Windows players with all EPs and SPs have sometimes reported issues with their game once their Characters folder surpasses about 1,000 Sims.<ref>[https://modthesims.info/showthread.php?t=663154#post5798579 Mod The Sims: How EXACTLY does deleting Sims from the family bin cause corruption? (Post #5)]</ref>
*Delete Lot Files from the C:\Documents\EA Games\The Sims 2\Neighborhoods\<Hood>\Lots folder.
**The neighborhood saves lot data in two different locations - the Neighborhood.package file, and the lot file itself. If you delete the lot file without properly cleaning the Neighborhood.package file, your hood will be left with half-a-lot, and will not function properly.
***To delete a lot, move all Sims, tombstones, and urns out of it, sell the lot if it is an owned business, use [http://drupal.cyjon.net/node/430 Cyjon's Lot Inspector] to verify that it is safe to delete, and then bulldoze it from the neighborhood.


The best way to avoid hitting the limit is to prevent unnecessary Sims from being generated. There are multiple ways to do so:
*Move an occupied lot or an owned community lot to the lot bin.
*Use [[Game guide:Avoiding corruption#Reducing the risk of corruption|mods designed to prevent overpopulation.]]
**The game transfers character data from the neighborhood to the lot bin, but does not completely erase all traces of the Sims from the neighborhood. Sims in the neighborhood may gossip about the missing Sims, spreading the corruption around the hood. Also, moving the lot back into the neighborhood will create new character files, instead of overwriting the existing ones. Moving the lot into another neighborhood will introduce the corruption to the hood it is moved into.
*When creating new neighborhoods, [[Game guide:Creating a clean neighborhood|create them with no preexisting townies]].
***[http://simswiki.info/wiki.php?title=Game_Help:Moving_Sims Use the "Easy Way"] to move Sims from one neighborhood to another. That is the only known method that is 100% safe.
*Avoid moving many Sims between neighborhoods. The process is technically safe, but it creates "stub" files of every Sim who knows each Sim in the household, and brings these stub files over to the new neighborhood. This can quickly fill up the Characters folder and lead to overpopulation.<ref name="mtspg2"/> If you want to move Sims to a new neighborhood without bringing in extraneous character files, [[Game guide:How to extract the appearance of in-game Sims|extract their appearances with SimPE]] and then recreate them in the new neighborhood in [[Create a Sim]].
***Occupied lots that are already in the bin are safe to delete, as the damage has already been done.


====[[Game guide:Which NPCs are safe to play as?|Attempting to move in, make selectable, or modify certain NPCs outside of their in-game designated purpose]]====
*Install an occupied lot, including downloaded lots that ship with families.
There are certain NPCs that have playable character data and are possible to move in without the use of cheats. However, there are some Sims that do not have a complete character file, such as the [[Social Worker]] or [[Repo-man]]. Tampering with them in any way or form outside of the in-game designated purposes may corrupt the neighborhood they are in.<ref name="NPC1" />
**If the sims had any relationships with any sims not living on the same lot in their original neighborhood, placing the lot in your neighborhood will create partial character files of all the sims that the lot's residents used to know. This will cause errors in the long run. You may find some occupied lots available for download which the creator has 'cleaned' to make them safe; the cleaning process is not 100% reliable, so you should exercise extreme caution and back up your neighborhoods before installing. The two occupied lots, [[Kat family|Kat]] and [[Kim family|Kim]], that ship with ''[[The Sims 2: Pets|Pets]]'', are 100% safe.
***If you want the Sims that come with the lot and not the lot itself, create a new neighborhood, move the occupied lot into the neighborhood, and then extract the appearances of the Sims using [http://www.modthesims.info/showthread.php?t=94489 this method]. Then re-create the Sims in CAS in the neighborhood you want to move them in. You can delete the corrupted neighborhood if you wish, as you no longer need it.


A list of unsafe NPCs can be found at [[Game guide:Which NPCs are safe to play as?]]{{Warning-header|Prior to the [[The Sims 2: Open for Business/Patch|Open For Business patch]], the [[Gypsy Matchmaker]] could sometimes spawn the Social Worker as a blind date. If this occurs, delete her using the [[moveobjects]] cheat. Do ''not'' attempt to interact with her.}}
*Use the ''DeleteAllCharacters'' cheat.
**This cheat, like the family bin delete button, will destroy part of all the character files in the neighborhood and leaves lots of junk, orphaned information. New Sims created may acquire this corrupted data.
***If you want to create a neighborhood with no Sims at all, follow [[Game_guide:Creating_a_clean_neighborhood|these instructions]].


==== Resurrecting some premade dead Sims====
*Delete Tombstones/Urns
Several Maxis neighborhoods have deceased Sims with incomplete character data, corrupted genetics, or [[Power (aspiration)|defunct aspirations]]. This is most prevalent in the original three neighborhoods ([[Pleasantview]], [[Strangetown]], and [[Veronaville]]). Resurrecting these Sims with the [[Resurrect-O-Nomitron]] can cause glitchy behavior.
**Tombstones and urns are treated as Sims by the game. Deleting a tombstone/urn is the same as deleting a Sim using the in-game delete button - the character file is damaged, the Sim unlinked, and the memories, gossip, and references left behind to corrupt the neighborhood.<ref>There are a number of glitches that can delete urns/stones for no apparent reason, which makes dead Sims extremely glitchy and dangerous. Pescado's No Unlink on Delete mod prevents corruption from occurring due to these unpatched bugs.</ref>
***Install Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,2083.0.html No Unlink on Delete] mod '''now''' to avoid corruption caused by the deletion of urns/tombstones. The mod prevents the game from shredding character file data when urns/stones are deleted. As long as the character data is intact, and nothing is unlinked, the references to the Sim are valid and uncorrupted, because they are pointing to a Sim that exists.<ref>Even with the mod, it is still recommended that you do not delete the urn/stone - it is mainly a precaution in case the game deletes the Sim for no reason.</ref>
***Again, to delete Sims, follow [http://www.modthesims.info/showthread.php?t=504497 this method].
***If you wish to remove the urns/stones because of the annoying ghosts, create a lot designated as a cemetery lot, and move the graves over there. Graves there will appear by the pay phone.
***Graves in apartment lots are extremely unstable. If the last Sim in an apartment slot dies, the grave will be moved to a random community lot, but it may also be deleted or moved to a non-existent lot. Use the [http://modthesims.info/d/316426 Select Your Cemetery] mod to force the game to give you the option to move the urns to a community lot.


==== Removing mods that create custom NPCs====
*Move lots that have graves to the lot bin.
Some mods or custom content create NPCs as part of the mod. These include custom objects that move around a lot (e.g. bicycles or farm animals), multi-[[Pollination Technician]] or multi-[[ideal plantsim]] mods, or Sims that otherwise function as part of the mod (e.g. nurses in any version of Chris Hatch's hospital mod). Once these NPCs have been created, simply deleting the mod's files is similar to deleting files out of a neighborhood's Characters folder: it only partially deletes the NPCs from the neighborhoods, so character data points to the wrong location and causes corruption.<ref>[https://www.modthesims.info/showthread.php?t=496887 Mod The Sims: I didn't corrupt it .. oh, maybe I might have? Removing NPCs/about PT mods]</ref>
**Exactly like moving occupied lots in the lot bin. Graves are treated as Sims by the game, and moving them to the lot bin will leave corrupted references behind. Moving them back into the neighborhood or into another neighborhood will simply cause more corruption.


If you want to get rid of a mod that created custom NPCs in your game, you ''can'' delete the mod, but you must keep the NPCs in your existing neighborhoods. Find the file for the custom NPCs, and move them from your Downloads folder into the <code>Documents\The Sims 2\Neighborhoods\''<Hood>''\Characters</code> folder of each of your existing neighborhoods. Afterwards, you can delete all of the relevant mod files from your Downloads folder.
*Allow a Sim to die with graves in their [[inventory]].
**When a Sim dies, all items in their inventory are deleted. Deleting graves, as mentioned previously, will damage the dead Sim's character data, and corruption will spread around the neighborhood.


{{Tip|If you want to add mods with custom NPCs to specific neighborhoods, but not all of them, put the NPC character files directly into the Characters folder of the neighborhood(s) you want them to appear in.<ref>[https://www.modthesims.info/showthread.php?p=4866515#post4866515 Mod The Sims: My poor new neighborhood! (Post #22)]</ref>}}
*Resurrect pre-made dead Sims that ship with the game.
**Most of these Sims have incomplete character data, and will cause corruption if resurrected.


====Removing custom memories from your Downloads folder====
*Put tombstones or urns on any of the Open for Business display cabinets or shelves.
The game considers memories to be objects given to Sims. Some game mods, such as the [[InTeenimater]], include custom memories as part of the mod. If you delete these custom memories when a Sim already has them, the custom memory can potentially turn into something else (like another object), which causes problems in-game.<ref>[https://old.reddit.com/r/sims2help/comments/tsst68/deleting_mods_that_have_custom_memories/ r/sims2help: Deleting mods that have custom memories]</ref>
**When a tombstone or urn is placed on an OFB shelf, it will be duplicated. The duplicate tombstone will still be connected to the sim. This will corrupt the Sim.<!--Who honestly wants to sell a dead Sim, anyways??-->


If Sims in your neighborhood already have these custom memories, you can either remove the memories from the affected Sims using the Memory Manipulator (found [https://simmanipulator.forumotion.com/t64-memory-manipulator here]) or SimPE, and then wipe corrupt memories and gossip using the [[FFS Lot Debugger]]. Once no Sims have the memory, you can delete the file containing the custom memory.
*Have too many Sims in your neighborhood.
**The game actually has a character file limit. If you have the base game or the ''University'' expansion, each neighborhood has a maximum population limit of 1000 character files. If you have Nightlife or a later EP/SP, the limit has been increased to around 32757 files. Once a neighborhood has reached the limit, any new Sims created will immediately be lost, and other symptoms of corruption may present themselves.
***[http://www.modthesims.info/showthread.php?t=504497 Deleting a Sim using this method] will remove the character file from your neighborhood, which can help in preventing you from reaching the limit.
***The best way to avoid hitting the limit is to not generate so many Sims in the first place. The [http://www.moreawesomethanyou.com/smf/index.php/topic,132.0.html NoSSrespawn], [http://www.moreawesomethanyou.com/ffs/al/hacks/notownieregen.zip NoTownieRegen], and [http://www.moreawesomethanyou.com/smf/index.php?topic=9607.0 Anti-Redundancy] mods can help with this. You can also [[Game_guide:Creating_a_clean_neighborhood|create a new neighborhood with no Sims at all in it]].


<!-- Editor's note, July 2022: At the time of editing, the Sim Manipulator forum is still active. If the forum goes down at a later date, you may be able to replace it with the direct MediaFire link: https://www.mediafire.com/file/vyvu72bkf9gc449/Memory_Manipulator.zip/file -->
*Save with ghosts active on the lot.
**If you load a lot with ghosts active, the game may, unexplainably, delete all the graves on the lot.
***Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,2083.0.html No Unlink on Delete] mod may prevent corruption from occurring if this happens.


====Removing custom careers or majors that are in use====
*Remove multi-pollination technician or multi-plantsim mods
If you delete a custom career while Sims are employed in it, or a custom major your Sim is enrolled in, the game will not properly reset your Sim's career or major. Sims who were at work or class will go missing, and households of Sims who used the custom career or major might not load. Poorly-created custom careers and majors can even cause problems across all lots in the neighborhood when deleted.<ref>[http://www.moreawesomethanyou.com/smf/index.php/topic,14801.msg427722.html#msg427722 More Awesome Than You: CC in use. What can be removed without exploding stuff? (Replies #21–25)]</ref> Before deleting a custom career or major, have all Sims employed in the career quit their jobs, and direct all students enrolled in the major to change their major.
**Multi-PT and Multi-Plantsim mods consist of one controller package which tells the game to use the custom PTs/plantsims, and a number of packages which are the new pollination technicians or plantsims themselves. Whenever you play a neighborhood with a multi-PT/plantsim mod installed, the characters (namely the Sim Description) are added to that neighborhood even if none of your sims are abducted or turned into plantsims. If you delete the PT or plantsim files from your Downloads folder, you are basically deleting their character file without properly cleaning the Neighborhood.package file, which will corrupt your neighborhood.<ref>[http://www.modthesims.info/showthread.php?t=496887 This thread] discusses the issue further.</ref>
===Avoiding fixable neighborhood corruption===
***If you want to change to a different multi-PT or plantsim mod, remove the controller package (usually the smallest one), but leave the character packages in your Downloads folder.
The corruption here is known to be ''fixable'', but typically requires third-party tools to correct.
***If you're starting a new neighborhood and don't want the PTs or plantsims to be added to that neighborhood, copy the PT and plantsim character files from your Downloads folder into the Documents\The Sims 2\Neighborhoods\Nxxx\Characters folder of each of your existing neighborhoods, then delete them from your Downloads folder.


====Deleting custom or geneticized/townified skins or eyes====
*Save with Sims on the telephone.
This will cause all Sims who were using the deleted skin or eyes to have corrupt DNA. You will have to fix the DNA of all affected Sims individually in [[Package editor#SimPE|SimPE]]. (Deleting default replacements are safe.)<ref>[https://modthesims.info/showthread.php?p=4286483#post4286483 Mod The Sims: Stupid/random questions... (v3) (Post #13570)]</ref>
**When Sims chat with other Sims on the phone, the other Sim is, technically, considered to be on the lot, even though they are nowhere in sight. These Sims are called "Off-World Loiterers". If you save the lot, and install a new hack, patch, expansion pack, or stuff pack, all the objects on the lot will be reset. This normally isn't a problem, except when there are off-world loiterers that aren't a member of the household. The Sim making the call will be reset and return to normal, but the Off-world Loiterer is not sent home properly, which will cause problems in the long run.
*'''How to fix it:''' Instructions on how to fix the genetics are listed at [https://modthesims.info/t/494394 Mod The Sims] or [https://simsasylum.com/tfm/index.php?/topic/73-making-plastic-surgery-genetic/ Sims Asylum] (login required).
***Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,72.0.html FFS Lot Debugger] has an option to remove off-world loiterers, but it only appears when they are present. Do NOT remove off-world loiterers while they are interacting with the Sim on the phone, as that will cause problems.


====Deleting custom foods====
*Move lots to the lot bin with off-world loiterers on them.
This breaks want trees for Sims whose favorite food was the deleted food, and will corrupt the memories of Sims who have a "Learned to make" memory for that food. It's safer to edit the food using SimPE to change it to "false" for all mealtimes, which hides the food in-game without causing memory corruption. (Instructions on doing so can be found [https://modthesims.info/t/581640 here].)
**As previously mentioned, it is unsafe to move occupied lots into the lot bin. It is also unsafe to move a family out while one of its members are on the phone. The off-world loiterer is then left behind, and will remain even when another family moves in. Moving the lot to the lot bin will carry that Sim along with it, and will cause problems over time.
*'''How to fix it:''' If you've already deleted a custom food, use Pescado's [[FFS Lot Debugger|Lot Debugger]] to reset all Sims whose favorite food was the deleted food. Then, use [[Package editor#SimPE|SimPE]] to remove all memories, gossip, and references to the deleted food. This, however, is very time-consuming, and you will no doubt miss something.
***Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,72.0.html FFS Lot Debugger] has an option to remove off-world loiterers, but it only appears when they are present.
***[http://drupal.cyjon.net/node/430 Cyjon's Lot Inspector] can tell you whether it is safe to bin or delete the lot. It can also locate off-world loiterers on unoccupied lots.


==Reducing the risk of corruption==
*Attempt to move in, make selectable, or modify certain NPCs outside of their in-game designated purpose.
Generally, most corruption occurs because of the player's actions. However, some oversights and glitches in the game can cause corruption without player intervention. Luckily, little effort is required to protect against it.
**There are certain NPCs that have playable character data and are possible to move in without the use of cheats - those Sims are usually safe, and probably intended by EAxis for you to move them in. However, there are some Sims that do not have a complete character file, such as the [[Social Worker]] or [[Repo-man]]. Tampering with them in any way or form outside of the in-game designated purposes may corrupt the neighborhood they are in.<ref name="NPC1" />
***The [[Social Worker]] is glitchy, as she may be spawned as a blind date through the [[Gypsy Matchmaker]]. Do NOT attempt to interact with her if she does - delete her using the [[moveobjects]] cheat immediately.
***[http://simswiki.info/wiki.php?title=Playing_NPCs_and_Adding_them_to_Households This incomplete list] indicates which NPCs are safe to play as and which ones aren't.


===Install mods designed to prevent corruption and overpopulation===
*Rezone a lot with Sims living or staying on it.
There are a number of mods and programs, created by skilled modders, that can help reduce corruption. They have little to no impact on gameplay, and are highly unlikely to conflict with other mods. Instructions on how to install most mods can be found [[Game guide:Installing custom content#The Sims 2|here]].
**The game has different rules for different types of lots. Some lot types do not allow the lot to be saved, others could make the lot disappear from the neighborhood. Only perform such a task on empty, preferably new & unused lots.
{|class="mw-collapsible fandom-table"
!'''Anti-Corruption Mods'''
!'''What It Does'''
!'''EP required'''
!'''Notes'''
|-
|'''Mootilda's [https://www.modthesims.info/download.php?t=456523 Hood Checker]'''
|An external program to scan your neighborhood for any unusual or corrupted references and provide an option to remove/fix them. It can detect and fix Family Ties, Sim Relations (SREL), Sims Wants and Fears (SWAF), and Memories. It will also scan for missing character file data, misplaced graves, and other items of interest.
|[[File:The Sims 2 Icon.png|center]]
|HoodChecker is not compatible with macOS.
|-
|'''Mootilda's [https://www.modthesims.info/download.php?t=409950 Sims2Pack Clean Installer]'''
|An external program intended as a replacement to the game's default Bodyshop Installer. It allows players to properly install .sims2pack files, and allows to clean out any mods, hacks, or custom content that may have latched on during the packaging process. It can also show you whether a lot is occupied or not.
|[[File:The Sims 2 Icon.png|center]]
|Clean Installer is not compatible with macOS.
|-
|'''Pescado's [http://www.moreawesomethanyou.com/smf/index.php?topic=2368.0 No Corrupted Death Memory]'''
|Prevents the formation of "corrupted death memories" that lack event owners, which can be spread around neighborhoods through gossip.
|[[File:The Sims 2 Nightlife Icon.png|center]]
|Existing corrupt memories are not affected.
|-
|'''Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,72.0.html FFS Lot Debugger (The Batbox)]'''
|A buyable object found in the Miscellaneous/Miscellaneous section in [[Buy mode]]. It provides a number of options to fix problems that can occur with lots, delete stuck objects/tiles, and remove gossip. It also has the options necessary to [[Game guide:How to delete a Sim correctly|delete a Sim's character file in the correct way]].
|[[File:The Sims 2 University Icon.png|center]]
|A list of its functions can be found [[User:K6ka/FFS Lot Debugger options|here]].
|-
|'''Cyjon's [http://cyjon.net/node/148 Lot Debugger]'''
|Designed to complement Pescado's FFS Lot Debugger. It provides some options for fixing bugs, as well as report on some very useful information.
|[[File:The Sims 2 University Icon.png|center]]
|Requires Cyjon's [http://cyjon.net/node/323 Smarter EP Check] to work.
|-
|'''Cyjon's [http://cyjon.net/node/430 Lot Inspector]'''
|A buyable object from the Miscellaneous/Miscellaneous section of Buy mode, and will report on whether the lot is safe to bin or delete.
|[[File:The Sims 2 Icon.png|center]]
|Users who do not have Apartment Life or Mansion & Garden may find that the object doesn't work correctly. To make it work, press "Ctrl+Shift+C" to open the cheat box, type in [[boolProp testingcheatsenabled]] true, and click on the Lot Inspector. An object error dialog with "Bad gosub tree number" should pop up - click on "Cancel" to ignore the error. The inspector should then file a report.
|-
|'''Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,1482.0.html Creature Fixes]'''
|In addition to fixing a number of bugs, prevents [[Vampire#The Sims 2: Nightlife|vampires]] from biting Mrs. CrumpleBottom and any other NPCs, which can prevent both unwanted and unstoppable neighborhood and game corruption.
|[[File:The Sims 2 Nightlife Icon.png|center]]
|
|-
|'''Cyjon's [http://cyjon.net/node/239 New Friend Fix]'''
|Prevents townies from introducing universal NPCs, such as the Therapist and the Grim Reaper, or pre-made dead Sims through the [[Reputation#Secret Networking|Secret Networking]] interaction (which does not cause corruption but you may wish to avoid it anyway).
|[[File:The Sims 2 Apartment Life Icon.png|center]]
|
|-
|'''Arek_91's [https://www.modthesims.info/download.php?t=316426 Select Your Cemetery] mod'''
|Allows you to select whether to move a grave from an apartment lot to a community lot, and if so, where to move it to. (The default game behavior is to move the grave to a random lot.)
|[[File:The Sims 2 Apartment Life Icon.png|center]]
|
|-
!'''Overpopulation Mods'''
!'''What It Does'''
!'''EPs required'''
!'''Notes'''
|-
|'''Pescado's [http://www.moreawesomethanyou.com/ffs/al/hacks/notownieregen.zip NoTownieRegen]'''
|Prevents the game from generating new townies.
|[[File:The Sims 2 Icon.png|center]]
|
|-
|'''Pescado's [http://www.moreawesomethanyou.com/smf/index.php?topic=9607.0 Anti-Redundancy]'''
|Prevents the game from generating more than 1 of each NPC type, instead of the standard 3 NPCs per NPC type per neighborhood.
|[[File:The Sims 2 Nightlife Icon.png|center]]
|
|-
|'''Cyjon's [http://cyjon.net/node/291 There can only be one (Professor) mod]'''
|Forces the game to generate only one professor per major, instead of the default two.
|[[File:The Sims 2 University Icon.png|center]]
|
|-
|'''Pescado's [http://www.moreawesomethanyou.com/ffs/uni/hacks/nodormiespawns.zip No Dormie Respawn]'''
|Prevents the game from generating new dormies.
|[[File:The Sims 2 University Icon.png|center]]
|
|-
|'''Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,132.0.html No SS Respawn]'''
|Prevents the game from generating new [[secret society]] members.
|[[File:The Sims 2 University Icon.png|center]]
|
|-
|'''Pescado's [http://www.moreawesomethanyou.com/smf/index.php?topic=6027.0 No Stray Respawn]'''
|Prevents the game from generating new stray pets.
|[[File:The Sims 2 Pets Icon.png|center]]
|
|-
|'''Midge The Tree's [https://midgethetree.tumblr.com/post/181733621119/wcif-or-would-you-be-willing-to-share-the-safe Apartment Residents]'''
|Allows the game to pick [[Game guide:Which NPCs are safe to play as?|safe NPCs]], regular townies, and downtownies as [[apartment]] neighbors and [[roommates]] instead of [[social class]] townies, eliminating the need of generating them.
|[[File:The Sims 2 Apartment Life Icon.png|center]]


|
*Remove custom careers/majors while a Sim is employed or enrolled in them
|}
**This will corrupt the households of the sims who use them. Your household may not load, and could cause problems when the sim visits your other lots. Be sure to get all Sims employed/enrolled in that career/major to quit, and then remove it.


===Install meetme2theriver/Tarlia's clean neighborhood templates===<!--Tarlia and meetme2theriver are the same person, so do not confuse them with each other.-->
==Avoiding Fixable Neighborhood Corruption==
Many of the premade neighborhoods ship with corrupt, incomplete, or simply inaccurate Sim data (with Strangetown being the worst off). Tarlia's templates have fixed most of the corruption in these 'hoods. The templates and their associated installation instructions can be found on [https://meetmetotheriver.tumblr.com/tagged/clean%20templates%20rerelease Tumblr].
The corruption here is known to be fixable, but it still should not be attempted. It's always best to avoid corruption than to get corruption and struggle to repair it.


{{Tip|Tarlia's Tumblr contains the most recent, up-to-date versions. The original clean templates can be found on [https://meetme2theriver.livejournal.com/63030.html Livejournal].}}
*Delete custom or geneticized/townified skins or eyes
**This will cause all sims who were using the deleted skin or eyes to have corrupt DNA. You will have to fix the DNA of all affected sims individually in [[SimPE]].
***Instructions on how to fix the genetics are listed [http://simsasylum.com/tfm/index.php?/topic/73-making-plastic-surgery-genetic/ here] (login required).


===Safeguard against child ghosts===
*Delete custom foods
The game does not handle child ghosts properly. When a Sim dies, they are transferred to the "default" household, a household located in the neighborhood data which contains every deceased Sim as well as Universal NPCs. Ghosts (including child ghosts) only appear at night, but the game does not allow children to be left unsupervised outside at night and sends an adult Sim from the child's household to pick them up. However, the only available adult Sims in the "default" household are Universal NPCs. This causes the Universal NPCs to appear on the lot to "pick up" the ghost child, which they can't do. The NPC will subsequently wander around the lot, potentially leading to unsafe interactions and game corruption, but simply having the NPC show up on the lot is not a sign of corruption and does not cause corruption.
**This breaks want trees for Sims whose favourite food was the deleted food, and will corrupt the memories of sims who have a "Learned to make" memory for that food.
***Use Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,72.0.html Lot Debugger] to reset all Sims whose favourite food was the deleted food.
***Use [[SimPE]] to remove all memories, gossip, and references to the deleted food. This, however, is very time-consuming, and you will no doubt miss something.
***It ''may'' be possible to avoid this problem by editing the food so that it is set to false for all mealtimes. This will hide the food in-game but will not cause memory corruption.


If you want to prevent this from happening, pick one of the following three options:
*Let [[Samantha Ottomas]] and/or [[Sarah Crittur]]'s pregnancies come to term.
*Install the [https://modthesims.info/d/657223/child-ghost-npc-summon-fix.html Child Ghost NPC Summon Fix] mod to allow child ghosts to appear, but prevent Universal NPCs from showing up.
**A glitch exists in the game where pregnant Sims shipped in the family bin would carry babies with incomplete character data. Both [[Samantha Ottomas]] and [[Sarah Crittur]] suffer from this glitch. The [[The Sims 2: Seasons/patch|Seasons patch]] fixed the debacle in Samantha, but it will only fix instances of the family in future neighborhoods, or neighborhoods that have not yet been loaded since Seasons was installed. Instances of the family in neighborhoods that were loaded before the patch was applied will have the corrupted family. It is unknown whether the [[Crittur Family]] was ever fixed.
*Install [http://cyjon.net/node/188 Cyjon's Ghost Hack] to prevent child ghosts from appearing at all.
***If you have the unpatched Ottomas/Crittur family, and Samantha/Sarah has not yet given birth, use the [http://www.insimenator.org/index.php/topic,100226.0.html‎ InSIMentator] or [http://simmanipulator.forumotion.com/t7-download-the-sim-manipulator Sim Manipulator] to terminate the pregnancy.
*Move the graves of children to a community lot as soon as they die.
***If Samantha/Sarah has already given birth to the babies, check their family tree with [[SimPE]]. If the babies recognize Peter/Danny as their father, you are safe. If they recognize someone else, such as a townie, another playable Sim, or a pet, change the family ties to the correct father. However, this is not a permanent solution, and your neighborhood is already corrupted.


===Save before quitting, not while quitting===
==How to Fix==
Saving while exiting a household or quitting the game isn't inherently dangerous. However, sometimes the game will crash while it's closing. If this happens in the process of saving, the relevant neighborhood files can become corrupted. Saving separately protects the neighborhood if the game crashes when closing, because the neighborhood files aren't being modified at the time of the crash.
===Game Corruption===
Fixing game corruption is actually quite simple, but it can be time consuming. It's easy to simply check whether a file is corrupted or not - simply mouse-over the files and check the date it was modified at. The files should've been last modified in 2008 and earlier. If they were modified after that, it's possible that they're corrupted.
====The Easy Way====
The easiest way to fix game corruption is to reinstall the entire game! [http://simswiki.info/wiki.php?title=Game_Help:Back_Ups Back up] your saved games and custom content, then proceed to [http://simswiki.info/wiki.php?title=Game_Help:Uninstall uninstall] all expansion packs, stuff packs, and the base game. Then, [http://simswiki.info/wiki.php?title=Game_Help:Install install] everything again. Copy your back up and move it back into the My Documents\EA Games\The Sims 2 folder. Install all the [http://simswiki.info/wiki.php?title=Game_Help:TS2_Patches patches] and make your game files read-only, if you haven't already (instructions are listed further down the article).
====The Hard Way====
First, you'll need to locate the corrupted files. Commonly corrupted files include the objects.package file, the files in the Sims3D folder, and lights.package.


===Back up your saved games===
Fortunately, a clean, uncorrupted copy of the files are located on the game CDs/DVDs. You can easily replace them without the hassle of reinstalling the game.
Backing up doesn't prevent corruption from occurring; however, if your neighborhood begins showing signs of corruption, it allows you to restore an earlier version of your neighborhood that (ideally) isn't corrupt. For instructions on creating backups, see [[Game guide:Backing up your game]]. It is highly recommended that you make neighborhood backups often, at least as often as the amount of progress you can tolerate losing - likely a week per backup. This will allow for restoring your neighborhoods to a somewhat recent state in the event of corruption or a major error on your part.


{{Tip|If you plan on modifying the installation files in some way, copy the files or folders you'll be modifying and paste them to your desktop to create a backup.}}
First, plop the game CD/DVD (the one you use to start the game with) into the CD/DVD drive of your computer. The following is a list of what CD/DVD you need to use.


===Make your ''objects.package'' read-only===
Base game - CD #2 (or DVD if you have the DVD version)
Making the ''objects.package'' file read-only prevents the game from writing to that file. It will ''not'' fix existing game corruption, and ''does not'' make it safe to tamper with the Universal NPCs afterwards, but it can help prevent the game from potentially corrupting its own files.


Every expansion and stuff pack has its own ''objects.package'' file. The game only uses the ''objects.package'' from the most recent expansion or stuff pack on your computer, so that's the only one that truly needs to be made read-only.<ref>[https://modthesims.info/showthread.php?p=5024896#post5024896 Mod The Sims: I deleted a Default Replacement the wrong way... :( (Post #14)]</ref> However, some players recommend making all ''objects.package'' files read-only as a protective measure.<ref>[https://modthesims.info/showthread.php?p=4202193#post4202193 Mod The Sims: Just started playing Sims 2. What are the most essential mods? (Post #18)]</ref>
University - CD #1


{{Warning-header|Do ''not'' make the files in the ''Documents\EA Games\The Sims 2\'' location read-only. The game needs to modify those files in order to save your game, and making them read-only may cause your game to not function correctly.}}
Nightlife - CD #2


====Windows====
Open For Business - CD #1 (the only CD)
Players running the Ultimate Collection through Origin will need to protect the ''objects.package'' for Mansion & Garden Stuff, which is the last stuff pack released.
*Open File Explorer.
*Navigate to <code>C:\Program Files\Origin Games\The Sims 2 Ultimate Collection\Fun with Pets\SP9\TSData\Res\Objects</code>
*Locate the ''objects.package'' file.
*Right-click ''objects.package'' and choose "Properties".
*Click the "Read-only" box so that it's checked.
*Click "OK" to apply the changes.


Players with the CD versions of the game will need to protect the ''objects.package'' of their chronologically last expansion or stuff pack. (For instance, a player who installed Nightlife and then University will protect the Nightlife ''objects.package''.)
Family Fun Stuff - CD #1 (the only CD)
{|class="mw-collapsible mw-collapsed fandom-table"
|+Directories for all expansion and stuff packs
!'''Most Recent EP or SP'''
!
!'''Directory'''
|-
|The Sims 2
|[[File:The Sims 2 Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2\TSData\Res\Objects\objects.package
|-
|The Sims 2 University
|[[File:The Sims 2 University Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 University\TSData\Res\Objects\objects.package
|-
|The Sims 2 Nightlife
|[[File:The Sims 2 Nightlife Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Nightlife\TSData\Res\Objects\objects.package
|-
|The Sims 2 Open For Business
|[[File:The Sims 2 Open for Business Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Open For Business\TSData\Res\Objects\objects.package
|-
|The Sims 2 Family Fun Stuff
|[[File:The Sims 2 Family Fun Stuff Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Family Fun Stuff\TSData\Res\Objects\objects.package
|-
|The Sims 2 Glamour Life Stuff
|[[File:The Sims 2 Glamour Life Stuff Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Glamour Life Stuff\TSData\Res\Objects\objects.package
|-
|The Sims 2 Pets
|[[File:The Sims 2 Pets Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Pets\TSData\Res\Objects\objects.package
|-
|The Sims 2 Seasons
|[[File:The Sims 2 Seasons Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Seasons\TSData\Res\Objects\objects.package
|-
|The Sims 2 Celebration! Stuff
|[[File:The Sims 2 Celebration! Stuff Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Celebration! Stuff\TSData\Res\Objects\objects.package
|-
|The Sims 2 H&M Fashion Stuff
|[[File:The Sims 2 H&M Fashion Stuff Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 H&M Fashion Stuff\TSData\Res\Objects\objects.package
|-
|The Sims 2 Bon Voyage
|[[File:The Sims 2 Bon Voyage Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Bon Voyage\TSData\Res\Objects\objects.package
|-
|The Sims 2 Teen Style Stuff
|[[File:The Sims 2 Teen Style Stuff Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Teen Style Stuff\TSData\Res\Objects\objects.package
|-
|The Sims 2 FreeTime
|[[File:The Sims 2 FreeTime Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 FreeTime\TSData\Res\Objects\objects.package
|-
|The Sims 2 Kitchen and Bath Stuff
|[[File:The Sims 2 Kitchen & Bath Interior Design Stuff Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Kitchen & Bath Interior Design Stuff\TSData\Res\Objects\objects.package
|-
|The Sims 2 IKEA Home Stuff
|[[File:The Sims 2 IKEA Home Stuff Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 IKEA® Home Stuff\TSData\Res\Objects\objects.package
|-
|The Sims 2 Apartment Life
|[[File:The Sims 2 Apartment Life Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package
|-
|The Sims 2 Mansion & Garden Stuff
|[[File:The Sims 2 Mansion & Garden Stuff Icon.png|center]]
|C:\Program Files\EA GAMES\The Sims 2 Mansion & Garden Stuff\TSData\Res\Objects\objects.package
|}


====Mac====
Glamour Life Stuff - CD #1 (the only CD)
The ''objects.package'' is usually made read-only by default on Macs, but it never hurts to verify. The last expansion pack released for macOS was Bon Voyage.


*Open Finder.
Pets - CD #1 (or DVD if you have the DVD version)
*Select "Applications".
*Right-click on The Sims 2 Super Collection.
*Choose "Show Package Contents".
*Navigate to the directory for Bon Voyage. The directory varies slightly depending on whether you have the 64-bit or 32-bit version of the game.
**64-bit: <code>Contents\Assets\Expansion Packs\Bon Voyage\TSData\Res\Objects\objects.package</code>
**32-bit: <code>Contents\Home\Expansion Packs\Bon Voyage\TSData\Res\Objects\objects.package</code>
*Right-click ''objects.package'' and click "Get Info".
*Scroll to the section labeled "Sharing & Permissions".
*Click the lock in the lower right-hand side of the Get Info window. Enter the administrator password when prompted.
*On every listed account ''except'' for "system," click "Read and Write" and change it to "Read Only".


Seasons - CD #1 (the only CD, or DVD if you have the DVD version)
====Patch your game (if you're running the disc versions)====
If you installed The Sims 2 using the CDs, your game might have some unwanted and potentially dangerous bugs. The patches often fix the most dangerous issues, so all players should patch up to their latest expansion pack. You can find downloads of the patches [https://simswiki.info/wiki.php?title=Game_Help:TS2_Patches here].


Patching is '''not necessary''' for Windows users running the Ultimate Collection or Mac users running the Super Collection—these versions are already patched.
Celebration Stuff - CD #1 (the only CD, or DVD if you have the DVD version)


==Misconceptions regarding corruption==
H&M Stuff - CD #1 (the only CD, or DVD if you have the DVD version)
Just like corruption itself, rumors and misconceptions about corruption have spread over the years. This list contains some common misconceptions regarding corruption.


===Myth: Deleting Sims, urns, and gravestones causes corruption===
Bon Voyage - CD #1 (the only CD, or DVD if you have the DVD version)
'''Fact:''' This is a widespread misconception debunked by several experienced modders. Understanding and disproving it requires some knowledge of how the game works.


New Sims created in a neighborhood receive a unique ID, which is assigned incrementally. When a Sim is deleted via the Sim Bin, or when a Sim's tombstone or urn is deleted in Buy Mode, the Sim's character file is unlinked and turned into a "stub" file containing the Sim's bare-bones character data, ''including their ID.'' There's an inaccurate belief that stubbed or unlinked character files don't retain the Sim's ID, causing the game to reuse the ID for new Sims. However, since IDs are assigned incrementally, they can't be reassigned unless the character file itself is improperly deleted.<ref>[https://modthesims.info/showthread.php?p=5516388#post5516388 Mod The Sims: Properly deleting premade unlinked/dead sims - effect on neighborhood corruption? (Post #5)]</ref> This means that deleting Sims, gravestones, or urns is ultimately safe.
Teen Style Stuff - CD #1 (the only CD, or DVD if you have the DVD version)


However, deleting Sims must be done in-game. Deleting the files directly from your neighborhood's Characters folder ''can'' cause corruption, because this deletes necessary character data and causes Sims to begin using IDs already attached to other Sims.
Freetime - CD #1 (the only CD, or DVD if you have the DVD version)


Additionally, the stubbed character files of deleted Sims are not removed from the Characters folder or the Neighborhoods.package, so deleting Sims in game does not help to reduce the population of the neighborhood.<ref name="matydel"/>
Kitchen And Bath Stuff - CD #1 (the only CD, or DVD if you have the DVD version)


{{Info|Note|Deleting gravestones or urns unlinks the dead Sim's character file, which prevents them from being resurrected. Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,2083.0.html No Unlink on Delete] will keep character files linked, even if you delete a Sim's urn or grave.}}
Ikea Stuff - CD #1 (the only CD, or DVD if you have the DVD version)


===Myth: Binning occupied lots and/or moving Sims across neighborhoods causes corruption===
Apartment Life - DVD #1 (the only DVD)
'''Fact:''' This is another debunked misconception. Binning a lot with Sims on it creates "stub" character files, the same way it does when deleting Sims via the Family Bin, which isn't a problem on its own. The problem with binning occupied lots is that it creates stub files both of the binned family and every Sim with ties to the family. Placing the occupied lot in a neighborhood copies the resident Sims character files, plus stub character files of every Sim in their family tree or memories, which can speed up overpopulation.<ref name="mtspg2" />


===Myth: Thought/speech bubbles with squiggly lines mean the neighborhood is corrupted===
The Sims 2 Deluxe - DVD #1 (the only DVD)
'''Fact:''' Squiggly lines are not always a sign of corruption. In some cases, they could appear when Sims would be thinking or gossiping about a Sim whose character file had been deleted, but this glitch seems to have been patched out before ''The Sims 2 : Night Life'' was released. In most cases, however, they appear because the game can't find the correct thumbnail (a notable example being the game not finding the missing hobby icons that should be used as a Sim is speaking or chatting when a player owns ''Apartment Life'', but not ''FreeTime'') or as a side effect of a mod or custom content. Because they're not a sign of corruption in most cases, speech bubbles with squiggly lines have been sighted in clean, healthy neighborhoods.


===Myth: Leaving [[Testing cheats|boolprop testingcheatsenabled]] on for extended periods causes corruption===
The Sims 2 Double Deluxe - DVD #1 (the only DVD)
'''Fact:''' The cheat ''itself'' is completely safe. It's just a debugging tool, and you can leave it on the entire time you play without problems. What can cause corruption is misuse of the options available with the cheat, like spawning the [[Tombstone of Life and Death]] to interact with unsafe NPCs in ways you normally couldn't (e.g., moving them in or making them selectable).


The "Force Error" option that appears when shift-clicking an object will ''not'' cause corruption if clicked; it simply forces the object to display an error dialog even if it's functioning as anticipated. That being said, randomly resetting or deleting objects through Force Error can cause unexpected game behavior.
Then, go to "My Computer/Computer", right-click on the CD/DVD, and select "Explore". If autoplay starts up, close it.


===Myth: Object Error dialogs are a sign of corruption===
There should be a file called "compressed.zip". Open it, and there should be a folder called "Res" in it. Open it, and you'll see it looks a lot like the C:\Program Files location. Find the file that you wish to replace, for example, the objects.package file. Right-click and Copy the file.
'''Fact:''' Error dialogs ''do not'' mean something is dangerously broken; it just means an object in the game encountered a problem and is unable to continue. If you don't have [[testingcheatsenabled]] on, the game will automatically reset the object, which can cause Sims or objects to "jump" or suddenly reset. With the cheat on, if the game encounters an error, it will always ask you whether it should ignore the error (Cancel), reset the object (Reset), or delete the object (Delete). The cheat itself didn't cause those errors—it's only forcing the game to ask you what to do instead of handling the error itself.


Since [https://simswiki.info/wiki.php?title=Sims_2:Object_Errors object errors] are just errors, they're not always a sign of corruption. They can be caused by custom content or mods (e.g., installing an outdated mod), and even healthy games will have occasional object errors. If you constantly encounter object errors with no custom content or mods in your game, it can be a sign that something is wrong, but even then, it's unlikely to be corruption.
'''The Sims 2 Deluxe''': The installation files are not stored in a compressed file, but instead in uncompressed format within folders called 'Base' and 'EP2'. The game executables are stored in Compressed.zip, however. You can just copy and paste any files that are not in the compressed file.


===Myth: Saving with Sims on the phone causes corruption===
'''The Sims 2 Double Deluxe''': The installation files are not stored in a compressed file, but instead in uncompressed format within folders called 'Base', 'EP2' and 'SP4'. The game executables are stored in Compressed.zip, however. You can just copy and paste any files that are not in the compressed file.
'''Fact:''' Saving with Sims on the phone can cause ''bugs'', but not corruption. When Sims chat with other Sims on the phone, the other Sim is an "off-world loiterer": they're technically considered on the lot, but are not visible. If you save the lot, and something triggers a lot reset (for instance, installing a new mod), off-world loiterers on the lot are not sent home properly. At most, though, this just causes issues using the phone or binning the lot later, not corruption. (Stuck off-world loiterers can easily be removed with Pescado's [[FFS Lot Debugger]], using ''Nuke...'' > ''Off-World Loiterers''.)


===Myth: Saving with ghosts active on the lot can cause corruption===
Now go to C:\Program Files\EA Games\<The Sims 2 + the EP/SP that you use to start the game with>\TSData\Res\<the folder where the corrupted file is>. Right-click on the corrupted file, and hold Shift while clicking Delete. This will delete the file right on the spot, instead of sending it to the Recycle Bin. Now right-click and "Paste" the fresh file into the folder. Apply the [http://simswiki.info/wiki.php?title=Game_Help:TS2_Patches patches] again, and you're good to go!
'''Fact:''' Like with saving while Sims are on the phone, this can cause bugs, but not corruption. The game considers both graves and ghosts to be Sims. Saving a lot with ghosts active may cause the game to believe there are two physical manifestations of the same Sim, so upon the next load, the game may delete the tombstones so there aren't "multiple" of the same Sim on the lot. This can sometimes cause the gravestones to disappear, so it's best avoided if you want to keep the graves, but it doesn't cause corruption.


===Myth: Leaving custom tokens in will cause corruption===
Note: If multiple files are corrupted, or if you're not sure what files are broken, you can just Shift+Delete the entire "Res" folder and replace it with the "Res" folder from the game CD/DVD. As always, you must re-apply the patches, as the files on the CD/DVD are not patched.
'''Fact:''' This is not the case. Most mods that create custom tokens, like ACR, can be safely deleted without clearing the tokens. You ''can'' delete the token if you'd like, but it isn't necessary.


===Myth: Bulldozing a lot will cause corruption===
===Hood Corruption===
'''Fact:''' While lots that can be lived in (e.g. Dorms, Residential, Apartments, etc.) do contain references to Sims that previously lived there, bulldozing these lots from the neighborhood won't cause corruption. However, you should always move Sims out of/sell an owned community lot before you bulldoze it.
The only way that will 100% remove hood corruption is to delete the entire neighborhood. You can either delete the hood in-game at the main menu, or by deleting the folder in My Documents\EA Games\The Sims 2\Neighborhoods\.


===Myth: Putting tombstones or urns on the Open For Business display shelves causes neighborhood corruption===
If it was a pre-made hood, you can reset it to the default state using [http://simswiki.info/wiki.php?title=Game_Help:Reset_Neighborhoods this method]. Be sure to delete the old, corrupted neighborhood before placing the new one in, otherwise you'll just corrupt it further.
'''Fact:''' There used to be a bug where a tombstone or urn placed on an OFB shelf would duplicate the tombstone. This bug was fixed in a later patch.


===Myth: Letting [[Samantha Ottomas]] and/or [[Sarah Crittur]]'s pregnancies come to term causes corruption===
The methods listed below can help reduce the risk of corruption, as well as provide options to fix it. Remember that most corruption is permanent - your neighborhood is essentially living on borrowed time. If you've become attached to the Sims in your hood, [http://www.modthesims.info/showthread.php?t=94489 Extract their appearances] so you can re-create them in CAS in your new neighborhood once the old dies.
'''Fact:''' This is only the case in unpatched games, and even then, it's apocryphal. Prior to the [[The Sims 2: Seasons/patch|Seasons patch]], both [[Samantha Ottomas]] and [[Sarah Crittur]] had pregnancies containing incorrect character data, causing their children to have incorrect family trees—for instance, showing a Universal NPC as their father. However, there isn't clear evidence that this actually causes corruption.


Both of these pregnancies were fixed in the Seasons patch, so players with the Ultimate Collection, the Super Collection, or the patched version of Seasons can safely allow the pregnancies to come to term.
==Suggested Methods to Reduce/Prevent/Fix Corruption==
{{Info|Note|The patch only fixes the families in neighborhoods opened ''after'' the patch was installed. If you played the unpatched CD version of the game, and Samantha and/or Sarah have not yet given birth, you can use a tool like the Sim Blender to terminate the pregnancy if you wish.}}
The best thing you can do to prevent corruption is to avoid doing the actions listed above, and follow the advice given. There are a number of mods and programs, created by skilled modders, that can help reduce corruption.


===Myth: Sims that have a character file are safe to move in/make selectable/tamper with===
*Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,2083.0.html No Unlink on Delete] mod.
'''Fact:''' All Sims have a character file. It's not whether the Sim has a file or not, but rather whether that file has a complete set of data.
**This mod prevents the game from destroying the character data of graves that are deleted for any reason. It will NOT fix instances of graves that are deleted before the mod was installed.


===Myth: All in-game features that are available without cheats are safe===
*Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,72.0.html FFS Lot Debugger].
'''Fact:''' This isn't the case. While in-game features that don't require cheats are more likely to be safe, some (like going on blind dates with the [[Social worker|Social Worker]]) are not and will cause corruption.
**This is a buyable object found in the Miscellaneous/Miscellaneous section in [[Buy mode]]. It provides a number of options to fix problems that can occur with lots, delete stuck objects/tiles, and remove gossip. It also has the options necessary to [http://www.modthesims.info/showthread.php?t=504497 delete Sims the correct way].


===Myth: If nothing bad happens after doing something that was said to cause corruption, there's no corruption and the action was safe===
*Arek_91's [http://www.modthesims.info/download.php?t=316426 Select Your Cemetery] mod.
'''Fact:''' Just because nothing bad happens as soon as you do something doesn't mean it's safe. Symptoms of corruption don't always show up immediately, and it's better to be safe than sorry.
**This mod allows you to select where you want to move graves from a lot to the community lot of your choice, instead of having the game strap a rocket to it and launch it into space. You can also choose to keep the graves on the lot like normal, if you wish. This is absolutely crucial for players with ''Apartment Life''.


==Fixing existing corruption==
*Mootilda's [http://www.modthesims.info/download.php?t=456523 Hood Corruption Detector].
Even if you follow all the proper precautions to avoid corruption, sometimes things can still go wrong. Some forms of corruption can be fixed in some fashion; it just depends on the type of corruption that occurred.
**This nifty little program will scan your neighborhood for any unusual or corrupted references, and provides an option to remove/fix them. It can detect and fix Family Ties, Sim Relations (SREL), Sims Wants and Fears (SWAF), and Memories. It will also scan for missing character file data, misplaced graves, and other items of interest.


===Fixing neighborhood corruption===
*Mootilda's [http://www.modthesims.info/download.php?t=409950 Sims2Pack Clean Installer].
The most common way to fix a corrupt neighborhood is to restore a backup of it. Copy the most recent backup of your neighborhood, go to <code>~\Documents\EA Games\The Sims 2\Neighborhoods</code>, delete the folder for the corrupted neighborhood, and paste in the copy of the backup. You'll lose any progress made since that backup, but it's often better than losing the entire neighborhood.
**This program is intended as a replacement to the game's default Bodyshop Installer. It allows players to properly install .sims2pack files, and allows to clean out any mods, hacks, or custom content that may have latched on during the packaging process. It can also show you whether the lot is occupied or not, so you can avoid corrupting your hood without knowing what happened until it was too late.


Many forms of corruption can be fixed via HoodChecker or SimPE. However, not all of them can, so restoring a backup is generally the safest bet.
*Cyjon's [http://drupal.cyjon.net/node/148 Lot Debugger].
**This is designed to compliment Pescado's FFS Lot Debugger. It provides some options for fixing bugs, as well as report on some very useful information.


Unfortunately, if you don't have a backup and HoodChecker and SimPE can't repair the problem, you may not be able to recover the neighborhood. If you can open the neighborhood in SimPE, it might be possible to [[Game guide:How to extract the appearance of in-game Sims|extract the appearances of the neighborhood Sims]], which will make it easier to recreate the neighborhood.
*Cyjon's [http://drupal.cyjon.net/node/430 Lot Inspector].
**This object is buyable from the Miscellaneous/Miscellaneous section of Buy mode, and will report on whether the lot is safe to bin or delete.
***NOTE: Users who do not have Apartment Life or Mansion & Garden may find that the object doesn't work correctly for them. To make it work, press "Ctrl+Shift+C" to open the cheat box, type in [[boolProp testingcheatsenabled]] true, and click on the Lot Inspector. An object error dialog with "Bad gosub tree number" should pop up - click on "Cancel" to ignore the error. The inspector should then file a report.


===Fixing game corruption===
*Pescado's [http://www.moreawesomethanyou.com/smf/index.php/topic,9607.0.html Anti-Redundancy mod].
Fixing game corruption is actually quite simple (albeit time-consuming). To check whether a file is corrupted, mouse over the files and check the "Modified" date. The files should've been last modified in 2008 or earlier, or in 2015 if you have the Ultimate Collection. If they were modified after that, it's possible that they're corrupted.
**This mod prevents the game from generating more NPCs than needed, such as preventing multiple Unsavory Charlatans or Tour Guides from spawning. Instead, the game will call upon existing NPCs, only creating more when those are unavailable. This can prevent character file overload caused by the game generating loads and loads of NPCs.


====Run "Repair Game" through Origin====
*Cyjon's [http://drupal.cyjon.net/node/291 There can only be one (Professor) mod].
If you're playing the Ultimate Collection on Origin, you can use the Repair Game feature to fix the game's installation files, and therefore repair game corruption. However, you'll need stable internet access.
**This mod only allows the game to generate one [[professor]] for each [[major]], instead of the usual two. This can reduce the amount of character files in the neighborhood. Not required if you do not have ''[[The Sims 2: University|University]].''
*[[Game guide:Backing up your game|Back up your game]]. This includes any content in your installation files that you want to keep (e.g. Sims2RPC or your Graphics Rules files).
*Open Origin.
*Click on the tile for ''The Sims 2''.
*Choose the Settings gear. A dropdown with several options will pop up.
*Click "Repair Game". Origin will essentially reinstall the game, so this may take awhile.


{{Important note|Repairing the game through Origin will reset the installation files back to their default state, including your ''Video Cards.sgr'' and ''Graphics Rules.sgr'' files.}}
*Tarlia's [http://meetme2theriver.livejournal.com/63030.html Fixed Templates].
**It's worth noting that pre-made neighborhoods ship pre-corrupted. [[Strangetown]] is the worst of all. These templates have fixed most of the corruption in the hoods.


====Reinstall the game (CDs)====
*Download and install all the [http://simswiki.info/wiki.php?title=Game_Help:TS2_Patches official patches].
The easiest way to fix game corruption is to reinstall the game. [[Game guide:Backing up your game|Back up]] your saved games and custom content, then proceed to [https://simswiki.info/wiki.php?title=Game_Help:Uninstall uninstall] all expansion packs, stuff packs, and the base game. Then, [https://simswiki.info/wiki.php?title=Game_Help:Install install] everything again. Copy your backup and move it back into the <code>Documents\EA Games\The Sims 2</code> folder. [https://simswiki.info/wiki.php?title=Game_Help:TS2_Patches Patch your game], make your game files read-only, and you're good to go.
**EAxis has released patches for the game that fix many problems with the game. All players should install the patch, regardless of what expansion packs they have.


{{Info|Note|It's possible to replace the specific game files that were corrupted instead of reinstalling entirely. Instructions can be found on Mod The Sims, at [https://simswiki.info/wiki.php?title&#61;Game_Help:Making_your_Objects.package_file_Read-Only Game Help:Making your Objects.package file Read-Only].}}
*Make all game files read-only.
**Making the game files read-only prevents the game from writing to those files, preventing game corruption from ever occurring. It will NOT fix existing corruption, however.


==A final note on corruption==
To make the game files read-only, go to ''C:\Program Files\EA Games\''. Select ALL of the folders in there, right-click and select "Properties". Click on the "Read-only" box '''twice''', so it's checked instead of just shaded. Select "OK". Your computer will then proceed to make all the files read-only. Remember to apply all the patches before doing this - if you need to install a patch after doing this method, you'll need to unset the read-only flag for all the files before you can install the patch. Also, if you hope to enable the allmenus cheat, you'll need to unset the read-only flag from the file you want to edit.
Most of the time, you don't need to worry about corruption. Much fear of corruption comes from inaccurate information spread in the game's earlier days, when modders and players alike were less tech-savvy and reinstalling the game was an all-day affair. ''The Sims 2'' is a much sturdier game than players initially believed, and much of what was once considered a sign of imminent doom is now seen as a minor error that's nothing to worry about.


Of course, don't throw caution to the wind; there ''are'' some things that will screw up the game or neighborhood, and being careless can cause ultimately-preventable issues. Install mods and clean neighborhood templates to reduce the risk of corruption, back up your neighborhoods regularly, and run HoodChecker now and again (if you're on Windows) to clean up junky data in your neighborhoods.
This method DOES NOT mean you can attempt to move in Universal NPCs or tamper with them in any way or form - it is only as a safeguard to prevent the game from possibly corrupting its own files.


Ultimately, though, focus on what's most important: playing the game and having fun. Complex programs like ''The Sims 2'' will never run perfectly, and trying to prevent every problem before it happens can turn the game into a chore. At the end of the day, playing the game should be an enjoyable experience, not a stressful one.<ref>[https://modthesims.info/showthread.php?p=5550606#post5550606 Mod The Sims: Slowing corruption in a neighborhood with a corrupt subhood (Post #2)]</ref>
Do NOT make the files in the C:\My Documents\EA Games\The Sims 2\ location read-only. The game needs to modify those files in order to save your game. If you make them read-only, your neighborhood may not function correctly. Certain files, such as custom content, extracted appearances of Sims, Camera.txt files can be made read-only safely, but there's no point in doing so.


==See also==
==See also==
*[[Game guide:Which NPCs are safe to play as?]] on The Sims Wiki, lists NPCs that are safe to play as and move in, and NPCs that will cause corruption if made selectable or tampered with in any way outside of their in-game designated purpose.
*[http://www.modthesims.info/showthread.php?t=394352 Thread on ModTheSims with some examples of what not to do in the game].
*[https://modthesims.info/showthread.php?t=394352 Is there a list of non-intuitive things NOT to do in a Sims game?] - Mod The Sims thread with some examples of what not to do in the game. (Some posts have since been debunked, see above sections.)
*[http://simswiki.info/wiki.php?title=Game_Help:Avoiding_Hood_Corruption Article about Hood Corruption on SimsWiki.Info], which this game guide was based on.
*[http://www.modthesims.info/showthread.php?p=4293501#post4293501 Post on ModTheSims] explaining what corruption is and how it works.
*[https://www.modthesims.info/showthread.php?p=4293501#post4293501 Post on ModTheSims] explaining what corruption is and how it works - there is some misunderstanding here, namely that deleted Sims IDs can be reused, which is not the case unless the Sim Creation Index is reset. We currently are not aware of any in game mechanism that causes the SCID to reset, though it's possible there is one. Alternatively, SWAFs can be created for non existent Sims, which would look similar to Sims reusing IDs as young Sims can acquire those SWAFs.
*[https://sims.fandom.com/wiki/Game_guide:Avoiding_corruption?oldid=957860#See_also Game Help:Avoiding Hood Corruption] - guide on how to remove corruption from sims.fandom.com, which this article was based on.
*[https://youtu.be/2cB67DGDXFQ April Black's video] that goes into a deep dive as to what corruption is and is not.


==Notes==
==Notes==
{{reflist}}
{{Reflist}}
{{Feat game guide|May 2014}}
[[Category:Game guides]]
[[Category:The Sims 2 game guides]]
[[Category:The Sims 2 game guides]]
[[Category:Player tips]]
[[Category:Player tips]]

Latest revision as of 16:10, 24 March 2023

This tutorial is for The Sims 2 only.
The famed "Big Firey Ball Visible From Space"

Corruption in The Sims 2 is when some or all of the game data, whether it is in a neighborhood or in the core game files, become glitchy or unreadable. In severe enough cases, corruption could make a neighborhood or the entire game unplayable. This game guide explains the difference between game corruption and neighborhood (shortened to 'hood') corruption, highlights known actions that guarantee corruption, provides solutions to fix existing corruption, and dispels common myths about what's game-breaking and what's not.

The basics on corruption[edit | edit source]

What's corruption?[edit | edit source]

Corruption is when the files for your game or neighborhood end up with junky, glitchy, or nonsense data that cause problems in your game. This can be limited to one neighborhood ("neighborhood corruption" or "hood corruption"), or it can occur globally across your game ("game corruption"). Corruption varies in severity: some forms of corruption can easily be fixed with third-party tools, other forms will cause the game or neighborhood to become unplayable, and many are somewhere in between.

When a neighborhood or game becomes irreversibly corrupted, it is referred to by some players as a "BFBVFS" (Big Fiery Ball Visible From Space).[1]

The difference between game corruption and hood corruption[edit | edit source]

In discussions about corruption, there are usually two types mentioned: game corruption and neighborhood corruption (also called "hood corruption"). New players may mix up game corruption and hood corruption, and some incorrectly think all corruption requires a full reinstall.

With game corruption, the corruption occurs within the game's installation files. These are located on your computer's hard drive—typically C:\Program Files on Windows and Applications on Mac. The installation files are the ones that make up the core and backbone of the game, including the UI, in-game meshes and textures, the Universal NPCs (e.g. Grim Reaper, Mrs. CrumpleBottom), audio files, and the game's programming itself. These files are normally not modified. If they're modified improperly, the game may begin behaving unpredictably, and the only way to fix it is to reinstall the game, or to replace the modified installation files if you can get access to fresh versions.

With hood corruption, the corruption occurs within your saved game data. These are typically located in your Documents folder, and includes your neighborhoods, custom content, lots and houses bin, storytelling images, and so forth. You can typically find these files at:

  • Windows: Users\<your username>\Documents\EA Games\The Sims 2
  • Mac: \Users\<your username>\Library\Containers\com.aspyr.sims2.appstore\Data\Library\Application Support\Aspyr\The Sims 2

Corruption normally occurs in a neighborhood's folder, located in the Neighborhoods folder. Each neighborhood gets a folder with a unique ID on it (e.g. N001) containing data relating to the neighborhood (e.g., Sims, relationships, memories, and lots in the neighborhood). Neighborhood corruption is more common than game corruption, but it's often more easily fixable.

What is and isn't corruption[edit | edit source]

This is an incomplete list of possible symptoms that may or may not indicate corruption. Not all symptoms listed here may be a sign of corruption, but may be indicators of other problems, such as bad custom content.

Definite signs of corruption[edit | edit source]

Symptoms include:

  • Children and toddlers with aspirations other than Grow Up, or long-term wants.
    • Some pre-made Sims are an exception to this rule: for instance, Daniel Bell has a long-term want. However, this only applies to pre-made Sims.
    • If you use cheats to age a teen or older Sim into a child or toddler, they will retain their aspiration and long-term wants. This is not a sign of corruption.
  • Children whose family tree contains animals as their mother or father.
  • Wants that don't fit the age group (e.g., a toddler who suddenly wants to go on a date. Toddlers wanting to buy a tree or a bush is not corruption, as this want is allowed for that age group).
  • Memories being lost or totally random.
  • Memories displaying $Subject (e.g. "$Subject Got an A+").
  • Sims completely disappearing from the neighborhood.
  • Disappearing lots. (While some lot types, like secret societies, don't appear in neighborhood view, most lot types should not disappear.)
  • Sims losing family members in their family tree.
  • Sims showing stats, such as Personality, of other Sims of the neighborhood. This can be checked in-game or using SimPE.
  • Sims losing stats, like suddenly losing all Personality points and skill points.
  • Neighborhoods causing the game to crash, even with no custom content installed.

Things that are not corruption[edit | edit source]

The following symptoms or behavior are not desired game behavior, but are not corruption.

  • Blank or blue Wants/Fears slots. This can be caused by a momentary glitch or certain mods, but it's not corruption.
  • "Sim does not exist"/"Incorrect subject instance" or Sim Wants and Fears errors in HoodChecker. This usually just means that the relevant relationship, memory, or token is pointing to the wrong location, and can be easily fixed with HoodChecker.
    • "Sim does not exist" errors do not mean that a Sim has been deleted. Deleted Sims will be displayed at the top of the HoodChecker log with the message, "Sim has no Character file."
  • Pink or purple flashing. This happens when the game runs out of texture memory and starts dumping textures that are currently in use.[2] It's not related to corruption.
  • Blue flashing. This usually indicates a missing texture, missing item groups, or a glitchy mod. (Sims with flashing blue faces can be fixed through Change Appearance in the mirror.)
  • Red flashing. Red flashing doesn't mean corruption; it just means the game thinks your graphics card or drivers are unsupported.[3] (It can also be caused by outdated lighting mods.)

What could be, but isn't always, corruption[edit | edit source]

Some game problems can be caused by corruption, but they can also be caused by something else.

  • Game crashes. There are many reasons your game can crash, such as insufficient memory or bad custom content. Corruption can cause crashes, but it's not the only or most likely cause.
  • Neighborhoods disappearing from the game or HoodChecker. Neighborhoods disappear when they contain unreadable data or can't be found by the game, which can be caused by renaming files improperly or incompletely, changing the name of your Documents\The Sims 2 folder, or corruption. Check your game directory before assuming it's corruption.
  • Memories and thought bubbles with squiggly lines and/or stretched and distorted text. Sometimes the game displays squashed need icons (that resemble squiggly lines) because it can't find the proper thumbnail like this, which is not corruption. Thought bubbles displaying squashed interest icons may be corruption, but these can likely be fixed using the BatBox to clear corrupt memories and gossip.[4] However, thought bubbles displaying squashed interest icons when gossiping about corrupt gossip have been patched out of the game since the University or Nightlife expansion packs. They may also be due to a Sim lacking wants when asked by another sim what they want through the ask interaction.[5]
  • Sims disappearing from households or becoming unplayable. If a Sim vanishes from their household, but still appears elsewhere in-game (e.g. Relationships panel, family tree, memories), that can just be a glitch (and you may be able to summon them back to the lot using the Tombstone of L and D). It's a sign of corruption if the Sim has disappeared everywhere in-game or if they show up in memories as $Subject.
  • Lots becoming unplayable. If a single lot causes the game to crash, that specific lot may be corrupt, but moving out the family and bulldozing the lot will be sufficient. Sometimes lots may crash due to CC, and removing the problem CC will fix the crashing.
  • Buy and Build Mode becoming indefinitely disabled. Use Fix... > Reenable Controls on the Batbox to reenable them.
  • "Sim has no Character file" in HoodChecker. Sometimes, running HoodChecker on a neighborhood returns the error "Sim has no character file." In an unmodded game, this is a sign of corruption, but if you have mods that add custom NPCs, this is a side effect of the mod and is completely normal. (Most custom NPCs have a character file beginning with 0x00.)[4] There is an incomplete list of mods that create NPCs here.
  • SimPE displaying Sim portraits with red or blue backgrounds or Mr. Potato Heads. Seeing these in SimPE can sometimes indicate problems, but they can also be harmless.
    • Red backgrounds means SimPE can't locate all character data in the Sim's character file. This can be a sign of corruption if seen on normally-playable Sims, but this is also common for NPCs whose data is stored outside of the Characters folder (such as Universal NPCs, who are located in the objects.package, or custom NPCs added to the Downloads folder).[6]
    • The Mr. Potato Head appears when SimPE can't find the Sim's portrait. This doesn't indicate corruption; it can happen even if the Sim has a portrait in-game.[7]
    • Blue backgrounds means the Sim's character file is unlinked. It's not unusual to see this on NPCs with incomplete character files (e.g. Pollination Technician or the Unsavory Charlatan) or deceased Sims in premade neighborhoods.[6]
    • SimPE also has difficulty reading split character files, but the game does not. Split character files do not indicate corruption. They can be caused by certain mods.

Corruption on Macs: The Mac File Limit[edit | edit source]

Players on macOS need to be aware of the Mac file limit. MacOS has a built-in limit of how many files can be open at once which is not specific to any game. When launching The Sims 2, the game opens every file in your game's Documents folder in addition to its installation files. If the computer's file limit is surpassed while the game is still opening, the computer will stop reading the game files, which can lead to temporary or permanent data loss (i.e., corruption).[8]

Signs you've hit the file limit[edit | edit source]

If you've hit the file limit, you'll experience strange in-game behavior that might not obviously resemble corruption. This can include:[8]

  • Disappearing Sims: Sims permanently vanish from the Family Bin or their homes. These Sims will be missing from the Relationships panel and family trees, and memories about them will have no portrait and display $Subject in place of their name.
  • Disappearing lots: Lots placed from the Lot Bin will be missing their buildings, and appear empty. In some cases, the lots may simply not appear in the Lot Bin.
  • Missing lot or neighborhood icons: Neighborhood thumbnails are replaced by wireframe icons. If traveling between lots, the lot thumbnails will be replaced by the same wireframe icons.
  • Widespread aspiration failure: All Sims and pets are suddenly experiencing aspiration failure, including very young Sims (e.g. babies and toddlers).
  • Body Shop shows a black screen: If you open Body Shop, the menu will appear, but the left side of the screen (where the mannequin appears) will be completely black.

Avoiding the file limit[edit | edit source]

The only way to prevent corruption caused by hitting the file limit is to not reach the file limit in the first place. Luckily, there are several things you can do to reduce the risk.

  • Close other programs before starting the game. The more programs you have open, the more files are in use on your computer, and the less space your Mac has to read the game files.
  • Remove folders of neighborhoods that you don't play. If you don't play the premade 'hoods, drag their folders out of your game folder or delete them. If you have multiple neighborhoods, but only want to play with one specific neighborhood today, put the folders for the other 'hoods on your desktop. Leaving them in forces the game to open extra files.
  • Prevent overpopulation. Always run your game with mods to reduce overpopulation, create townie-free custom neighborhoods, and avoid moving Sims across neighborhoods (as this creates excessive amount of "stub" files that the OS has to open).
  • Clean up your custom content. The game opens your files in alphabetical order, meaning it reaches your Downloads folder before your Neighborhoods folder. A messy or overflowing Downloads folder will quickly bring you to the file limit.
    • Delete redundant or glitchy files, content missing meshes or textures, or content that you don't use.
    • Reduce the amount of custom content you're using.
    • Organize your content by name or category. Avoid organizing your content into multiple subfolders, as this increases the number of files your game has to read.
    • Rename files with lengthy names or special characters.
    • Use default replacements where available. These typically store multiple recolors of custom content in a single .package file.
    • Use content that's repositoried ("repo'ed" or "slaved") to existing in-game content or another piece of custom content.
Tip
If you have access to Windows, use SimPE or CCMerger to merge custom content files together. This allows you to bundle multiple pieces of content into one or two files, thus reducing your chance of reaching the file limit.

Raising the file limit (MacOS Mojave and earlier)[edit | edit source]

You may have seen mentions of "raising the file limit" on forums or other Sims 2 guides for Mac. It is possible to increase the file limit on macOS 10.14 (Mojave) and earlier using a Terminal command. Unfortunately, this was disabled in macOS 10.15 (Catalina), so anyone running 10.15 or higher cannot raise the file limit.

If your Mac is on 10.14 (Mojave) or lower, the way you raise the file limit depends on what version of the OS you're running.

  • On MacOS 10.11 through 10.14 (El Capitan through Mojave), follow the steps in this guide.
  • On MacOS 10.9 or 10.10 (Mavericks or Yosemite), follow the steps in this guide.


Playing in a neighborhood while its package file is open in SimPE[edit | edit source]

The data regarding Sims and Lots is stored in two separate locations: the corresponding subfolders of the Neigborhood folder, and the neighborhood's main package file, named "[Number]_Neighborhood.package". If one opens this file in SimPE or a similar program, then launches the game and creates new Sims and lots in the neighborhood, these Sims and lots will disappear immediately and no data will reference them in the Neighborhood.package file, while they will still have their own separate files in the dedicated subfolders.

This is because the Neighborhood.package file, like any file on any computer, can only be edited in one program at once. While the game will still read it when it's open in SimPE, it is technically read-only and the game will not be able to save any modification made by the player. Because The Sims 2 doesn't have an error message that would be displayed in the event of a save failure, it will look as if the progress was saved even though it has not. Always close SimPE, Hoodchecker, and any other Sims 2 programs before running the game.

Avoiding corruption[edit | edit source]

Most forms of corruption, particularly game corruption, can be avoided by not doing certain things in-game.

Avoiding game corruption[edit | edit source]

The following actions are known to corrupt the game's installation files. They should not be attempted, as the only way to fix them is to reinstall the game.

Interacting with Universal NPCs outside of their in-game designated purposes[edit | edit source]

Certain NPCs, such as the Grim Reaper, Mrs. CrumpleBottom, Therapist, Pollination Technicians, ideal plantsim, and so forth, do not have playable character data. Their character files are not located in the folder of the neighborhoods, but in the objects.package file in the C:\Program Files location. Modifying them in any way or form that involves hacks, cheats, or SimPE will corrupt that file.[9] Unsafe interactions with these NPCs include:

  • Making them selectable or moving them into a household
  • Renaming them or changing their appearance
  • Changing any of their data through SimPE

A list of unsafe NPCs, including Universal NPCs, can be found at Game guide:Which NPCs are safe to play as?

The following will not corrupt the game:

  • Spawning Universal NPCs on your lot - just having these NPCs on your lot does not corrupt the game.
    • This includes Universal NPCs being spawned to "collect" child ghosts. They may not be able to leave the lot, however, so you can delete them with the move objects cheat to remove them. There are several mods that will stop these NPCs from being summoned to collect child ghosts if you find this annoying.
  • Clicking either yes or no on dialogs such as this (Sims being introduced through Apartment Life's Secret Networking system)
    • Clicking yes will create a relationship between your Sim and the NPC. However, relationships are stored in the neighborhood package file and will not result in a modification of your objects.package (or the character files)
    • Clicking no will result in no change and no relationship will be created
    • You can get the Networking Friend fix if you want the game to stop choosing Universal NPCs for this dialog.

Recklessly modifying the game's installation files without backups[edit | edit source]

It is possible to safely modify the game's installation files, but because these contain the core data used to run the game, indiscriminately messing with these files can cause glitchy behavior or prevent the game from starting. If you don't back up the files before modifying them, and the changes cause problems, you may be forced to reinstall the game to fix it. Always back up any installation files you plan on modifying, even if you don't think you'll have a problem—it's better to be safe than sorry.

Tip
The average Sims 2 player can safely modify certain core files without causing damage. Examples of this include editing the Graphics Rules.sgr and Video Cards.sgr, installing Sims2RPC, enabling the allmenus cheat, and installing custom lighting systems.

Deleting default replacements in-game[edit | edit source]

By default, the game prevents you from deleting EAxis content in Create-a-Sim or Buy/Build mode. However, using default replacements can reenable the in-game or Body Shop "Delete" icon. "Deleting" a default replacement will delete the texture of the object or Create-a-Sim content in the installation files, which can result in paper-white objects or Sims and break any related Want trees.[10] Unless you backed up your installation files, the only way to fix this is to reinstall the game. (Deleting a default replacement from your Downloads folder is completely safe.)

Avoiding neighborhood corruption[edit | edit source]

The following actions will permanently corrupt your neighborhood. There are methods of getting a corrupted neighborhood to keep running for a good while longer, but these are not permanent solutions. The best option is to never attempt these actions.

Deleting character or lot files from the Documents folder[edit | edit source]

The neighborhood saves Sim and lot data in two different locations: the Neighborhood.package file, and the character or lot file itself. If you want to delete a Sim or lot file from your game, do so using this game guide. If you delete the character or lot file without properly cleaning the Neighborhood.package file, your hood will be left with half of a Sim or a lot, and will not function properly.

  • The Characters folder is located at ~\The Sims 2\Neighborhoods\<Hood>\Characters\
  • The Lots folder is located at ~\The Sims 2\Neighborhoods\<Hood>\Lots\

Using the deleteallcharacters cheat[edit | edit source]

Contrary to popular belief, it's safe to delete Sims from the Family Bin.[11] When you delete a Sim from the bin, the Sim's character file is "stubbed," but the file itself is still complete.[12] However, the deleteallcharacters cheat wipes out all character files in the neighborhood's Characters folder, and may not fully clean out all the data.[13] To be on the safe side, avoid the cheat, and use these instructions to create a new neighborhood with no Sims at all.

Using changelotzoning on occupied lots[edit | edit source]

Trying to use the changelotzoning cheat on an occupied lot will cause problems in-game. Some lot types do not allow the lot to be saved, while others could make the lot disappear from the neighborhood. If you want to change the lot zoning of an existing lot, move any Sims out first, and don't attempt to change the lot zoning of a community lot that your Sim is currently visiting.

Overpopulating your neighborhood[edit | edit source]

The maximum value of the Sim Creation Index is 32767. Once a neighborhood has reached the limit, trying to create any new sims (via births, CAS or any other way) will result in the game crashing. This is not actually a character file limit as previously thought because if you manually set the SCID to 32767 you will see the same results as if you actually had 32767 character files - the limit is with the value of the SCID and not the number of files.

However, MacOS users also have the MacOS file limit to contend with and need to be cautious of running up against that file limit. Additionally, Windows players with all EPs and SPs have sometimes reported issues with their game once their Characters folder surpasses about 1,000 Sims.[14]

The best way to avoid hitting the limit is to prevent unnecessary Sims from being generated. There are multiple ways to do so:

Attempting to move in, make selectable, or modify certain NPCs outside of their in-game designated purpose[edit | edit source]

There are certain NPCs that have playable character data and are possible to move in without the use of cheats. However, there are some Sims that do not have a complete character file, such as the Social Worker or Repo-man. Tampering with them in any way or form outside of the in-game designated purposes may corrupt the neighborhood they are in.[9]

A list of unsafe NPCs can be found at Game guide:Which NPCs are safe to play as?

Warning
Prior to the Open For Business patch, the Gypsy Matchmaker could sometimes spawn the Social Worker as a blind date. If this occurs, delete her using the moveobjects cheat. Do not attempt to interact with her.

Resurrecting some premade dead Sims[edit | edit source]

Several Maxis neighborhoods have deceased Sims with incomplete character data, corrupted genetics, or defunct aspirations. This is most prevalent in the original three neighborhoods (Pleasantview, Strangetown, and Veronaville). Resurrecting these Sims with the Resurrect-O-Nomitron can cause glitchy behavior.

Removing mods that create custom NPCs[edit | edit source]

Some mods or custom content create NPCs as part of the mod. These include custom objects that move around a lot (e.g. bicycles or farm animals), multi-Pollination Technician or multi-ideal plantsim mods, or Sims that otherwise function as part of the mod (e.g. nurses in any version of Chris Hatch's hospital mod). Once these NPCs have been created, simply deleting the mod's files is similar to deleting files out of a neighborhood's Characters folder: it only partially deletes the NPCs from the neighborhoods, so character data points to the wrong location and causes corruption.[15]

If you want to get rid of a mod that created custom NPCs in your game, you can delete the mod, but you must keep the NPCs in your existing neighborhoods. Find the file for the custom NPCs, and move them from your Downloads folder into the Documents\The Sims 2\Neighborhoods\<Hood>\Characters folder of each of your existing neighborhoods. Afterwards, you can delete all of the relevant mod files from your Downloads folder.

Tip
If you want to add mods with custom NPCs to specific neighborhoods, but not all of them, put the NPC character files directly into the Characters folder of the neighborhood(s) you want them to appear in.[16]

Removing custom memories from your Downloads folder[edit | edit source]

The game considers memories to be objects given to Sims. Some game mods, such as the InTeenimater, include custom memories as part of the mod. If you delete these custom memories when a Sim already has them, the custom memory can potentially turn into something else (like another object), which causes problems in-game.[17]

If Sims in your neighborhood already have these custom memories, you can either remove the memories from the affected Sims using the Memory Manipulator (found here) or SimPE, and then wipe corrupt memories and gossip using the FFS Lot Debugger. Once no Sims have the memory, you can delete the file containing the custom memory.


Removing custom careers or majors that are in use[edit | edit source]

If you delete a custom career while Sims are employed in it, or a custom major your Sim is enrolled in, the game will not properly reset your Sim's career or major. Sims who were at work or class will go missing, and households of Sims who used the custom career or major might not load. Poorly-created custom careers and majors can even cause problems across all lots in the neighborhood when deleted.[18] Before deleting a custom career or major, have all Sims employed in the career quit their jobs, and direct all students enrolled in the major to change their major.

Avoiding fixable neighborhood corruption[edit | edit source]

The corruption here is known to be fixable, but typically requires third-party tools to correct.

Deleting custom or geneticized/townified skins or eyes[edit | edit source]

This will cause all Sims who were using the deleted skin or eyes to have corrupt DNA. You will have to fix the DNA of all affected Sims individually in SimPE. (Deleting default replacements are safe.)[19]

Deleting custom foods[edit | edit source]

This breaks want trees for Sims whose favorite food was the deleted food, and will corrupt the memories of Sims who have a "Learned to make" memory for that food. It's safer to edit the food using SimPE to change it to "false" for all mealtimes, which hides the food in-game without causing memory corruption. (Instructions on doing so can be found here.)

  • How to fix it: If you've already deleted a custom food, use Pescado's Lot Debugger to reset all Sims whose favorite food was the deleted food. Then, use SimPE to remove all memories, gossip, and references to the deleted food. This, however, is very time-consuming, and you will no doubt miss something.

Reducing the risk of corruption[edit | edit source]

Generally, most corruption occurs because of the player's actions. However, some oversights and glitches in the game can cause corruption without player intervention. Luckily, little effort is required to protect against it.

Install mods designed to prevent corruption and overpopulation[edit | edit source]

There are a number of mods and programs, created by skilled modders, that can help reduce corruption. They have little to no impact on gameplay, and are highly unlikely to conflict with other mods. Instructions on how to install most mods can be found here.

Anti-Corruption Mods What It Does EP required Notes
Mootilda's Hood Checker An external program to scan your neighborhood for any unusual or corrupted references and provide an option to remove/fix them. It can detect and fix Family Ties, Sim Relations (SREL), Sims Wants and Fears (SWAF), and Memories. It will also scan for missing character file data, misplaced graves, and other items of interest.
HoodChecker is not compatible with macOS.
Mootilda's Sims2Pack Clean Installer An external program intended as a replacement to the game's default Bodyshop Installer. It allows players to properly install .sims2pack files, and allows to clean out any mods, hacks, or custom content that may have latched on during the packaging process. It can also show you whether a lot is occupied or not.
Clean Installer is not compatible with macOS.
Pescado's No Corrupted Death Memory Prevents the formation of "corrupted death memories" that lack event owners, which can be spread around neighborhoods through gossip.
Existing corrupt memories are not affected.
Pescado's FFS Lot Debugger (The Batbox) A buyable object found in the Miscellaneous/Miscellaneous section in Buy mode. It provides a number of options to fix problems that can occur with lots, delete stuck objects/tiles, and remove gossip. It also has the options necessary to delete a Sim's character file in the correct way.
A list of its functions can be found here.
Cyjon's Lot Debugger Designed to complement Pescado's FFS Lot Debugger. It provides some options for fixing bugs, as well as report on some very useful information.
Requires Cyjon's Smarter EP Check to work.
Cyjon's Lot Inspector A buyable object from the Miscellaneous/Miscellaneous section of Buy mode, and will report on whether the lot is safe to bin or delete.
Users who do not have Apartment Life or Mansion & Garden may find that the object doesn't work correctly. To make it work, press "Ctrl+Shift+C" to open the cheat box, type in boolProp testingcheatsenabled true, and click on the Lot Inspector. An object error dialog with "Bad gosub tree number" should pop up - click on "Cancel" to ignore the error. The inspector should then file a report.
Pescado's Creature Fixes In addition to fixing a number of bugs, prevents vampires from biting Mrs. CrumpleBottom and any other NPCs, which can prevent both unwanted and unstoppable neighborhood and game corruption.
Cyjon's New Friend Fix Prevents townies from introducing universal NPCs, such as the Therapist and the Grim Reaper, or pre-made dead Sims through the Secret Networking interaction (which does not cause corruption but you may wish to avoid it anyway).
Arek_91's Select Your Cemetery mod Allows you to select whether to move a grave from an apartment lot to a community lot, and if so, where to move it to. (The default game behavior is to move the grave to a random lot.)
Overpopulation Mods What It Does EPs required Notes
Pescado's NoTownieRegen Prevents the game from generating new townies.
Pescado's Anti-Redundancy Prevents the game from generating more than 1 of each NPC type, instead of the standard 3 NPCs per NPC type per neighborhood.
Cyjon's There can only be one (Professor) mod Forces the game to generate only one professor per major, instead of the default two.
Pescado's No Dormie Respawn Prevents the game from generating new dormies.
Pescado's No SS Respawn Prevents the game from generating new secret society members.
Pescado's No Stray Respawn Prevents the game from generating new stray pets.
Midge The Tree's Apartment Residents Allows the game to pick safe NPCs, regular townies, and downtownies as apartment neighbors and roommates instead of social class townies, eliminating the need of generating them.

Install meetme2theriver/Tarlia's clean neighborhood templates[edit | edit source]

Many of the premade neighborhoods ship with corrupt, incomplete, or simply inaccurate Sim data (with Strangetown being the worst off). Tarlia's templates have fixed most of the corruption in these 'hoods. The templates and their associated installation instructions can be found on Tumblr.

Tip
Tarlia's Tumblr contains the most recent, up-to-date versions. The original clean templates can be found on Livejournal.

Safeguard against child ghosts[edit | edit source]

The game does not handle child ghosts properly. When a Sim dies, they are transferred to the "default" household, a household located in the neighborhood data which contains every deceased Sim as well as Universal NPCs. Ghosts (including child ghosts) only appear at night, but the game does not allow children to be left unsupervised outside at night and sends an adult Sim from the child's household to pick them up. However, the only available adult Sims in the "default" household are Universal NPCs. This causes the Universal NPCs to appear on the lot to "pick up" the ghost child, which they can't do. The NPC will subsequently wander around the lot, potentially leading to unsafe interactions and game corruption, but simply having the NPC show up on the lot is not a sign of corruption and does not cause corruption.

If you want to prevent this from happening, pick one of the following three options:

  • Install the Child Ghost NPC Summon Fix mod to allow child ghosts to appear, but prevent Universal NPCs from showing up.
  • Install Cyjon's Ghost Hack to prevent child ghosts from appearing at all.
  • Move the graves of children to a community lot as soon as they die.

Save before quitting, not while quitting[edit | edit source]

Saving while exiting a household or quitting the game isn't inherently dangerous. However, sometimes the game will crash while it's closing. If this happens in the process of saving, the relevant neighborhood files can become corrupted. Saving separately protects the neighborhood if the game crashes when closing, because the neighborhood files aren't being modified at the time of the crash.

Back up your saved games[edit | edit source]

Backing up doesn't prevent corruption from occurring; however, if your neighborhood begins showing signs of corruption, it allows you to restore an earlier version of your neighborhood that (ideally) isn't corrupt. For instructions on creating backups, see Game guide:Backing up your game. It is highly recommended that you make neighborhood backups often, at least as often as the amount of progress you can tolerate losing - likely a week per backup. This will allow for restoring your neighborhoods to a somewhat recent state in the event of corruption or a major error on your part.

Tip
If you plan on modifying the installation files in some way, copy the files or folders you'll be modifying and paste them to your desktop to create a backup.

Make your objects.package read-only[edit | edit source]

Making the objects.package file read-only prevents the game from writing to that file. It will not fix existing game corruption, and does not make it safe to tamper with the Universal NPCs afterwards, but it can help prevent the game from potentially corrupting its own files.

Every expansion and stuff pack has its own objects.package file. The game only uses the objects.package from the most recent expansion or stuff pack on your computer, so that's the only one that truly needs to be made read-only.[20] However, some players recommend making all objects.package files read-only as a protective measure.[21]

Warning
Do not make the files in the Documents\EA Games\The Sims 2\ location read-only. The game needs to modify those files in order to save your game, and making them read-only may cause your game to not function correctly.

Windows[edit | edit source]

Players running the Ultimate Collection through Origin will need to protect the objects.package for Mansion & Garden Stuff, which is the last stuff pack released.

  • Open File Explorer.
  • Navigate to C:\Program Files\Origin Games\The Sims 2 Ultimate Collection\Fun with Pets\SP9\TSData\Res\Objects
  • Locate the objects.package file.
  • Right-click objects.package and choose "Properties".
  • Click the "Read-only" box so that it's checked.
  • Click "OK" to apply the changes.

Players with the CD versions of the game will need to protect the objects.package of their chronologically last expansion or stuff pack. (For instance, a player who installed Nightlife and then University will protect the Nightlife objects.package.)

Directories for all expansion and stuff packs
Most Recent EP or SP Directory
The Sims 2
C:\Program Files\EA GAMES\The Sims 2\TSData\Res\Objects\objects.package
The Sims 2 University
C:\Program Files\EA GAMES\The Sims 2 University\TSData\Res\Objects\objects.package
The Sims 2 Nightlife
C:\Program Files\EA GAMES\The Sims 2 Nightlife\TSData\Res\Objects\objects.package
The Sims 2 Open For Business
C:\Program Files\EA GAMES\The Sims 2 Open For Business\TSData\Res\Objects\objects.package
The Sims 2 Family Fun Stuff
C:\Program Files\EA GAMES\The Sims 2 Family Fun Stuff\TSData\Res\Objects\objects.package
The Sims 2 Glamour Life Stuff
C:\Program Files\EA GAMES\The Sims 2 Glamour Life Stuff\TSData\Res\Objects\objects.package
The Sims 2 Pets
C:\Program Files\EA GAMES\The Sims 2 Pets\TSData\Res\Objects\objects.package
The Sims 2 Seasons
C:\Program Files\EA GAMES\The Sims 2 Seasons\TSData\Res\Objects\objects.package
The Sims 2 Celebration! Stuff
C:\Program Files\EA GAMES\The Sims 2 Celebration! Stuff\TSData\Res\Objects\objects.package
The Sims 2 H&M Fashion Stuff
C:\Program Files\EA GAMES\The Sims 2 H&M Fashion Stuff\TSData\Res\Objects\objects.package
The Sims 2 Bon Voyage
C:\Program Files\EA GAMES\The Sims 2 Bon Voyage\TSData\Res\Objects\objects.package
The Sims 2 Teen Style Stuff
C:\Program Files\EA GAMES\The Sims 2 Teen Style Stuff\TSData\Res\Objects\objects.package
The Sims 2 FreeTime
C:\Program Files\EA GAMES\The Sims 2 FreeTime\TSData\Res\Objects\objects.package
The Sims 2 Kitchen and Bath Stuff
C:\Program Files\EA GAMES\The Sims 2 Kitchen & Bath Interior Design Stuff\TSData\Res\Objects\objects.package
The Sims 2 IKEA Home Stuff
C:\Program Files\EA GAMES\The Sims 2 IKEA® Home Stuff\TSData\Res\Objects\objects.package
The Sims 2 Apartment Life
C:\Program Files\EA GAMES\The Sims 2 Apartment Life\TSData\Res\Objects\objects.package
The Sims 2 Mansion & Garden Stuff
C:\Program Files\EA GAMES\The Sims 2 Mansion & Garden Stuff\TSData\Res\Objects\objects.package

Mac[edit | edit source]

The objects.package is usually made read-only by default on Macs, but it never hurts to verify. The last expansion pack released for macOS was Bon Voyage.

  • Open Finder.
  • Select "Applications".
  • Right-click on The Sims 2 Super Collection.
  • Choose "Show Package Contents".
  • Navigate to the directory for Bon Voyage. The directory varies slightly depending on whether you have the 64-bit or 32-bit version of the game.
    • 64-bit: Contents\Assets\Expansion Packs\Bon Voyage\TSData\Res\Objects\objects.package
    • 32-bit: Contents\Home\Expansion Packs\Bon Voyage\TSData\Res\Objects\objects.package
  • Right-click objects.package and click "Get Info".
  • Scroll to the section labeled "Sharing & Permissions".
  • Click the lock in the lower right-hand side of the Get Info window. Enter the administrator password when prompted.
  • On every listed account except for "system," click "Read and Write" and change it to "Read Only".

Patch your game (if you're running the disc versions)[edit | edit source]

If you installed The Sims 2 using the CDs, your game might have some unwanted and potentially dangerous bugs. The patches often fix the most dangerous issues, so all players should patch up to their latest expansion pack. You can find downloads of the patches here.

Patching is not necessary for Windows users running the Ultimate Collection or Mac users running the Super Collection—these versions are already patched.

Misconceptions regarding corruption[edit | edit source]

Just like corruption itself, rumors and misconceptions about corruption have spread over the years. This list contains some common misconceptions regarding corruption.

Myth: Deleting Sims, urns, and gravestones causes corruption[edit | edit source]

Fact: This is a widespread misconception debunked by several experienced modders. Understanding and disproving it requires some knowledge of how the game works.

New Sims created in a neighborhood receive a unique ID, which is assigned incrementally. When a Sim is deleted via the Sim Bin, or when a Sim's tombstone or urn is deleted in Buy Mode, the Sim's character file is unlinked and turned into a "stub" file containing the Sim's bare-bones character data, including their ID. There's an inaccurate belief that stubbed or unlinked character files don't retain the Sim's ID, causing the game to reuse the ID for new Sims. However, since IDs are assigned incrementally, they can't be reassigned unless the character file itself is improperly deleted.[22] This means that deleting Sims, gravestones, or urns is ultimately safe.

However, deleting Sims must be done in-game. Deleting the files directly from your neighborhood's Characters folder can cause corruption, because this deletes necessary character data and causes Sims to begin using IDs already attached to other Sims.

Additionally, the stubbed character files of deleted Sims are not removed from the Characters folder or the Neighborhoods.package, so deleting Sims in game does not help to reduce the population of the neighborhood.[11]

Note
Deleting gravestones or urns unlinks the dead Sim's character file, which prevents them from being resurrected. Pescado's No Unlink on Delete will keep character files linked, even if you delete a Sim's urn or grave.

Myth: Binning occupied lots and/or moving Sims across neighborhoods causes corruption[edit | edit source]

Fact: This is another debunked misconception. Binning a lot with Sims on it creates "stub" character files, the same way it does when deleting Sims via the Family Bin, which isn't a problem on its own. The problem with binning occupied lots is that it creates stub files both of the binned family and every Sim with ties to the family. Placing the occupied lot in a neighborhood copies the resident Sims character files, plus stub character files of every Sim in their family tree or memories, which can speed up overpopulation.[13]

Myth: Thought/speech bubbles with squiggly lines mean the neighborhood is corrupted[edit | edit source]

Fact: Squiggly lines are not always a sign of corruption. In some cases, they could appear when Sims would be thinking or gossiping about a Sim whose character file had been deleted, but this glitch seems to have been patched out before The Sims 2 : Night Life was released. In most cases, however, they appear because the game can't find the correct thumbnail (a notable example being the game not finding the missing hobby icons that should be used as a Sim is speaking or chatting when a player owns Apartment Life, but not FreeTime) or as a side effect of a mod or custom content. Because they're not a sign of corruption in most cases, speech bubbles with squiggly lines have been sighted in clean, healthy neighborhoods.

Myth: Leaving boolprop testingcheatsenabled on for extended periods causes corruption[edit | edit source]

Fact: The cheat itself is completely safe. It's just a debugging tool, and you can leave it on the entire time you play without problems. What can cause corruption is misuse of the options available with the cheat, like spawning the Tombstone of Life and Death to interact with unsafe NPCs in ways you normally couldn't (e.g., moving them in or making them selectable).

The "Force Error" option that appears when shift-clicking an object will not cause corruption if clicked; it simply forces the object to display an error dialog even if it's functioning as anticipated. That being said, randomly resetting or deleting objects through Force Error can cause unexpected game behavior.

Myth: Object Error dialogs are a sign of corruption[edit | edit source]

Fact: Error dialogs do not mean something is dangerously broken; it just means an object in the game encountered a problem and is unable to continue. If you don't have testingcheatsenabled on, the game will automatically reset the object, which can cause Sims or objects to "jump" or suddenly reset. With the cheat on, if the game encounters an error, it will always ask you whether it should ignore the error (Cancel), reset the object (Reset), or delete the object (Delete). The cheat itself didn't cause those errors—it's only forcing the game to ask you what to do instead of handling the error itself.

Since object errors are just errors, they're not always a sign of corruption. They can be caused by custom content or mods (e.g., installing an outdated mod), and even healthy games will have occasional object errors. If you constantly encounter object errors with no custom content or mods in your game, it can be a sign that something is wrong, but even then, it's unlikely to be corruption.

Myth: Saving with Sims on the phone causes corruption[edit | edit source]

Fact: Saving with Sims on the phone can cause bugs, but not corruption. When Sims chat with other Sims on the phone, the other Sim is an "off-world loiterer": they're technically considered on the lot, but are not visible. If you save the lot, and something triggers a lot reset (for instance, installing a new mod), off-world loiterers on the lot are not sent home properly. At most, though, this just causes issues using the phone or binning the lot later, not corruption. (Stuck off-world loiterers can easily be removed with Pescado's FFS Lot Debugger, using Nuke... > Off-World Loiterers.)

Myth: Saving with ghosts active on the lot can cause corruption[edit | edit source]

Fact: Like with saving while Sims are on the phone, this can cause bugs, but not corruption. The game considers both graves and ghosts to be Sims. Saving a lot with ghosts active may cause the game to believe there are two physical manifestations of the same Sim, so upon the next load, the game may delete the tombstones so there aren't "multiple" of the same Sim on the lot. This can sometimes cause the gravestones to disappear, so it's best avoided if you want to keep the graves, but it doesn't cause corruption.

Myth: Leaving custom tokens in will cause corruption[edit | edit source]

Fact: This is not the case. Most mods that create custom tokens, like ACR, can be safely deleted without clearing the tokens. You can delete the token if you'd like, but it isn't necessary.

Myth: Bulldozing a lot will cause corruption[edit | edit source]

Fact: While lots that can be lived in (e.g. Dorms, Residential, Apartments, etc.) do contain references to Sims that previously lived there, bulldozing these lots from the neighborhood won't cause corruption. However, you should always move Sims out of/sell an owned community lot before you bulldoze it.

Myth: Putting tombstones or urns on the Open For Business display shelves causes neighborhood corruption[edit | edit source]

Fact: There used to be a bug where a tombstone or urn placed on an OFB shelf would duplicate the tombstone. This bug was fixed in a later patch.

Myth: Letting Samantha Ottomas and/or Sarah Crittur's pregnancies come to term causes corruption[edit | edit source]

Fact: This is only the case in unpatched games, and even then, it's apocryphal. Prior to the Seasons patch, both Samantha Ottomas and Sarah Crittur had pregnancies containing incorrect character data, causing their children to have incorrect family trees—for instance, showing a Universal NPC as their father. However, there isn't clear evidence that this actually causes corruption.

Both of these pregnancies were fixed in the Seasons patch, so players with the Ultimate Collection, the Super Collection, or the patched version of Seasons can safely allow the pregnancies to come to term.

Note
The patch only fixes the families in neighborhoods opened after the patch was installed. If you played the unpatched CD version of the game, and Samantha and/or Sarah have not yet given birth, you can use a tool like the Sim Blender to terminate the pregnancy if you wish.

Myth: Sims that have a character file are safe to move in/make selectable/tamper with[edit | edit source]

Fact: All Sims have a character file. It's not whether the Sim has a file or not, but rather whether that file has a complete set of data.

Myth: All in-game features that are available without cheats are safe[edit | edit source]

Fact: This isn't the case. While in-game features that don't require cheats are more likely to be safe, some (like going on blind dates with the Social Worker) are not and will cause corruption.

Myth: If nothing bad happens after doing something that was said to cause corruption, there's no corruption and the action was safe[edit | edit source]

Fact: Just because nothing bad happens as soon as you do something doesn't mean it's safe. Symptoms of corruption don't always show up immediately, and it's better to be safe than sorry.

Fixing existing corruption[edit | edit source]

Even if you follow all the proper precautions to avoid corruption, sometimes things can still go wrong. Some forms of corruption can be fixed in some fashion; it just depends on the type of corruption that occurred.

Fixing neighborhood corruption[edit | edit source]

The most common way to fix a corrupt neighborhood is to restore a backup of it. Copy the most recent backup of your neighborhood, go to ~\Documents\EA Games\The Sims 2\Neighborhoods, delete the folder for the corrupted neighborhood, and paste in the copy of the backup. You'll lose any progress made since that backup, but it's often better than losing the entire neighborhood.

Many forms of corruption can be fixed via HoodChecker or SimPE. However, not all of them can, so restoring a backup is generally the safest bet.

Unfortunately, if you don't have a backup and HoodChecker and SimPE can't repair the problem, you may not be able to recover the neighborhood. If you can open the neighborhood in SimPE, it might be possible to extract the appearances of the neighborhood Sims, which will make it easier to recreate the neighborhood.

Fixing game corruption[edit | edit source]

Fixing game corruption is actually quite simple (albeit time-consuming). To check whether a file is corrupted, mouse over the files and check the "Modified" date. The files should've been last modified in 2008 or earlier, or in 2015 if you have the Ultimate Collection. If they were modified after that, it's possible that they're corrupted.

Run "Repair Game" through Origin[edit | edit source]

If you're playing the Ultimate Collection on Origin, you can use the Repair Game feature to fix the game's installation files, and therefore repair game corruption. However, you'll need stable internet access.

  • Back up your game. This includes any content in your installation files that you want to keep (e.g. Sims2RPC or your Graphics Rules files).
  • Open Origin.
  • Click on the tile for The Sims 2.
  • Choose the Settings gear. A dropdown with several options will pop up.
  • Click "Repair Game". Origin will essentially reinstall the game, so this may take awhile.
Important
Repairing the game through Origin will reset the installation files back to their default state, including your Video Cards.sgr and Graphics Rules.sgr files.

Reinstall the game (CDs)[edit | edit source]

The easiest way to fix game corruption is to reinstall the game. Back up your saved games and custom content, then proceed to uninstall all expansion packs, stuff packs, and the base game. Then, install everything again. Copy your backup and move it back into the Documents\EA Games\The Sims 2 folder. Patch your game, make your game files read-only, and you're good to go.

Note
It's possible to replace the specific game files that were corrupted instead of reinstalling entirely. Instructions can be found on Mod The Sims, at Game Help:Making your Objects.package file Read-Only.

A final note on corruption[edit | edit source]

Most of the time, you don't need to worry about corruption. Much fear of corruption comes from inaccurate information spread in the game's earlier days, when modders and players alike were less tech-savvy and reinstalling the game was an all-day affair. The Sims 2 is a much sturdier game than players initially believed, and much of what was once considered a sign of imminent doom is now seen as a minor error that's nothing to worry about.

Of course, don't throw caution to the wind; there are some things that will screw up the game or neighborhood, and being careless can cause ultimately-preventable issues. Install mods and clean neighborhood templates to reduce the risk of corruption, back up your neighborhoods regularly, and run HoodChecker now and again (if you're on Windows) to clean up junky data in your neighborhoods.

Ultimately, though, focus on what's most important: playing the game and having fun. Complex programs like The Sims 2 will never run perfectly, and trying to prevent every problem before it happens can turn the game into a chore. At the end of the day, playing the game should be an enjoyable experience, not a stressful one.[23]

See also[edit | edit source]

  • Game guide:Which NPCs are safe to play as? on The Sims Wiki, lists NPCs that are safe to play as and move in, and NPCs that will cause corruption if made selectable or tampered with in any way outside of their in-game designated purpose.
  • Is there a list of non-intuitive things NOT to do in a Sims game? - Mod The Sims thread with some examples of what not to do in the game. (Some posts have since been debunked, see above sections.)
  • Post on ModTheSims explaining what corruption is and how it works - there is some misunderstanding here, namely that deleted Sims IDs can be reused, which is not the case unless the Sim Creation Index is reset. We currently are not aware of any in game mechanism that causes the SCID to reset, though it's possible there is one. Alternatively, SWAFs can be created for non existent Sims, which would look similar to Sims reusing IDs as young Sims can acquire those SWAFs.
  • Game Help:Avoiding Hood Corruption - guide on how to remove corruption from sims.fandom.com, which this article was based on.
  • April Black's video that goes into a deep dive as to what corruption is and is not.

Notes[edit | edit source]

  1. BFBVFS - MATYWikka at the Wayback Machine (archived September 17, 2009)
  2. LeeFish: Sims 2 UC Win10 Pink Flashing (Post #2)
  3. Game Help: Red Flashing Walls (Mod The Sims)
  4. 4.0 4.1 Midge The Tree on Tumblr
  5. April Black’s video provides more context. https://youtu.be/4GauWWd_5DM
  6. 6.0 6.1 Red/Blue Thumbnails in SimPE & Other Simmer's Experiences with It (Post #5)
  7. Red/Blue Thumbnails in SimPE & Other Simmer's Experiences with It (Post #2)
  8. 8.0 8.1 Sims 2 on Macs: Crashes and File Limits
  9. 9.0 9.1 Mod The Sims: NPCs that are safe to marry
  10. Mod The Sims: I deleted a Default Replacement the wrong way... :(
  11. 11.0 11.1 More Awesome Than You!: Are stub character files really harmful to your game? If so, how? (Reply #2)
  12. Mod The Sims: How EXACTLY does deleting Sims from the family bin cause corruption? (Post #1)
  13. 13.0 13.1 13.2 Mod The Sims: How EXACTLY does deleting Sims from the family bin cause corruption? (Post #32)
  14. Mod The Sims: How EXACTLY does deleting Sims from the family bin cause corruption? (Post #5)
  15. Mod The Sims: I didn't corrupt it .. oh, maybe I might have? Removing NPCs/about PT mods
  16. Mod The Sims: My poor new neighborhood! (Post #22)
  17. r/sims2help: Deleting mods that have custom memories
  18. More Awesome Than You: CC in use. What can be removed without exploding stuff? (Replies #21–25)
  19. Mod The Sims: Stupid/random questions... (v3) (Post #13570)
  20. Mod The Sims: I deleted a Default Replacement the wrong way... :( (Post #14)
  21. Mod The Sims: Just started playing Sims 2. What are the most essential mods? (Post #18)
  22. Mod The Sims: Properly deleting premade unlinked/dead sims - effect on neighborhood corruption? (Post #5)
  23. Mod The Sims: Slowing corruption in a neighborhood with a corrupt subhood (Post #2)
 
This tutorial was a Featured Game guide in May 2014. Its layout and content is an example of excellence on The Sims Wiki.