Jump to content
LaptopVideo2Go Forums

inf 13


®®®

Recommended Posts

hi pieter,

i builded my own inf from scratch on and tested it. The things i found out i would like to share:

i've tested the 53.04 MCE driver with a customized v13.00 inf, but only for 4x0 GPUs with basically all settings disabled in the inf, but still all panels and settings available in the english ControlPanel. I cant say if it works with quadro or NV3x GPUs, because i only paid attention to the 4x0 settings. A strong influence had the original 53.04 NV inf on that , because i tried to stay as much as possible to the original 53.04.

This is not needed anymore with the 53.04 inf:

[sourceDisksFiles]

[sourceDisksNames]

1 = %DiskID1%

2 = %DiskID2%

3 = %DiskID3%

4 = %DiskID4%

5 = %DiskID5%

6 = %DiskID6%

nView install itself in the right directory and through a call from here

[nv4.CoInstallers]

AddReg = nv_CoInstaller_AddReg

[nv_CoInstaller_AddReg]

HKR, Uninstall, CopyFiles, %REG_MULTI_SZ%, "generic.tvp,keystone.exe,nvappbar.exe,nview.dll,nviewimg.dll,nvshell.dll,nvtuicpl.cpl,nwiz.exe"

NView seems to self-register in the registry through that call and nView works! after the installation, so i think it safe to delete it here:

The Panel can be deleted, too:

[DestinationDirs]

nv.Panel.Localized = 11

nv.Help.Localized = 18

nv.nView = 10,nview

nv.nView.Quadro = 10,nview

This can be deleted:

[nv4]

CopyFiles = , nv.Panel.Localized, nv.Help.Localized, nv.nView (<- these can be deleted)

can be deleted for english only:

[nv_CoInstaller_AddReg]

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsar.dll,nvwrsar.dll,nvcpar.hlp,nvwcpar.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrscs.dll,nvwrscs.dll,nvcpcs.hlp,nvwcpcs.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsda.dll,nvwrsda.dll,nvcpda.hlp,nvwcpda.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsde.dll,nvwrsde.dll,nvcpde.hlp,nvwcpde.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsel.dll,nvwrsel.dll,nvcpel.hlp,nvwcpel.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrses.dll,nvwrses.dll,nvcpes.hlp,nvwcpes.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsesm.dll,nvwrsesm.dll,nvcpesm.hlp,nvwcpesm.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsfi.dll,nvwrsfi.dll,nvcpfi.hlp,nvwcpfi.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsfr.dll,nvwrsfr.dll,nvcpfr.hlp,nvwcpfr.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrshe.dll,nvwrshe.dll,nvcphe.hlp,nvwcphe.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrshu.dll,nvwrshu.dll,nvcphu.hlp,nvwcphu.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsit.dll,nvwrsit.dll,nvcpit.hlp,nvwcpit.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsja.dll,nvwrsja.dll,nvcpja.hlp,nvwcpja.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsko.dll,nvwrsko.dll,nvcpko.hlp,nvwcpko.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsnl.dll,nvwrsnl.dll,nvcpnl.hlp,nvwcpnl.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsno.dll,nvwrsno.dll,nvcpno.hlp,nvwcpno.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrspl.dll,nvwrspl.dll,nvcppl.hlp,nvwcppl.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrspt.dll,nvwrspt.dll,nvcppt.hlp,nvwcppt.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsptb.dll,nvwrsptb.dll,nvcpptb.hlp,nvwcpptb.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrsru.dll,nvwrsru.dll,nvcpru.hlp,nvwcpru.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrssk.dll,nvwrssk.dll,nvcpsk.hlp,nvwcpsk.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrssl.dll,nvwrssl.dll,nvcpsl.hlp,nvwcpsl.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrssv.dll,nvwrssv.dll,nvcpsv.hlp,nvwcpsv.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvcpth.hlp,nvwcpth.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrstr.dll,nvwrstr.dll,nvcptr.hlp,nvwcptr.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrszhc.dll,nvwrszhc.dll,nvcpzhc.hlp,nvwcpzhc.hlp"

HKR, Uninstall, CopyFiles, %REG_SZ_APPEND%, "nvrszht.dll,nvwrszht.dll,nvcpzht.hlp,nvwcpzht.hlp"

You also dont need these under( bold ones can be deleted):

[nv.Panel]

nview.dll

nvappbar.exe

nvnt4cpl.dll

[nv.nView]

generic.tvp

[nv.nView.Quadro]

advanced.tvp

finance.tvp

dcc.tvp

cad.tvp

[nv.Panel.Localized]

[nv.Help.Localized]

The compressed modes i took from the original 53.04 inf (add these):

[nv_SoftwareDeviceSettings]

HKR,, NV_Modes, %REG_MULTI_SZ%, "{*}S 720x480 720x576=1;320x200 320x240 400x300 480x360 512x384 640x400=F;SHV 2048x1536x32=1;800x600 848x480=1DFF;1920x1080x32 1920x1200x32 1920x1440x8,16=1F;640x480 1024x768x8,16=1FFF;1280x720x32 1280x768x32 1280x960x32 1280x1024x32 1360x768x32=2FF;1600x1024x32 1600x1200x32 1920x1080x8,16 1920x1200x8,16=3F;1600x900x8,16=3FF;1152x864x32=6FF;1600x900x32 1600x1024x8,16 1600x1200x8,16=7F;1280x720x8,16 1280x768x8,16 1280x960x8,16 1280x1024x8,16 1360x768x8,16=7FF;1920x1440x32=B;"

HKR,, NV_Modes, %REG_SZ_APPEND%, "1920x1080=C01E;2048x1536x8,16=F;1024x768x32 1152x864x8,16=FFF;{301-34E}SHV 2048x1536x8,16=10;1152x864x32 1280x720x32 1280x768x32 1280x960x32 1280x1024x32 1360x768x32=100;1920x1440x32=14;2048x1536x32=1E;1088x612x8,16=1FFF;800x600 848x480=200;1088x612x32=FFF;{308-309,32B,338,34E}SH 960x1200=803D;{338}SHV 800x600 1024x768 1280x1024 1600x1200 1920x1154 1920x1200=8032;"

HKR,, "DefaultSettings.XResolution",%REG_DWORD%,800

HKR,, "DefaultSettings.YResolution",%REG_DWORD%,600 (can be modified to the needed resolution. It affects for example the resoution after installation and the first reboot). I made mine to 1600x1200 and it worksed)

HKR,, "DefaultSettings.BitsPerPel" ,%REG_DWORD%,32 (dito. I cant find out if "PerPel" is a typo or not. I had the 32 bit resolution after first reboot, so it worked even with the typo)

I disabled ALL tweaks under [nvtweaks], except

HKLM, "SOFTWARENVIDIA CorporationGlobalNVTweak", CoolBits, %REG_DWORD%,1

; from ORIG 53.04 MCE

HKLM, "SoftwareNVIDIA CorporationGlobalNVTweak", NvCplAllowForceTVDetection, %REG_DWORD%,1

HKLM, "SOFTWARENVIDIA CorporationGlobalNVTweak", NvCplEnableAdditionalInfoPage, %REG_DWORD%,1

HKLM, "SOFTWARENVIDIA CorporationGlobalNVTweak", NvCplEnableAGPSettingsPage, %REG_DWORD%,1

; from ORIG 53.04 MCE

HKLM, "SoftwareNVIDIA CorporationGlobalNVTweak", NvCplExposeWin2kDualView, %REG_DWORD%,1

HKLM, "SoftwareNVIDIA CorporationGlobalNVTweak", NvCplTvLocaleAutoDetect, %REG_DWORD%,1

With these settings i almost have all panels and pages enabled (will test more and see what REALY happens when adding more). You can "hot-enable/disable different settings without reboot trough adding it in the registry and reopen the ControlPanel to see what happens). I also can choose diferent resolution and frequencies on Laptop LCD and also choose 3 or 4 resolutions on TV, and it doesn't behave "strange" though it worked like with other driver/inf combinations.

One more thing to mention is that i didnt touched ALL the "nvdual" or "DualView" settings. I let them as there were.

You can test and apply these things if you like, i would like to hear, what happens on your machine. Btw i was encouraged by LSudlow because he wrote that he also has a kind of inf espicially for his machine.

good night

Link to comment
Share on other sites

Well done Dontknow,

You have been a busy bee.

Here are my findings :

This can be deleted:  

[nv4] 

CopyFiles = , nv.Panel.Localized, nv.Help.Localized, nv.nView (<- these can be deleted)

and

You also dont need these under( bold ones can be deleted):  

[nv.Panel] 

nview.dll  

nvappbar.exe  

nvnt4cpl.dll  

[nv.nView]  

generic.tvp  

[nv.nView.Quadro]  

advanced.tvp  

finance.tvp  

dcc.tvp  

cad.tvp  

[nv.Panel.Localized]  

[nv.Help.Localized]  

I keep the settings in here as to keep the INFs compatable with the 4x.xx INFs.

This keeps updating INFs easier especially now with 4x.xx and 5x.xx.

I'm not too sure on this Co-installer bits, why is it in there when previous INFs didn't need it , is it any better ??

I also couldn't nview to work with 53.04 as it was, so I added it back where it used to be and works just fine now.

The compressed modes i took from the original 53.04 inf (add these):  

[nv_SoftwareDeviceSettings] 

HKR,, NV_Modes, %REG_MULTI_SZ%, "{*}S 720x480 720x576=1;320x200 320x240 400x300 480x360 512x384 640x400=F;SHV 2048x1536x32=1;800x600 848x480=1DFF;1920x1080x32 1920x1200x32 1920x1440x8,16=1F;640x480 1024x768x8,16=1FFF;1280x720x32 1280x768x32 1280x960x32 1280x1024x32 1360x768x32=2FF;1600x1024x32 1600x1200x32 1920x1080x8,16 1920x1200x8,16=3F;1600x900x8,16=3FF;1152x864x32=6FF;1600x900x32 1600x1024x8,16 1600x1200x8,16=7F;1280x720x8,16 1280x768x8,16 1280x960x8,16 1280x1024x8,16 1360x768x8,16=7FF;1920x1440x32=B;"  

HKR,, NV_Modes, %REG_SZ_APPEND%, "1920x1080=C01E;2048x1536x8,16=F;1024x768x32 1152x864x8,16=FFF;{301-34E}SHV 2048x1536x8,16=10;1152x864x32 1280x720x32 1280x768x32 1280x960x32 1280x1024x32 1360x768x32=100;1920x1440x32=14;2048x1536x32=1E;1088x612x8,16=1FFF;800x600 848x480=200;1088x612x32=FFF;{308-309,32B,338,34E}SH 960x1200=803D;{338}SHV 800x600 1024x768 1280x1024 1600x1200 1920x1154 1920x1200=8032;"  

I spent alot of time on this, I've made my section nice and easy the same for all GPUs, added all known resolutions at all frequencies (upto 240hz)

This section is very device specific {PCI-ID} controls which GPU has which resolutions.

HKR,, "DefaultSettings.XResolution",%REG_DWORD%,800  

HKR,, "DefaultSettings.YResolution",%REG_DWORD%,600 (can be modified to the needed resolution. It affects for example the resoution after installation and the first reboot). I made mine to 1600x1200 and it worksed)  

HKR,, "DefaultSettings.BitsPerPel" ,%REG_DWORD%,32 (dito. I cant find out if "PerPel" is a typo or not. I had the 32 bit resolution after first reboot, so it worked even with the typo)  

This section is a waste now, these settings are from 1x.xx Dets,

The line :

HKR,, UseBestResolution,             %REG_DWORD%,    1

Does the job in one line.

I use :

HKLM,"SoftwareNVIDIA CorporationGlobalNVTweak", NvCplInitialDeviceResolution,       %REG_DWORD%, 0x6

It works for me.

This is how I started INF modding as well, by just fiddeling around.

Keep up the good work,

Pieter.

Link to comment
Share on other sites

  • 3 weeks later...
I'm not too sure on this Co-installer bits, why is it in there when previous INFs didn't need it , is it any better ??  

found an explanation:

Co-installers

A co-installer is a DLL that assists in device installation. Co-installers are called by SetupAPI as "helpers" for class installers. For example, a vendor can provide a co-installer to write device-specific information that cannot be handled by the INF file to the registry. The DDK Topic "Writing a Co-installer" discusses co-installer functionality, operation, and interfaces. In addition, co-installer registration and the proper handling of DIF codes by co-installers are discussed.

hope this help you a bit, maybe later i will post a proper link (if i find one) for detailed explanation

Link to comment
Share on other sites

I really like the co-installer idea. I assume it only installs needed DLL files when installing -- ie determining OS selected language and installing that only?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...