408 Commits

Author SHA1 Message Date
ram/haidar
7cff7e2aac win: add support for DCH driver 621.40 2026-11-27 07:25:36 +00:00
ram/haidar
2a61b61073 fix(win/nvfbcwrp): restore backup owner only after install succeeds
- Defer the backup owner/DACL restore out of Move-Genuine into a new Invoke-FinalizeOwner that runs only after every target was applied, so a later failure still finds the Administrators grant needed to move a backup back.
- Set AddedAdminGrant only after Unlock-DLL succeeds, so a failed takeown or grant is never treated as a grant that must be removed.
- Report a finalize failure as a red warning while keeping exit code 0, since rolling back a completed install would leave the system worse.
- README.md manual restore now includes the takeown/icacls commands needed to regain access to the Administrators-owned backups.
- Target: win/nvfbcwrp
2026-11-14 20:17:20 +07:00
ram/haidar
310ffd9895 refactor(win/nvfbcwrp): make patch script idempotent and rollback safe
- Rewrite Patch.ps1 around a read-only pre-flight plan that refuses missing wrappers, wrong wrapper PE architecture, stale or wrapper backups, and a non-NVIDIA file at the original path before anything is changed.
- Use takeown/icacls instead of Set-Acl, record each owner SID and whether an Administrators ACE already existed, and restore both so a temporary unlock is undone on rollback and after a successful move.
- Stage the wrapper as a .nvfbcwrp-tmp copy, verify SHA-256 after every copy and move, and revert recorded copy, move and ACL steps in reverse when any target fails.
- Add -Unattended and -SkipGenuineCheck switches, quote elevation arguments correctly for Windows PowerShell 5.1, and replace pause/Read-Host with explicit exit codes.
- RunPatch.bat confines ExecutionPolicy Bypass to its own process and propagates the exit code; README.md documents the re-run, refusal and manual-restore behavior.
- Target: win/nvfbcwrp
2026-11-14 19:26:18 +07:00
Howard Wu
e24e899d81 docs(win/nvfbcwrp): remove driver reset shortcut tip
- Delete the note in the 3rd-party software section that pointed users at the Windows key + Ctrl + Shift + B shortcut to quickly reset the graphics driver.
- Leave the registry command and the reboot note as the only steps for enabling NvFBC.
- Target: win/nvfbcwrp
2026-11-14 17:48:26 +07:00
Howard Wu
4c429187b7 feat(win/nvfbcwrp): add PowerShell patch script and launcher
- Add Patch.ps1, which relaunches itself elevated, renames NvFBC64.dll and NvFBC.dll to the NvFBC64_.dll and NvFBC_.dll backups, and copies nvfbcwrp64.dll and nvfbcwrp32.dll into System32 and SysWOW64.
- Grant Administrators ownership and FullControl on each genuine DLL before moving it, and roll back the moves already done when a wrapper is missing or a later step throws.
- Add RunPatch.bat, which requires Patch.ps1 next to itself and starts it with a per-process ExecutionPolicy Bypass.
- Document the scripts in win/nvfbcwrp/README.md and normalize headings, link syntax and blank lines in win/README.md.
- Target: win/nvfbcwrp
2026-11-14 17:48:18 +07:00
ram/haidar
090ad99994 win: drop pCloud mirrors and link patching tool usage docs (#1128)
- Remove the two pCloud Mirror links from the patching tool step. The mirrors duplicate the release downloads and go stale between releases.
- Link the Win_1337_Apply_Patch and Win_1337_Apply_Patch_Powershell READMEs at their usage sections, so readers land on the instructions instead of the top of the file.
2026-11-14 16:55:23 +07:00
ram/haidar
8cccfedc1f fix(autopatch): support older driver bytecodes (#1126)
- Replace the hardcoded newest-generation -S/-R defaults with auto-detection over a BYTECODE_GENERATIONS table of known NVENC generations, so older drivers resolve without passing patterns explicitly.
- Keep explicit -S/-R arguments, including comma-separated fallback alternatives, working unchanged, and add the legacy x86 pair previously supplied only by legacy.sh.
- Verify an extracted target file actually appeared and fall back between the .dll and .dl_ spellings, since 7z exits 0 when the requested member is absent.
- Require -S and -R together or neither, and fail clearly when no known generation matches exactly once in the target library.
- Add regression tests for bytecode auto-detection, target resolution and argument validation, and update the README flag defaults.
- Target: autopatch
2026-11-14 16:54:37 +07:00
nilankadesilva
425d3535d7 win: autopatch: forward --7zip argument to patch_flow (#1148)
parse_args() stores -7/--7zip in args.sevenzip, but main() never passed it to patch_flow(), so extraction always used the default "7z" and failed with FileNotFoundError when 7z is not on PATH. Forward sevenzip=args.sevenzip.
2026-11-14 16:26:14 +07:00
ram/haidar
38227b2c2e win: autopatch: support fallback binary patterns (#1074)
- Accept comma-separated fallback alternatives in -S/--search and -R/--replacement; alternatives are tried in order and the first one found in the binary is used.
- Check uniqueness only for the selected alternative.
- Validate that every search/replacement pair has equal length and reject empty alternatives.
- Narrow the download error handling to urllib.error.URLError and raise UnknownPlatformException when ProductType is missing in setup.cfg.
2026-11-14 16:21:00 +07:00
nilankadesilva
c7b6976115 win: add support for DCH driver 621.24 2026-11-14 15:46:22 +07:00
nilankadesilva
620c4aa29c win: add support for DCH driver 621.14 2026-11-08 18:42:08 +07:00
ram/haidar
8c27b6fa95 win: add support for DCH (Notebook Hotfix) driver 621.12 2026-10-29 20:21:54 +07:00
GitHub Action
51c2f96983 win: add support for DCH driver 621.01 2026-10-21 16:57:50 +00:00
GitHub Action
b35fd4ecf7 win: add support for DCH driver 617.42 2026-10-06 23:25:18 +00:00
Jai Luthra
bf2965a126 win: add support for DCH driver 617.14 (#1124)
Co-authored-by: GitHub Action <action@github.com>
2026-09-24 11:08:05 +05:30
ram/haidar
b68d0ed0c1 win: add support for DCH driver 616.92 (#1119) 2026-09-15 19:50:21 +05:30
GitHub Action
58ce1f0bce win: add support for DCH (Notebook Hotfix) driver 616.86 2026-09-07 15:19:27 +05:30
GitHub Action
37653ea391 win: add support for DCH driver 616.64 2026-09-04 22:37:01 +05:30
GitHub Action
7406cb6fb0 win: add support for DCH driver 616.56 2026-08-29 12:23:37 +05:30
Jai Luthra
ae1dd41bae linux: add support for driver 580.178.04 (#1105)
Co-authored-by: GitHub Action <action@github.com>
2026-08-14 11:24:26 +05:30
ram/haidar
401f91a4a7 win: add support for DCH drivers 610.74, 610.62, 582.66, 582.53, 553.35, 552.22, and 537.70 (#1103) 2026-08-12 17:05:24 +05:30
Anonymous
2c3adf1ed8 Fix 610.88 .1337 patches: correct VA offsets and remove trailing newline (#1100)
* Delete win/win10_x64/610.88 directory

* Add files via upload

* Add 610.88 to README

* Delete win/win10_x64/610.88 directory

* Add files via upload

* Add files via upload
2026-08-06 17:44:43 +05:30
Bertaz
03151e791c win: fix patch-tester (#1099)
* win: fix patch-tester

updates ffmpeg command as per documentation

* win: fix patch-tester ffmpeg command

Replaces testsrc with testsrc2 for correct pixel format for latest ffmpeg
Fixes position of duration parameter `-t`
Adds cuda:0 to explicitly select the first CUDA device

* win: change patch-tester input duration

Uses the duration(d) parameter for the source instead of generic option '-t'
Changes source's duration to 150s (2:30 minutes) so that encoding output is shown longer
2026-08-05 10:57:24 +05:30
Bertaz
66ed6b2344 win: fix 610.88 DCH driver and Readme (#1097)
* win: fix for 610.88 DCH driver

Fixes patch with new bytecodes

* win: update README
2026-08-05 10:56:20 +05:30
Anonymous
5e81f93e79 win: NVENC patch for GeForce 610.88 WHQL driver (#1094)
* win: add support for DCH driver 610.88 | WHQL

* Add nvencodeapi.1337 for 610.88

* Add 610.88 driver entry to drivers.json
2026-07-29 16:18:07 +05:30
Irene
884d205af2 debian: support for 580.173.02 (#1087) 2026-07-06 10:52:17 +05:30
ram/haidar
a3c4f25257 win: add support for DCH (Hotfix) driver 610.52 2026-06-10 18:40:12 +07:00
ram/haidar
918aad4ab5 win: add support for DCH driver 610.47 2026-05-29 11:14:32 +07:00
ram/haidar
9785ee59d3 win: add support for DCH driver 596.49 and 582.28 2026-05-15 06:36:56 +07:00
Irene Chi
95bb43b523 debian: support for 580.159.03 2026-05-06 14:01:38 +05:30
ram/haidar
8fc8830e3d win: add support for DCH driver 596.36 2026-04-30 09:15:51 +05:30
ram/haidar
2c99bc1e67 win: add support for DCH driver 596.21 2026-04-29 11:45:21 +05:30
ram/haidar
f11148ac4e win: mark 595.76 DCH as Notebook Hotfix 2026-03-24 21:18:19 +07:00
ram/haidar
c89fbf03f4 win: add support for DCH driver 595.97 2026-03-24 21:15:45 +07:00
ram/haidar
d36949cba1 Merge branch 'master' into 595.79 2026-03-24 20:59:07 +07:00
ram/haidar
bbc1dd27cd win: add support for DCH driver 595.76 2026-03-24 20:57:04 +07:00
ram/haidar
5688b351cc win: add support for DCH driver 595.76 2026-03-17 13:37:02 +05:30
ram/haidar
501f2d2cef win: add support for DCH driver 595.79 2026-03-10 23:41:57 +07:00
ram/haidar
f7234ce502 win: add support for DCH driver 595.71 2026-03-03 03:32:39 +07:00
AlvinFok
3e66556da0 linux: add support for driver 570.211.01 (#1042)
* linux: add support for driver 570.211.01

* fix NVFBC bytecode

* add support for driver 570.211.01 in README and drivers.json

---------

Co-authored-by: AlvinFok-varadise <alvinfok@varadise.cloud>
2026-02-14 18:45:22 +05:30
kcpants
23c3b8b3d3 win: patch for quadro 582.16 2026-01-31 12:28:52 +05:30
GitHub Action
2836fab586 win: add support for DCH driver 591.86 2026-01-30 15:28:56 +05:30
GitHub Action
be3f1616b9 win: add support for DCH driver 591.74 2026-01-06 17:28:49 +05:30
GitHub Action
d70ef60638 win: add support for DCH (Notebook Hotfix) driver 591.67 2026-01-06 17:27:21 +05:30
GitHub Action
b12eea534f win: add support for DCH driver 591.59 2025-12-19 22:06:04 +05:30
GitHub Action
5f4e4064c5 win: add support for DCH driver 591.44 2025-12-12 11:26:26 +05:30
Jai Luthra
d4410ddab7 win: autopatch: new bytecode for 591.xx 2025-12-12 11:26:26 +05:30
Jai Luthra
768cdc8e28 tools: patch-tester: update to 13 session 2025-12-11 12:56:46 +05:30
Jai Luthra
8a1829fba4 win: tools: patch-tester: update to 9 sessions 2025-12-10 17:13:30 +05:30
GitHub Action
28dc52f3df win: add support for DCH (Notebook Hotfix) driver 581.94 2025-11-23 12:43:41 +05:30