mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-08-30 18:32:50 +00:00
commit
2275c522f0
@ -42,11 +42,7 @@ Here is real commands used for Windows driver 441.28 series:
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ ./add_driver.py --help
|
$ ./add_driver.py --help
|
||||||
usage: add_driver.py [-h] (-L | -W) [--variant VARIANT] [-P {GeForce,Quadro}]
|
usage: add_driver.py [-h] (-L | -W) [--variant VARIANT] [-P {GeForce,Quadro}] [-w {win10,win7,ws2012,ws2016}] [--patch32 PATCH32] [--patch64 PATCH64] [--skip-patch-check] [-U URL] [--skip-url-check] version
|
||||||
[-w {win10,win7,ws2012,ws2016}] [--patch32 PATCH32]
|
|
||||||
[--patch64 PATCH64] [--skip-patch-check] [-U URL]
|
|
||||||
[--skip-url-check]
|
|
||||||
version
|
|
||||||
|
|
||||||
Adds new Nvidia driver into drivers.json file of in your repo working copy
|
Adds new Nvidia driver into drivers.json file of in your repo working copy
|
||||||
|
|
||||||
@ -63,19 +59,12 @@ OS options:
|
|||||||
-W, --win add Windows driver (default: None)
|
-W, --win add Windows driver (default: None)
|
||||||
|
|
||||||
Windows-specific options:
|
Windows-specific options:
|
||||||
--variant VARIANT driver variant (use for special cases like "Studio
|
--variant VARIANT driver variant (use for special cases like "Studio Driver") (default: )
|
||||||
Driver") (default: )
|
|
||||||
-P {GeForce,Quadro}, --product {GeForce,Quadro}
|
-P {GeForce,Quadro}, --product {GeForce,Quadro}
|
||||||
product type (default: GeForce)
|
product type (default: GeForce)
|
||||||
-w {win10,win7,ws2012,ws2016}, --winseries {win10,win7,ws2012,ws2016}
|
-w {win10,win7,ws2012,ws2016}, --winseries {win10,win7,ws2012,ws2016}
|
||||||
Windows series (default: win10)
|
Windows series (default: win10)
|
||||||
--patch32 PATCH32 template for Windows 32bit patch URL (default:
|
--patch32 PATCH32 template for Windows 32bit patch URL (default: ${winseries}_x64/${drvprefix}${version}/nvencodeapi.1337)
|
||||||
https://raw.githubusercontent.com/keylase/nvidia-patch
|
--patch64 PATCH64 template for Windows 64bit patch URL (default: ${winseries}_x64/${drvprefix}${version}/nvencodeapi64.1337)
|
||||||
/master/win/${winseries}_x64/${drvprefix}${version}/nv
|
|
||||||
cuvid32.1337)
|
|
||||||
--patch64 PATCH64 template for Windows 64bit patch URL (default:
|
|
||||||
https://raw.githubusercontent.com/keylase/nvidia-patch
|
|
||||||
/master/win/${winseries}_x64/${drvprefix}${version}/nv
|
|
||||||
cuvid64.1337)
|
|
||||||
--skip-patch-check skip patch files presense test (default: False)
|
--skip-patch-check skip patch files presense test (default: False)
|
||||||
```
|
```
|
||||||
|
@ -17,10 +17,7 @@ Note: when command line options with multiple possible arguments supplied (like
|
|||||||
## Synopsys
|
## Synopsys
|
||||||
|
|
||||||
```
|
```
|
||||||
usage: autopatch.py [-h] [-7 SEVENZIP] [-T TARGET [TARGET ...]]
|
usage: autopatch.py [-h] [-7 SEVENZIP] [-T TARGET [TARGET ...]] [-N TARGET_NAME [TARGET_NAME ...]] [-P PATCH_NAME [PATCH_NAME ...]] [-S SEARCH [SEARCH ...]] [-R REPLACEMENT [REPLACEMENT ...]] [-o] [-D]
|
||||||
[-N TARGET_NAME [TARGET_NAME ...]]
|
|
||||||
[-P PATCH_NAME [PATCH_NAME ...]] [-S SEARCH [SEARCH ...]]
|
|
||||||
[-R REPLACEMENT [REPLACEMENT ...]] [-o] [-D]
|
|
||||||
installer_file [installer_file ...]
|
installer_file [installer_file ...]
|
||||||
|
|
||||||
Generates .1337 patch for Nvidia drivers for Windows
|
Generates .1337 patch for Nvidia drivers for Windows
|
||||||
@ -33,22 +30,15 @@ optional arguments:
|
|||||||
-7 SEVENZIP, --7zip SEVENZIP
|
-7 SEVENZIP, --7zip SEVENZIP
|
||||||
location of 7-zip `7z` executable (default: 7z)
|
location of 7-zip `7z` executable (default: 7z)
|
||||||
-T TARGET [TARGET ...], --target TARGET [TARGET ...]
|
-T TARGET [TARGET ...], --target TARGET [TARGET ...]
|
||||||
target location(s) in archive (default:
|
target location(s) in archive (default: ['Display.Driver/nvencodeapi64.dl_', 'Display.Driver/nvencodeapi.dl_'])
|
||||||
['Display.Driver/nvcuvid64.dl_',
|
|
||||||
'Display.Driver/nvcuvid32.dl_'])
|
|
||||||
-N TARGET_NAME [TARGET_NAME ...], --target-name TARGET_NAME [TARGET_NAME ...]
|
-N TARGET_NAME [TARGET_NAME ...], --target-name TARGET_NAME [TARGET_NAME ...]
|
||||||
name(s) of installed target file. Used for patch
|
name(s) of installed target file. Used for patch header (default: ['nvencodeapi64.dll', 'nvencodeapi.dll'])
|
||||||
header (default: ['nvcuvid.dll', 'nvcuvid.dll'])
|
|
||||||
-P PATCH_NAME [PATCH_NAME ...], --patch-name PATCH_NAME [PATCH_NAME ...]
|
-P PATCH_NAME [PATCH_NAME ...], --patch-name PATCH_NAME [PATCH_NAME ...]
|
||||||
relative filename(s) of generated patch(es) (default:
|
relative filename(s) of generated patch(es) (default: ['nvencodeapi64.1337', 'nvencodeapi.1337'])
|
||||||
['nvcuvid64.1337', 'nvcuvid32.1337'])
|
|
||||||
-S SEARCH [SEARCH ...], --search SEARCH [SEARCH ...]
|
-S SEARCH [SEARCH ...], --search SEARCH [SEARCH ...]
|
||||||
representation of search pattern(s) binary string
|
representation of search pattern(s) binary string (default: ['8BF085C0750549892FEB', '89450885C075048937EB'])
|
||||||
(default: ['FF909800000084C075', '8B404CFFD084C075'])
|
|
||||||
-R REPLACEMENT [REPLACEMENT ...], --replacement REPLACEMENT [REPLACEMENT ...]
|
-R REPLACEMENT [REPLACEMENT ...], --replacement REPLACEMENT [REPLACEMENT ...]
|
||||||
representation of replacement(s) binary string
|
representation of replacement(s) binary string (default: ['33C08BF0750549892FEB', '33C089450875048937EB'])
|
||||||
(default: ['FF90980000000C0175', '8B404CFFD00C0175'])
|
|
||||||
-o, --stdout output into stdout (default: False)
|
-o, --stdout output into stdout (default: False)
|
||||||
-D, --direct supply patched library directly instead of installer
|
-D, --direct supply patched library directly instead of installer file (default: False)
|
||||||
file. Implies --stdout option. (default: False)
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user