Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nvidia-patch
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
nvidia-patch
Commits
32b4fbb7
You need to sign in or sign up before continuing.
Commit
32b4fbb7
authored
Jul 03, 2020
by
Vladislav Yarmak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc update
parent
9b9dded4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
32 deletions
+11
-32
tools/readme-autogen/README.md
tools/readme-autogen/README.md
+4
-15
win/tools/autopatch/README.md
win/tools/autopatch/README.md
+7
-17
No files found.
tools/readme-autogen/README.md
View file @
32b4fbb7
...
...
@@ -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)
```
win/tools/autopatch/README.md
View file @
32b4fbb7
...
...
@@ -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)
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment