mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-12-22 21:03:35 +00:00
add patch from @oysteinkrog for basic testing
This commit is contained in:
parent
9c9d869f8e
commit
63affb9ed8
@ -34,6 +34,7 @@ def parse_args():
|
||||
default=[
|
||||
"Display.Driver/nvcuvid64.dl_",
|
||||
"Display.Driver/nvcuvid32.dl_",
|
||||
"Display.Driver/nvencodeapi64.dl_",
|
||||
],
|
||||
help="target location(s) in archive")
|
||||
parser.add_argument("-N", "--target-name",
|
||||
@ -41,6 +42,7 @@ def parse_args():
|
||||
default=[
|
||||
"nvcuvid.dll",
|
||||
"nvcuvid.dll",
|
||||
"nvencodeapi64.dll",
|
||||
],
|
||||
help="name(s) of installed target file. Used for patch "
|
||||
"header")
|
||||
@ -49,6 +51,7 @@ def parse_args():
|
||||
default=[
|
||||
"nvcuvid64.1337",
|
||||
"nvcuvid32.1337",
|
||||
"nvencodeapi64.1337",
|
||||
],
|
||||
help="relative filename(s) of generated patch(es)")
|
||||
parser.add_argument("-S", "--search",
|
||||
@ -56,6 +59,7 @@ def parse_args():
|
||||
default=[
|
||||
"FF909800000084C075",
|
||||
"8B404CFFD084C075",
|
||||
"8BF085C0750549892FEB21",
|
||||
],
|
||||
help="representation of search pattern(s) binary string")
|
||||
parser.add_argument("-R", "--replacement",
|
||||
@ -63,6 +67,7 @@ def parse_args():
|
||||
default=[
|
||||
"FF90980000000C0175",
|
||||
"8B404CFFD00C0175",
|
||||
"33C08BF0750549892FEB21",
|
||||
],
|
||||
help="representation of replacement(s) binary string")
|
||||
parser.add_argument("-o", "--stdout",
|
||||
|
5
win/win10_x64/nsd_441.28/nvencodeapi64.1337
Normal file
5
win/win10_x64/nsd_441.28/nvencodeapi64.1337
Normal file
@ -0,0 +1,5 @@
|
||||
>nvencodeapi64.dll
|
||||
000000000002E43A:8B->33
|
||||
000000000002E43B:F0->C0
|
||||
000000000002E43C:85->8B
|
||||
000000000002E43D:C0->F0
|
Loading…
Reference in New Issue
Block a user