Notes on making a Linux build


For years it's been a popular question to ask me whenever I released something new: if there will be a Linux build.

Since I'm working with Unreal (for the last couple of projects), cross compiling from Windows to Linux seems to be a popular accessible thing. I should at least try!

I just published a Linux build for "individualism in the dead-internet age".
I am absolutely uncertain if it will run. I'm not confident yet in my cross compiling skills. I followed all the documentation carefully. This blog post is here so that I can publish my notes and have a reference for the future, next time I do this.

Ultimately the resource that helped the most was "Prepare your Unreal Engine project for Linux".
There's a tip there for enabling the "Pixel Streaming" plugin. To be on the safe side I did that too!

I had initially published the Arm64 version, since that was the build that didn't error out, but it's also not the right one. You gotta bite the bullet and go for Linux proper!
The problems I had with the Linux build were that plugins I was using were not supported for Linux (or there's still some critical step I'm missing when using Windows to build for Linux). There were workarounds I found online like copying the plugin folder into a Linux folder but ultimately I couldn't figure it out. It would take more hacking and reading, which I didn't have the time for here.
I KNOW it has to be possible. Either way... for this instance I got rid of any use of these plugins and just customized what came with the engine. Linux users will enjoy a slightly different sky and slightly more creative lighting with a cooler bloom effect...


Epic's documentation "Required software and recommended hardware for developing Unreal Engine games with Linux."  was also very helpful and is a link I don't want to lose.

There's obvious issues with cross compiling (mostly my still limited understanding of it) but if I get rid of plugin use, and focus on what comes out of the box, it works smoothly.

Thank you everyone that played it!


Files

Linux.zip 1.4 GB
Aug 28, 2024

Get individualism in the dead-internet age: an anti-big tech asset flip shovelware r̶a̶n̶t̶ manifesto

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

I too appreciate the effort on the Linux build, however it definitely didn't work on my Bazzite system. Something about an unfknown function in libcef.so

So far I haven't been able to run the Windows version under WINE/Proton either, except at 2 FPS.

Ok, I did get the Windows version working with Proton Experimental vai Steam (instead of Bottles).

(+2)

Thank you for putting the effort in, I’ve removed Windows from my life at this point and I don’t want that to mean your games are gone too.

(+1)

Thank you for the effort, much appreciated