@sativsim Sorry for the late reply. No, you don't need to delete deviceconfig, although it won't matter if you do or you already have. The first step here was to force your computer to use the Nvidia card to run Sims 3, which it wasn't doing before and is now. (The card deviceconfig lists is the card being used.) There wasn't any point in getting your Nvidia GPU recognized if the game wasn't going to use it.
Anyway, if you're satisfied with how the game runs, you don't actually need to do anything else. But if you would in fact like to get your card recognized, that's easy enough. You'll need to edit two files called graphicscards.sgr and graphicsrules.sgr. In a Steam install, they're both here by default:
Program Files (x86)\Steam\steamapps\common\The Sims 3\Game\Bin
First, open graphicscards.sgr (you might not see the .sgr extension, but it's the same file). Hit crtl-F and search for 10de , which will take you to these lines:
vendor "NVIDIA" 0x10b4 0x12d2 0x10de
card 0x0fd1 "GeForce GT 650M"
card 0x0fd2 "GeForce GT 640M"
Create a new line under the one that says NVIDIA and copy and paste this:
card 0x25a0 "GeForce RTX 3050 ti"
Make sure the entry lines up with the other ones below it. Save, close the file, and open graphicsrules.sgr. Crtl-F and search for 8800 , which will take you to this line:
elseif (match("${cardName}", "*8800*") or match("${cardName}", "*9500*") [etc.]
Change the bolded 8800 to RTX , but don't change or delete anything else, not even the asterisks. Now scroll back to the top and find this, 8-10 lines down:
if ($textureMemory == 0)
seti textureMemory 32
setb textureMemorySizeOK false
Change the 32 to a 1024 and put a # and a space in front of setb , but again, don't change anything else. Save, quit, launch the game, quit (you only need it to start loading), and look at deviceconfig again. You should see [Found: 1, Matched: 1] after your card name. The texture memory a few lines below should also say 1024 instead of 32. Your GPU has more VRAM than that, but Sims 3 can only use 800 MB.
If your card isn't found and matched, or you want me to double-check your work, please post this same section of deviceconfig again.