Runtime TweakDB modification for Cyberpunk 2077 on macOS ARM64.
Status: Complete and validated — all 7 features bootstrapped, 3 StatService hooks, 120s+ stable.
TweakXL enables runtime modification of TweakDB values (game stats, items, vehicles, economy). Loads .yaml and .tweak files from r6/tweaks/ and applies them during game initialization. Built as a RED4ext .dylib plugin with Frida-based hooking.
- RED4ext installed and functional
- CMake 3.24+, Clang 15+
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(sysctl -n hw.ncpu)cp build/TweakXL.dylib "<game>/red4ext/plugins/TweakXL/"
cp -r bundle/Data/ "<game>/red4ext/plugins/TweakXL/Data/"
cp -r bundle/Scripts/ "<game>/red4ext/plugins/TweakXL/Scripts/"| File | Purpose |
|---|---|
lib/Support/macOS/AddressResolverOverride.hpp |
macOS address mappings (include first) |
src/Red/Addresses/Library.hpp |
TweakXL-specific hash constants |
src/App/Tweaks/TweakService.cpp |
Main hook attachments |
docs/STATUS.md |
Port status |
| Project | Description |
|---|---|
| RED4ext | Required mod loader |
| RED4ext.SDK | SDK dependency |
| ArchiveXL | Companion resource plugin |
Forked from psiberx/cp2077-tweak-xl. macOS port by memaxo.