Update ruined years long map?
Update ruined years long map?
Please tell me this map is not forever lost
- BattleFluffy
- Fast Inserter
- Posts: 200
- Joined: Sun Mar 31, 2019 4:58 pm
- Contact:
Re: Update ruined years long map?
Hello, I know what causes this from my experience with making scenarios. The latest update has changed the global storage table's name. It used to be called "global". It's now called "storage".
To fix the problem, you'll need to navigate to the folder where your savegame is stored. Open the savegame .zip and look inside for a file called "freeplay.lua"
Open this file in a text editor such as Notepad. Inside, you'll find various references to "global". All of these need to be changed to "storage"
So for example, the error message is saying that line 194 of the file contains a reference to "global". You'll need to go and look at what is on that line, and somewhere on the line it will have the word "global", and you just need to change that to "storage".
If you have "Find and Replace", you can use that to quickly fix the entire file by replacing all instances of "global" with "storage".
Here's another example just to make it really clear. Previously I had a line like this:
And the fixed version looks like this:
So, if you do that process for your freeplay.lua file then it should fix it. :> Maybe back the whole thing up before starting, just in case!
To fix the problem, you'll need to navigate to the folder where your savegame is stored. Open the savegame .zip and look inside for a file called "freeplay.lua"
Open this file in a text editor such as Notepad. Inside, you'll find various references to "global". All of these need to be changed to "storage"
So for example, the error message is saying that line 194 of the file contains a reference to "global". You'll need to go and look at what is on that line, and somewhere on the line it will have the word "global", and you just need to change that to "storage".
If you have "Find and Replace", you can use that to quickly fix the entire file by replacing all instances of "global" with "storage".
Here's another example just to make it really clear. Previously I had a line like this:
Code: Select all
global.created_items = global.created_items or created_items()
Code: Select all
storage.created_items = storage.created_items or created_items()
So, if you do that process for your freeplay.lua file then it should fix it. :> Maybe back the whole thing up before starting, just in case!
Re: Update ruined years long map?
Just deleting all lua files in the save game will probably also fix the problem.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Re: Update ruined years long map?
Thank you for these suggestions.
Re: Update ruined years long map?
If you've got something you've been working on for years, why would you run the update? Just run whatever version of Factorio you built the map in and don't update.
-
- Burner Inserter
- Posts: 9
- Joined: Sat Nov 02, 2024 8:21 pm
- Contact:
Re: Update ruined years long map?
Hey Fluffy! I just wanted to say I miss hanging with you and the crew on 24/7 nightmare worldBattleFluffy wrote: ↑Sun Oct 27, 2024 10:09 pmHello, I know what causes this from my experience with making scenarios. The latest update has changed the global storage table's name. It used to be called "global". It's now called "storage".