How paulcombal/mw2-recompiled works
This repository is a native recompilation of the Xbox 360 version of Modern Warfare 2, with a launcher and a separate multiplayer relay service. The player’s path is to install from their own disc, configure or convert content in the launcher, then start campaign or multiplayer; the runtime loads the recompiled title and provides console-compatible services and Vulkan rendering. README-described features such as profiles, updates, and online backends are included. Several implementation links are left out because their source was not sampled.
Main entry points: launcher/main.cpp Launcher UI · runtime/main.cpp Runtime entry · service.h Online service API · relay.rs Relay server
Components 23
Launcher
- Launcher UI
launcher/main.cpp - Profiles
launcher/profile.h - Settings
launcher/settings.cpp - Custom map conversion
launcher/maps.cpp - Launcher updates
launcher/update.cpp
Game installation
- Disc validation
launcher/disc.cpp - Install and update
runtime/install/install.cpp
Recompiled runtime
- Runtime entry
runtime/main.cpp - Guest memory and values
runtime/guest.h - Xbox kernel services
runtime/kernel/kernel.cpp
Graphics and audio
- GPU runtime
runtime/gpu/gpu.cpp - Vulkan pipelines
runtime/gpu/vulkan/pipeline.cpp - Shader building
runtime/gpu/vulkan/shader_build.h - Renderer pipelines
runtime/gpu/vulkan/renderer_pipelines.cpp - Audio runtime
runtime/apu/audio.cpp
Online play
- Online service API
runtime/online/service.h - LAN and Steam
runtime/online - Server transport
runtime/online/server.cpp
Relay service
- Relay server
relay/src/relay.rs - Relay protocol
relay/src/protocol.rs
Other components
- Player
- Relay operator
- Other players
Connections 24
- Player → Launcher UI: opens
- Launcher UI → Disc validation: installs from
- Disc validation → Install and update: provides ISO
- Launcher UI → Install and update: starts install
launcher/main.cpp - Launcher UI → Profiles: configures
launcher/main.cpp - Launcher UI → Settings: sets
- Launcher UI → Custom map conversion: converts maps
- Launcher UI → Launcher updates: checks updates
- Install and update → Runtime entry: launches title
runtime/main.cpp - Player → Runtime entry: starts game
- Runtime entry → Guest memory and values: initializes
runtime/main.cpp - Runtime entry → Xbox kernel services: initializes
runtime/main.cpp - Runtime entry → GPU runtime: initializes
runtime/main.cpp - Runtime entry → Online service API: starts service
runtime/main.cpp - Xbox kernel services → Online service API: requests backend services
runtime/online/service.h - Online service API → LAN and Steam: selects backend
runtime/online/service.cpp - Online service API → Server transport: uses transport
- Server transport → Relay server: exchanges packets
runtime/online/server.cpp - Relay operator → Relay server: runs
- Relay server → Relay protocol: uses messages
relay/src/main.rs - Relay server → Other players: relays traffic
- GPU runtime → Vulkan pipelines: uses Vulkan
- Renderer pipelines → Shader building: builds shaders
runtime/gpu/vulkan/renderer_pipelines.cpp - GPU runtime → Audio runtime: provides game runtime