How thirteenag/gtaiv.eflc.fusionfix works
FusionFix is a single-player GTA IV: Complete Edition compatibility and enhancement mod. Users install it into the game directory, then launch the game; its DLL hooks game and Direct3D lifecycle events and dispatches mod callbacks, while replacement data and shaders supply game-facing fixes and enhancements. The tree documents in-game configurable options, but sampled source does not reveal their implementation or most feature wiring, so those links are intentionally broad or omitted.
Main entry points: source Feature callbacks · main.cpp Installer · d3d9.cpp D3D9 proxy · dllmain.cpp Lifecycle hooks
Components 17
Installation
- Installer
installer/main.cpp
Runtime hooks
- D3D9 proxy
source/d3d9/d3d9.cpp - Lifecycle hooks
source/dllmain.cpp - Feature callbacks
source
Game features
- Plugin config
data/plugins/GTAIV.EFLC.FusionFix.ini - Menu options
source - Seasonal features
source/seasonal
Game assets
- Game data fixes
data/update - Graphics shaders
shaders - Replacement textures
textures
Support libraries
- GXT strings
source/gxt/src - Game references
source/includes/gameref.hpp - Module discovery
source/includes/ModuleList.hpp - FXAA implementation
source/resources/FXAA3_11.h
Other components
- Player
- GTA IV
- Direct3D 9
Connections 15
- Player → Installer: installs
- Installer → GTA IV: writes mod files
- GTA IV → D3D9 proxy: loads DLL
- D3D9 proxy → Direct3D 9: forwards API calls
- GTA IV → Lifecycle hooks: triggers hooks
- Lifecycle hooks → Feature callbacks: dispatches events
- Menu options → Plugin config: customizes options
- GTA IV → Game data fixes: loads replacements
- GTA IV → Graphics shaders: uses shaders
- GTA IV → Replacement textures: loads textures
- GTA IV → GXT strings: uses text support
- Feature callbacks → Game references: accesses game state
- Feature callbacks → Module discovery: discovers modules
- Feature callbacks → FXAA implementation: uses antialiasing
- Feature callbacks → Seasonal features: feature wiring uncertain