- 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
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.
- 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.
* 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
- reuse temp dir
- fix wrong filemode xb to wb, also fixes to override existing patch on re-patching
- avoid double download and double extracation for 32bit and 64bit
- some cleanups and import ordering