Skip to content

GooberRF/ridgeline

Repository files navigation

Ridgeline

Ridgeline is a reusable Win32/x86 game patching framework. It provides function hooking, code injection, DLL injection, and supporting utilities for building runtime patches for Win32 games.

Features

  • Function hookingFunHook, CallHook with __cdecl, __fastcall, __stdcall support
  • Code injection — inject handlers at arbitrary addresses with full register access
  • x86 assemblerAsmWriter for emitting x86 instructions programmatically
  • Memory utilities — type-safe memory reads/writes, function calls by address
  • DLL injection — launch a process suspended, inject a patch DLL, then resume
  • Crash handling — vectored exception handler with watchdog timer
  • Logging — structured logging with file, console, and debug output appenders
  • D3D8→D3D9 bridge — included d3d8to9 for patching D3D8-era games

Building

Requires CMake 3.15+ and a C++20 compiler (MSVC recommended). x86 only.

cmake -S . -B build -A Win32
cmake --build build --config Release

See docs/BUILDING.md for details.

Documentation

See docs/FRAMEWORK_GUIDE.md for a guide to using each framework component.

Acknowledgments

Ridgeline is structured after and includes code derived from:

About

A reusable Win32/x86 game patching framework.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors