Skip to content

xunder-matth/open.mp

This branch is up to date with openmultiplayer/open.mp:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 31, 2025
Feb 20, 2025
Mar 29, 2025
Jan 5, 2025
Sep 16, 2022
Jan 11, 2025
Jan 5, 2025
Dec 14, 2022
Jan 23, 2025
Jul 12, 2024
Jan 12, 2025
Jan 15, 2022
Jun 25, 2021
Jan 3, 2024
Mar 18, 2023
Oct 3, 2022
Apr 19, 2022

Repository files navigation

open.mp

status

Structure

Path Content
SDK/include Core SDK headers (stable between versions)
SDK/include/Server/Components/*/ Components/plug-in SDK headers (stable between versions)
Shared/NetCode/ Netcode headers (RPC and packet read/write structures, NOT stable between versions)
Shared/Network/ Network utility headers (NOT stable between versions)
lib/ Various submodules and third-party libraries
Server/Source/ Core server implementation (NOT stable between versions, do NOT use headers outside the Source folder)
Server/Components/*/ Components/plug-in implementation (NOT stable between versions, do NOT use headers outside the component's folder)

Concepts

Name Description
Entity Something that can appear in the 3D world of the game
Pool Container of something with limited amount of IDs
Component Something that's conceptually different enough it can be separated into its own module
Extensible Something to which extensions can be added to preserve ABI compatibility
Extension Something which adds additional functionality to an extensible and preserves ABI compatibility

Tools

Tools on Windows

Visual Studio needs the Desktop development with C++ workload with the C++ Clang tools for Windows component.

Sources

# With HTTPS:
git clone --recursive https://github.com/openmultiplayer/open.mp
# With SSH:
git clone --recursive git@github.com:openmultiplayer/open.mp

Note the use of the --recursive argument, because this repository contains submodules.

Building on Windows

cd open.mp
mkdir build
cd build
cmake .. -A Win32 -T ClangCL
cmake --build . --config RelWithDebInfo

Building on Mac

If you install conan via brew you must ensure you get the correct version; however, the cmake-conan script will not detect it from the default install location. You must therefore also alias it elsewhere:

brew install conan@1
sudo ln -s /usr/local/opt/conan@1/bin/conan /usr/local/bin/conan
cd open.mp
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.6%
  • CMake 1.8%
  • Other 1.6%