Skip to main content

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

What system did you build this on?  I'm using Ubuntu 18.10.  After installing libsdl2_ttf-2.0 I get an error about a missing liblua.so.5.3.  I have liblua 5.3 packages installed, but the file is called lublua.5.3.so on my system.  So, I figure the difference is the distro or something.

I built this on Arch. You could make a copy of your liblua file and rename it to what the game expects, that should work

I found that Ubuntu needs the "libsdl2-ttf-2.0-0" package:

sudo apt install libsdl2-ttf-2.0-0

I tried using LD_PRELOAD on all of the Lua shared library objects and nothing matched. Preloading libraries looks like this:

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/liblua5.3.so.0 ./mooncommander

I couldn't figure out how to run this game on my Ubuntu 18.10 variant.

(+1)

I have added a lua shared object file in the zip folder. Try using it

It helped and I needed one last package: "libsdl2-mixer-2.0-0". Stick it into your Ubuntu play instructions to run:

sudo apt install libsdl2-ttf-2.0-0 libsdl2-mixer-2.0-0

And add a game loading script with:

LD_PRELOAD=./liblua5.3.so ./mooncommander

I was fighting an alien square using my joystick and it terminated with:

./mooncommander: symbol lookup error: ./mooncommander: undefined symbol: SDL_GameControllerRumble

I think you are using an outdated version of SDL2. I've added an SDL2 SO file to the zip file if you want to try again.