Foreman 0.1.9 - A factory optimisation tool.
-
- Long Handed Inserter
- Posts: 55
- Joined: Thu Aug 28, 2014 12:56 pm
- Contact:
Foreman 0.1.9 - A factory optimisation tool.
Update - Version 0.1.9 is here! Get it here!
Requirements:
.Net 4.0 or higher
Visual C++ 2012 x86
I felt like making something to help optimise my factory layouts, so here it is. It generates flowcharts for the item amounts/assembler numbers you need to create specific items at specific rates.
Here's an example flowchart:
http://i.imgur.com/cWYtJhL.png
Here's another example:
http://i.imgur.com/gi33Maf.png
Here's a screenshot of the program:
http://i.imgur.com/Il1hGq4.png
Try it:
- Download link! - https://bitbucket.org/Nicksaurus/foreman/downloads
- Source code! - https://bitbucket.org/Nicksaurus/foreman/src
It should be compatible with any mods you have installed too!
Finally, if you have any suggestions, bugs, untempered vitriol etc. post it here or on the issues page.
Requirements:
.Net 4.0 or higher
Visual C++ 2012 x86
I felt like making something to help optimise my factory layouts, so here it is. It generates flowcharts for the item amounts/assembler numbers you need to create specific items at specific rates.
Here's an example flowchart:
http://i.imgur.com/cWYtJhL.png
Here's another example:
http://i.imgur.com/gi33Maf.png
Here's a screenshot of the program:
http://i.imgur.com/Il1hGq4.png
Try it:
- Download link! - https://bitbucket.org/Nicksaurus/foreman/downloads
- Source code! - https://bitbucket.org/Nicksaurus/foreman/src
It should be compatible with any mods you have installed too!
Finally, if you have any suggestions, bugs, untempered vitriol etc. post it here or on the issues page.
Last edited by Nicksaurus on Sun Jul 05, 2015 4:31 pm, edited 5 times in total.
Re: A tool to help you optimise your production lines.
That's really nice
Re: A tool to help you optimise your production lines.
Very nice stuff. It's a pity it wasn't made using a decent framework.
-
- Long Handed Inserter
- Posts: 55
- Joined: Thu Aug 28, 2014 12:56 pm
- Contact:
Re: A tool to help you optimise your production lines.
?micomico wrote:Very nice stuff. It's a pity it wasn't made using a decent framework.
Thanks!Nirahiel wrote:That's really nice
Re: A tool to help you optimise your production lines.
My post falls on your 'untempered vitriol' category.Nicksaurus wrote:?
Why would I try to install something made in a framework, whose developer doesn't even try to cater to the platform I use? Surely I'm not expected to install a 3rd party framework implementation that may or may not be able to run the stuff. 20th century called, it wants all its non-cross-platform stuff back.
That being said, the resulting flowcharts look nice and the application has a useful purpose.
-
- Long Handed Inserter
- Posts: 55
- Joined: Thu Aug 28, 2014 12:56 pm
- Contact:
Re: A tool to help you optimise your production lines.
Well... fair enough. I personally think Mono's fine as long as it works (which is something I plan to add later on).micomico wrote:My post falls on your 'untempered vitriol' category.Nicksaurus wrote:?
Why would I try to install something made in a framework, whose developer doesn't even try to cater to the platform I use? Surely I'm not expected to install a 3rd party framework implementation that may or may not be able to run the stuff. 20th century called, it wants all its non-cross-platform stuff back.
That being said, the resulting flowcharts look nice and the application has a useful purpose.
Re: A tool to help you optimise your production lines.
Mind if I recode it on a website ?
-
- Long Handed Inserter
- Posts: 55
- Joined: Thu Aug 28, 2014 12:56 pm
- Contact:
Re: A tool to help you optimise your production lines.
I don't really mind what you do with it.Nirahiel wrote:Mind if I recode it on a website ?
Re: A tool to help you optimise your production lines.
Great tool! Congratulations!
Do it wherever you want, Mono is out there to solve this issue. I normally have two approaches: do on the most confortable framework you know, or experiment a new one. Whatever you pick, thanks.
Do it wherever you want, Mono is out there to solve this issue. I normally have two approaches: do on the most confortable framework you know, or experiment a new one. Whatever you pick, thanks.
Re: A tool to help you optimise your production lines.
mind linking the website after you do?Nirahiel wrote:Mind if I recode it on a website ?
Re: A tool to help you optimise your production lines.
Nice Tool! I was planning on making something similar but nothing with as nice a UI as yours has. I gave this a whirl last night whilst building my latest factory and i have to say im quite happy with it!
Re: A tool to help you optimise your production lines.
Obviously i'll give the URL, I'm not doing this for me ^^Tashen wrote:mind linking the website after you do?Nirahiel wrote:Mind if I recode it on a website ?
Re: A tool to help you optimise your production lines.
Nice tool! I was looking for something like this!
Een goeie tukker is geen motherfucker!
Re: A tool to help you optimise your production lines.
Excellent tool, very useful!
Have you given any thought to how to balance petrochemical products with cracking recipes? It appears that currently the program tries to draw from each source of a thing equally, meaning that if you have a plastic plant drawing from a light oil cracker and from refineries directly, it'll try to get equal amounts of gas from both, which is way out of balance on the supply side.
Have you given any thought to how to balance petrochemical products with cracking recipes? It appears that currently the program tries to draw from each source of a thing equally, meaning that if you have a plastic plant drawing from a light oil cracker and from refineries directly, it'll try to get equal amounts of gas from both, which is way out of balance on the supply side.
-
- Long Handed Inserter
- Posts: 55
- Joined: Thu Aug 28, 2014 12:56 pm
- Contact:
Re: A tool to help you optimise your production lines.
I agree, the optimisation is very basic at the moment. The best way I can think of to sort it out is to express the entire graph (with all possible recipes in it) as a linear programming problem, then solving it to minimise the inputs and removing any nodes that have a rate of 0 after that.Penrif wrote:Excellent tool, very useful!
Have you given any thought to how to balance petrochemical products with cracking recipes? It appears that currently the program tries to draw from each source of a thing equally, meaning that if you have a plastic plant drawing from a light oil cracker and from refineries directly, it'll try to get equal amounts of gas from both, which is way out of balance on the supply side.
To be honest it's not something I have any real experience with though. I'm putting it off until I've sorted out some of the immediate problems people are having.
Re: A tool to help you optimise your production lines.
Precisely the conclusion I came to as well. I'll take a crack at it - watch for more pull requestsNicksaurus wrote:The best way I can think of to sort it out is to express the entire graph (with all possible recipes in it) as a linear programming problem, then solving it to minimise the inputs and removing any nodes that have a rate of 0 after that.
Re: A tool to help you optimise your production lines.
Its an amazing tool. Great help to keep things neat!!
I love the presentation too. Many Thanks!
I love the presentation too. Many Thanks!
Re: A tool to help you optimise your production lines.
Nice tool. And it actually supports Ubuntu. I swapped the two conditions near DataCache.cs:184 because it complained about "/home/…/.config/Factorio" which doesn't exist.
I think it makes sense to swap them so the if condition matches what is passed to GetDirectories, but I haven't tried to understand what these are good for.
I had to compile NLua for Ubuntu, which is not that hard. If everything related to this tool including the tool itself was officially under a free license, it should be possible to set up a PPA so it's easier for others to install. Of course, Winforms using mono look a little ugly, but I can certainly live with that
Edit: Just noticed that Assemblers are not displayed in my flowcharts. Or maybe I'm doing it wrong.
Edit 2: So this is why:
Edit 3: No need to tell my user name
Edit 4: I sent a pull request.
Code: Select all
if (Directory.Exists(FactorioDataPath))
I had to compile NLua for Ubuntu, which is not that hard. If everything related to this tool including the tool itself was officially under a free license, it should be possible to set up a PPA so it's easier for others to install. Of course, Winforms using mono look a little ugly, but I can certainly live with that
Edit: Just noticed that Assemblers are not displayed in my flowcharts. Or maybe I'm doing it wrong.
Edit 2: So this is why:
Code: Select all
try
{
Console.Out.WriteLine("loading file "+f);
lua.DoFile(f);
}
catch (NLua.Exceptions.LuaScriptException e)
{
Console.Out.WriteLine("file failed");
failedFiles[f] = e;
}
Maybe I can debug this more, but now I'm out of time.loading file /home/…/factorio/data/base/prototypes/entity/entities.lua
file failed
Edit 3: No need to tell my user name
Edit 4: I sent a pull request.
Re: A tool to help you optimise your production lines.
I grabbed the source and compiled it with exactly zero problems in Visual Studio 2012. Fantastic application. What license is it under?
- Karosieben
- Long Handed Inserter
- Posts: 58
- Joined: Sun Aug 31, 2014 9:21 pm
- Contact:
Re: A tool to help you optimise your production lines.
Thanks for this awesome tool!
it really helps me out, balancing my factories.
Maybe i'll do a LP Series
it really helps me out, balancing my factories.
Maybe i'll do a LP Series
My german YouTube Channel: Karosieben
My Factorio Let's Plays: Singleplayer, Multiplayer and Tutorials
My Factorio Let's Plays: Singleplayer, Multiplayer and Tutorials