How drbermejor/mgs4ultra120 works
MGS4 Ultra120 is a game-mod plugin and setup/configuration project for ultrawide rendering, native-camera FOV, controller profiles, reticle coordinates, and optional supersampling; it also ships a separate experimental native HUD plugin. The principal runtime flow is the game loading the ASI, which resolves supported executable locations and applies patches. The README documents an optional third-party FPS plugin and independent HUD settings. Some advertised features are represented by their documented subsystem because their implementation was not sampled; edges are limited to shown references or README statements.
Main entry points: mgs4_ultrawide.cpp Main ASI · mgs4_native_centered_hud.cpp Native HUD ASI · patch_resolver.h Patch resolver · game_profile.h Build profile
Components 18
Runtime patch
- Main ASI
src/mgs4_ultrawide.cpp - Build profile
src/game_profile.h - Patch resolver
src/patch_resolver.h - Signature scanning
src/signature_resolver.h - Patch signatures
src/patch_windows.h - Main settings
config/mgs4_ultrawide.ini
Rendering fixes
- Camera route policy
src/camera_route_policy.h - Projection math
src/projection_math.h - Reticle patch
src/reticle_truncation_patch.h - Render scaling
src/supersampling_math.h
Native HUD
- Native HUD ASI
src/native_hud/mgs4_native_centered_hud.cpp - HUD layout math
src/native_hud/native_hud_math.h - HUD route signatures
src/native_hud/native_hud_signatures.h - HUD settings
config/mgs4_native_centered_hud.ini
External components
- MGSFPSUnlock
- Ultimate ASI Loader
Other components
- Player
- MGS4 game
Connections 19
- Player → MGS4 game: plays
README.md - MGS4 game → Ultimate ASI Loader: loads plugins
README.md - Ultimate ASI Loader → Main ASI: loads ASI
README.md - Ultimate ASI Loader → Native HUD ASI: loads optional ASI
README.md - Main ASI → Build profile: checks build
src/mgs4_ultrawide.cpp - Main ASI → Patch resolver: resolves patches
src/mgs4_ultrawide.cpp - Patch resolver → Signature scanning: scans signatures
src/patch_resolver.h - Patch resolver → Patch signatures: uses patterns
src/patch_resolver.h - Main ASI → Camera route policy: routes camera
src/mgs4_ultrawide.cpp - Main ASI → Projection math: adjusts projection
src/mgs4_ultrawide.cpp - Main ASI → Reticle patch: patches coordinates
src/mgs4_ultrawide.cpp - Main ASI → Render scaling: computes render size
src/mgs4_ultrawide.cpp - Main ASI → Main settings: reads settings
README.md - Native HUD ASI → HUD layout math: uses layout math
src/native_hud/mgs4_native_centered_hud.cpp - Native HUD ASI → HUD route signatures: checks UI routes
src/native_hud/mgs4_native_centered_hud.cpp - Native HUD ASI → Build profile: gates build
src/native_hud/mgs4_native_centered_hud.cpp - Native HUD ASI → Patch resolver: resolves hooks
src/native_hud/mgs4_native_centered_hud.cpp - Native HUD ASI → HUD settings: reads enable switch
src/native_hud/mgs4_native_centered_hud.cpp - Player → MGSFPSUnlock: may install separately
README.md