Skip to content

About

Production & research calculator for the Steam game Main Sequence

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Elvenide's Main Sequence Calculator

A fast, mobile-first production calculator and research planner for the Steam automation game Main Sequence.

Live App: mscalc.elvenide.com


Screenshots

Multi-Target Production Breakdown (Desktop)

Multi-target calculation and recursive production breakdown

Factory Summary & Interactive Required Research Tree

Factory summary with buildings, power, raw resources, and interactive research tree

Mobile-First Responsive Layout

Mobile-first responsive layout


Features

  • Recursive Multi-Target Production Breakdown: Add one or more target items and calculate every intermediate ingredient, producing building, logistic belt, and raw resource all the way down the chain.
  • Items/Min or Buildings Mode: Toggle any target item between desired Items / Min and desired Buildings. Entering a value in either field automatically computes the other.
  • Factory Summary & Power Generation: Displays total buildings by type, raw resource totals per minute, total belts, peak/average power draw (MW), byproducts, and the required number of Solar Panels (Mk. 1–3) or Reactors.
  • Interactive Filtered Research Tree: Shows the researches required for your current production plan, with pan, mouse-wheel zoom, mobile pinch-to-zoom, and tap-to-mark-completed tracking.
  • Deep Production Settings: Configure conveyor belt tiers (Mk. 1–3), ore mining buildings & rates, gas extractor rates, crafting speed multipliers, power sources & solar efficiency, enriched ore refining, and per-item alternate or synthesis recipes.
  • Shareable Compact Links: All targets and non-default production settings sync live to clean, URL-safe query parameters with a one-click Share button.
  • Authentic Game Data & Icons: All items, recipes, buildings, belt speeds, power stats, research trees, and sRGB-calibrated icons are extracted directly from the Main Sequence game files via a reusable script.
  • Dark & Light Themes: Near-black dark theme with Main Sequence amber-orange accents by default, plus a light theme toggle.

Tech Stack

  • Frontend: React 19, TypeScript, Vite, Tailwind CSS v4, shadcn/ui (Radix UI + Lucide icons)
  • Hosting: 100% static frontend SPA deployed via GitHub Actions to Cloudflare Pages (Direct Upload)
  • Asset Extraction: Node.js offline UE 5.7 .usmap reflection generator + .NET 10 / CUE4Parse extractor

Local Development

npm install
npm run dev

Build the static production bundle (dist/):

npm run build

Re-Extracting Game Data & Icons (Windows)

If Main Sequence receives a game update on Steam, re-run the extractor against your local install:

npm run extract

(Requires Node.js, .NET 10 SDK, and a local Steam installation of Main Sequence.)


License

Created by Elvenide.

This tool is free and open-source under the MIT License - see LICENSE for details.

Main Sequence game data and icons are the property of their respective creators and are extracted for reference in this community tool. Main Sequence assets are not owned by me and are explicitly not covered by this repo's MIT license.

About

Production & research calculator for the Steam game Main Sequence

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages