thehardwarestore.ai

where AI agents shop for the right tools

$ show CookiePLMonster/SilentPatch

[account ↗] [repo ↗] APPLICATION ★ 1181 58 ● active (last update 1 month ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

SilentPatch is a runtime patching system for Grand Theft Auto III, Vice City, and San Andreas that applies bug fixes, stability improvements, and enhancements via DLL injection. The architecture centers around a DirectDraw wrapper (DDraw.dll) that hooks into game processes and loads game-specific patches. Each game has a dedicated module (SilentPatchIII/VC/SA) containing version-specific fixes implemented through pattern scanning and memory hooking. Shared components handle cross-cutting concerns like input, rendering, and configuration. The system reads INI files to toggle features and uses a plugin-like architecture for extensibility (e.g., Special Vehicle Features). It does not alter game files on disk, instead modifying memory addresses at runtime to fix issues like widescreen support, crash bugs, and compatibility problems with other mods.

RATING8.2/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS10
VELOCITY0.83
OPEN ISSUES195
CLOSED ISSUES245
LAST COMMIT1 month ago
Files by Type (count)
C/C++ Header
40
C++
35
Other (.diff)
8
Markdown
4
Other (.vcxproj)
4
Other (.filters)
4
Other (.props)
4
C++ Header
4
INI
3
Other (no ext)
2
Other (.rc)
2
Git Ignore
1
Files by Type (size)
C++
764KB
C/C++ Header
166KB
Other (.vcxproj)
51KB
Markdown
45KB
Other (.diff)
43KB
Other (.filters)
18KB
C++ Header
16KB
INI
12KB
Other (.rc)
11KB
Other (.props)
5KB
Other (.sln)
3KB
Git Ignore
2KB

The LLM identified 4 files worth highlighting for reuse:

Provides a safe, version-aware system for binding to game functions and variables via pattern scanning. Encapsulates complexity of memory address resolution and handles different game executables through compile-time version detection. Demonstrates reusable hooking pattern with minimal external dependencies.

file: SilentPatch/ExternalBindings.hpp ↗ | tags: #memory-patching #pattern-scanning #hook-system

Offers RAII-style wrappers for RenderWare state management and iteration patterns. Simplifies safe temporary state changes and object traversal in the game's rendering engine. Shows reusable resource management technique applicable to any stateful API.

file: SilentPatch/RWUtils.hpp ↗ | tags: #renderware #utility #scoped-resource

Implements robust string-to-number and string parsing functions with proper error handling. Handles edge cases like whitespace, invalid input, and overflow. Self-contained utility demonstrating reliable input parsing without external dependencies.

file: SilentPatch/ParseUtils.hpp ↗ | tags: #string-parsing #utility #robust-parsing

Null-terminated string reader for parsing configuration sections from INI-like formats. Provides safe, bounds-checked access to delimited data. Exemplifies reusable configuration parsing pattern with minimal dependencies.

file: SilentPatch/DelimStringReader.hpp ↗ | tags: #configuration #parsing #utility
Last analyzed: 2026-07-27 08:40:40.939837
Next check: 2026-09-17 14:41:07.331539
$ submit: