Development
How to build
Requirements
- devkitPro r18 (buildscripts 20060412)
- You need to use version r18. Do not use the latest release!
Steps
Execute the following commands in Terminal.
git clone --depth 1 https://github.com/pqrs-org/BulletGBA.git
cd BulletGBA/bulletgba/
make
How to replace graphic resources
Steps
-
Download tools.tar.gz
-
Execute following commands to setup gba-tools.
mkdir ~/gba cd ~/gba tar zxf tools.tar.gz cd tools/bmp2c make clean all
-
Modify graphic resources under
bulletgba/images
. -
Execute following commands to convert graphic resources.
cd bulletgba/images/ ./conv.sh
How to add BulletML
Requirements
You need PHP 5.0+ to convert BulletML to C++.
Steps
-
Extract source code.
-
Put BulletML to
bulletgba/generator/data/xml/user
. -
Execute following commands to convert BulletML into C++.
cd bulletgba/generator/ make copy all
Supported BulletML
The most BulletML are supported. But there are little exception.
-
<accel>
does not work properly. -
<*Ref>
which contains$rand
in<param>
does not work properly.<fireRef> <param>1.0 * 3.4 + 4.2</param> <!-- *** This line works fine. *** --> <param>$rand + 1</param> <!-- *** This line does not work properly. *** --> </fireRef>
Thanks
BulletGBA uses following softwares and data.