factorio-draftsman
A complete, well-tested, and up-to-date module to manipulate Factorio blueprint strings. Compatible with mods. (by redruin1)
factorio-blueprint-decoder
Decode Factorio's binary `blueprint-storage.dat` file into JSON for backup, downgrading or further manipulation. (by asheiduk)
factorio-draftsman | factorio-blueprint-decoder | |
---|---|---|
5 | 2 | |
88 | 26 | |
- | - | |
6.3 | 1.2 | |
13 days ago | 7 months ago | |
Python | Python | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
factorio-draftsman
Posts with mentions or reviews of factorio-draftsman.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-20.
-
Blueprint JSON schema?
I made a library in Python called factorio-draftsman that works with blueprint strings which is pretty much entirely up to date and has all the data encoded in it, though quite not in a user-friendly JSON dump. I did end up manually making type-hinted dumps for all the Blueprintable types (Blueprint, BlueprintBook, UpgradePlanner, DeconstructionPlanner) though; so if that's sufficient you should be able to reliably use those. If you're looking for entity-specific schemas though, I haven't got around to doing all of them yet. Most of them are pretty straightforward however; position, orientation, filters, etc. The only complications you get into are stuff like control_behavior which has many different unique keys for many different entity types (you can take a look at the signatures.py file in draftsman's source for an impression). I can go more into that if you want, but I agree that this should really be documented/updated.
- Question for a blueprint generator
-
Generating an optimized layout of train based blocks using simulated annealing
Finally, once the layout is generated, a blueprint string is created using u/redruin0001's Factorio Draftsman program. If you missed the Alt-F4 about this back in May 2022, I highly recommend checking it out. Factorio Draftsman is an extremely powerful tool for programmatically generating blueprint strings. In this instance, it is used to stitch together tens to hundreds of factory block blueprints together into a single one. This final blueprint can then be imported and placed in Factorio.
-
Alt-F4 #61 - Draftsman: A Python module for creating blueprints
This was something I made on a whim. It uses the Pillow image library to load an image, and converts it to a blueprint intended to be visible from the map view, all in less than 150 lines of code:
factorio-blueprint-decoder
Posts with mentions or reviews of factorio-blueprint-decoder.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-28.
-
Command-Line Method to get an Exact Count
Factorio Blueprint Decoder Some pieces of this may need to be modified depending on your environment. For example: The Windows 10 & Git Bash example, in the image, required modifications: Two additional executables needed to be added to the environment, and modifications to factorio-blueprint-decoder/decode-export-string and encode-export-string were required [i].
-
Blueprints need to stay in your blueprint menu
This might be a solid jumping off point for you if you really want to go for it. https://github.com/asheiduk/factorio-blueprint-decoder
What are some alternatives?
When comparing factorio-draftsman and factorio-blueprint-decoder you can also consider the following projects:
factorio-blueprint - Import and Export blueprint strings automagically with this handy dandy blueprint API
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
factorio-data - Tracks changes of the lua prototype definitions in factorio inbetween releases.
Factorio-SAT - Enhancing the Factorio experience with SAT solvers
Artorio - Artorio - convert image to factorio blueprint format
Archipelago - Archipelago Multi-Game Randomizer and Server
factorio-movie-maker - Fork of the original factorio-movie-maker, updated to version 1.1.57
jq - Command-line JSON processor
factoriogen - Generate Factorio combinators from code
10-Books-Full-of-Rails - Factorio Prints Link:
factorio-computer
factorio-draftsman vs factorio-blueprint
factorio-blueprint-decoder vs jq
factorio-draftsman vs factorio-data
factorio-blueprint-decoder vs Factorio-SAT
factorio-draftsman vs Artorio
factorio-blueprint-decoder vs Archipelago
factorio-draftsman vs factorio-movie-maker
factorio-blueprint-decoder vs jq
factorio-draftsman vs factoriogen
factorio-draftsman vs 10-Books-Full-of-Rails
factorio-draftsman vs factorio-computer