Email: Takayama Fumihiko <tekezo@pqrs.org>
> Top > GBA

BulletGBA

Download

Current

Old

Document

How to build

First, you need below enviromnent.

Type following commands in Terminal.

% tar ztf bulletgba-5.0.tar.gz
% cd bulletgba-5.0/bulletgba/
% make

How to replace BMP images

Download tools.tar.gz.

Type following commands to setup gba-tools.

% mkdir ~/gba
% cd ~/gba
% tar zxf tools.tar.gz
% cd tools/bmp2c
% make clean all

Then, convert images in bulletgba-images directory.

% cd bulletgba-5.0/bulletgba/images/
% ./conv.sh

How to add your bullet

** You need PHP (5.0 or later) to convert BulletML to C++ code. **

  1. Extract source code.
  2. Put your BulletML data to bulletgba-5.0/bulletgba/generator/data/xml/user/
  3. Exec below command

% tar ztf bulletgba-5.0.tar.gz
% cd bulletgba-5.0/bulletgba/generator/
% make copy all

Supported BulletML

"BulletML to C++" converter mostly works fine for formal BulletML data. But there are some exception listed here.

  1. It does not support <accel> tag.
  2. It does not generate code according to expectation by <*Ref> with "<param> contains $rand value".
    <fireRef>
      <param>1.0 * 3.4 + 4.2</param>     (*** works fine ***)
      <param>$rand + 1</param>           (*** generate strange behaver ***)
    </fireRef>
    


Comments for This Page.
Date: 2007-05-21 00:00 (JST)