I was looking at the normal way that factorio generates resources today, and noticed that there's a built-in way to provide a piece of lua code for factorio to calculate richness and probability values for ores for an individual tile.
Now I started wondering, if it would be possible to change RSO, so that instead of generating ores using a custom function in control.lua, it would generate ores using the same custom function, but inside of autoplace-expression functions.
This would allow the map preview to work, and it might even increase performance a little bit, since iirc, generating new chunks was one of the things that was done multi-threaded in the base game.