Skip to main content

Getting Started

warning

FMCS is only tested on Windows, installation on MacOS or Linux might need further modification

Requirements

Installation

  1. Clone or download https://github.com/MaxttcYT/FMCS to your local machine.
  2. Ensure Python is installed and added to your system PATH.
  3. Ensure Node.js and NPM are installed and added to your system PATH.

Backend

Install Python (backend) dependencies by running:

warning

To run .\env\Scripts\Activate.ps1, enable scripts first. Open PowerShell as Administrator and run:

Set-ExecutionPolicy RemoteSigned
#Create python enviroment
python -m venv env

#Activate env (windows only)
.\env\Scripts\Activate.ps1

#Install required modules
pip install -r requirements.txt

Frontend

Install frontend dependencies by running:

cd frontend
npm install

Configuration

Copy settings.example.yaml to settings.yaml

SettingDescriptionNotesType
FACTORIO_PATHPath where Factorio’s game files live (folders like data/)Factorio Wiki pagePath
FACTORIO_DATA_PATHPath where folders like saves, mods, config, etc. are locatedFactorio Wiki pagePath
STARTUP_MODEDefines the startup modeString [BINARY/STEAM]
Steam Mode (STARTUP_MODE = STEAM)

Settings specific to running the game via Steam:

SettingDescriptionNotesType
FACTORIO_STEAM_IDSteam ID of FactorioAlways 427520Integer [SteamID]
STEAM_PATHPath to Steam binaryOnly needed on WindowsPath
Binary Mode (STARTUP_MODE = BINARY)

Settings specific to running the game via standalone binary:

SettingDescriptionNotesType
FACTORIO_BINARY_PATHPath to Factorio binaryWherever you extracted the Factorio zipPath

Copy Factorio Assets

Run the following in FMCS root, to copy assets from Factorio:

python graphic_copy.py

The script will copy all icons from the data, base and core folder to static/factorioAssets