msfs-layout-generator
v0.3.0
Published
Generate layout.json for MSFS community packages
Readme
🛫 MSFS Layout Generator
A tool for Microsoft Flight Simulator (MSFS) developers to automatically generate and update layout.json files for their add-ons.
✨ Features
Automatic Layout Generation
Scans package directories and createslayout.jsonwith file metadataWatch changes in Package Directory
Scans all changes in provided directory and updateslayout.jsonaccordinglyManifest Integration
Automatically updatestotal_package_sizeinmanifest.jsonMultiple Processing Modes
Process single packages, multiple packages, or batch operationsBatch Processing
Interactive Windows batch file with menu system for easy useFlexible CLI
Command-line interface with various options for different workflowsTypeScript Support
Fully typed API for programmatic usage
📦 Installation & Quick Start
Windows batch file with menu system (recommended)
- Download
msfs-layout-generator.batfrom the latest release - Place it in your desired directory
- Double-click to run
- Choose options from the interactive menu
Manual Installation as a Global CLI Tool
npm install -g msfs-layout-generator💻 API Usage (For Developers)
Use your manager (npm, yarn, bun etc.) to install the package:
npm install msfs-layout-generatorImport the generator in your TypeScript / JavaScript projects:
import { generateLayout } from 'msfs-layout-generator';
// Process a single package
await generateLayout("F:\\fs20\\Community\\my-package"); Happy Flying! ✈️

