Factorio Cannot generate world/play a saved game.

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.
TheAnonymousThomas
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Dec 05, 2016 1:17 am
Contact:

Factorio Cannot generate world/play a saved game.

Post by TheAnonymousThomas »

I have been unable to play factorio at all today due to an issue I haven't had to deal with in the past. Whenever I load up a save I receive this error:

Code: Select all

Notice. Opening zip C://Users/Me/AppData/Roaming/Factorio/saves/Stream World.zip failed: Result too Large
I'm saddened about that for I finally got all of tier 3 researched, but that is not a major concern.

My major concern is this error right here:

Code: Select all

create_directory(p): invalid arguement: operation not permitted
In my video below you can see that it happens whenever I try to generate the world.
https://www.youtube.com/watch?v=vcDV0m_ ... e=youtu.be

Attached below is a log for Factorio. I have restarted my computer, deleted all local files, and reinstalled countless times. Any help is appreciated.
Attachments
factorio-current.log
(3.9 KiB) Downloaded 74 times
kinnom
Filter Inserter
Filter Inserter
Posts: 706
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: Factorio Cannot generate world/play a saved game.

Post by kinnom »

when did the problem start?
no yes yes no yes no yes yes
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Factorio Cannot generate world/play a saved game.

Post by posila »

Hi, from the log and video you provided, it seems the game doesn't have rights to wipe contents of its temp folder. Try to delete folder %APPDATA%\Factorio\temp yourself and then try to generate new world again.

As for error you get when trying to load a save, it might be caused by the temp folder, but this error is usually caused by corrupted ZIP file that contains saved data. So try to delete temp first and if generating new world works, try to load the save (or some autosave).
TheAnonymousThomas
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Dec 05, 2016 1:17 am
Contact:

Re: Factorio Cannot generate world/play a saved game.

Post by TheAnonymousThomas »

kinnom wrote:when did the problem start?
The Problem started Yesterday, I was playing fine the night before.
posila wrote:Hi, from the log and video you provided, it seems the game doesn't have rights to wipe contents of its temp folder. Try to delete folder %APPDATA%\Factorio\temp yourself and then try to generate new world again.

As for error you get when trying to load a save, it might be caused by the temp folder, but this error is usually caused by corrupted ZIP file that contains saved data. So try to delete temp first and if generating new world works, try to load the save (or some autosave).
This seems to be the issue, inside "Roaming\Factorio\temp\currently-playing" is a folder called locale and when I attempt to access it, I get this error.

Code: Select all

C:\Users\Me\AppData\Roaming\Factorio\temp\currently-playing\locale is not accessible.
The file or directory is corrupted and unreadable.
I tried to delete the folder and cannot. I am unsure of how to proceed.
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Factorio Cannot generate world/play a saved game.

Post by posila »

Does it give you reason why the folder cannot be deleted?

First try to reboot your computer and then delete it again. If that doesn't work, try to run scan disk on C drive (In File Explorer open This Computer, right click C drive and select Properties, navigate to Tools tab and click Check button in Error checking section). After it finishes try to delete the folder again.
TheAnonymousThomas
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Dec 05, 2016 1:17 am
Contact:

Re: Factorio Cannot generate world/play a saved game.

Post by TheAnonymousThomas »

posila wrote:Does it give you a reason why the folder cannot be deleted?

First, try to reboot your computer and then delete it again. If that doesn't work, try to run scan disk on C drive (In File Explorer open This Computer, right click C drive and select Properties, navigate to Tools tab and click Check button in Error checking section). After it finishes try to delete the folder again.
It gives me no reason why I cannot delete the folder, It just doesn't delete. I attempted through normal means and also tried using the command prompt. I am currently running chkdsk on my drive in hopes that it will fix/delete the issue at hand. My computer is currently at 18% so it might take a while. I will be back on with the results of the corruption scan.
TheAnonymousThomas
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Dec 05, 2016 1:17 am
Contact:

Re: Factorio Cannot generate world/play a saved game.

Post by TheAnonymousThomas »

After running a chkdsk scan on my hard drive and waiting two hours factorio is up and running again, and the first place it spawns me is the smallest representation of japan with no resources...
Image

Thank you for all the help in my issues!
Post Reply

Return to “Technical Help”