Compact circuits


Miniaturize a whole logic network into a single entity to save place (similar to factorissimo but for signals).

Content
8 days ago
1.1 - 2.0
12.4K
Circuit network

b Reselecting blueprint content deletes the compakt circuit information

1 year, 1 month ago
(updated 1 year, 1 month ago)

How to reproduce:

  • put down a compakt circuit, load some model.
  • create a blueprint that contains exactly that circuit. E.g.

0eNqtldtu4jAQhl9l5dtCiZM4iblLKRQogYWULmW1qkJwwTk5B4dTxbuvU9TuSksRS3oVeTzzOfr/secVzIKcxCmNOKi/AuqyKAP1n68go4vICYoY38YE1MGKpjwXkQqInLAIHDKqEOwrgEZzsgF1uP9VASTilFNywLwtts9RHs5IKhI+ql0Wxo7PXZq6OeVVymJW/EMFxCwT5SwqjhbIKrrWsWboqAK2ov4aYV1Dmoz2+8o/dLk0HWIsQ7E8RlcuoSvYUJWz8OoF+DOw6P+x6ofIZ/C1S/jvwDP4+hfwT/WMUbJn5HeLj8FxWfgxKJRKS3KcC8tzT4kB5S/gH8Q5ildKd/pJ/MX38yQVlX1UTtK10s19Av7pzYxT5pIsY+nnkoiRsXJS6hy2RONxZ5EVOX9NIyCRftr3eStZ70xr9IJbnjGeT0Zs4gfGtPtAY76I6WC+TJxhdIWNNB5uw9bwsXan0F2sceRJ5g4TqxM3F7lkYXM4aLb1/nhA28rU02btXaMhq3a7J93f2tny6kZ/ou5y6E3NF8vs8S5Gs/XN1Da9VcvnG/3F84m6Tqwent1Nlw0pV8zu43gOaz/a/YnJb1U4sliw1NvMyL1BPPHH35mkt5fyGAVuU9nYdhAY9mMkS1a3sbUR1J6sXqx3kvUCyRuS3OdK4vDasAdxqKQ7hEdajz4wPtm6rNPcbVK7o9+jREuczTxwFZ6g7WrR7K1ydSx0DtmciGkNHkjGvzVYxFMWBKRwIBNycgLFnviENaE6X4aEU7cqbJvRyOFvRomAL4yBhgYRLNwRRjzTuRggsrYvxnpRLSB/DBJJJM3eDBQ3CKsYI6SpGKnidfkNlyC1aA==

Load the blueprint into https://burnysc2.github.io/Factorio/Tools/DecodeBlueprint/ - The compakt circuit has a tag with the blueprint for the model.

  • Duplicate the blueprint, save to inventory.
  • right click the blueprint, then select "new contents for blueprint". Select exactlyt the same compakt circuit again
  • export the blueprint:

0eNqt1VFvgyAQAOD/cs/YDAQU/8qyLNaRhayCAWxmjP99qGn3MEuc9JHz7tMch4xwvvSys0p7qEZQjdEOqtcRnPrU9WWO+aGTUMFVWd+HCAJdt3NgzcgITAiU/pDfUOHpDYHUXnklV2ZZDO+6b8/ShoR7dWParv7yjbJNr3ymTGfmb0DQGRfKjZ5fHciMnQrBy4IhGEL9iYmCM07YNKE/OknWsRAEh+WWnh/Rc1HSfBdPD/A7WPZ/lt6bvMPnR/wbuMMvnuDHZqZMnBly2+ItXKTiWyh+SW7JtovT3VgzMHmCvzZnk8+TJz3KHz6fUZWl/lSiOk8e7gj+8GR21jTSOWMftyRcGdfaqnp9tFwbyss2WL/XUUiR1i0JYYcEFYIxTgWjYXp/AJtNKz8=

The blueprint no longer contains the tags for the processor and the processor is empty.

  • create a new blueprint from the processor. The blueprint has the tags.
1 year, 1 month ago

so I could narrow this down to the on_player_setup_blueprint in processor.lua where does local local bp = get_bp_to_setup(player) which returns nil in case of an already existing blueprint. Adding a or e.stack here fixes this for my use cases (the test above works now) but I am not sure that this is the right fix. I noticed that for on_script_setup_blueprint you are looking at e.stack but not for on_player_setup

1 year, 1 month ago

Thanks for report. Fixed in 2.0.14.

1 year, 10 days ago
(updated 1 year, 10 days ago)

I still seem to be experiencing exactly the bug as described above.

Edit: This behavior happens with the MINI processors; I have not tried to use the full sized ones for anything yet

1 year, 7 days ago

Any news on this bug that has returned ?
(Note that occurs with both processors type)

6 months ago
(updated 6 months ago)

Im also still experiencing this issue. Would love to see this fixed.

Seems to only happen if the bp isnt in your inventory and is instead in the BP library?

19 days ago

I'd like to bump this issue. A quick workaround I'm using is to put the blueprint in my inventory before updating its contents, but this takes many clicks when you want to do so in remote view.

8 days ago
(updated 8 days ago)

Same issue, same experience as Intrebute - especially with Blueprint Sandboxes (https://mods.factorio.com/mod/blueprint-sandboxes), the /editor mode, and the lab, etc - getting to "my inventory" is often a many-click adventure.

(I'm also (probably overly-)concerned about moving blueprints out of my global blueprint library and into this save-file's inventory; if I forget to move them back, or the game crashes, I no longer have a backup of my work, heh.)

Edit 1: Okay, got fed up and tracked down a fix myself! Here's the PR, and as far as I can tell, you can now update blueprints in either of the shelves - from both packed and unpacked circuits: https://github.com/Telkine2018/compaktcircuit/pull/59

Lemme know if you try it and see any errors, it's a feature I kinda can't live without.

New response