Command-Line Method to get an Exact Count

This page summarizes the projects mentioned and recommended in the original post on /r/factorio

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • factorio-blueprint-decoder

    Decode Factorio's binary `blueprint-storage.dat` file into JSON for backup, downgrading or further manipulation.

  • 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].

  • jq

    Discontinued Command-line JSON processor [Moved to: https://github.com/jqlang/jq] (by stedolan)

  • diff --git a/factorio-blueprint-decoder/decode-export-string b/factorio-blueprint-decoder/decode-export-string --- a/factorio-blueprint-decoder/decode-export-string +++ b/factorio-blueprint-decoder/decode-export-string @@ -7,4 +7,6 @@ read -N 1 version echo 1>&2 "Unsupported version $version" exit 1; } -base64 -d| zlib-flate -uncompress \ No newline at end of file + +directory_of_this_script_file=$(dirname "$0") +base64 -d| $directory_of_this_script_file/pigz.exe --decompress \ No newline at end of file diff --git a/factorio-blueprint-decoder/encode-export-string b/factorio-blueprint-decoder/encode-export-string --- a/factorio-blueprint-decoder/encode-export-string +++ b/factorio-blueprint-decoder/encode-export-string @@ -1,10 +1,12 @@ #!/bin/bash +directory_of_this_script_file=$(dirname "$0") + # compact json -jq -c . | +$directory_of_this_script_file/jq-win64.exe -c . | ( # version echo "0" # data - zlib-flate -compress | base64 + $directory_of_this_script_file/pigz.exe | base64 ) # jq-win64.exe was retrieved from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe diff --git a/factorio-blueprint-decoder/jq-win64.exe b/factorio-blueprint-decoder/jq-win64.exe new file mode 100644 Binary files /dev/null and b/factorio-blueprint-decoder/jq-win64.exe differ # pigz.exe was retrieved from within the zip archive file https://ftp.przemoc.net/pub/binaries/comp/pigz/pigz-2.4-w64-gcc-7.3.0-rev1-msys2.zip diff --git a/factorio-blueprint-decoder/pigz.exe b/factorio-blueprint-decoder/pigz.exe new file mode 100644 Binary files /dev/null and b/factorio-blueprint-decoder/pigz.exe differ

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts