mtibke / brians-blueprints

Brian's Blueprints for Factorio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brian's Blueprints

Brian's Blueprints for Factorio

Don't just look at the latest release shown on the left. Each book is released separately so to see them you have to go to the all-releases page.

Commands

The "fbp.py" script can be used to split books into a directory structure and later build them back into a single entity as well as to unpack/pack single blueprints from their encoded form into json. The latter allows working with single blueprints within a book.

Split a Book

rm -rf book-directory
tools/fbp.py split --outdir=book-directory --infile=my-exported-book.txt

It's important to completely remove the old directory before splitting otherwise removed/renamed blueprints will remain in the previous form and be re-introduced when the book is next built.

Build a Book

tools/fbp.py build --outfile=my-book.txt --indir=book-directory

Unpack a Single Blueprint

tools/fbp.py unpack --outfile=book-directory/blueprint.json --infile=my-exported-blueprint.txt

Pack a Single Blueprint

tools/fbp.py pack --outfile=my-blueprint.txt --infile=book-directory/blueprint.json

About

Brian's Blueprints for Factorio

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 100.0%