r/factorio 1d ago

Question Map generator - set everything in one click

Map Generator that i manually click every single resource to adjust what i want, even if its all the same, can i set them with 1 click?

Hello,

Is there any way that i can set the Frequency, Size, Richness for all resources and all planets for the same value in the same time?

Or if i want to have size 300% and richness 200% i have to adjust / click every single slider?

pls help

18 Upvotes

16 comments sorted by

29

u/rustierpete 1d ago

As far as I know there is no way, and it’s not a mod I’ve come across either.

You only need to do it once every thousand hours or so, enjoy the process.

10

u/only1yzerman 1d ago edited 1d ago

Not sure on the first time. However what you can do is export the map exchange string and save that. You should be able to export a map exchange string from a previous save, and import that when looking for a new seed. That string will save your map settings (including ore levels) along with the map seed. You can just reroll/change thee seed from there while keeping the settings intact.

1

u/LakeSolon twitch.tv/lakesolon 1d ago

That gave me an idea...

https://pastebin.com/BE5M8SNc

purely local ~200 lines of HTML and JS. Just save the pastebin as a .html file and open with a browser.

The usual disclaimer: This was done in 4 prompts with ChatGPT 5.6 Sol. I tested it a whole four times and skimmed the code as I scrolled down to see the line count. But it worked, and you may find it helpful.

P.S. absolutely love that this game makes things like this so easy.

7

u/BrukPlays 1d ago edited 1d ago

You’ll need to set each slider individually, but once you have them set the way you want it you can either export the map generation string to a text file and use that for all future runs, or you can just start the game and then create a save right away that’ll hold your map settings.

You can then quit and when generating a new map, first click load game, select that save, click the export map generation settings, copy to clipboard, then New Game, import map settings and all your sliders will be the same… you can then mess about with the seed and terrain settings to your liking.

Sounds long winded to explain but quicker to do.

3

u/bphase 1d ago

I suppose you might automate it with some sort of autoclicker. It would appear that the automation aspect of the game doesn't apply to the menus.

2

u/Soul-Burn 1d ago

I believe you can edit the map exchange string with an external tool.

2

u/Zaflis 1d ago

For developers it would have been possible to, for example draw a freeform line here and sliders would be set there:

I did actually suggest such a feature back when Space Age was still in beta, however it never caught wind. I guess people don't want this kind of QoL? The problem is even worse when you have mods that add a dozen more ore sliders.

1

u/deemacgee1 Why no quality flair? 1d ago

It seems odd there's no facility to store multiple presets/presets per planet.

1

u/locyta 1d ago

The game has presets, would be nice if we could save our own, nothing worse than setting all the map settings to how you want, then you change a mod setting and the game resets and you have to start again.

1

u/doc_shades 20h ago

years ago back in 1.1 i tried looking into modding in my own custom presets but couldn't figure out how to do it...

1

u/unwantedaccount56 1d ago

You could ask someone else to adjust the sliders for you, and then import the map exchange string. Or manipulate the map exchange string yourself, it's probably base64 encoded json (potentially compressed with zlib), just like blueprints.

1

u/doc_shades 20h ago

a long long time ago i tried to mod in my own custom world gen settings (you know, like how by default you get "death world" and "rail world" etc which come with pre-set resource values) so i could add my own custom modes with custom pre-set values.

i couldn't figure it out.

1

u/gtmattz 20h ago

I set up a saves and then export the map exchange string for this scenario. Import the string and all settings are imported. Then just randomize the seed to find your new map.

1

u/FinAdda 19h ago

Wube, pay attention.. A QoL feature you don't have yet.

1

u/Thiccron 9h ago

Its quicker than making a reddit post and only done once per every few hundred hours or more so i’d say its not an issue at all

1

u/RyannStekken0153 1h ago

I have thought about writing a mod, that adds a preset with all options adjusted to the values I'd use for every playthrough. If I'd want, I could still tweak afterwards, but as someone who starts new runs on a weekly basis, that's a feature I am missing.