factorio-draftsman
A complete, well-tested, and up-to-date module to manipulate Factorio blueprint strings. Compatible with mods. (by redruin1)
factorio-data
Tracks changes of the lua prototype definitions in factorio inbetween releases. (by wube)
factorio-draftsman | factorio-data | |
---|---|---|
5 | 3 | |
88 | 434 | |
- | 1.2% | |
6.3 | 6.7 | |
13 days ago | about 1 month ago | |
Python | Lua | |
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-data
Posts with mentions or reviews of factorio-data.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-27.
-
Alt-F4 #61 - Draftsman: A Python module for creating blueprints
Draftsman is close-to-source. Draftsman bases all of its data off of Wube’s factorio-data repository, which means that all entities are exactly as you would expect in-game, with no inconsistencies. This makes Draftsman up-to-date, makes updating Draftsman for future Factorio versions a breeze, and allows version control to monitor changes between Draftsman and Factorio, if any future breakage should occur.
-
Command to run the game when no one is logged in
See: https://github.com/wube/factorio-data/blob/master/server-settings.example.json
-
Weapon speed penalty stats.
The good thing that wube has posted the lua that the base game uses (I think) to determine all items here as part of the general github for the lua for the game here
What are some alternatives?
When comparing factorio-draftsman and factorio-data you can also consider the following projects:
factorio-blueprint - Import and Export blueprint strings automagically with this handy dandy blueprint API
Artorio - Artorio - convert image to factorio blueprint format
factorio-movie-maker - Fork of the original factorio-movie-maker, updated to version 1.1.57
factoriogen - Generate Factorio combinators from code
10-Books-Full-of-Rails - Factorio Prints Link:
factorio-computer
factorio-blueprint-decoder - Decode Factorio's binary `blueprint-storage.dat` file into JSON for backup, downgrading or further manipulation.
factorio-draftsman vs factorio-blueprint
factorio-data vs factorio-blueprint
factorio-draftsman vs Artorio
factorio-data vs Artorio
factorio-draftsman vs factorio-movie-maker
factorio-draftsman vs factoriogen
factorio-draftsman vs 10-Books-Full-of-Rails
factorio-draftsman vs factorio-computer
factorio-draftsman vs factorio-blueprint-decoder