From 1cba6659ecf9d822e1b6bb71fd8450b676f5e18d Mon Sep 17 00:00:00 2001 From: O1LER <44237025+O1LER@users.noreply.github.com> Date: Sat, 15 Feb 2025 17:50:29 +0100 Subject: [PATCH 1/3] Add steamOS packages --- docs/en/game/getting-started.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/en/game/getting-started.md b/docs/en/game/getting-started.md index 2d3fc403..223f2720 100644 --- a/docs/en/game/getting-started.md +++ b/docs/en/game/getting-started.md @@ -33,6 +33,7 @@ Make sure you have [`vcpkg` installed](https://learn.microsoft.com/en-us/vcpkg/g - Fedora: `sudo dnf install @development-tools` - Arch: `sudo pacman -S base-devel` - openSUSE: `zypper in -t pattern devel-basis` +- SteamOS (Arch): `sudo pacman -S base-devel linux-api-headers glibc libconfig` (You also need to do `sudo steamos-readonly disable` but make sure to enable it again after installing the packages) Clone the BeamMP-Launcher Repository to your system using `git`, for example: `git clone https://github.com/BeamMP/BeamMP-Launcher.git` @@ -42,9 +43,9 @@ Checkout the tag that was used for the [latest release](https://github.com/BeamM In the root directory of the project, -1. `cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux` +1. ```cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux``` -2. `cmake --build bin --parallel --config Release` +2. ```cmake --build bin --parallel --config Release``` > Should you run out of RAM while building, you can ommit the --parallel instruction, it will then use less RAM due to building only on one CPU thread. From 39a2c3b7af4ca90e0b44c8ea0996826de940515a Mon Sep 17 00:00:00 2001 From: O1LER <44237025+O1LER@users.noreply.github.com> Date: Sat, 15 Feb 2025 19:44:21 +0100 Subject: [PATCH 2/3] Fix codeblocks and add lexer shortcode --- docs/en/game/getting-started.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/en/game/getting-started.md b/docs/en/game/getting-started.md index 223f2720..bb5c1f39 100644 --- a/docs/en/game/getting-started.md +++ b/docs/en/game/getting-started.md @@ -43,9 +43,13 @@ Checkout the tag that was used for the [latest release](https://github.com/BeamM In the root directory of the project, -1. ```cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux``` +1. ```cmake +cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux +``` -2. ```cmake --build bin --parallel --config Release``` +2. ```cmake +cmake --build bin --parallel --config Release +``` > Should you run out of RAM while building, you can ommit the --parallel instruction, it will then use less RAM due to building only on one CPU thread. From fb94ad602afb9c859aecb64090f1a793219da986 Mon Sep 17 00:00:00 2001 From: O1LER <44237025+O1LER@users.noreply.github.com> Date: Sat, 15 Feb 2025 22:08:37 +0100 Subject: [PATCH 3/3] Yeah ok --- docs/en/game/getting-started.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/en/game/getting-started.md b/docs/en/game/getting-started.md index bb5c1f39..ce77a394 100644 --- a/docs/en/game/getting-started.md +++ b/docs/en/game/getting-started.md @@ -43,11 +43,13 @@ Checkout the tag that was used for the [latest release](https://github.com/BeamM In the root directory of the project, -1. ```cmake +1. +```cmake cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux ``` -2. ```cmake +2. +```cmake cmake --build bin --parallel --config Release ```