diff --git a/win/tools/autopatch/autopatch.py b/win/tools/autopatch/autopatch.py index 533262e..72a6df6 100755 --- a/win/tools/autopatch/autopatch.py +++ b/win/tools/autopatch/autopatch.py @@ -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", diff --git a/win/win10_x64/nsd_441.28/nvencodeapi64.1337 b/win/win10_x64/nsd_441.28/nvencodeapi64.1337 new file mode 100644 index 0000000..b8baaf3 --- /dev/null +++ b/win/win10_x64/nsd_441.28/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000002E43A:8B->33 +000000000002E43B:F0->C0 +000000000002E43C:85->8B +000000000002E43D:C0->F0 \ No newline at end of file