How r5reloaded/r5sdk works
R5SDK is a development package for Apex Legends: the documented user workflow is to run its launcher and launch the game, with command-line options controlling SDK behavior. Its source tree also exposes client and server game-engine code, shared game systems, rendering and platform services, and development tools. The README documents Pylon server visibility and manual server connections. Several subsystems are evident from the tree but were not sampled, so their internal connections are omitted rather than inferred.
Main entry points: launcher.cpp SDK Launcher · listmanager.cpp Network Systems · baseentity.cpp Server Gameplay · dllmain.cpp SDK Initialization
Components 21
Launch and SDK
- SDK Launcher
src/launcher/launcher.cpp - SDK Initialization
src/core/dllmain.cpp
Engine Runtime
- Client Engine
src/engine/client/cdll_engine_int.cpp - Server Engine
src/engine/server/server.cpp - Engine Core
src/engine/host.cpp
Game Systems
- Client Gameplay
src/game/client/c_baseentity.cpp - Server Gameplay
src/game/server/baseentity.cpp - AI Navigation
src/game/server/ai_networkmanager.cpp - Shared Gameplay
src/game/shared/util_shared.cpp
Engine Services
- Rendering
src/materialsystem/cmaterialsystem.cpp - Filesystem
src/filesystem/filesystem.cpp - Math Foundations
src/mathlib/mathlib.h - Engine Interfaces
src/public/globalvars_base.h - Cvars and Commands
src/public/tier1/cvar.h
Tools and Networking
- Navigation Editor
src/naveditor/main.cpp - Network Systems
src/networksystem/listmanager.cpp - Playlists
src/rtech/playlists/playlists.cpp - Plugin System
src/pluginsystem/pluginsystem.cpp - Game UI
src/gameui/imgui_system.cpp
Other components
- Developer
- Pylon Master Server
Connections 8
- Developer → SDK Launcher: runs
- SDK Launcher → SDK Initialization: launches SDK
- SDK Launcher → Client Engine: launches game
- Network Systems → Pylon Master Server: requests server list
src/networksystem/listmanager.cpp - Pylon Master Server → Network Systems: returns server list
src/networksystem/listmanager.cpp - Developer → Pylon Master Server: publishes server
- Developer → Server Engine: connects manually
- Server Gameplay → AI Navigation: uses navigation