mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-12-26 22:43:34 +00:00
doc update
This commit is contained in:
parent
9b9dded477
commit
32b4fbb790
@ -42,11 +42,7 @@ Here is real commands used for Windows driver 441.28 series:
|
||||
|
||||
```
|
||||
$ ./add_driver.py --help
|
||||
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
|
||||
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
|
||||
|
||||
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)
|
||||
|
||||
Windows-specific options:
|
||||
--variant VARIANT driver variant (use for special cases like "Studio
|
||||
Driver") (default: )
|
||||
--variant VARIANT driver variant (use for special cases like "Studio Driver") (default: )
|
||||
-P {GeForce,Quadro}, --product {GeForce,Quadro}
|
||||
product type (default: GeForce)
|
||||
-w {win10,win7,ws2012,ws2016}, --winseries {win10,win7,ws2012,ws2016}
|
||||
Windows series (default: win10)
|
||||
--patch32 PATCH32 template for Windows 32bit patch URL (default:
|
||||
https://raw.githubusercontent.com/keylase/nvidia-patch
|
||||
/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)
|
||||
--patch32 PATCH32 template for Windows 32bit patch URL (default: ${winseries}_x64/${drvprefix}${version}/nvencodeapi.1337)
|
||||
--patch64 PATCH64 template for Windows 64bit patch URL (default: ${winseries}_x64/${drvprefix}${version}/nvencodeapi64.1337)
|
||||
--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
|
||||
|
||||
```
|
||||
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]
|
||||
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]
|
||||
installer_file [installer_file ...]
|
||||
|
||||
Generates .1337 patch for Nvidia drivers for Windows
|
||||
@ -33,22 +30,15 @@ optional arguments:
|
||||
-7 SEVENZIP, --7zip SEVENZIP
|
||||
location of 7-zip `7z` executable (default: 7z)
|
||||
-T TARGET [TARGET ...], --target TARGET [TARGET ...]
|
||||
target location(s) in archive (default:
|
||||
['Display.Driver/nvcuvid64.dl_',
|
||||
'Display.Driver/nvcuvid32.dl_'])
|
||||
target location(s) in archive (default: ['Display.Driver/nvencodeapi64.dl_', 'Display.Driver/nvencodeapi.dl_'])
|
||||
-N TARGET_NAME [TARGET_NAME ...], --target-name TARGET_NAME [TARGET_NAME ...]
|
||||
name(s) of installed target file. Used for patch
|
||||
header (default: ['nvcuvid.dll', 'nvcuvid.dll'])
|
||||
name(s) of installed target file. Used for patch header (default: ['nvencodeapi64.dll', 'nvencodeapi.dll'])
|
||||
-P PATCH_NAME [PATCH_NAME ...], --patch-name PATCH_NAME [PATCH_NAME ...]
|
||||
relative filename(s) of generated patch(es) (default:
|
||||
['nvcuvid64.1337', 'nvcuvid32.1337'])
|
||||
relative filename(s) of generated patch(es) (default: ['nvencodeapi64.1337', 'nvencodeapi.1337'])
|
||||
-S SEARCH [SEARCH ...], --search SEARCH [SEARCH ...]
|
||||
representation of search pattern(s) binary string
|
||||
(default: ['FF909800000084C075', '8B404CFFD084C075'])
|
||||
representation of search pattern(s) binary string (default: ['8BF085C0750549892FEB', '89450885C075048937EB'])
|
||||
-R REPLACEMENT [REPLACEMENT ...], --replacement REPLACEMENT [REPLACEMENT ...]
|
||||
representation of replacement(s) binary string
|
||||
(default: ['FF90980000000C0175', '8B404CFFD00C0175'])
|
||||
representation of replacement(s) binary string (default: ['33C08BF0750549892FEB', '33C089450875048937EB'])
|
||||
-o, --stdout output into stdout (default: False)
|
||||
-D, --direct supply patched library directly instead of installer
|
||||
file. Implies --stdout option. (default: False)
|
||||
-D, --direct supply patched library directly instead of installer file (default: False)
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user