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
2275c522
Commit
2275c522
authored
Jul 03, 2020
by
Snawoot
Committed by
GitHub
Jul 03, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #289 from Snawoot/doc_upd
doc update
parents
9b9dded4
32b4fbb7
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 @
2275c522
...
@@ -42,11 +42,7 @@ Here is real commands used for Windows driver 441.28 series:
...
@@ -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:
...
@@ -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)
```
```
win/tools/autopatch/README.md
View file @
2275c522
...
@@ -17,10 +17,7 @@ Note: when command line options with multiple possible arguments supplied (like
...
@@ -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:
...
@@ -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)
```
```
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