Mercurial > vba-clojure
view README @ 615:bd664a9bd863
get license and readme.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 26 Feb 2013 11:28:45 +0000 |
parents | |
children | b90c645dac33 |
line wrap: on
line source
1 This is vba-clojure, by Robert McIntyre (rlm@mit.edu).3 It is three things:5 - vba-rerecording (http://code.google.com/p/vba-rerecording/),6 modified compile on GNU/Linux, as well as JNI bindings.8 - A functional clojure interface to the emulator supported by JNI9 bindings.11 - The "Pokemon Yellow Total Control Hack" code12 (http://aurellem.org/vba-clojure/html/total-control.html), which13 uses the clojure bindings.16 * License18 vba-rerecording is licensed under the GPL version 2, and I also19 release all the code I have written relating to this project under the20 GPL version 2.22 NOTE that the images under the /font directory and the mid files in23 the /music directory were taken from http://www.zophar.net/ and24 http://www.everyponysings.com/ respectively and are the only things in25 this repository that are not under the GPL.28 * How to Compile30 ** Long version32 Compilation follows 5 steps:34 1. Get java libraries35 2. Generate java JNI header and bindings36 3. generate autotools scripts37 4. configure38 5. make40 First, run the dl-libs.sh script to download the tritonus jars (or41 otherwise obtain them), which are used in processing sound from the42 gameboy. You must have wget installed for the dl-libs.sh to work.44 Second, you must generate the java JNI header and bindigs. cd to the45 "java" directory and run `ant` to do this.47 Third, generate the autotools scripts which the project requires by48 running `autoreconf -i`. I use autoreconf version 2.69.50 Fourth, run the "configure" script that was just produced to check for51 dependencies and proper environment variables. Be sure to have the52 environment variables JAVA_INCLUDE_PATH and JAVA_INCLUDE_PATH253 properly defined. "jni.h" should be in the directory referenced by54 JAVA_INCLUDE_PATH, and "jni_md.h" should be in the directory55 referenced by JAVA_INCLUDE_PATH2. On my system,56 JAVA_INCLUDE_PATH=/usr/include and57 JAVA_INCLUDE_PATH2=/usr/include/linux.59 finally, run `make` to build the library. You may optionally install60 the library using `make install`.62 ** Short Version64 ./dl-libs.sh65 cd java66 ant67 cd ..68 autoreconf -i69 ./configure70 make71 make install