From 0ba2c9cfa7f26cf7be6b9b8099b08ce380d6cdbe Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sat, 18 Apr 2020 20:50:53 +0300 Subject: [PATCH 1/3] outline example for windows --- tools/readme-autogen/templates/windows_readme_master.tmpl | 2 +- win/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/readme-autogen/templates/windows_readme_master.tmpl b/tools/readme-autogen/templates/windows_readme_master.tmpl index 22fcaeb..3f7bd65 100644 --- a/tools/readme-autogen/templates/windows_readme_master.tmpl +++ b/tools/readme-autogen/templates/windows_readme_master.tmpl @@ -29,7 +29,7 @@ Requirements: 3. Save appropriate patch(es) from [Version Table](#version-table) using direct link to the patch (Right Click -> Save as...). Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory. 4. Apply x64 library patch to corresponding file in `%WINDIR%\system32\` with the Win\_1337\_Apply\_Patch tool. File name of patched object is specified in first line of .1337 patch. If x86 (32 bit) library patch is also available, apply it to same file in `%WINDIR%\SysWOW64\`. -E.g, for 64bit Windows 10 running driver version $latest_geforce_version use `win10_x64/$latest_geforce_version/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` and `win10_x64/$latest_geforce_version/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* +**Example:** for 64bit Windows 10 running driver version $latest_geforce_version, use `win10_x64/$latest_geforce_version/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/$latest_geforce_version/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* If you experience issues with streaming software based on Nvidia streaming facilities (Nvidia Shield TV, Moonlight), you also have to import few registry values in order to workaround binary signature mismatch. See [**skip_sig_check** (clickable)](skip_sig_check) directory for instructions. diff --git a/win/README.md b/win/README.md index 3d19c3e..3d2c4e2 100644 --- a/win/README.md +++ b/win/README.md @@ -29,7 +29,7 @@ Requirements: 3. Save appropriate patch(es) from [Version Table](#version-table) using direct link to the patch (Right Click -> Save as...). Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory. 4. Apply x64 library patch to corresponding file in `%WINDIR%\system32\` with the Win\_1337\_Apply\_Patch tool. File name of patched object is specified in first line of .1337 patch. If x86 (32 bit) library patch is also available, apply it to same file in `%WINDIR%\SysWOW64\`. -E.g, for 64bit Windows 10 running driver version 445.87 use `win10_x64/445.87/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` and `win10_x64/445.87/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* +**Example:** for 64bit Windows 10 running driver version 445.87, use `win10_x64/445.87/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` and `win10_x64/445.87/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* If you experience issues with streaming software based on Nvidia streaming facilities (Nvidia Shield TV, Moonlight), you also have to import few registry values in order to workaround binary signature mismatch. See [**skip_sig_check** (clickable)](skip_sig_check) directory for instructions. From 12e491bfde676a3d63bba5c1089ade5fcd11dde1 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sat, 18 Apr 2020 21:01:32 +0300 Subject: [PATCH 2/3] rewrite windows instructions in order to address common misconceptions --- tools/readme-autogen/templates/windows_readme_master.tmpl | 6 ++++-- win/README.md | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/tools/readme-autogen/templates/windows_readme_master.tmpl b/tools/readme-autogen/templates/windows_readme_master.tmpl index 3f7bd65..da85c83 100644 --- a/tools/readme-autogen/templates/windows_readme_master.tmpl +++ b/tools/readme-autogen/templates/windows_readme_master.tmpl @@ -26,8 +26,10 @@ Requirements: 1. Download and install latest Nvidia driver supported by this patch. 2. Download latest [Win\_1337\_Apply\_Patch tool](https://github.com/Deltafox79/Win_1337_Apply_Patch/releases/latest). -3. Save appropriate patch(es) from [Version Table](#version-table) using direct link to the patch (Right Click -> Save as...). Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory. -4. Apply x64 library patch to corresponding file in `%WINDIR%\system32\` with the Win\_1337\_Apply\_Patch tool. File name of patched object is specified in first line of .1337 patch. If x86 (32 bit) library patch is also available, apply it to same file in `%WINDIR%\SysWOW64\`. +3. Save patch(es) corresponding to your system, driver and product version from [Version Table](#version-table) using direct link to the patch (Right Click -> Save as...). + - *Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory.* +4. Apply x64 library patch to corresponding file in `%WINDIR%\system32\` with the Win\_1337\_Apply\_Patch tool. +5. Apply x86 library patch to corresponding file in `%WINDIR%\SysWOW64\` in the same way as previous one. **Example:** for 64bit Windows 10 running driver version $latest_geforce_version, use `win10_x64/$latest_geforce_version/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/$latest_geforce_version/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* diff --git a/win/README.md b/win/README.md index 3d2c4e2..3fa6fd6 100644 --- a/win/README.md +++ b/win/README.md @@ -26,10 +26,12 @@ Requirements: 1. Download and install latest Nvidia driver supported by this patch. 2. Download latest [Win\_1337\_Apply\_Patch tool](https://github.com/Deltafox79/Win_1337_Apply_Patch/releases/latest). -3. Save appropriate patch(es) from [Version Table](#version-table) using direct link to the patch (Right Click -> Save as...). Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory. -4. Apply x64 library patch to corresponding file in `%WINDIR%\system32\` with the Win\_1337\_Apply\_Patch tool. File name of patched object is specified in first line of .1337 patch. If x86 (32 bit) library patch is also available, apply it to same file in `%WINDIR%\SysWOW64\`. +3. Save patch(es) corresponding to your system, driver and product version from [Version Table](#version-table) using direct link to the patch (Right Click -> Save as...). + - *Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory.* +4. Apply x64 library patch to corresponding file in `%WINDIR%\system32\` with the Win\_1337\_Apply\_Patch tool. +5. Apply x86 library patch to corresponding file in `%WINDIR%\SysWOW64\` in the same way as previous one. -**Example:** for 64bit Windows 10 running driver version 445.87, use `win10_x64/445.87/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` and `win10_x64/445.87/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* +**Example:** for 64bit Windows 10 running driver version 445.87, use `win10_x64/445.87/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/445.87/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* If you experience issues with streaming software based on Nvidia streaming facilities (Nvidia Shield TV, Moonlight), you also have to import few registry values in order to workaround binary signature mismatch. See [**skip_sig_check** (clickable)](skip_sig_check) directory for instructions. From d70ade4ee8783ce755d563cf7dc2ffee50132669 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sat, 18 Apr 2020 21:11:45 +0300 Subject: [PATCH 3/3] subordinate common quirks to respective steps of guide --- tools/readme-autogen/templates/windows_readme_master.tmpl | 4 +++- win/README.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/readme-autogen/templates/windows_readme_master.tmpl b/tools/readme-autogen/templates/windows_readme_master.tmpl index da85c83..b667de1 100644 --- a/tools/readme-autogen/templates/windows_readme_master.tmpl +++ b/tools/readme-autogen/templates/windows_readme_master.tmpl @@ -29,9 +29,11 @@ Requirements: 3. Save patch(es) corresponding to your system, driver and product version from [Version Table](#version-table) using direct link to the patch (Right Click -> Save as...). - *Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory.* 4. Apply x64 library patch to corresponding file in `%WINDIR%\system32\` with the Win\_1337\_Apply\_Patch tool. + - *If patching fails, close all applications using nvencodeapi64.dll, such as OBS Studio or Plex.* 5. Apply x86 library patch to corresponding file in `%WINDIR%\SysWOW64\` in the same way as previous one. + - *If patching fails, close all applications using nvencodeapi.dll, such as OBS Studio or Plex.* -**Example:** for 64bit Windows 10 running driver version $latest_geforce_version, use `win10_x64/$latest_geforce_version/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/$latest_geforce_version/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* +**Example:** for 64bit Windows 10 running driver version $latest_geforce_version, use `win10_x64/$latest_geforce_version/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/$latest_geforce_version/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. If you experience issues with streaming software based on Nvidia streaming facilities (Nvidia Shield TV, Moonlight), you also have to import few registry values in order to workaround binary signature mismatch. See [**skip_sig_check** (clickable)](skip_sig_check) directory for instructions. diff --git a/win/README.md b/win/README.md index 3fa6fd6..30ceff3 100644 --- a/win/README.md +++ b/win/README.md @@ -29,9 +29,11 @@ Requirements: 3. Save patch(es) corresponding to your system, driver and product version from [Version Table](#version-table) using direct link to the patch (Right Click -> Save as...). - *Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory.* 4. Apply x64 library patch to corresponding file in `%WINDIR%\system32\` with the Win\_1337\_Apply\_Patch tool. + - *If patching fails, close all applications using nvencodeapi64.dll, such as OBS Studio or Plex.* 5. Apply x86 library patch to corresponding file in `%WINDIR%\SysWOW64\` in the same way as previous one. + - *If patching fails, close all applications using nvencodeapi.dll, such as OBS Studio or Plex.* -**Example:** for 64bit Windows 10 running driver version 445.87, use `win10_x64/445.87/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/445.87/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* +**Example:** for 64bit Windows 10 running driver version 445.87, use `win10_x64/445.87/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/445.87/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. If you experience issues with streaming software based on Nvidia streaming facilities (Nvidia Shield TV, Moonlight), you also have to import few registry values in order to workaround binary signature mismatch. See [**skip_sig_check** (clickable)](skip_sig_check) directory for instructions.