add dtid

Jakob 2021-05-08 14:33:06 +02:00
parent d9d21ef8a5
commit 529bbc3b1a

@ -1,3 +1,4 @@
The [Nvidia driver download page](https://www.nvidia.com/Download/index.aspx) uses an API in the background to supply the correct drivers for the data entered.
The base API url used for EnvyUpdate is `https://www.nvidia.com/Download/processDriver.aspx`. It works using regular HTTP GET requests.
@ -11,6 +12,7 @@ Accepted arguments which were found so far are:
| `osid` | yes | | Operating System ID | `osid=57` for Windows 10 64bit |
| `lid` | no | 1 | Language ID, defaults to English (US) | `lid=1` for English (US). |
| `dtcid` | no | 0 | Switch to use [DCH drivers](https://nvidia.custhelp.com/app/answers/detail/a_id/4777/~/nvidia-dch%2Fstandard-display-drivers-for-windows-10-faq) or not. Defaults to non-DCH. | `dtcid=1` for DCH drivers |
| `dtid` | no | 1 | Game Ready Driver or Studio Driver | `dtid=1` for GRD, `dtid=18` for SD |
The API uses multiple different IDs to work, which are mostly arbitrary. These can be found using a different API URL.
@ -20,10 +22,10 @@ The API uses multiple different IDs to work, which are mostly arbitrary. These c
A complete request URL with all parameters would be in this form:
`https://www.nvidia.com/Download/processDriver.aspx?psid=<ProductSeries>&pfid=<ProductType>&osid=<OperatingSystem>&lid=<Language>&dtcid=<0 or 1>`
`https://www.nvidia.com/Download/processDriver.aspx?psid=<ProductSeries>&pfid=<ProductType>&osid=<OperatingSystem>&lid=<Language>&dtcid=<0 or 1>&dtid=<1 or 18>`
An example URL for the most recent driver for the GeForce 1080 Ti for Windows 10 x64 using UK English and DCH would be:
`https://www.nvidia.com/Download/processDriver.aspx?psid=101&pfid=845&osid=57&lid=2&dtcid=1`
`https://www.nvidia.com/Download/processDriver.aspx?psid=101&pfid=845&osid=57&lid=2&dtcid=1&dtid=1`
**Keep in mind that this API returns a URL to the download page of the most recent driver, NOT a direct download link!**
**Keep in mind that this API returns a URL to the download page of the most recent driver, NOT a direct download link!**