Skip to content

FCTostin-team/blueprint-code_compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FCT Blueprint Compressor GitHub

HTML5 CSS3 JavaScript Factorio

A specialized web tool for optimizing and compressing Factorio blueprint strings. It decodes the blueprint data, removes redundant information, and re-compresses it to significantly reduce the string length for easier sharing on Steam, Discord, or Reddit.

Features

  • Smart Optimization: Parses the blueprint JSON and removes unnecessary data (empty arrays, default values, standard directions) to save space without losing functionality.
  • High Compression: Uses the pako library with maximum compression settings (Level 9) to generate the smallest possible string.
  • Validation: Includes a built-in verification tool to ensure the compressed string is valid and readable by the game.
  • Efficiency Stats: Displays real-time statistics on character count reduction and percentage saved.

Installation and Usage

  1. Clone the repository or download the source files.
  2. Open index.html in any modern web browser.
  3. Paste your original Factorio blueprint string into the input field.
  4. Click "СЖАТЬ ЧЕРТЕЖ" (Compress) to generate the optimized code.

Community and Support

Project created with the support of the FCTostin community.

YouTube Telegram Steam

Support the Development

Patreon Boosty