fgardt / factorio-scanner Goto Github PK
View Code? Open in Web Editor NEWFactorio tools to render and work with blueprint strings, (de)serialize prototype dumps and more
License: MIT License
Factorio tools to render and work with blueprint strings, (de)serialize prototype dumps and more
License: MIT License
I'm trying to render a blueprint. The help lists the following three COMMAND
arguments: string, file, help. When providing a blueprint, it exits with: error: unrecognized subcommand
PS C:\Games\Factorio (Scanner)> .\scanner.exe --factorio .\Factorio_1.1.104\ render
Render a blueprint string Usage: scanner.exe --factorio <FACTORIO> render [OPTIONS] --out <OUT> <COMMAND>
Commands:
string
file
help Print this message or the help of the given subcommand(s)
Options:
--prototype-dump <PROTOTYPE_DUMP>
Path to the data dump json file. If not set, the data will be dumped automatically
--preset <PRESET>
Preset to use [possible values: K2, SE, K2SE, IR3, PyAE, FF, FFK2, Nullius, SeaBlock, EI, Ultracube]
--mods <MODS>
List of additional mods to use
-o, --out <OUT>
Path to the output file
--res <TARGET_RES>
Target resolution (1 side of a square) in pixels [default: 2048]
--min-scale <MIN_SCALE>
Minimum scale to use (below 0.5 makes not much sense, vanilla HR mode is 0.5) [default: 0.5]
-h, --help
Print help
PS C:\Games\Factorio (Scanner)> .\scanner.exe --factorio .\Factorio_1.1.104 render --out bp.png "0eNq9llGOmzAQhu9iqU+F1YZAsuEqVYUMTJKRwEa2SYtWHKC36Nl6ks5AkiUJ2YWs2pdIDp7P4/+fGXgVaVFDZVA5Eb8Kq2TlO+3vDOa8/initScaEUetJ2RqdVE78HlXhWonYmdq8ARmWlkRf6N43ClZcKRrKhCxQAel8ISSJa+kQbcvwWHmZ7pMUUmnjSA0qhzorEXrfcjIIcMczDggaL97ApRDh9Bn1C2aRNVlCoZOOHM4ZyeVG4I8UWlLsVodLx88Rd31n59YgBwNZP3TwGOAM7pIUtjLA1I0hWyxcGDuaHFA42r655xCv4PEhobvkOmaXVgM5KDboE34wK0sLHSblOqTsIxe8A8BQA1vy+YtaS+arEbXLYnVtizvlSDBPEGej4IE14KEDwhyaSwUxDJacXH0iQ9ECWbVi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+/fj/g1dvcrpqka6Jka3SZoCLMaWI/3EjBu/5E0/yJ5nZdb1F4bdHq33bdqXuOXXdh1LCjvv6PjgqndlA0x7DbMTmN2jvL3wE8w+PB55onDvRm7TvoZRGuN8H6JdwsV5tV2/4FfVVczg=='
Usage: scanner.exe --factorio <FACTORIO> render [OPTIONS] --out <OUT> <COMMAND>
For more information, try '--help'.
PS> .\target\debug\scanner.exe --dump "C:\Users\Daniel\AppData\Roaming\Factorio\script-output\data-raw-dump.json" --out c:\temp\out.png --factorio "C:\Program Files (x86)\Steam\steamapps\common\Factorio" --blueprint "C:\Users\Daniel\AppData\Roaming\Factorio\script-output\blueprint.txt"
loaded BP
thread 'main' has overflowed its stack
factorio-scanner/scanner/src/main.rs
Line 73 in 7126509
throws a thread 'main' has overflowed its stack
Use Factorio Lua to load & execute mods settings & prototype stage directly without needing Factorio to dump prototypes.
Analyze logic circuits in blueprints and render an abstract visualization.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.