vasiliy wrote
thank you!
basically, you need
k8jam, and it should do the rest. k8jam has no external dependencies, and should be buildable with provided shell script, producing single standalone binary. it need not to be installed.
then "k8jam config --help" will show configure options. but i'm not sure if all of them work. i believe that "k8jam config" should work, tho. then "k8jam" again to build the binary. do not try to install it, this is not supported yet. just run from where it built.
please, note that 64-bit builds are not supported, so you will need 32-bit support installed. k8jam should automatically add "-m32" flags on 64-bit system (i hope

. also, SDL2, SDL2 Mixer, zlib, libpng 1.6, and working OpenGL libs. k8jam will detect them and complain. also, i believe that ALSA is required for sound, due to one callback in the source; it can be disabled, tho; everyhting it does is silences ALSA "pcm buffer underrun" errors. i'll add libalsa detection to configure later.
i believe that's it. everything should be fairly starightforward.
Finally I got around to compiling this on stock Ubuntu 22.04 (jammy).
First I installed k8jam, which worked like a charm.
I had to install 32-bit libraries for SDL2, SDL2_mixer, and libpng as well as multilib versions of gcc and g++ to support 32-bit build.
Used
sudo apt-get install gcc-multilib g++-multilib libSDL2-dev:i386 libSDL2-mixer-dev:i386 libpng-dev:i386
Then k8jam config gave me:
configuring...
WARNING: 64 bit arches aren't supported. forcing 32-bit build.
checking for SDL2 ... found
checking for OpenGL ... found
checking for ZLib ... found
checking for libpng ... found
checking for SDL2 Mixer ... not found
checking for ALSA ... found
CFG: using saves in $HOME
MESSAGE: Now you can run 'k8jam' to build software.
with "SDL2 Mixer ... not found". But then I just opened "jamrules.auto.configure" and replaced these lines:
# SDL2 Mixer
DEFINES += DISABLE_SOUND ;
with
# SDL2 Mixer
LINKLIBS.all += -lSDL2_mixer ;
and then typed k8jam and it compiled successfully. I'm not sure why it didn't pick up the SDL2_mixer 32-bit development lib during the k8jam configure step, but it was logical to work around.
Very pleasant playing experience vasiliy, and great ergonomic improvements, thanks heaps!