[0.17.16] How to get some factorio achievments under a minute [Cheese Warning]

Post all other topics which do not belong to any other category.
Post Reply
k-Knight
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jan 18, 2018 1:09 pm
Contact:

[0.17.16] How to get some factorio achievments under a minute [Cheese Warning]

Post by k-Knight »

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:
  1. Open Factorio (tested in 0.17.14 - 0.17.16)
  2. Create new game (it has to be achievement-viable)
  3. Save it and exit to the main menu.
  4. Locate the save file on your computer (usually located at C:\Users\YOUR_USERNAME\AppData\Roaming\Factorio\saves for Windows)
  5. Open your save file archive, then open the the folder you see in it (you should now see control.lua file in a list)
  6. Copy custom control.lua file into the archive (you can download it from the attached files)
  7. Forgot initially: you need to enter your name into the quotation marks in the control.lua script you downloaded:
    screen_4.jpg
    screen_4.jpg (22.26 KiB) Viewed 1836 times
  8. Save archive if needed
  9. Navigate back to Factorio and load the game
  10. In a moment you should see the following appear in the top-left corner of the Factorio window:
    screen_1.jpg
    screen_1.jpg (15.54 KiB) Viewed 2023 times
  11. Then you click the checkbox and the menu opens (area of interest is in the red circle):
    screen_2.jpg
    screen_2.jpg (26.28 KiB) Viewed 2023 times
  12. Now what you have to do is copy the contents of copy_paste_script.txt (you can also download it from the attached files)
  13. Paste them into the text field of the "Cheesy Menu"
  14. And press ENTER
  15. Your rocket silo is being placed and the rocked is being automatically created
    (as a cargo for a rocket the raw fish is used)
  16. While you wait for a rocket to be ready you can open your inventory and there you can find 1 locomotive and some rails
    screen_3.jpg
    screen_3.jpg (23.28 KiB) Viewed 2023 times
  17. You can place rail down and a locomotive afterwards to gain an additional achievement
  18. Wait for a rocket to be ready and launch it (I advise against putting it into the auto-launch mode)
  19. Enjoy your cheesy achievements :P
Attachments
control.lua
A custom control.lua script to insert into your save
(16.78 KiB) Downloaded 76 times
copy_paste_script.txt
A script you should enter into the cheat text field
(3.13 KiB) Downloaded 259 times
Last edited by k-Knight on Thu Mar 21, 2019 1:44 am, edited 5 times in total.

k-Knight
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jan 18, 2018 1:09 pm
Contact:

Re: [0.17.14] How to get some factorio achievments under a minute [Cheese Warning]

Post by k-Knight »

It should be mentioned that I do enjoy playing Factorio legitimately more. I did it just for fun.

k-Knight
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jan 18, 2018 1:09 pm
Contact:

Re: [0.17.14] How to get some factorio achievments under a minute [Cheese Warning]

Post by k-Knight »

Please pay attention to step 7. I forgot to mention it initially. My bad.

k-Knight
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jan 18, 2018 1:09 pm
Contact:

Re: [0.17.14] How to get some factorio achievments under a minute [Cheese Warning]

Post by k-Knight »

Updated custom control.lua script:
control.lua
Updated control.lua script
(16.78 KiB) Downloaded 105 times

Now it should be able support (if you have any issues, then tell me)
  • Staring rainbow color change for different players
  • Changing the speed of the game
  • Possibly is multiplayer-safe (apart from console for obvious reasons)

Post Reply

Return to “General discussion”