Skip to main content

config.json

Overview

The config.json file will be generated next to the Launcher executable and will have a few basic settings that can often be considered immutable by your project.

User or Data version specific options are found in preferences.json instead.

Options

Config KeyDescription
flashpointPathPath to the root folder (where the /Data folder will be), can be relative or absolute. Same folder as the working directory when empty.
useCustomTitlebarIf set to true, it will allow the operating system to use its own titlebar instead of our own.
startServerWhether the server will be automatically started and closed as defined in services.json
backPortMin / backPortMaxPort range the Launcher will iterate over to get a free port when opening the websocket for front / back communication
imagesPortMin / imagesPortMaxPort range the Launcher will iterate over to get a free port when opening the Fileserver to respond to image (and curate file) local web requests.
logsBaseUrlThe base URL of the Flashpoint Paste server. You're free to use ours by default or selfhost.
updatesEnabledUNUSED
gotdUrlThe URL where a remote gotd.json is located and will be fetched on startup. If unavailable, the existing /Data/gotd.json file will be used.
gotdShowAllWhen set to true, will stop hiding games that are chosen for a date later than Today.
middlewareOverridePathUsed by extensions when copying files to override those returned by the Flashpoint Game Server if used. Pretty Flashpoint Archive specific.

Default Configuration

config.json
{
"flashpointPath": "",
"useCustomTitlebar": false,
"startServer": true,
"backPortMin": 12001,
"backPortMax": 12100,
"imagesPortMin": 12101,
"imagesPortMax": 12200,
"logsBaseUrl": "https://logs.unstable.life/",
"updatesEnabled": true,
"gotdUrl": "https://download.unstable.life/gotd.json",
"gotdShowAll": false,
"middlewareOverridePath": "Legacy/middleware_overrides/"
}