Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kanzure/vba-linux

VBA emulator (GB/GBC/GBA) for Linux, forked from vba-rerecording v23.5
https://github.com/kanzure/vba-linux

Last synced: 2 months ago
JSON representation

VBA emulator (GB/GBC/GBA) for Linux, forked from vba-rerecording v23.5

Awesome Lists containing this project

README

        

# vba-linux

This is VBA for Linux except with rerecording capabilities and jvm bindings
(jni).

## building

Install the dependencies:

```
sudo apt-get install g++ libtool openjdk-6-jre openjdk-6-jdk libsdl1.2-dev ant autoconf
```

Configure some environment variables:

```
export JAVA_INCLUDE_PATH=/usr/lib/jvm/java-6-openjdk-amd64/include/
export JAVA_INCLUDE_PATH2=$JAVA_INCLUDE_PATH
```

Next do these things:

```
./dl-libs.sh
cd java/
ant all
cd ../

autoreconf -i
./configure
make
```

Build products are dumped into: ./src/clojure/.libs/

## Using python

See [python-vba-wrapper](https://github.com/kanzure/python-vba-wrapper) for
using this with python. Read below for using vba-linux with jython.

## Using the java bindings

Make sure vba-linux is available within "java.library.path":

```
sudo ln -s ./src/clojure/.libs/libvba.so.0.0.0 /usr/lib/jni/libvba.so
```

Make sure vba-linux bindings are in $CLASSPATH:

```
export CLASSPATH=$CLASSPATH:`pwd`/java/dist/gb-bindings.jar
```

To use the bindings from inside the jvm (like with java, clojure or jython):

```
import com.aurellem.gb.Gb as Gb
Gb.loadVBA()
```

## Which version of VBA is this?

Who knows.

This is a fork of [vba-clojure](http://hg.bortreb.com/vba-clojure) at
b531d490859c, which is a fork of
[vba-rerecording](https://code.google.com/p/vba-rerecording/) v23.5 which is a
fork of some other VBA.