Getting Started
Learn how to create your first mod for Subway Builder
This section will guide you through creating your first mod for Subway Builder. We'll start with quick browser testing, then move to creating a proper mod that can be shared and installed.
Prerequisites#
- Subway Builder (desktop version for full modding support)
- Basic JavaScript knowledge
- A text editor
Mods Folder Location#
The `mods/` folder is located in the same directory as your `saves/` folder in your app data directory:
Full paths by platform:
- macOS:
~/Library/Application Support/metro-maker4/mods/ - Windows:
%APPDATA%\metro-maker4\mods\ - Linux:
~/.config/metro-maker4/mods/
Directory structure:
metro-maker4/
βββ saves/ β Your save files are here
βββ mods/ β Put your mods here (create if missing)
β βββ my-mod/
β β βββ manifest.json
β β βββ index.js
β βββ another-mod/
β βββ manifest.json
β βββ index.js
βββ settings.jsonHow to find it:
- Open Subway Builder
- Go to Settings > System
- Click "Open Saves Folder"
- Navigate up one level - you'll see the
metro-maker4/folder - Create a
mods/folder if it doesn't exist
Next Steps#
- Quick Start - Test mods in the browser console
- First Mod - Create a proper mod with manifest
- Electron Setup - Installing and managing mods