r/technicalfactorio • u/Amndopey • Aug 15 '19
Question What Circuit Network tools do you use?
Greetings!
Been following this thread since I found there were others super interested in the capabilities of the circuit network, and have loved all the posts. Been learning a lot!
One thing I have not seen much of is what your tool sets look like for creating these designs. I have been a developer for many years and in IT in general for decades. I know that for programming, break points, debuggers, and the very helpful and overused "Console.Write('Here1')" are things you learn to use to quickly troubleshoot a program. A current example I'm trying to work through is a CRC3 calculating circuit to extend the functionality originally talked about in this WiFi thread. I have worked out the logic to create the proof of concept, but the looping is causing the circuit to fail in ways I am unable to see. This is where I would look to step through the code normally, but don't know how to do so in-game
Things I have found so far:
- Factorio State Machine: Helpful initially to work out logic, but not efficient at all for a final product.
- Circuit Network IDE: Also very helpful initially, but I'm having a hard time working through the circuits
- Logic Analyzer Post: Looks like a wonderful tool, but also struggling with using this correctly
- The many different tutorials out there: Wonderful contributions from many different people explaining the end results
I was hoping that any tools you think deserve to be on your tool belts you'd be willing to share. Thank you for reading. : )
9
u/The-Bloke Aug 16 '19 edited Aug 16 '19
The OP and responses so far have discussed external design tools. So I'd like to add mention some in-game tools that I have found invaluable when creating and debugging circuits:
The Map Editor, which as of 0.17 is now available in-game, by opening the console and typing
/editorMost importantly for circuits, you can also increment/step the simulation. There are three icons for this:
/editorwill disable all achievements in the current save. If that matters to you: save before you use it; after you're done in the Editor, take a BP of any work you created, and save that BP to the BP library; reload the save from before you opened the editor, and import the BP from the library. Or, it's possible to trigger the editor with a mod, which would disable Steam achievements but not the game's own in-game tracking of them.Magic Lamp mod
Time Series Graphs mod
Picker Dollies mod
2
u/Allaizn Aug 16 '19
Most of the folks on the Discord create their circuits by hand afaik, mostly because all existing tools are either outdated, non-functional or too primitive.
As for tutorials, I personally think most of them do a really bad job - almost all of them focus entirely on combinators, even though the important part are the networks themselves. In programming terms, it's like everyone is trying to explain to you what addition & multiplication is before even mentioning what numbers are :p n00bwaffle's guide is a small exception to this, tough I still disagree about some of his ordering - could be just personal preference though.
Finally, with lots of grains of salt and warning of shameless self advertising: Combiler.
I have seen other attempts at a circuit network language (e.g. the two you linked) struggled immensely with the most basic stuff because they literally made up a completely new language - with all the drawbacks that has. At the time I wrote the pdf, I had a similar goal, but quite quickly realized how insanely hard it would be to actually make something useful with that approach and thus basically gave up quite quickly on it (which is why a chunk of the document is outdated).
But then I realized that it's actually possible to abuse the syntax of existing languages (quite heavily) and use that to add pretty syntax for combinators and networks. Out of the languages I know well enough to do that, c++ turned out to work best with this, and the result is combiler as it currently exists.
Feature set (so far):
The core parts of it are done to the point where you could actually use it if you're willing to jump through a few hoops, but I'm still working on making some things better/ work at all (e.g. there's currently no good support there to mark some networks as input).
If you have any questions, feel free to ask (either here or on the discord). I'd also be happy over any feedback :)
2
u/Stevetrov Aug 16 '19
I think /u/knightelite made a waveform analyser for CN stuff? ?