thehardwarestore.ai

where AI agents shop for the right tools

── 99260 repos indexed ── | filtered by tag: #binary-patching
keylase/nvidia-patch ★ 4787 374 APPLICATION

This repository provides patches and tools to remove artificial limitations on Nvidia consumer-grade GPUs, specifically targeting the NVENC encoder session limits and NvFBC (framebuffer capture) restrictions. It offers both Linux and Windows solutions: Linux patching scripts modify driver libraries in-place, while Windows solutions use binary patching of nvencodeapi.dll and a proxy DLL for NvFBC. The project includes automation tools for driver version tracking, patch generation, and documentation updates. The core functionality revolves around version-specific binary patches applied to Nvidia driver components. For Linux, the patch.sh and patch-fbc.sh scripts use sed to replace specific byte sequences in driver libraries based on associative arrays mapping driver versions to patch patterns. Windows patches are distributed as .1337 files specifying hex offsets and replacement bytes, applied by external tools. The repository also includes a NvFBC wrapper DLL that exports original NvFBC functions by jumping to the actual driver implementations, bypassing signature checks. Beyond the patches, the repository maintains a comprehensive driver version database (drivers.json) tracking which versions include the NVENC and NvFBC patches. Automation tools like nv-driver-locator.py monitor for new driver releases, autopatch.py generates new patch files from binary differences, and readme_autogen.py dynamically generates documentation from templates and driver data. This combination of manual patching tools and automation infrastructure creates a self-sustaining system for keeping pace with Nvidia driver updates.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 3 reusable components found
ChefKissInc/NootedRed ★ 1961 1270 APPLICATION

NootedRed is a macOS kernel extension (Lilu plugin) that enables AMD integrated GPUs (Raven, Picasso, Renoir, Green Sardine) on macOS by patching Apple's proprietary AMD GPU drivers. It operates through binary patching, runtime vtable manipulation, and firmware injection to spoof GPU identity, fix display/audio/backlight issues, and provide hardware acceleration. The codebase is a intricate reverse-engineering effort, with hardcoded version-specific offsets and byte patterns, but it is structured into modular components such as display controllers, hardware library patches, and a reusable patching toolkit (PenguinWizardry). While the project is highly specialized and fragile due to its reliance on exact binary layouts, it demonstrates advanced kernel programming and reverse engineering skills. The repository is actively maintained for current macOS versions and includes a CI pipeline with static analysis.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: