Factorio

I finished Factorio for the first time in just under 50 hours. I waited for the 1.0 release to play it and it was well worth it.

What is Factorio?

The premise in Factorio is: you are an engineer/scientist that has crash landed onto an alien planet. This planet has Earthly natural resources such as trees, water, iron ore, copper, oil and uranium. Your goal is to use these resources to launch a rocket (and leave!).

Watch these amazing trailers for more:

My First Base

Click the image below to open a 45MB 16384x16384 image

base thumbnail

Watch my rocket launch:

Blueprints

Mods

Stats

Items

items

Fluids

fluids

Buildings

buildings

Pollution

pollution

Kills

kills

Electricity

electric

How I took a screenshot

At the the middle of my base and ran the console command:

/c game.take_screenshot{resolution = {x = 16384, y = 16384}, zoom = 0.4, show_entity_info = true}

This produced a 665.6MB file. GitHub has a 100MB file limit so I had to get it smaller.

To compress that down I converted it to JPEG, a lossy format, to bring it to 146.9MB:

$ magick convert orig.png new.jpg

Then following PageSpeed Insights I took it down to 70 quality from the recommended 85 to bring it down to 47.9MB. I didn't find the loss in quality to be noticeable to a quality setting of 80 or 90, but did see it in 60.

$ magick new.jpg -sampling-factor 4:2:0 -strip -quality 70 -interlace JPEG -colorspace sRGB 70.jpg

Finally I threw it in ImageOptim/FileOptimizer to take another few KBs off it. Guetzli couldn't be run on it as the image as it was too large. The image is 268,435,456 pixels so I would've required 80GB of memory (300MB per megapixel) and 80 minutes of CPU (1 minute per megapixel). It is possible to remove this limitation by removing these lines of code.

$ guetzli new.jpg new-guetzli.jpg
Image too large