Difference between revisions of "Game Help:Data Execution Prevention"

From SimsWiki
Jump to: navigation, search
(Categories, sortkey)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Data Execution Prevention (DEP) is a security feature in Microsoft Windows (an implementation of the [http://en.wikipedia.org/wiki/NX_bit NX bit] technology) that can help prevent damage to your computer from viruses and other security threats. Harmful programs cmay attempt to attack Windows by attempting to run (also known as execute) code from system memory locations reserved for Windows and other authorized programs. These types of attacks may inflict serious harm to your computer (operating system, programs, and data).
+
==Overview==
 +
Data Execution Prevention (DEP) is a security feature in Microsoft Windows (an implementation of the [http://en.wikipedia.org/wiki/NX_bit NX bit] technology) that can help prevent damage to your computer from viruses and other security threats. Harmful programs may attempt to attack Windows by attempting to run (also known as execute) code from system memory locations reserved for Windows and other authorized programs. These types of attacks may inflict serious harm to your computer (operating system, programs, and data).
  
 
DEP protects your computer by forbidding access to memory not reserved by the running application. If the processor notices a program on your computer using memory incorrectly, it halts exectuion (terminates the application).
 
DEP protects your computer by forbidding access to memory not reserved by the running application. If the processor notices a program on your computer using memory incorrectly, it halts exectuion (terminates the application).
 +
 +
====Potential Cause and Solution====
 +
It seems that usually DEP crashes on The Sims 3 are triggered by the computer's graphics driver attempting to access memory it doesn't have permission to.  You may be able to fix the problem while leaving DEP enabled by updating your graphic drivers.  Instructions for [[Game Help:Graphics Cards#Finding Out Which Graphics Card You Have|indentifying your graphics device]], [[Game Help:Graphics Cards#Downloading New Graphics Drivers|downloading updated drivers]], and [[Game Help:Graphics Cards#Installing The New Drivers|installing them]] are available.
 +
  
 
==Diagnosing DEP Crashes==
 
==Diagnosing DEP Crashes==
Line 14: Line 19:
  
 
==Change DEP Settings==
 
==Change DEP Settings==
If you choose to protect all programs, you can still disable DEP for individual programs. If you suspect that a program does not run correctly when DEP is enabled, check for a DEP-compatible version of the program or an update from the software publisher before you change any DEP settings.
+
'''Note: If you change this setting to monitor all programs, you will have to add each program that DEP closes down to the exception list.'''
 +
 
 +
If you suspect that a program does not run correctly when DEP is enabled, check for a DEP-compatible version of the program or an update from the software publisher before changing any DEP settings.
 +
 
 +
 
 +
{{WizardOption
 +
|link=Game Help:Data Execution Prevention/TS3W
 +
|text=For base game version 1.21 and newer.  If you have Generations or newer, use this one.
 +
}}
 +
 
  
===Note About Applications to Add===
+
{{WizardOption
The Sims 3 Launcher runs executable with the highest version number so you only have to add the executable you are using to the DEP list. For example, if you have The Sims 3, The Sims 3: World Adventures, and The Sims 3: Ambitions installed, you only have to add the executable belonging to Ambitions to the list (TS3EP02.exe).  It is not recommended to add more executables to the list than you have to in order to prevent crashes.  The full list of executables are below.
+
|link=Game Help:Data Execution Prevention/Multiple
 +
|text=For base game version 1.19 and older.
 +
}}
  
===Windows Vista / 7===
 
* Open '''System Properties'''. [[Image:Dep00.jpg|thumb|100px]]
 
** Go to '''Start'''.
 
** Then '''Control Panel'''.
 
** Then open '''System'''.
 
** Click '''Advanced System Settings'''.  If you are prompted for an administrator password or confirmation, type the password or provide confirmation.<br clear=all />
 
* Under '''Performance''', click '''Settings'''. [[Image:Dep01.jpg|thumb|100px]]<br clear=all />
 
* Click the '''Data Execution Prevention''' tab, and then click '''Turn on DEP for all programs and services except those I select'''. [[Image:Dep02.jpg|thumb|100px]]<br clear=all />
 
* Click on '''Add''' and browse your system to find the exe file you are using: [[Image:Dep04.jpg|thumb|100px]]
 
** '''TS3.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3\Game\Bin
 
** '''TS3EP01.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3 World Adventures\Game\Bin
 
** '''TS3SP01.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3 High End Loft Stuff\Game\Bin
 
** '''TS3EP02.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3 Ambitions\Game\Bin
 
** '''TS3SP02.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3 Fast Lane Stuff\Game\Bin
 
* Click '''OK'''.
 
* '''Restart your computer''' for the changes to take effect.
 
  
<br clear="all" />
+
For help finding which version is installed, see [[Game Help:TS3 Patching Find Gameversion]].
  
===Windows XP===
 
* Open '''System Properties'''.
 
** Go to '''Start'''.
 
** Then '''Settings'''.
 
** Then '''Control Panel'''.
 
** Then open '''System'''.
 
* Click on the '''Advanced''' tab.
 
* Click on the '''Settings''' button for '''Performance'''.
 
* Click on the '''Data Execution Prevention''' tab.
 
* Check "'''Turn on DEP for all programs and services except those I select:'''"
 
* Click on '''Add''' and browse your system to find the exe file you are using:
 
** '''TS3.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3\Game\Bin
 
** '''TS3EP01.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3 World Adventures\Game\Bin
 
** '''TS3SP01.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3 High End Loft Stuff\Game\Bin
 
** '''TS3EP02.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3 Ambitions\Game\Bin
 
** '''TS3SP02.exe''' under C:\Program Files (x86)\Electronic Arts\The Sims 3 Fast Lane Stuff\Game\Bin
 
* Click '''OK'''.
 
* '''Restart your computer''' for the changes to take effect.
 
  
[[Category:Crash Causes]]
+
[[Category:Sims 3 Game Help|Routing]]
 +
[[Category:Sims 3 Technical Game Help|Routing]]

Latest revision as of 15:54, 20 September 2012

Contents

[edit] Overview

Data Execution Prevention (DEP) is a security feature in Microsoft Windows (an implementation of the NX bit technology) that can help prevent damage to your computer from viruses and other security threats. Harmful programs may attempt to attack Windows by attempting to run (also known as execute) code from system memory locations reserved for Windows and other authorized programs. These types of attacks may inflict serious harm to your computer (operating system, programs, and data).

DEP protects your computer by forbidding access to memory not reserved by the running application. If the processor notices a program on your computer using memory incorrectly, it halts exectuion (terminates the application).

[edit] Potential Cause and Solution

It seems that usually DEP crashes on The Sims 3 are triggered by the computer's graphics driver attempting to access memory it doesn't have permission to. You may be able to fix the problem while leaving DEP enabled by updating your graphic drivers. Instructions for indentifying your graphics device, downloading updated drivers, and installing them are available.


[edit] Diagnosing DEP Crashes

The Sims 3 produces exception (xcpt*.txt and xcpt*.mdmp) files in the user's My Documents directory when it crashes. To determine if the crash was caused by DEP:

  1. Open an xcpt*.txt file with Notepad or your favorite text editor.
  2. Scroll down to the [Exception info] section.
  3. Behind address:, does it have <unknown module>? If yes, DEP caused the crash. If no, something else caused the crash.

[edit] Applications That Can Diagnose DEP Crashes


[edit] Change DEP Settings

Note: If you change this setting to monitor all programs, you will have to add each program that DEP closes down to the exception list.

If you suspect that a program does not run correctly when DEP is enabled, check for a DEP-compatible version of the program or an update from the software publisher before changing any DEP settings.


RightArrow.gif

For base game version 1.21 and newer. If you have Generations or newer, use this one.


RightArrow.gif

For base game version 1.19 and older.


For help finding which version is installed, see Game Help:TS3 Patching Find Gameversion.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox