https://github.com/i-asked/downbge
Blender Game Engine port for the Wii (and other homebrew platforms)
https://github.com/i-asked/downbge
blender game-engine game-engine-3d python2 wii wii-homebrew
Last synced: 5 months ago
JSON representation
Blender Game Engine port for the Wii (and other homebrew platforms)
- Host: GitHub
- URL: https://github.com/i-asked/downbge
- Owner: I-asked
- License: other
- Created: 2024-12-03T09:37:07.000Z (over 1 year ago)
- Default Branch: v2.76b-py2
- Last Pushed: 2024-12-27T18:22:33.000Z (over 1 year ago)
- Last Synced: 2025-04-07T22:51:10.690Z (12 months ago)
- Topics: blender, game-engine, game-engine-3d, python2, wii, wii-homebrew
- Language: C
- Homepage:
- Size: 248 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.textile
- License: COPYING
Awesome Lists containing this project
README
h1. downBGE !https://raw.githubusercontent.com/I-asked/downbge/refs/heads/v2.76b-py2/assets/blencat72.png!
!https://dcbadge.limes.pink/api/server/https://discord.gg/dWtSFYyhtg!:https://discord.gg/dWtSFYyhtg
**downBGE** is a fork of the Blender Game Engine, slimmed down for retro hardware.
!https://raw.githubusercontent.com/I-asked/downbge/refs/heads/v2.76b-py2/assets/screenshot.png!
Currently, **downBGE** runs on PC and Nintendo Wii.
h2. Prerequisites
* "*downBGE* source":https://github.com/I-asked/downbge
* "Stackless Python 2.7":https://github.com/stackless-dev/stackless/releases/tag/v2.7.18-slp
* For editor:
** "downBGE addons":https://github.com/I-asked/downbge-addons
* For Wii runtime:
** "devkitPPC for Wii":https://devkitpro.org/wiki/Getting_Started
** GNU/Linux PowerPC toolchain and @qemu-ppc-static@ (temporary requirement until cross-build endianness issues are sorted out)
** "Stackless Python 2.7 port":https://github.com/I-asked/stackless
** "__Fixed__ OpenGX":https://github.com/I-asked/opengx
h2. Building for PC
**downBGE** is intended to be built with SCons running on Python 2.7.
h2. Building for Wii
h3. Build Stackless Python port for Wii
bc.. $ 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 -
h3. Build "fixed" OpenGX for Wii
bc.. $ 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 -
h3. Build the PowerPC Linux Cross Toolchain
h3. Build the downBGE runtime (@blenderplayer@)
bc.. $ 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