Hacking Arcade
Hacking Arcade
Arcade not only allowed you to create animations for the installation. As a programmer, you could directly participate and write your own Arcade games. To support this, we have written a programming library - the Blinkenlights Library (blib) - that is provided freely as source under GPL.
Furthermore, there are other tools that can help to create, convert and edit animations. A simulator allows to completely simulate the Arcade (and the original Blinkenlights) installation on your PC. While Arcade was running, you could even hook up live and receive the real-time data stream directly from the Bibliothèque nationale de France.
The code that was written for Arcade is an evolution of the original Blinkentools and was released as GPL once more after the project had finished.
The last versions of the software can be found at http://sven.gimp.org/blinkenlights/.
blib
blib is the Blinkenlights Library, a programming library that gives you a kick start into development with Blinkenlights/Arcade. blib also provides the Game API with which games for Arcade were developed. blib provides:
- functions to read and write BLM, BML and GIF animations.
- functions to receive and send the Blinkenlights protocol
DOWNLOAD
- blib (version 1.1.3)
- blib README
blinkensim
blinkensim is the project's simulator. Using blinkensim you can receive the Blinkenlights Protocol as it is being sent by the Blinkenlights Chaos Control Center to the Matrix Control Units (the computers that take care of controlling the lamps).
blinkensim das graphic backends for DirectFB and GTK+ 2.0. It should run on all Linux systems on all Linux systems using one of these backends. GTK+ and a little tweaking should make it run on Mac OS X as well.
For a working blinkensim installation you also have to install the blinkenthemes that contain the necessary graphic files for the simulator.
DOWNLOAD
- blinkensim (version 2.3)
- blinkenthemes (version 0.9)
MPlayer speaks BML and Blinkenlights Protocol
The program MPlayer for Linux supports the Blinkenlights Protocol since version 0.90pre8 natively. This means that all video formats supported by MPlayer can be sent to blinkensim in realtime. The Blinkenlights Team has seen quite a couple of Futurama episodes on Arcade :-). Furthermore MPlayer can directly write BML making it an alternative to the blinkentools converters.
MPlayer must be translated with the option --enable-bl to support Blinkenlights. A transmission gets started with mplayer -vo bl:arcade:[host=hostname:port|file=foo.bml]
blinkentools
The blinkentools have been enhanced significantly for Arcade. They contain the following tools for the command line:
| b2bml | Converts GIF or BLM to the new Arcade BML file format. |
| b2gif | Converts BML or BLM to GIF file format. |
| b2blm | Converts GIF or BML to BLM file format. |
| bsend | Sends BML, BLM or GIF in Blinkenlights Protocol format to the MCUs or the blinkensim simulator |
DOWNLOAD
- blinkentools (version 2.3)