BooBoo build instructions
Posted by tremblin on 2024-10-18, 9:34pm
Avatar

These instructions are for Debian 12. Additional Windows instructions are
below. These instructions are similar for any of our games using Shim, only
you will not use twinkle and will usually use wedge too.

1) sudo apt install libsdl2-dev libfreetype-dev libglm-dev cmake git libflac-dev libogg-dev libvorbis-dev libpng-dev

2) git clone https://codeberg.org/CMYKilluminatiNetwork/tgui6.git
   git clone https://codeberg.org/CMYKilluminatiNetwork/shim5.git
   git clone https://codeberg.org/CMYKilluminatiNetwork/booboo.git
   git clone https://codeberg.org/CMYKilluminatiNetwork/twinkle.git

3) cd twinkle
   g++ -c -O2 twinkle.cpp
   ar rc libtwinkle.a twinkle.o
   ranlib libtwinkle.a

--

This shell script is used to run cmake... change the paths (trent/code)
to suit your paths.

build.sh:

cmake .. -DCMAKE_BUILD_TYPE=Release -DUSER_INCLUDE_PATH="/home/trent/code/tgui6/include;/home/trent/code/shim5/include;/usr/include/SDL2;/usr/include/freetype2;/home/trent/code/shim5/external/SDL2_ttf-2.0.14;/home/trent/code/twinkle" -DUSER_LIBRARY_PATH="/home/trent/code/tgui6/build;/home/trent/code/shim5/build;/home/trent/code/twinkle"

--

4) cd tgui6
   mkdir build
   cd build
   sh ../../build.sh
   make -j

5) cd shim5
   mkdir build
   cd build
   sh ../../build.sh
   make -j

6) cd booboo
   mkdir build
   cd build
   sh ../../build.sh
   make -j

7) You now have BooBoo.exe and BooBooCLI.exe (or without exe on Linux.)
   Remember that BooBoo.exe needs an app, the default is booboo.git/data
   which is a default launcher.

--

Windows specifics:

You can download all the dependencies (this has everything for all our games
on Codeberg too) from:

https://cmykilluminati.net/files/mingw32-deps-20241018.zip

This has a build.sh like above that's a little different. Change the paths
as relevant.

You will also need to setup an MSYS2 MinGW32 environment which is something
I haven't documented yet. You specifically need to install the packages
prefixed with mingw32 like gcc and cmake.
Replies (1)
Posted by tremblin on 2024-10-18, 10:17pm
Avatar
When something isn't installed on MSYS2, I run pacman -Ss to search then scroll up, select the package name (minus the mingw32/ prefix) and run pacman -S package. You also need pacman -S make.
Post a Reply

Please log in to reply.

© 2024 CMYKilluminatiNetwork