Blueprint encoder and decoder and a train schedule designer

Enhance your gameplay with these tools. This category is also the right place for tools useful for modders.
Mod databases, calculators, cheatsheets, multiplayer, scripts, libs and other useful stuff that is not strictly in-game mods.
Poppelinen
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Jul 13, 2024 6:58 pm
Contact:

Blueprint encoder and decoder and a train schedule designer

Post by Poppelinen »

Hi!

I was recently frustrated in configuring trains in our multiplayer base due to the way trains are setup (there's a separate tanking station that the trains shouldn't visit between every trip). The in-game editor was a bit frustrating with a lot of clicking as I needed to repeat multiple stations.

Note: there might still be some bugs and the tools don't work on mobile

Blueprint Encoder/Decoder
I initially decided to just figure out the conversion from blueprint format to textual format to be able to manually copy paste the stations in the schedule. I ended up writing a decoder and encoder tool for the blueprints to view what's the content, edit it and then encode back to the blueprint format. This tool is available at
https://haapanen.github.io/factorio-tools/#/codec

It has a built-in text editor (Monaco (=VS Code)) so you don't need to do copy pasting to another tool to edit the files in a proper text editor.

Guide
  1. Copy a blueprint from somewhere
  2. Paste it to the encoded blueprint field
  3. Hit decode
  4. Edit the blueprint how you like
  5. Hit encode
  6. Copy the blueprint to Factorio
Image

Train Schedule Planner

I decided to also implement a simple tool to edit the schedule a bit faster (supporting duplicating existing stations). It's currently work in progress as it still lacks circuit, fluid and item wait conditions but the rest should work. The tool will generate a train blueprint with the correct stops and also include templates for the stations if requested.

Image below hopefully explains the tool
Image

End result is something like
Image

Here's link to the above example:
https://haapanen.github.io/factorio-too ... fV19XX0%3D

Hopefully you find these somewhat useful.
GeoStyx
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Nov 24, 2014 9:40 pm
Contact:

Re: Blueprint encoder and decoder and a train schedule designer

Post by GeoStyx »

This is awesome and exactly what I was looking for to bulk-update combinator descriptions. Thank you!
Post Reply

Return to “Tools”