Crates.io | factorio-bitpacker |
lib.rs | factorio-bitpacker |
version | 0.1.2 |
source | src |
created_at | 2021-12-03 01:23:12.019917 |
updated_at | 2021-12-17 13:23:55.532522 |
description | A crate to pack binary blobs into a blueprint string containing factorio combinators. |
homepage | https://sr.ht/~micycle/factorio-bitpacker/ |
repository | https://sr.ht/~micycle/factorio-bitpacker/ |
max_upload_size | |
id | 491495 |
size | 64,389 |
Factorio bitpacker is a crate that packs any arbitrary binary blob into a blueprint string containing factorio combinators. It uses a signal format to densely pack values into as little combinators as possible.
Install with cargo install factorio-bitpacker
, or you can install from source by cloning and running cargo run
.
factorio-bitpacker 0.1.2
Packs any arbitrary binary blob into a blueprint containing factorio
combinators. Uses a dictionary of 256 signals to densely many values into a
small space. For inputs which exceed 1KB, a separate set of combinators is
created and should be wired separately to avoid interference.
USAGE:
factorio-bitpacker [ARGS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<input> Binary input file, defaults to stdin if not present
<output> Blueprint string output file, defaults to stdout if not present
Copyright © 2021 "micycle".
Licensed GPLv3: GPL version 3 <https://gnu.org/licenses/gpl.html>.
This program is free software: you are free to change and redistribute it under
the terms of the License. There is NO WARRANTY, to the extent permitted by law.