Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How do you export a game from UPBGE to linux? Sorry I'm new to this.

Just tbh: I personally would like to say thank you for the amazing artworks you did! I follow you on instagram since March/2023 when I started playing around with blender, I did some liminal stuff too but you make the greatest ones. (my profile is @dr3am.stack)

To export the game nativelly on Linux you need to use a linux system for this, like Ubuntu, Manjaro, Debian, etc.
Then with UPBGE and Blender installed on it, you go to compile as game, but will be there a different option, "for linux".
You can do it through a virtual machine with VirtualBox, maybe take some time to export but to just export it will use the CPU, maybe there is no problema. Another point: There are some caveats when exporting a game on another system, some adjusts maybe need to be made.

If there is no problem for ya, you can host the source files of the game so I can download and I can compile it for Linux. I use linux as my main system and I did some things on UPBGE in the past, I can help you to improve the game too. Would be a pleasure and such a honor to help one of my favorite artists! 

thanks, that's great to hear. do you have like a link to a tutorial on how I can do this? also, any help would be great! thanks for the offer

This video will help ya. Where are you from? I'm from Brazil

thanks, im from the philippines.

i just saw the video, it only showed how to export the blend to an .exe file tho

The caveat is: You must be running a Linux system, not Windows 10 or Windows 11 when doing it. UPBGE will automaticaly indentify the system and export accordingly. Take another look on the video I send ya, he exports the game but the generated file doesn't have an .exe extension. He is running through a Linux Mint operational system.

Running UPBGE on Linux, to export, same as Windows, go to Edit, Preferences, Add-Ons and then look for “Save As Game Engine Runtime”. When exporting, it will export as bin for Linux. It is a file called "game", without the .exe extension. Some guys show this as a game.bin file, with .bin extension.

That's the reason I sugested to me to help ya building the game on Linux, I just open the project file here and when exporting, it will export for Linux. I can upload on google drive or another platform, so you can take a look on the file before uploading to itch.io.

I tried the virtualbox method, but UPBGE just crashes every time

Maybe it is looking for GPU, on virtual box it simply doesn't work.
Need to be running directly through hardware.... PITA but.... it is the way to do it ;/

I just released a linux version, check the game page. This version is different than the windows' one tho, like it has different environments in it. Let me know if it runs.

Thank you so much! Worked like a charm, recognizing my 3 monitors.
The shadows are with too much aliasing, but that's the only problem I've seen there.