Game Performance Updating GraphicsRules.sgr

The original catch all. General game help, banter, things you should probably put in the correct forum, This is the place.
User avatar
simwahine
Reactions:
Posts: 322
Joined: January 1st, 2012, 6:00 pm

Updating GraphicsRules.sgr

Post by simwahine » November 12th, 2016, 3:00 pm

I'm trying to get my game set up on a new computer running an AMD Radeon R9 380 GPU, but I can't figure out which "or match("${cardName}", "*HD 7??0*") to copy and change -- or how it would be written for this card. Any ideas?

User avatar
brappl
Reactions:
Posts: 4790
Joined: July 13th, 2013, 6:00 pm

Post by brappl » November 12th, 2016, 3:09 pm

Hello simwahine...nice to see you :)
I am not familir with your GPU but perhaps the Vendor and Device Linsting will have what you are looking for. I used this when looking for the device to point to for my 970.

nitromon over at MTS has instructions <a class="wiki_link_ext" href="http://www.modthesims.info/showthread.p ... ost4782510" rel="nofollow">In Post #12</a> that might help.

User avatar
simwahine
Reactions:
Posts: 322
Joined: January 1st, 2012, 6:00 pm

Post by simwahine » November 12th, 2016, 3:27 pm

Thanks brappl. Unfortunately neither of those addressed the issue of GPUs that aren't related to any already on the list. :-(

I was able to get the card added to the GraphicsCard.sgr, I just can't figure out how to make it fit the format for the rules.

User avatar
TS3Dreams
Reactions:
Posts: 187
Joined: August 20th, 2016, 6:00 pm

Post by TS3Dreams » November 12th, 2016, 3:40 pm

You don't have to make the script detect your card. Since you're just editing it to make it find the appropriate settings for your card you can just hard code them at the end of the script. I don't know what values your card requires but for my GTX 970 I just forced it to give me the highest settings and I think 2 GB RAM at the end of the script. It is pretty frustrating to modify.

User avatar
TreyNutz
Reactions:
Posts: 1105
Joined: February 22nd, 2014, 6:00 pm
Answers: 5

Post by TreyNutz » November 12th, 2016, 4:13 pm

Have you tried "*R9 3??*"? I'm assuming the question marks are single character wildcards and the asterisks are wildcards for any number of characters. You might not have to use the question marks; maybe "*R9 380*" would work.

User avatar
igazor
Organizer
Reactions:
Posts: 17152
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

Post by igazor » November 12th, 2016, 4:58 pm

Simwahine, welcome back!

I have to agree with a couple of the others that you're doing this the hard way. As per Nitromon's post at MTS that brappl linked to as the now infamous Post #12, all you really have to do is steal...I mean borrow the profile for Device ID 0x6798 (change it to the your own Device ID as revealed in DeviceConfig.log) so that your card will be force-recognized as a Radeon HD 7900. In my experience, with different cards and with helping other players, it works just as well that way as long as you don't select a totally inappropriate overly strong profile to use for a too-weak card but that can't really be the case here.

The resulting DeviceConfig will end up looking something like this:

Name (driver): (your card)
Name (database): (the name of the profile you borrowed from) [Found: 1, Matched: 1]

User avatar
simwahine
Reactions:
Posts: 322
Joined: January 1st, 2012, 6:00 pm

Post by simwahine » November 12th, 2016, 6:44 pm

Changing the GraphicsCard.sgr was no problem, it's the GraphicsRules.sgr that's being difficult. The DeviceConfig still shows:

Name (driver): AMD Radeon (TM) R9 380 Series
Name (database): AMD Radeon (TM) R9 380 Series [Found: 1, Matched: 0]

Changing the seti textureMemory and seti textureMemorySize as instructed in Post #12 did nothing to help match the card. :-(

On the bright side, in the vanilla run of the game everything looked great at max or nearly max settings. Now to see if can still handle the task when all the mods and an old save are loaded. . .

User avatar
igazor
Organizer
Reactions:
Posts: 17152
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

Post by igazor » November 12th, 2016, 7:01 pm

You don't need to change the GraphicsRules file if you use Nitromon's method, except only to add the seti textureMemory lines. Those are to get rid of the 32 MB texture memory override if you have it, not part of the card recognition process.

You can continue to try to get this to work the hard way if you like, but having done it both ways in the past several times I'm not really seeing the benefit of struggling with those rules. If my game is happy using the existing profile for a different card to "recognize" mine then I'm happy as well.

If it's just not clear what Nitromon is saying in that post, he is admittedly covering a wide range of hardware combinations all in one post, send me your original before all the changes DeviceConfig.log and I'll tell you what his method would dictate doing. It's really very easy compared to the old way.

User avatar
igazor
Organizer
Reactions:
Posts: 17152
Joined: April 8th, 2013, 6:00 pm
Answers: 206
Location: Everyone should strive to find their inner platypus.

Post by igazor » November 12th, 2016, 7:06 pm

^Meaning, paste the contents of the original DeviceConfig.log into a PM. I don't really need the file. But of course only if you wish to pursue this any further.

User avatar
simwahine
Reactions:
Posts: 322
Joined: January 1st, 2012, 6:00 pm

Post by simwahine » November 12th, 2016, 8:54 pm

Thanks, igazor -- my brain finally kicked in and I realized what I'd been missing. It's working now, just not any better than it did on the old computer with the original graphics card. Whaaaa!

Post Reply