[0.17.16] How to get some factorio achievments under a minute [Cheese Warning]
Posted: Sun Mar 17, 2019 9:44 pm
I will start with a little story (hope you won't mind).
One day I stumbled upon a vulnerability in Factorio save files. I am certainly not the first one to find it, thus I will not assert anything and I will not reference anyone as I don't know/remember who to reference.
The vulnerability itself is very simple. As Factorio save files are stored in zip archive format, therefore a user that has access to them can change control.lua, which contains game script (this is true even in freeplay).
So, what I did is: I wrote a custom control.lua script and injected it into freeplay save file (for Factorio 0.17.14 - 0.17.16).
Now about the cheesy part.
What you need to do is:
One day I stumbled upon a vulnerability in Factorio save files. I am certainly not the first one to find it, thus I will not assert anything and I will not reference anyone as I don't know/remember who to reference.
The vulnerability itself is very simple. As Factorio save files are stored in zip archive format, therefore a user that has access to them can change control.lua, which contains game script (this is true even in freeplay).
So, what I did is: I wrote a custom control.lua script and injected it into freeplay save file (for Factorio 0.17.14 - 0.17.16).
Now about the cheesy part.
What you need to do is:
- Open Factorio (tested in 0.17.14 - 0.17.16)
- Create new game (it has to be achievement-viable)
- Save it and exit to the main menu.
- Locate the save file on your computer (usually located at C:\Users\YOUR_USERNAME\AppData\Roaming\Factorio\saves for Windows)
- Open your save file archive, then open the the folder you see in it (you should now see control.lua file in a list)
- Copy custom control.lua file into the archive (you can download it from the attached files)
- Forgot initially: you need to enter your name into the quotation marks in the control.lua script you downloaded:
- Save archive if needed
- Navigate back to Factorio and load the game
- In a moment you should see the following appear in the top-left corner of the Factorio window:
- Then you click the checkbox and the menu opens (area of interest is in the red circle):
- Now what you have to do is copy the contents of copy_paste_script.txt (you can also download it from the attached files)
- Paste them into the text field of the "Cheesy Menu"
- And press ENTER
- Your rocket silo is being placed and the rocked is being automatically created (as a cargo for a rocket the raw fish is used)
- While you wait for a rocket to be ready you can open your inventory and there you can find 1 locomotive and some rails
- You can place rail down and a locomotive afterwards to gain an additional achievement
- Wait for a rocket to be ready and launch it (I advise against putting it into the auto-launch mode)
- Enjoy your cheesy achievements