How danielgomesvieira2000/body-harvest-recomp works
Body Harvest: Recompiled is a native PC port that runs recompiled Body Harvest game code through the N64 runtime. The principal workflow is selecting a matching game dump in the launcher and starting the runtime; SDL-backed callbacks provide platform I/O while RT64 renders the game. The README also documents widescreen HUD handling, mods, saves and rumble, and a live HUD inspector. The tree and excerpts support the main runtime and several rendering/audio links; some subsystem wiring is not shown, so uncertain links are omitted.
Main entry points: main.cpp Application entry · callbacks.cpp Platform callbacks · renderer.cpp Renderer · inspector.cpp HUD inspector
Components 22
Launch and Runtime
- Launcher
src/frontend.cpp - ROM handling
src/rom.cpp - Application entry
src/main.cpp - Recompiled game
- N64 runtime
- Mod support
src/mods.cpp
Platform Services
- Platform callbacks
src/callbacks.cpp - libultra glue
src/libultra_glue.cpp
Graphics and HUD
- Renderer
src/renderer.cpp - Widescreen
src/widescreen.cpp - HUD rewriting
src/hudrewrite.cpp - Display census
src/dlcensus.cpp - HUD inspector
src/inspector.cpp - Game overlays
src/overlays.cpp
Audio and Input
- Audio diagnostics
src/audiodiag.cpp - Audio resampling
src/resample.cpp
Diagnostics
- Crash handling
src/crash_handler.cpp - Test drive
src/testdrive.cpp
Other components
- Player
- Game dump
- RT64
- SDL devices
Connections 23
- Player → Launcher: configures
- Player → Game dump: supplies
- Launcher → ROM handling: selects dump
- ROM handling → Application entry: identifies ROM
- Application entry → N64 runtime: starts
- Application entry → Platform callbacks: supplies callbacks
- Application entry → Crash handling: installs handler
- N64 runtime → Recompiled game: runs
- N64 runtime → Platform callbacks: requests platform I/O
- N64 runtime → libultra glue: uses glue
- Platform callbacks → SDL devices: uses devices
- Platform callbacks → Audio resampling: converts audio
- Platform callbacks → Audio diagnostics: reports audio
- N64 runtime → Renderer: renders through
- Renderer → RT64: uses
- Recompiled game → Widescreen: provides game state
- Widescreen → HUD rewriting: rewrites HUD
- Display census → HUD inspector: publishes frame data
- HUD rewriting → HUD inspector: reads class overrides
- HUD inspector → Renderer: installs panel
- Application entry → Mod support: loads mod support
- N64 runtime → Game overlays: initializes overlays
- Application entry → Test drive: runs optional harness