Getting Started¶
This page is for mod authors who want to create a mod.
You do not need to build the SDK source first. Start from a packaged FL-ModKit release.
What you need¶
- Flashing Lights on PC.
- MelonLoader v0.7.0 or newer installed for the game.
- .NET SDK that can build
net6.0projects. FL-ModKit-v0.1.0-sdk.zipfrom the GitHub or Nexus release.
The short version¶
- Extract
FL-ModKit-v0.1.0-sdk.zip. - Copy
templates\BasicMelonModinto a new folder for your mod. - Rename the project, namespace, mod id, and display name.
- Build with
GameRootpointing at the game folder. - Copy your mod DLL and
lib\FlashingLights.ModKit.Core.dllinto the game'sMods\folder. - Launch the game and press
Insert.
Folder example¶
After extracting the SDK zip, you should see:
Copy the template somewhere outside the extracted SDK folder:
First build command¶
From your copied mod folder:
dotnet build -c Release -p:GameRoot="C:\Program Files (x86)\Steam\steamapps\common\Flashing Lights\" -p:ModKitRoot="C:\Path\To\FL-ModKit-v0.1.0\"
GameRoot is the folder that contains MelonLoader\.
ModKitRoot is the extracted SDK folder that contains lib\.
Deploy test¶
Copy your built mod DLL plus FlashingLights.ModKit.Core.dll into:
Launch the game. Press Insert once you are past the title screen. Your mod should appear in the overlay.
The config file appears here after the mod loads:
C:\Program Files (x86)\Steam\steamapps\common\Flashing Lights\UserData\FlashingLightsModKit\myname.firstmod.json
Learn next¶
- Build a first mod: exact rename and edit checklist.
- SDK concepts: what each SDK part does.
- Troubleshooting: common build and load errors.
- Cookbook: copyable recipes once the first mod loads.