Difference between revisions of "Game Help:Getting new graphics cards recognized by the game"

From SimsWiki
Jump to: navigation, search
Line 91: Line 91:
 
* Answer the UAC security window with a "Yes".
 
* 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.
 
* 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.
 +
* If the images still appear "off", [[Game Help:Sims 3 Delete Cache Files|refresh the cache files and thumbnails]], too
  
  

Revision as of 13:00, 23 October 2012

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?


In Windows Explorer

  1. Go to <install path>\Electronic Arts\The Sims 3\Game\Bin
  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. Back in the DeviceConfig.log file, we need the Device ID# which is 6819 from the excerpt below. Yours is going to be different, of course, unless you have the same card model# as I do.
  2. You can just leave the file opened (in a tab if you use Notepad++, or open another Notepad 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


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.
  9. If you cannot Save, do a Save As to Desktop temporarily, and we'll move it back later.



In Windows Explorer

  • 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.
  • If the images still appear "off", refresh the cache files and thumbnails, too


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]


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 this Q&A thread and I'll try to help.


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
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox