Saving takes almost 20 seconds

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
BestMan
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Apr 17, 2016 5:59 am
Contact:

Saving takes almost 20 seconds

Post 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?
Attachments
Revealed map
Revealed map
Unbenannt.JPG (196.79 KiB) Viewed 1736 times

Loewchen
Global Moderator
Global Moderator
Posts: 8577
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Saving takes almost 20 seconds

Post 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

Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: Saving takes almost 20 seconds

Post by Zeblote »

Maybe load a save from before you ran the command and continue from there?

searker
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Fri Nov 27, 2015 3:12 pm
Contact:

Re: Saving takes almost 20 seconds

Post 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.

Shokubai
Filter Inserter
Filter Inserter
Posts: 470
Joined: Mon May 02, 2016 3:17 pm
Contact:

Re: Saving takes almost 20 seconds

Post 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.

Post Reply

Return to “Technical Help”