After upgrading to 0.16.21 the save the game and loading a save takes roughly 2 or 3 times longer than it did in 0.16.20
Edit: Tried to upload both a save from .21 and a backup from a few days ago from version .20, but the .21 save file got a file to big error. Compared the two filesizes and the file size from .20 is 24 MB and the filesize from .21 is 148 MB. I have done explored a lot between the two saves, but it was first after upgrading to .21 it slowed down.
I tried to load and save a copy from my old save to check if it would increase in size, but only with 100 KB.
Is there another way to upload?
What else can i do?
[0.16.21] Save and load times alot slower
[0.16.21] Save and load times alot slower
- Attachments
-
- 2nd attemt 0.16.20.zip
- A backup from three days ago, before a lot of exploring (13hours)
- (24.39 MiB) Downloaded 113 times
Last edited by Ringis96 on Thu Feb 01, 2018 5:08 pm, edited 4 times in total.
Re: Save and load times alot slower
Can you post a save that shows this? (preferably the 0.16.20 version of the save)
Re: [0.16.21] Save and load times alot slower
You can upload the other save with dropbox, google drive, one drive, or any other file-sharing service.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.16.21] Save and load times alot slower
OP attached the save to the first post.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.16.21] Save and load times alot slower
The save on the first post loads in the expected 1-2 second time frame.
Without a save file showing the slow loading there's nothing I can do.
Without a save file showing the slow loading there's nothing I can do.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.16.21] Save and load times alot slower
Hopefully you can get the save file with this link:
https://drive.google.com/file/d/1uxHV_q ... sp=sharing
https://drive.google.com/file/d/1uxHV_q ... sp=sharing
Re: [0.16.21] Save and load times alot slower
I looked at your save and it's a multi-part problem.
If you don't want to deal with the save/load times on the huge map don't explore that much.
- [1] You explored a ton of map - which now has to be included in the save file
[2] You aggroed a ton of biters which are now trying to path back to your base to attack you
If you don't want to deal with the save/load times on the huge map don't explore that much.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.16.21] Save and load times alot slower
I really appreciate you taking a look.
I did really think that I had come across a bug, and since everything was my own fault and ignorence, I am very sorry for wasting your time.
Sincerely
Ringis
I did really think that I had come across a bug, and since everything was my own fault and ignorence, I am very sorry for wasting your time.
Sincerely
Ringis
Re: [0.16.21] Save and load times alot slower
Here's a way to shrink a map to just the rectangle your force has built in, plus chunks pollution has already reached:
if you're feeling particularly trusting you can just copy all of that and paste it directly into your game console.
Code: Select all
/c _G.tl={} _G.br={} _G.min=math.min _G.max=math.max _G.s1=game.surfaces[1]
for _,e in next,game.surfaces[1].find_entities_filtered{force=game.forces.player} do
p=e.position
tl={x=min(p.x-64,tl.x or p.x),y=min(p.y-64,tl.y or p.y)}
br={x=max(p.x+64,br.x or p.x),y=max(p.y+64,br.y or p.y)}
end
for c in s1.get_chunks() do
if s1.get_pollution{c.x*32,c.y*32} == 0
and ( c.x<tl.x/32 or c.y<tl.y/32 or c.x>br.x/32 or c.y>br.y/32)
then
s1.delete_chunk(c)
end
end
s1.force_generate_chunk_requests()
Re: [0.16.21] Save and load times alot slower
I appreciate that, but I had already used a deleting chunks command. Thanks anyway tough.quyxkh wrote:Here's a way to shrink a map.....
I had no idea exploring terrain had such a big impact on the game, never would have done if i knew.