Page 1 of 1
Max blueprint string length to paste into import?
Posted: Sun Mar 30, 2025 1:20 am
by travvo
I'm working on something that involves creating blueprint strings with python, exporting into .txt files to be copied into Factorio. The thing is...these strings are rather large. On the order of 6 or 7 million characters, ~6 or 7 mb in size. Based on my testing, it seems that there's an upper limit to the length of string you can paste into the import blueprint string window. I can paste in 250,000 characters, but not 300,000. Meanwhile I am able to copy and paste 1,000,000 character strings between different text editors just fine (Linux Mint). I also happen to know that I can create and use blueprints of this size within the game, I simply can't import them.
Has anyone dealt with this issue? Is there a way to increase the blueprint character limit cap? Should I be making a thread in requests?
Re: Max blueprint string length to paste into import?
Posted: Sun Mar 30, 2025 3:48 am
by travvo
For further context: I am working on a color image printer, which prints items onto belts to render the image. The printer itself prints images just over 2 megapixels (3000 x 720). The images are stored as signal values in banks of combinators, 720 combinators with up to 750 distinct signals each.
I've confirmed that Factorio is able to import a blueprint string that's millions of lines long. I had to break the string into 17 pieces (250000 each) and copy them each in individually, but then it worked as intended. I simply can't copy in the entire string in one go:

- screenshot-tick-47880051.png (31.06 MiB) Viewed 509 times
Re: Max blueprint string length to paste into import?
Posted: Sun Mar 30, 2025 6:23 am
by Jap2.0
Re: Max blueprint string length to paste into import?
Posted: Sun Mar 30, 2025 1:49 pm
by travvo
Thank you! Unfortunately, switching to Wayland did not resolve this issue for me. I have an AMD graphics card and the game appears to be running fine post-switch, but I still can't paste large strings

. Restarted my machine and everything.
Re: Max blueprint string length to paste into import?
Posted: Sun Mar 30, 2025 4:51 pm
by Jap2.0
travvo wrote: Sun Mar 30, 2025 1:49 pm
Thank you! Unfortunately, switching to Wayland did not resolve this issue for me. I have an AMD graphics card and the game appears to be running fine post-switch, but I still can't paste large strings

. Restarted my machine and everything.
Huh, that might be worth another report (or post in that thread)? Or on X dragging and dropping a file containing the string should work.
Re: Max blueprint string length to paste into import?
Posted: Sun Mar 30, 2025 5:49 pm
by travvo
Jap2.0 wrote: Sun Mar 30, 2025 4:51 pm
travvo wrote: Sun Mar 30, 2025 1:49 pm
Thank you! Unfortunately, switching to Wayland did not resolve this issue for me. I have an AMD graphics card and the game appears to be running fine post-switch, but I still can't paste large strings

. Restarted my machine and everything.
Huh, that might be worth another report (or post in that thread)? Or on X dragging and dropping a file containing the string should work.
Dragging and dropping the .txt file into the import window in Factorio totally worked! Just did it with a blueprint that was 5.8 mb. Thank you so much!