win: new patches: add 32bit nvencodeapi.dll

This commit is contained in:
Vladislav Yarmak 2019-11-22 15:10:43 +02:00 committed by Vladislav Yarmak
parent 63affb9ed8
commit 2bad7a63ef
2 changed files with 11 additions and 0 deletions

View File

@ -35,6 +35,7 @@ def parse_args():
"Display.Driver/nvcuvid64.dl_", "Display.Driver/nvcuvid64.dl_",
"Display.Driver/nvcuvid32.dl_", "Display.Driver/nvcuvid32.dl_",
"Display.Driver/nvencodeapi64.dl_", "Display.Driver/nvencodeapi64.dl_",
"Display.Driver/nvencodeapi.dl_",
], ],
help="target location(s) in archive") help="target location(s) in archive")
parser.add_argument("-N", "--target-name", parser.add_argument("-N", "--target-name",
@ -43,6 +44,7 @@ def parse_args():
"nvcuvid.dll", "nvcuvid.dll",
"nvcuvid.dll", "nvcuvid.dll",
"nvencodeapi64.dll", "nvencodeapi64.dll",
"nvencodeapi.dll",
], ],
help="name(s) of installed target file. Used for patch " help="name(s) of installed target file. Used for patch "
"header") "header")
@ -52,6 +54,7 @@ def parse_args():
"nvcuvid64.1337", "nvcuvid64.1337",
"nvcuvid32.1337", "nvcuvid32.1337",
"nvencodeapi64.1337", "nvencodeapi64.1337",
"nvencodeapi.1337",
], ],
help="relative filename(s) of generated patch(es)") help="relative filename(s) of generated patch(es)")
parser.add_argument("-S", "--search", parser.add_argument("-S", "--search",
@ -60,6 +63,7 @@ def parse_args():
"FF909800000084C075", "FF909800000084C075",
"8B404CFFD084C075", "8B404CFFD084C075",
"8BF085C0750549892FEB21", "8BF085C0750549892FEB21",
"89450885C075048937EB22",
], ],
help="representation of search pattern(s) binary string") help="representation of search pattern(s) binary string")
parser.add_argument("-R", "--replacement", parser.add_argument("-R", "--replacement",
@ -68,6 +72,7 @@ def parse_args():
"FF90980000000C0175", "FF90980000000C0175",
"8B404CFFD00C0175", "8B404CFFD00C0175",
"33C08BF0750549892FEB21", "33C08BF0750549892FEB21",
"33C089450875048937EB22",
], ],
help="representation of replacement(s) binary string") help="representation of replacement(s) binary string")
parser.add_argument("-o", "--stdout", parser.add_argument("-o", "--stdout",

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
0000000000029D56:89->33
0000000000029D57:45->C0
0000000000029D58:08->89
0000000000029D59:85->45
0000000000029D5A:C0->08