downBGE is a fork of the Blender Game Engine, slimmed down for retro hardware.
Currently, downBGE runs on PC and Nintendo Wii.
- downBGE source
- Stackless Python 2.7
- For editor:
- For Wii runtime:
- devkitPPC for Wii
- GNU/Linux PowerPC toolchain and
qemu-ppc-static
(temporary requirement until cross-build endianness issues are sorted out) - Stackless Python 2.7 port
- Fixed OpenGX
downBGE is intended to be built with SCons running on Python 2.7.
$ git clone https://github.com/I-asked/stackless.git -b v2.7.18-slp-porting stackless-porting
$ cd stackless-porting/
$ echo -e 'ac_cv_file__dev_ptmx=no\nac_cv_file__dev_ptc=no' >config.site
$ export CONFIG_SITE=config.site
$ ./configure --build=x86_64-linux-gnu --host=powerpc-eabi --prefix=$PWD/_install/wii/ \
--disable-ipv6 --enable-optimizations --disable-shared --without-pymalloc \
--without-signal-module --with-threads \
CC=$DEVKITPPC/bin/powerpc-eabi-gcc
$ make -j$(nproc) install
$ cd -
$ git clone https://github.com/I-asked/opengx.git opengx-jula
$ cd opengx-jula/
$ cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE="$DEVKITPRO/cmake/Wii.cmake"
$ cmake --build build -j
$ sudo cmake --install build
$ cd -
$ cd downbge/
$ python2 -m virtualenv .virtualenv
$ . .virtualenv/bin/activate
$ pip install scons
$ scons -Qj$(nproc) \
BF_PYTHON=$PWD/../stackless-porting/_install/wii \
BF_CROSS=wii \
blenderlite