CI/CD Build Pipeline
Estimated reading time: 2 minutesThe ModLoader ecosystem uses GitHub Actions for builds and releases. Artifacts can be downloaded directly without local builds.
Related Repositories
Modified SC2 Engine
- Actions: sugarcube-2_Vrelnir/actions
- Artifacts:
format.js(ModLoader bootstrap, Wikifier changes, img/svg interception) - Use: Override
devTools/tweego/storyFormats/sugarcube-2/format.jsin the game project, or use sc2ReplaceTool on compiled HTML
ModLoader and Tools
- Actions: sugarcube-2-ModLoader/actions
- Artifacts:
BeforeSC2.js— ModLoader coreinsert2html.js— HTML injection toolpackModZip.js— Mod packaging toolsc2ReplaceTool.js— SC2 replacement tool- Pre-built Mod zips (from submodules in modList.json)
- Use: Inject ModLoader into game HTML, or package Mods
DoL Automated Build
- Actions: DoLModLoaderBuild/actions
- Releases: DoLModLoaderBuild/releases
- Artifacts: Full DoL game HTML with ModLoader and Mods from modList.json
- Use: End-user download for play, or base for bundles
Build Order
Building the full game from scratch:
ELK not loaded. Ensure /elk.bundled.js is loaded before the app.
DoLModLoaderBuild usually automates this and publishes to Releases.
