Resource Spawner Overhaul

by orzelek

Makes resources more sparse than base game. You will need to use trains much earlier to get resources. Game will be more difficult especially with higher enemy settings.

Tweaks
25 days ago
0.14 - 2.0
145K
Environment

b RSO is the source of performance issues?

5 years ago
(updated 5 years ago)

I've started running into an issue in my game around 4-5 days ago and after taking an extensive look at the debug information I've come to the conclusion that RSO is the source of my issues.

The primary issues I've been running into is extreme frame/performance drops every couple seconds, we're talking from about 60FPS to 30FPS. On top of that it takes an extremely long time to save my game, around 5 minutes. It never used to be like this, my computer is capable and saving was almost instantaneous up until this issue appearing 4-5 days ago.

Here is a screenshot of the debug info: https://i.imgur.com/xbLuMYu.jpg

I took note of this detail right here: https://i.imgur.com/yHKo5GB.png
mod-rso-mods first value is constantly jumping between ~3.000 to even as high as ~15.000 and the FPS drops farther the greater the number gets.

If I have to upload my save, mods, or anything logs please let me know. I'd love to continue using this mod and playing my save as it is my first save/time playing factorio. Thank you :)

You can reach me at Sleepyhead#0001 on Discord if anyone has any questions or answers.

Edit* I went ahead and uploaded my mods folder and save for ease of access.
Save: https://www.dropbox.com/s/4rjkikr7tlqs5ia/Mico%20Mod%20%5B2%5D%20v2%20-%20Copy%20ver2.zip?dl=0

Mods: https://www.dropbox.com/s/h31uae606dbvrw7/mods.rar?dl=0

5 years ago

I looked into it and I there are two things - good and bad one :D
Good one is that if you wait long enough it will stop stuttering. Stutter comes from the fact that there is a huge map generation queue (17k chunks on save load) so it's constantly generating lots of map chunks. RSO has a lot of things to spawn and that causes stuttering. That queue will clear up and regular stutters will stop.
Bad news is that it looks like you were hit by the pollution bug or a buggy mod. Those chunks generation requests go as far as 30k+ coordinates. So your save has huge amount of chunks generated that you won't ever use most likely. This is why save itself is so big and saves so slowly. You could try delete chunks mod but it will mess RSO a bit since RSO doesn't handle chunk deletion. Or go back to save from before all of this happened (it will be significantly smaller) and continue from there.

5 years ago

As it turns out, using a chunk deletion mod solved both the issues of the stuttering and the save size.

Thank you so much I appreciate it a ton. You've been an amazing help. I wish you the best in the future and I will continue to support your mod(s) :)

5 years ago

I need to warn you that deleted chunks might not have resources any more after being generated again.
You would need to call resource regen (/rso-regenerate) but that will also respawn biter bases and already mined resources.
I was thinking few times how to make RSO work with chunk deletion mods but I'm running into non trivial issues and didn't find a good method that would work yet.

New response