Welcome to
Mod The Sims
Online: 1468
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
This page is located on the SimsWiki. To view it in it's original form, click here.
Sims 3 Game Help Categories:

Custom Content  | Installation  | Gameplay Guides  | Technical & Graphics Issues  | Miscellaneous Issues

MTS Help Q&A Forums

Contents

Issue

Excited at having upgraded your graphics card, but disappointed at the graphics ending up looking worse than the IGP or weaker GPU you had before? Well, there's a reason for that!

How to confirm this is indeed the issue you're having? Open the <username>\Documents\Electronic Arts\The Sims 3\DeviceConfig.log in your text editor program or double-click it. In Windows this would open Notepad, and in OSX this would open TextEditor. I used Notepad++ in the screenshots below. All the screenshots can be clicked on to enlarge.


In your text editor program of choice, look for these lines:

  • GPU: ?? in the Rating info section
  • [Found: 0, Matched: 1] in the Graphics device info section


They are shown in the below excerpt on the first and last lines respectively.

=== Rating info ===
GPU: 1 GPU Memory: 4 CPU: 4 RAM: 4 CPU Speed: 3064 Threading: 3
Adjusted CPU: 3686 RAM: 6142 Adjusted RAM: 5630 Cores: 4
:
:
=== Graphics device info ===
Number:          0
Name (driver):   AMD Radeon HD 7800 Series
Name (database): AMD Radeon HD 7800 Series [Found: 0, Matched: 1]


If the game does not recognize that GPU because it is too new, it would be shown as Found: 0 and then the game assigns the lowest rating of 1 to the GPU and adjusts the game's Graphical options accordingly. As it is set to lowest settings as possible, and the fact that the game does not recognize the card, the result may sometimes be weird graphical glitches like shadows or you would get crashings when you raise the Reflection Quality slider or checked Enable Advanced Rendering option, as if you're using an Onboard graphics.


Cause

Click to enlarge
The .sgr files in \Game\Bin\ has not been updated to include newer cards. And so, the default lowest values are used.


Solution

You just need to edit the .sgr files to include the new card's model. Here's how to do it.

Disclaimer: Some might have the thought crossed their mind by now that they can set their cards to be on a higher setting with these edits. Well, you can try, but I cannot recommend it. The settings were set, I'm sure after EA has done some form of testing to ensure the settings are good for that card to function reliably. Even if they have not done extensive testing, I have to give EA the benefit of the doubt they at least test something. Else, why go to the trouble of having different graphical and processor settings?


Location of the SGR files The following information is also documented in Game Help:World Routing Lags/Where

Windows

  • <install path>\Electronic Arts\The Sims 3\Game\Bin
    • <install path> is the default install location determined by your OS bit size (32 vs 64 bit), source of game (DVD, Origin, or Steam)


OS X

  • /Applications/The Sims 3/The Sims 3
    • Right click on folder name and select Show Package Contents
    • Expand Contents, open SGR files in TextEdit
    • Once expanded, full path is /Applications/The Sims 3.localized/The Sims3.app/Contents/Resources/transgaming/c_drive/Program Files/Electronic Arts/


In Windows Explorer or Finder

  1. Go to the location for your Operating System above
  2. Copy, paste and rename these two files with an ".orig" extension
    • GraphicsCards.sgr
    • GraphicsRules.sgr
  3. Click to enlarge
    After which, you would have 4 files as shown
    • Keep the .orig in a safe place in your Archives out of this <install path>\Electronic Arts\ folder path for when you patch the game next. You'd need to replace with the original files or the patcher may complain about "Invalid Files Found".
    • You may also want to keep a copy of the edited .sgr files for when you uninstall and can just paste this instead of reediting both files all over again.


Open DeviceConfig.log file

  1. You can find the DeviceConfig.log in your User folders in <user name>/Documents/Electronic Arts/The Sims 3/
  2. Open this file in Notepad (or Notepad++) for Windows OS; or in TextEdit for OS X system
  3. In the DeviceConfig.log file, we need the Vendor and Device ID#s which is 1002 and 6819 respectively, from the excerpt below. Yours is going to be different, of course, unless you have the same card model# as I do.
  4. You can just leave the file opened (in a tab if you use Notepad++, or open another editor window otherwise).
=== Graphics device info ===
Number:          0
Name (driver):   AMD Radeon HD 7800 Series
Name (database): AMD Radeon HD 7800 Series [Found: 1, Matched: 1]
Vendor:          ATI
Chipset:         Vendor: 1002, Device: 6819, Board: 27301462, Chipset: 0000


Alternative methods to locating Device ID
If the game has been crashing and there is no DeviceConfig.log file to open, there are various methods to finding the values you need.

Click to enlarge
Device Manager
  • Load Device Manager, either via Control Panel, Start menu, Windows Explorer, or right-click on the Computer icon on the Desktop.
  • Click on Display Adapters.
  • Right-click on the adapter you want Sims 3 to use; if you have dual graphics, choose the dedicated one. Click Properties.
  • Go to the Details tab.
  • On the Property dropdown menu, select Hardware Ids
  • The first line in the Value panel has the information you need.
PCI\VEN_10DE&DEV_0E22&SUBSYS_23811462&REV_A1
  • VEN_xxxx is the Vendor ID.
  • DEV_xxxx is the Device ID.


DxDiag report
---------------
Display Devices
---------------
          Card name: NVIDIA GeForce GTX 460
       Manufacturer: NVIDIA
          Chip type: GeForce GTX 460
           DAC type: Integrated RAMDAC
         Device Key: Enum\PCI\VEN_10DE&DEV_0E22&SUBSYS_23811462&REV_A1
  • Run DxDiag and save the report to Desktop.
  • Double-click on the DxDiag.txt file to open it.
  • Locate the Display Devices section.
  • The last line as shown in the excerpt under Device Key has the same string as you'd get in Device Manager
  • VEN_xxxx is the Vendor ID.
  • DEV_xxxx is the Device ID.
  • If you have Dual-graphics, this section would list the integrated chip, and the vendor IDs would be either of these.
    1. Intel = 8086
    2. AMD/ATI = 1002
  • The dedicated GPU would be listed under System Devices. It would have the strings for the dedicated GPU vendors in the same string format as the one in the Device Key line, ie
    1. Nvidia = 10DE
    2. AMD/ATI = 1002


Click to enlarge
About this Mac
  • On an OS X system, the same data can be found in the About this Mac dialog
  • Click on Graphics/Displays under Hardware
  • You'll find the Vendor and Device ID information clearly labelled.



Open GraphicsCards.sgr file

  1. Click to enlarge
    If you open GraphicsCards.sgr and search for 0x6819 (use your own Device ID#, of course), it won't be there.
  2. Analyze the other entries for the model similar to yours, I just used the entry from the previous generation model.
  3. So, in my case I added the line by copying and pasting
    0x6738 "AMD Radeon HD 6800 Series"
  4. And renamed into
    0x6819 "AMD Radeon HD 7800 Series"
    i.e. the Name as shown in the DeviceConfig.log file above.
  5. Save the file and if prompted to overwrite, answer Yes.
  6. If you cannot Save, do a Save As to Desktop temporarily, and we'll move it back later.


Open GraphicsRules.sgr file

  1. Here is the tedious part. Analyze this file in the Text Editor. You may need to wrap or unwrap the file to view the text comfortably.
  2. For my card, I again refer to the older HD 68xx series which in this file is referred to as
    "*HD 6??0*"
  3. Click to enlarge
    Do a search with "HD 6" and I found 3 counts of this term being used in this file. In Notepad++, I can do this with the Count button as shown
  4. Note down the section where it appears. In Notepad++, this can be done by clicking the Find All in Current Document button and I get 3 hits in the Find Result panel at the bottom with the line numbers shown.
  5. With further analysis, I've determined I needed to copy+paste this snippet of text
    or match("${cardName}", "*HD 6??0*") 
  6. Click to enlarge
    And rename as
    or match("${cardName}", "*HD 7??0*") 
    in each of the search results returned earlier, so I did a copy+paste 3 times for the respective line
  7. One edited segment is shown in the image.
  8. Save the file and if prompted to overwrite, answer Yes.
    • If you use Notepad, you would need to click on the dropdown menu for the Save as type and choose All Files (*.*) instead of Txt Documents (.txt), in order to not have the .txt extension added to the end of the filename.
  9. If you cannot Save, do a Save As to Desktop temporarily, and we'll move it back later.



In Windows Explorer

  • If you suddenly have the Notepad icon on the files instead of a blank one, or the Type column (in Details View) now list the file type as TXT, you'd need to rename the files by removing the .txt extension.
  • If the extension still shows as .sgr, but the Type column is showing TXT, the system has the extensions hidden. And you would need to unhide them.
  • If you had to save the 2 files to Desktop, copy+paste them back into the <install path>\Electronic Arts\The Sims 3\Game\Bin folder.
  • Answer the UAC security window with a "Yes".
  • After you've tested the game in the next steps, and things are OK, and you didn't get crashings or other issues, these files on the Desktop can be deleted or if you like you can Archive (or backup) to your external drive.


Load up game

  • Start up the game to test!
  • Click the Restore Defaults button to see the difference.
  • Here are my two before and after settings side-by-side, on EA's Default settings as per the rules in the GraphicsRules.sgr file.
    Sgr-edits uber gpu before.pngSgr-edits uber gpu after.png
  • And the new DeviceConfig.log file after the game is set using its default settings for the HD 7800 with uber graphic rules. So you can compare with the version at the beginning of this guide when it wasn't recognized.
=== Rating info ===
GPU: 5 GPU Memory: 4 CPU: 4 RAM: 4 CPU Speed: 3064 Threading: 3
Adjusted CPU: 3686 RAM: 6142 Adjusted RAM: 5630 Cores: 4
:
:
=== Graphics device info ===
Number:          0
Name (driver):   AMD Radeon HD 7800 Series
Name (database): AMD Radeon HD 7800 Series [Found: 1, Matched: 1]
  • If there are no differences in the DeviceConfig.log file (you should get the Found:1 now), or the game did not refresh it. Quit the game without saving and do the clean-up steps in Windows Explorer as shown in the steps below.
  • If it still shows Found:0, do the clean up below as well. You might also want to discard your edited version and edit the files all over again from the start.



In Windows Explorer


Dual graphics

If you have a processor with an integrated graphics chip and also a separate dedicated GPU, you have a dual-graphics setup. First of all, you have to ensure that Sims 3 is using the dedicated GPU instead of the integrated. Guide: Two Graphics Cards? How to make Sims stop using the integrated one has the instructions if you don't know how.

InfoWarn.png Warning: If you have dual-GPU, the deviceconfig.log report is no longer accurate. Just go by the GPU vendor's Control Panel's report when you have the game running. If that panel shows TS3W is using the dedicated GPU, then you're good to go. You can safely ignore whatever the deviceconfig.log claims.


What's Next

Well, did it work? Do you get better graphics? Yay! Case closed!

If not, and if you need help with the guide or have questions, post in Sims 3 Q&A Help Forum. Before you post in Help, please ready the answers to the questions below and then copy and paste the questions and include your response in your post.

  1. What is the base game's patch version? Game Help:TS3 Patching Find_Gameversion
  2. Do you have dual GPUs? Have you made sure Sims 3 is using the dedicated one as shown in Guide: Two Graphics Cards? How to make Sims stop using the integrated one guide?
  3. Those with dual GPUs, do you add both of the GPUs in the sgr files or just the dedicated one? And ignoring the DeviceConfig.log file totally? Rather, you should rely on your card's Control Panel
  4. If the edits still don't change the defaults when you click on Restore defaults, tweak the Option sliders yourself and Quit. Then next time you load the game, check if the previous settings were overwritten and goes back to being low or has your tweaks been retained?
  5. If you need guidance on what strings to add where, please ready the Vendor and Device IDs by locating them from the various methods mentioned above. And include both information in your post.

Acknowledgements

  • The Staff in staff chat at the time I was planning this with ideas for the FAQ name. Thanks to Buzzler and armiel!
  • Guides from Sims 2 that made me think of this solution.
  • Some old posts @thesims3.com forum way back in 2009 that I cannot find the thread to credit anymore, but I understood the gist of the changes needed and so tested out the steps.
Sims 3 Game Help Categories:

Custom Content  | Installation  | Gameplay Guides  | Technical & Graphics Issues  | Miscellaneous Issues

MTS Help Q&A Forums
Powered by MariaDB Some icons by http://dryicons.com.