Overview
This section gets you from a fresh clone to a compiling tree.
The 30-second version
R2K16 is a classic mid-2010s C++ codebase:
- Language: C++ (MSVC
v140_xp-era, with#ifdef-based platform layers) - Primary build: Visual Studio solution —
Roblox.slnon Windows - Alternative build: CMake for Unix/Android (
CMakeLists.txtat the repo root) - Key bundled dependencies: Boost (see Libraries), Qt 4.8.5
(Studio UI), SDL2, libcurl, zlib, FMOD (audio), RakNet (networking, vendored in
Network/) - Scripting: Lua 5.1.4, sources vendored in
App/Lua-5.1.4/
Section contents
- Prerequisites — the exact toolchain you need installed.
- Building on Windows — Boost, Qt, then
Roblox.sln. - Building with CMake — the Unix/Android route.
- Project Status — what compiles, what doesn't (yet).
Repository tour
The five directories you'll spend most time in:
R2K16/
├── App/ # The engine: Instance tree, DataModel, Lua, physics, terrain, tools
├── Base/ # TaskScheduler, platform abstraction, core utilities
├── Network/ # RakNet-based client/server replication stack
├── Rendering/ # Graphics: GfxCore (device), GfxRender, RbxG3D, VR
└── RobloxStudio/ # The Qt-based Studio editor application
Every other folder is either a client (WindowsClient/, XboxClient/, iOS/, Android/),
a service (RCCService/), a tool (ScriptSigner/, CoreScriptConverter2/, …), bundled
third-party code (Library/, fmod/) or content (content/, PlatformContent/, shaders/).
See the Repository Map for a complete, annotated listing.