TinyFactorio - make your Factorio installation 88% smaller!

Enhance Your Overall Game-Play.
Mod-Database, Calculators, Cheatsheets, Multiplayer, Scripts, Libs and Other Useful Stuff.
Post Reply
iivmok@gmail.com
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue May 16, 2017 1:38 pm
Contact:

TinyFactorio - make your Factorio installation 88% smaller!

Post by iivmok@gmail.com » Thu Feb 14, 2019 3:16 pm

Hey.

Wrote a little tool to strip everything possible from a Factorio installation.
From 1044 mb to just tiny 128 mb.

Written in python, but there's also an easy-to-use .exe build that you can place in your Factorio directory make it much smaller.

This process is not reversible.

- Replaces all ambient music sounds with silence
- Replaces all non-english fonts with a empty dummy .ttf file
- Replaces all high-resolutin png's with dummy .png files
- Packs factorio.exe with UPX
- Removes the tests and doc-html directories
- Removes debugging info
- Removes changelog
- Removes campaign
- Runs pngquant on all >100kb png files

If you zip up the tiny'ied installation back up, its just 111 mb:

tinyfactorio.png
tinyfactorio.png (26.17 KiB) Viewed 3467 times

Source code: https://github.com/iivmok/tinyfactorio (CC0 License - public domain)
Exe download: https://github.com/iivmok/tinyfactorio/releases/tag/1

:heart: Happy Valentines day!

arrow in my gluteus
Inserter
Inserter
Posts: 32
Joined: Mon Apr 24, 2017 1:52 pm
Contact:

Re: TinyFactorio - make your Factorio installation 88% smaller!

Post by arrow in my gluteus » Fri Feb 15, 2019 12:32 pm

I don't think it's very smart to use your email as your username. Don't you get a lot of spam due to this?

luc
Fast Inserter
Fast Inserter
Posts: 138
Joined: Sun Jul 17, 2016 9:53 pm
Contact:

Re: TinyFactorio - make your Factorio installation 88% smaller!

Post by luc » Thu Feb 21, 2019 11:48 pm

Nah, gmail is enough of a monopoly that it cannot have a spam problem: it just drops everything into the spambox unless the sender uses one of a handful of mail servers (such as gmail itself, hotmail, and a few others). Did my email not arrive? Surely Google cannot do it wrong, it must be the sending server's fault! (Disgruntled mail server owner here.)

Anyway, this is a little off topic :P

What sounds are the ambient sounds exactly? In case it's the background music, I enjoy that. Is there an option to customize what it removes/compresses?

Post Reply

Return to “Tools”

Who is online

Users browsing this forum: No registered users and 2 guests