dxwrapper is a system-level DLL proxy and compatibility layer for legacy DirectX games and applications on modern Windows (10/11). It intercepts calls to DirectDraw (1-7), Direct3D (7/8/9), DirectInput, DirectSound, and GDI, translating them to newer APIs (primarily Direct3D9) and applying numerous workarounds for rendering, input, and window management issues. The architecture is a hybrid of multiple integrated sub-projects: a core wrapper that loads real system DLLs and forwards exports while wrapping COM interfaces, plus three bundled versions of DDrawCompat (v0.2.0b, v0.2.1, v0.3.2) that hook at the user-mode display driver (D3dDdi) and GDI level. Key entry points include DllMain for each stub DLL (ddraw.dll, d3d8.dll, d3d9.dll, dsound.dll, dinput8.dll), the IClassFactory interception for COM object creation, and the configuration-driven Settings module. External dependencies include Microsoft Detours for function hooking, MemoryModule for loading DLLs from memory, and DirectXMath. The codebase is large and complex, with extensive use of COM proxy patterns, vtable hooking, and low-level Windows API patching.
This repository provides an Xbox 360 kernel patch to enable unauthorized USB devices (e.g., custom controllers) to function by bypassing authentication and interface checks. It consists of two components: a Dashlaunch plugin (DLL) that patches the kernel at runtime via DllMain, and a XeBuild patch (binary) for permanent kernel modification. The plugin dynamically resolves kernel function addresses using ordinal exports or hardcoded addresses based on kernel version, then patches UsbdIsDeviceAuthenticated to return true and conditionally modifies WgcAddDevice (and WgcBindToUser for devkit 17489) using PowerPC instruction replacement. Build scripts automate patch generation for multiple kernel versions using a PowerPC toolchain.
waifu2x-caffe is a Windows desktop application for image upscaling and denoising using pre-trained convolutional neural networks (Caffe). It provides three interfaces: a graphical user interface (GUI) built with Win32 dialogs, a command-line interface (CLI) using a forked TCLAP parser, and a dynamic-link library (DLL) for integration into other software. The core processing pipeline is implemented in the `common/` directory, with classes `Waifu2x` orchestrating model loading and inference, `cNet` wrapping Caffe's `Net` for forward passes, and `stImage` handling image I/O, preprocessing (padding, alpha channel), and tiled processing for large images. The application supports multiple model architectures (VGG-7, upconv_7, upresnet10, cunet) and modes (noise removal, scaling, both), with bundled pre-trained models in prototxt format. It also includes a localization system with JSON language files and a lightweight Win32 dialog framework. While primarily an inference tool, the repository contains appendix Python scripts for converting Chainer models to Caffe format, adding a minor research component. The codebase is heavily Windows-specific, relying on Visual Studio 2015, CUDA 11.0, cuDNN, Boost, OpenCV, and Caffe, which introduces significant technical drift due to the unmaintained status of Caffe and the aging toolchain.