Skip to content

Pcars2server

github-actions[bot] edited this page Sep 11, 2026 · 2 revisions

Project CARS 2

This guide covers the pcars2server module in AlphaGSM.

Status

pcars2server is currently ENABLED (AUTH).

Before setup, authenticate Steam or SteamCMD with an account entitled to Project CARS 2 dedicated server app 413770.

Requirements

  • screen
  • SteamCMD runtime libraries (lib32gcc-s1, lib32stdc++6)
  • Python packages from requirements.txt

Quick Start

Create the server:

alphagsm mypcars2se create pcars2server

Run setup:

alphagsm mypcars2se setup

Start it:

alphagsm mypcars2se start

Check it:

alphagsm mypcars2se status

Stop it:

alphagsm mypcars2se stop

Setup Details

Setup configures:

  • the game port (default 27015)
  • the install directory
  • SteamCMD downloads the server files

Useful Commands

alphagsm mypcars2se update
alphagsm mypcars2se backup

Notes

  • Module name: pcars2server
  • Default port: 27015

Server variables

After create pcars2server, inspect or change these with set:

alphagsm myserver set --list
alphagsm myserver set KEY --describe
alphagsm myserver set KEY VALUE

This module does not declare schema-backed keys. set --list after create is still the live source of truth.

Developer Notes

Run File

  • Executable: DedicatedServerCmd
  • Location: <install_dir>/DedicatedServerCmd
  • Engine: Custom (SteamCMD)
  • SteamCMD App ID: 413770

Server Configuration

  • Config file: server.cfg
  • Template: See server-templates/pcars2server/ if available
  • AlphaGSM writes a managed server.cfg during install/update using hostPort = <port> and queryPort = <port + 1>.

Maps and Mods

  • Map directory: Check game documentation
  • Mod directory: Check game documentation
  • Workshop support: No

Clone this wiki locally