Aller au contenu

Photo

INF Modding - How?


  • Veuillez vous connecter pour répondre
49 réponses à ce sujet

#1
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages
 What file is being modified?  Obviously, it's a .INF file, but there are a few of those when I extract the driver, and none of them match up to the only file name I've ever heard mentioned in relationship to this process.  Or is there something fundamental I'm missing, here?

This is the only thing I'm lacking for a possible solution to my issues, and I'd really like to get this done.

#2
Noelemahc

Noelemahc
  • Members
  • 2 126 messages
Oops, didn't see you post here, replied in the main thread.

If you let the installer unpack to the default C:\\NVIDIA folder by running it normally first until it fails, the INF file you need to edit is in C:\\NVIDIA\\DisplayDriver\\267.26\\<your os version>\\English\\Display.Driver\\nv_disp.inf. It should be there, it can't not be there, it's nVidia's standard for file arrangement =)



#3
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages
Okay, got that done. INF modified. Next step is what? How do I get it to install without overwriting the modified file?

#4
Noelemahc

Noelemahc
  • Members
  • 2 126 messages
One folder step up, in C:\\NVIDIA\\DisplayDriver\\267.26\\<your os version>\\English\\, is the setup.exe file. Hit it =) If it works, it will install as normal and you will (soon) enjoy tolerably higher FPS count in the game. If it don't work... let's not get there yet, okay?

#5
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages
Okay, it doesn't like the modified file I downloaded. I'd get the one from my 267.24 and mod that, but I CAN'T SEE THE FILE. In either install, the nv_disp.inf file can't be seen. If I try to put one I downloaded into the DisplayDriver folder, then it shows that I'm replacing something, and I can see the new one, but I can't find it until that point, either manually, file search, or command line.

Tearing my hair out, here.

#6
Noelemahc

Noelemahc
  • Members
  • 2 126 messages
I assume you've not run the standard operating procedure of housebreaking a Windows system then?
Open Folder Options (it's in the Start Menu, Control Panel or your Explorer window, depending on which version of Windows you have), open the View pane and make sure you have DISABLED "Hide registered extensions" and ENABLED "Show hidden files" and "Show system files". You might need to be running as Administrator for that to work.

I can lend you my modified file if you still have problems, but it's for 64-bit Windows. Which is yours?

#7
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages
I've got everything set to "show" and nothing to "hide" on Folder Options, but somehow I still can't get nv_disp.inf to show up. I know it's there, somewhere. When I try to replace it with a downloaded one, it makes me replace an existing one, but then setup.exe says files are missing and it can't install.

I guess I'm going to play other games until nVidia and Bioware can get this thing worked out.

#8
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages
Windows 7 64-bit.

#9
Noelemahc

Noelemahc
  • Members
  • 2 126 messages
There you go. If it won't work, it simply means that your card needs a different Manufacturer entry edited, I can whip up a solution if need be.

#10
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages
Doesn't work, but at least it's not a "missing files" error. Needs compatible hardware, it says, which needs the solution you offer. What info do you need from me?

#11
Noelemahc

Noelemahc
  • Members
  • 2 126 messages
The model of your card =)

#12
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages

Noelemahc wrote...

The model of your card =)


GTX 260M

No need to repost, if you could (please) tell me what to put in which section.

Thanks a ton, dude.

#13
Noelemahc

Noelemahc
  • Members
  • 2 126 messages
Ow. The notebook drivers are differently arranged, that is why you had problems - there's a LOT of INF files, sorted by chipset type.

Try this one, I think I got the right sections set up.

#14
MaxPayne37

MaxPayne37
  • Members
  • 149 messages
This worked with my GTX 260M, hopefully it works with yours, because some 260Ms have different SUBSYS... Put in the appropriate sections, and allter for 64-bit as needed. I grabbed these sections out of the nvam.inf in the notebook drivers to the nv_disp.inf, following my 260Ms SUBSYS. It's a pain, trust me :(

[NVIDIA_SetA_Devices.NTx86.6.0]
%NVIDIA_DEV.0618.01% = Section013, PCI\\VEN_10DE&DEV_0618&SUBSYS_1A521043

[NVIDIA_SetA_Devices.NTx86.6.1]
%NVIDIA_DEV.0618.01% = Section014, PCI\\VEN_10DE&DEV_0618&SUBSYS_1A521043

[Strings]
NVIDIA_DEV.0618.01 = "NVIDIA GeForce GTX 260M"

Modifié par MaxPayne37, 10 mars 2011 - 09:39 .


#15
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages
Nope. Not working.

Thanks for trying to help, but I don't think I'm going to be able to get it working, because, yeah, mobile drivers.

#16
Noelemahc

Noelemahc
  • Members
  • 2 126 messages
Sorry, seems to be you'll have to wait for a proper official solution then =(

#17
MaxPayne37

MaxPayne37
  • Members
  • 149 messages

DragonMan Ren wrote...

Nope. Not working.

Thanks for trying to help, but I don't think I'm going to be able to get it working, because, yeah, mobile drivers.


If you look in the nvam.inf for the mobile drivers, and look through it, you'll notice that there are multiple entries for the GTX 260M, once again, based on SUBSYS. Fiddle with those. Also, there may be other entries for the 260M in the other .infs, but I'm not sure. You can look for your SUBSYS in your video card's details in Device Manager.

Yeah, desktop solutions are standard, but NVIDIA made it hard with mobile cards. Don't know why they .inf device lock in the first place though...

Modifié par MaxPayne37, 10 mars 2011 - 07:08 .


#18
DragonMan Ren

DragonMan Ren
  • Members
  • 17 messages

MaxPayne37 wrote...

This worked with my GTX 260M, hopefully it works with yours, because some 260Ms have different SUBSYS... Put in the appropriate sections, and allter for 64-bit as needed. I grabbed these sections out of the nvam.inf in the notebook drivers to the nv_disp.inf, following my 260Ms SUBSYS. It's a pain, trust me :(

[NVIDIA_SetA_Devices.NTx64.6.0]
%NVIDIA_DEV.0618.01% = Section013, PCIVEN_10DE&DEV_0618&SUBSYS_1A521043

[NVIDIA_SetA_Devices.NTx64.6.1]
%NVIDIA_DEV.0618.01% = Section014, PCIVEN_10DE&DEV_0618&SUBSYS_1A521043

[Strings]
NVIDIA_DEV.0618.01 = "NVIDIA GeForce GTX 260M"


Yeah, I THINK I followed these instructions, but it didn't work out.  Oh well.  I've got other games to play until I wait for BioWare and nVidia to get it together.

#19
Yammen

Yammen
  • Members
  • 33 messages
Anyway I can get the codes for the GTX 260, desktop card, not mobile.

#20
MaxPayne37

MaxPayne37
  • Members
  • 149 messages

MaxPayne37 wrote...

This worked with my GTX 260M, hopefully it works with yours, because some 260Ms have different SUBSYS... Put in the appropriate sections, and allter for 64-bit as needed. I grabbed these sections out of the nvam.inf in the notebook drivers to the nv_disp.inf, following my 260Ms SUBSYS. It's a pain, trust me :(

[NVIDIA_SetA_Devices.NTx86.6.0]
%NVIDIA_DEV.0618.01% = Section013, PCIVEN_10DE&DEV_0618&SUBSYS_1A521043

[NVIDIA_SetA_Devices.NTx86.6.1]
%NVIDIA_DEV.0618.01% = Section014, PCIVEN_10DE&DEV_0618&SUBSYS_1A521043

[Strings]
NVIDIA_DEV.0618.01 = "NVIDIA GeForce GTX 260M"

Yammen wrote...

Anyway I can get the codes for the GTX 260, desktop card, not mobile.


Check for the sections I posted, but pertaining to your card in an old nv_disp.inf, and paste it in the 267.26 nv_disp.inf, unless Noelemahc can do it for you. If there are multiple entries for your card, do them all just to make sure. 

Modifié par MaxPayne37, 10 mars 2011 - 09:39 .


#21
Yammen

Yammen
  • Members
  • 33 messages
I figured out how to do it before you replied, seems the drivers do make somewhat of a difference.

I can run it on high, 1920x1080, anisotropic filter 4x, AA 4x, the other thing disabled, high res enabled, vsync disabled. Getting a smooth 28-40 FPS, no stuttering though, just smooth as silk. It was a little choppy on the other drivers I was using. I'm getting a good 40-60 FPS with AA and AF disabled.

I still think a couple patches to the game, and some further updates on the drivers will increase the performance given some time.

#22
Noelemahc

Noelemahc
  • Members
  • 2 126 messages
For most 2XX series cards, the first link for the modified file that I posted should work fine.
And yes, this still needs desperate optimization on the devs' part.

#23
ripples11

ripples11
  • Members
  • 2 messages

MaxPayne37 wrote...

This worked with my GTX 260M, hopefully it works with yours, because some 260Ms have different SUBSYS... Put in the appropriate sections, and allter for 64-bit as needed. I grabbed these sections out of the nvam.inf in the notebook drivers to the nv_disp.inf, following my 260Ms SUBSYS. It's a pain, trust me :(

[NVIDIA_SetA_Devices.NTx86.6.0]
%NVIDIA_DEV.0618.01% = Section013, PCIVEN_10DE&DEV_0618&SUBSYS_1A521043

[NVIDIA_SetA_Devices.NTx86.6.1]
%NVIDIA_DEV.0618.01% = Section014, PCIVEN_10DE&DEV_0618&SUBSYS_1A521043

[Strings]
NVIDIA_DEV.0618.01 = "NVIDIA GeForce GTX 260M"


This worked for my 260M by changing the subsys

Thanks for tip!

#24
McFlow

McFlow
  • Members
  • 3 messages

Noelemahc wrote...

There you go. If it won't work, it simply means that your card needs a different Manufacturer entry edited, I can whip up a solution if need be.

I have a Win7 64Bit System and an Nvidia GTS 250. I extraced the installer with winrar, replaced the inf file with the one you posted above but the installer will complain about missing files. I already changed the line near the bottom to my model.
Could you please help me? :)

#25
Abremms

Abremms
  • Members
  • 53 messages
I feel like I've missed a very important part of this potential fix. mainly:

What in the .inf do i need to change?

-and-

What do I need to change it to?

I'm using a GTX 470

Edit: A little poking around in the Ini file of the 267.24beta install files got the job done. Just find your card model in the bottom entry, then search for the corrisponding number, there should be 2 other entries under the headings:


[NVIDIA_SetA_Devices.NTx86.6.0]

and

[NVIDIA_SetA_Devices.NTx86.6.1]

just copy and paste the relevant information from one INf to the other. I got it to install, now fingers crossed it helps!

Modifié par Abremms, 11 mars 2011 - 01:01 .