How bnunu/halo-ce-universal works
OpenCE ports Halo: Combat Evolved to Linux, Windows, and Android. The player selects an Xbox disc image; the platform port extracts the maps, then the game loads and runs them. Gameplay spans scenario/map state, units and AI, player control, and game modes; interface and networking provide additional capabilities, including cross-platform system-link play. The graph preserves major README capabilities and uses the supplied source index for selected internal links; unsampled implementation details and platform-specific wiring are not inferred.
Main entry points: game.h Game state · xiso.c Disc extraction · main.c Game loop · game_engine.c Game modes
Components 18
Platform ports
- Linux port
port/linux - Windows port
port/windows - Android app
port/android/app/src/main/java/com/halo/decomp/HaloActivity.java - Disc extraction
port/linux/src/xiso.c
Game runtime
- Game loop
source/main/main.c - Game state
source/game/game.h - Cache resources
source/cache/cache_files.h
Gameplay systems
- Scenario maps
source/scenario/scenario.h - Units and combat
source/units/units.c - AI behavior
source/ai - Player control
source/game/players.h - Game modes
source/game/game_engine.c
Player services
- Menus and HUD
source/interface - Multiplayer networking
source/networking - Sound playback
source/sound/sound_manager.c
Other components
- Player
- Halo disc image
- Extracted maps
Connections 22
- Player → Android app: starts app
- Player → Halo disc image: selects image
- Halo disc image → Disc extraction: extracts maps
- Disc extraction → Extracted maps: writes
- Player → Linux port: plays on
- Player → Windows port: plays on
- Player → Android app: plays on
- Game loop → Game state: runs game
source/main/main.c - Game loop → Player control: uses
source/main/main.c - Game loop → Menus and HUD: uses
source/main/main.c - Game state → Scenario maps: loads maps
source/game/game.h - Game state → Game modes: sets mode
source/game/game.h - Game modes → Player control: uses
source/game/game_engine.c - Game modes → Units and combat: uses
- Units and combat → AI behavior: uses
source/units/units.c - Game loop → Multiplayer networking: uses
source/main/main.c - Multiplayer networking → Game modes: coordinates
source/networking/network_game_manager.c - Game state → Cache resources: loads resources
- Game state → Sound playback: uses
source/sound/sound_manager.c - Linux port → Disc extraction: provides extraction
- Windows port → Disc extraction: provides extraction
- Android app → Disc extraction: extracts image