Page 1 of 1

Saving takes almost 20 seconds

Posted: Sat Jun 11, 2016 12:51 pm
by BestMan
I revealed a big part of my map with this command:
/c game.local_player.force.chart(game.local_player.surface,{lefttop = {x = -4096, y = -4096}, rightbottom = {x = 4096, y = 4096}})
Tokk really long to generate.

But now saving takes 20 seconds instead of the standard 1!
And it seems to take more and more time with each save.
Is there a solution to it? Maybe some command? "Degenerating" part of the map?

Re: Saving takes almost 20 seconds

Posted: Sat Jun 11, 2016 4:26 pm
by Loewchen
All the map surface you "reveal" gets generated and has to be stored in the save from that time on, if you don't want that to happen do not use the chart command.

Greetings Loewchen

Re: Saving takes almost 20 seconds

Posted: Sat Jun 11, 2016 5:47 pm
by Zeblote
Maybe load a save from before you ran the command and continue from there?

Re: Saving takes almost 20 seconds

Posted: Sat Jun 11, 2016 11:02 pm
by searker
Just to answer both of your questions:

Saving takes longer now since the game has to store data for all those chunks instead of just a few ones.
You cant revert the map-discovery. Either accept it, load a older save or start all over again.

Re: Saving takes almost 20 seconds

Posted: Sun Jun 12, 2016 12:22 am
by Shokubai
That still seems quite long. I've used the command myself on a few games. Are you playing from a thumb drive? Maybe the issue is your write speed.