Page 1 of 10

[MOD 0.15|0.14] Foreman - Blueprint Manager 2.0.1

Posted: Wed Jul 29, 2015 10:11 am
by Choumiko
Original thread, instructions

Foreman 2.0.1 and Factorio 0.15:

This is one of the last updates where Foreman will be able to import blueprintstrings. Use the new vanilla blueprint Library (press B by default) to store your blueprints and create strings.
You can no longer export blueprints, only import them from the old BlueprintString/Foreman format. The new vanilla format will not be supported.
Foreman will (given time) turn into a blueprint manipulation tool.

Download for 0.15|14: Foreman 2.0.1|1.1.2

License: MIT
Version history

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Mon Aug 03, 2015 5:08 pm
by waduk
Sorry, how do i use mass load on new game ?
I already do mass export, and like you said, it was exported in defaultBook.lua.
But copy paste defaultBook.lua content into import text field giving me error.

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Mon Aug 03, 2015 6:58 pm
by ssilk
As I saw, that James gave up this mod ( https://forums.factorio.com/forum/vie ... 510#p96510 ) I moved it to helper mods. ;)

I recommend to rename the mod (I suggest just Blueprint Manager), cause there is a tool with the same name. ( https://forums.factorio.com/forum/vie ... 134&t=5576 ).
I also recommend to move all that stuff into a subboard. If wanted/needed just PM me. :)

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Tue Aug 04, 2015 11:03 am
by Talguy
New Name: Blueprint Manager? Foreman is also an external tool. Or maybe Factocad (autocad for factorio)

I wish the devs would make it so that blueprints could have a name property(for exporting to filename purposes). Maybe it's possible to add it via this mod? Do the blueprints even have something like a primary key(other than serializing the entities)? Maybe discuss that with DaveMcW :)

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Tue Aug 04, 2015 12:03 pm
by Choumiko
ssilk wrote:As I saw, that James gave up this mod ( https://forums.factorio.com/forum/vie ... 510#p96510 ) I moved it to helper mods. ;)
Not sure i'm happy about that, puts pressure on me to keep developing :D
Talguy wrote:I wish the devs would make it so that blueprints could have a name property(for exporting to filename purposes). Maybe it's possible to add it via this mod? Do the blueprints even have something like a primary key(other than serializing the entities)? Maybe discuss that with DaveMcW :)
Foreman/BlueprintManager allows naming of blueprints and exports to Playername__Name.blueprint files. Primary key like something easy to tell whether 2 blueprints are identical? Nothing i know of.

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Tue Aug 04, 2015 12:37 pm
by JamesOFarrell
Choumiko wrote:
ssilk wrote:As I saw, that James gave up this mod ( https://forums.factorio.com/forum/vie ... 510#p96510 ) I moved it to helper mods. ;)
Not sure i'm happy about that, puts pressure on me to keep developing :D
It could be worse. the code could be one big ugly uncommented lua file. :D

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Tue Aug 04, 2015 1:09 pm
by ssilk
Choumiko wrote:
ssilk wrote:As I saw, that James gave up this mod ( https://forums.factorio.com/forum/vie ... 510#p96510 ) I moved it to helper mods. ;)
Not sure i'm happy about that, puts pressure on me to keep developing :D
Sorry about that, was not intended, and is also not needed.

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Tue Aug 04, 2015 10:31 pm
by DaveMcW
Talguy wrote:Do the blueprints even have something like a primary key(other than serializing the entities)? Maybe discuss that with DaveMcW :)
You could hash the serialized entities. There's even a library for it! https://github.com/kikito/sha1.lua

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Wed Aug 05, 2015 8:32 am
by Talguy
Choumiko wrote:[...]Foreman/BlueprintManager allows naming of blueprints and exports to Playername__Name.blueprint files. Primary key like something easy to tell whether 2 blueprints are identical? Nothing i know of.
So it already supports it :) Awesome!

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Fri Aug 14, 2015 11:51 pm
by Urbs
I need some help.

I do a mass export from a .12 save.

I started a new map and when i go to hit mass import, it grabs nothing.

Am i supposed to do something else?

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Sat Aug 15, 2015 12:02 am
by Boogieman14
Choumiko wrote:It will export all the blueprints into a single file (defaultBook.lua in script-output/blueprints). If you want to import them into another save copy the file into the Foreman folder and overwrote the existing one. Load the save and click "l".
So you'll need to extract the mod (or update the zipfile, at least)

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Sat Aug 15, 2015 3:02 am
by waduk
Urbs wrote:I need some help.

I do a mass export from a .12 save.

I started a new map and when i go to hit mass import, it grabs nothing.

Am i supposed to do something else?
You need to update/replace the file "defaultBook.lua"inside mod zip from the one you exported in script output directory.

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Sat Aug 15, 2015 10:55 am
by HellEye
Hey! Just upodated to 12.4 and it seems to not work, was fine in 12.3. When i try to load or save a blueprint it says "No blueprint found in toolbar".

EDIT: Thank you for the fast update :) I downloaded 0.6 before but didn't install it for some reason...

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Sat Aug 15, 2015 11:32 am
by Choumiko
HellEye wrote:Hey! Just upodated to 12.4 and it seems to not work, was fine in 12.3. When i try to load or save a blueprint it says "No blueprint found in toolbar".
Thanks for the report, fixed in the latest version:

version 0.0.6
  • fixed looking in main inventory instead of hotbar
  • only loads a blueprint into an empty one in the hotbar

Re: [0.12.1+] Foreman - Blueprint Manager 0.0.6

Posted: Sat Aug 15, 2015 12:23 pm
by waduk
Thanks for the update. Kinda worry you didn't continue support this mod :(
Edit :
Also, a bug report.
The blueprint never remember the smart inserter logistic network setting. Also happen in previous Foreman version.

Re: [0.12.1] Foreman - Blueprint Manager

Posted: Sat Aug 15, 2015 12:35 pm
by Urbs
waduk wrote:
Urbs wrote:I need some help.

I do a mass export from a .12 save.

I started a new map and when i go to hit mass import, it grabs nothing.

Am i supposed to do something else?
You need to update/replace the file "defaultBook.lua"inside mod zip from the one you exported in script output directory.
Thank you! I did not realize the file was created inside the script output directory.

Re: [0.12.1+] Foreman - Blueprint Manager 0.0.6

Posted: Sat Aug 15, 2015 5:15 pm
by waduk
Btw, why it changes "only load from blank one". Not as convenient as previous version :)

Re: [0.12.1+] Foreman - Blueprint Manager 0.0.6

Posted: Sat Aug 15, 2015 5:48 pm
by Choumiko
Urbs wrote:Thank you! I did not realize the file was created inside the script output directory.
Yeah, a mod can only write in that directory. There are ways around having to copy the file each time you save it but right now i'm not recommending it. Also probably won't work in MP
waduk wrote:Btw, why it changes "only load from blank one". Not as convenient as previous version :)
I found it more annoying than convenient ;)
Could change it to: load into empty blueprint or into first one in hotbar if no empty one is found? I guess if you have all your blueprints in Foreman it doesn't matter.
Oh and overwriting blueprints saves you 1 electronic circuit to erase it.

Re: [0.12.1+] Foreman - Blueprint Manager 0.0.6

Posted: Sun Aug 16, 2015 8:42 am
by waduk
Really ? Haha, we have different very play style then.
With the new load from blank , i end up having too many blueprint in my inventory.
Oh yes, that would be lovely, prioritize load from blank, then if none were found, it changes the first one in hotbar.

Re: [0.12.1+] Foreman - Blueprint Manager 0.0.6

Posted: Sun Aug 16, 2015 9:19 am
by Choumiko
waduk wrote:Really ? Haha, we have different very play style then.
With the new load from blank , i end up having too many blueprint in my inventory.
Oh yes, that would be lovely, prioritize load from blank, then if none were found, it changes the first one in hotbar.
How would you feel if it would require to have an electronic circuit (and use one) in your inventory to overwrite an existing blueprint? Would be more in line with vanilla. Still saves you having to go somewhere in your factory where you have the blueprint already built to create it.