From 2bad7a63efe63e9ed63b572ead89e0320bdfbcd1 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Fri, 22 Nov 2019 15:10:43 +0200 Subject: [PATCH] win: new patches: add 32bit nvencodeapi.dll --- win/tools/autopatch/autopatch.py | 5 +++++ win/win10_x64/nsd_441.28/nvencodeapi.1337 | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 win/win10_x64/nsd_441.28/nvencodeapi.1337 diff --git a/win/tools/autopatch/autopatch.py b/win/tools/autopatch/autopatch.py index 72a6df6..a47e876 100755 --- a/win/tools/autopatch/autopatch.py +++ b/win/tools/autopatch/autopatch.py @@ -35,6 +35,7 @@ def parse_args(): "Display.Driver/nvcuvid64.dl_", "Display.Driver/nvcuvid32.dl_", "Display.Driver/nvencodeapi64.dl_", + "Display.Driver/nvencodeapi.dl_", ], help="target location(s) in archive") parser.add_argument("-N", "--target-name", @@ -43,6 +44,7 @@ def parse_args(): "nvcuvid.dll", "nvcuvid.dll", "nvencodeapi64.dll", + "nvencodeapi.dll", ], help="name(s) of installed target file. Used for patch " "header") @@ -52,6 +54,7 @@ def parse_args(): "nvcuvid64.1337", "nvcuvid32.1337", "nvencodeapi64.1337", + "nvencodeapi.1337", ], help="relative filename(s) of generated patch(es)") parser.add_argument("-S", "--search", @@ -60,6 +63,7 @@ def parse_args(): "FF909800000084C075", "8B404CFFD084C075", "8BF085C0750549892FEB21", + "89450885C075048937EB22", ], help="representation of search pattern(s) binary string") parser.add_argument("-R", "--replacement", @@ -68,6 +72,7 @@ def parse_args(): "FF90980000000C0175", "8B404CFFD00C0175", "33C08BF0750549892FEB21", + "33C089450875048937EB22", ], help="representation of replacement(s) binary string") parser.add_argument("-o", "--stdout", diff --git a/win/win10_x64/nsd_441.28/nvencodeapi.1337 b/win/win10_x64/nsd_441.28/nvencodeapi.1337 new file mode 100644 index 0000000..5cd5269 --- /dev/null +++ b/win/win10_x64/nsd_441.28/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +0000000000029D56:89->33 +0000000000029D57:45->C0 +0000000000029D58:08->89 +0000000000029D59:85->45 +0000000000029D5A:C0->08 \ No newline at end of file