====== Lebendiger sortierversuch ====== OK, hier versuche ich das ganze Seiten Kuddel muddel mal zu entzerren, dazu packe ich erst mal alles in eine Seite un tue dann ggf. größere brocken auslagern. Konsolidierung ist das Stichwort des Tages! ===== About ACAB ===== The original ACAB package consists out of the following four components, where only gigargoyle is really mandatory. * gigargoyle, Control a moodlamp matrix using a TCP socket * ACABspool * ACABed (Web animations editor) * Puerto Player ===== Get ACAB ===== The original muCCC ACAB source code can be found at http://gitorious.org/ (previous it was http://github.com/mazzoo/gigargoyle). Therefore you need GIT to obtain the source. sudo apt-get install git-core ===== Test ACAB ===== 1) start the server \\ If you don't have access to the matrix gigargoyle could be started with '--pretend' argument. ./gigargoyle -f -p --pidfile=./test.pid --logfile=./test.log 2) start puertoplayer, so you can see the matrix \\ ./puertoplayer --localhost 3) spool something new with simpleclient oder start xtris ===== ACABpi (Web player) ===== HiFish's Webplayer: http://hifish.muirauqa.org/acabweb/acabpi.htm (macht was genau???) ===== ACABed (Web animations editor) ===== git clone git://gitorious.org/acab/acabed.git git submodule init git submodule update * Aktuelles http://www.djangoproject.com/ (Soll das aktuelle django verwendet werden oder warum der link?) ===== Puerto Player ===== Shows whats currently going on via a virtual puerto. ==== Installation ==== sudo apt-get install libsdl-console-dev git clone git://gitorious.org/acab/puertoplayer.git make ==== Usage ==== Usage: puertoplayer [OPTION...] Connecting to a gigargoyle server and displays the matrix on screen --localhost Connects to gigargoyle on localhost on (fixed) port 8080 If Option "--localhost" is missing, it tries to connect to the live puerto acab server 83.133.178.4 Starting puertoplayer and connecting to a localhost gigargoyle server ./puertoplayer --localhost In this case the gigargoyle server should be startet with the webclient port 8080 ./gigargoyle -p -w 8080 If started without any arguments, the player connects to puerto installation at 83.133.178.4 ===== Gigargoyle ===== The Server ==== Installation ==== apt-get install libfftw3-dev libjack-dev git clone git://gitorious.org/acab/gigargoyle.git make if everything went fine, the directory contains 4 binaries: * gigargoyle, Control a moodlamp matrix using a TCP socket * simpleclient, simple testclient for gigargoyle * testpacket, sending testpackages to gigargoyle * acabspectrum, UV meter on the matrix from the computer's audio input ==== Usage ==== Usage: gigargoyle [OPTION...] Control a moodlamp matrix using a TCP socket -f, --foreground Stay in foreground; don't daemonize -i, --port-is=PORT_IS Listening port for instant streaming clients -l, --logfile=LOGFILE Path to log file -p, --pretend Only pretend to send data to ttys but instead just log sent data --pidfile=PIDFILE Path to pid file -q, --port-qm=PORT_QM Listening port for the acabspool --uart-0=UART_0 Path to uart-0 --uart-1=UART_1 Path to uart-1 --uart-2=UART_2 Path to uart-2 --uart-3=UART_3 Path to uart-3 -w, --port-web=PORT_WEB Listening port for web clients -x, --acab-x=WIDTH Width of matrix in pixels -y, --acab-y=HEIGHT Height of matrix in pixels -?, --help Give this help list --usage Give a short usage message Starting gigargoyle ./gigargoyle -f -p --pidfile=./test.pid --logfile=./test.log Default Ports (when running with port cmdln params): #define PORT_QM 0xabac /* tcp port for the queing manager */ #define PORT_IS 0xacab /* tcp port for instant streamers */ #define PORT_WEB 8080 /* tcp port for live watchers */ Some hints: - If you use ports < 1024 gigargoyle must be run as root (not recommended!) - pidfile and logfile should be writeable. Default /var/log and /var/pid has to be writeable by user - port-web could not be given at command line, patch attached - if you plan to use [[puertoplayer]] WEB Port 8080 ist required - If you have already an service running on that port, shut it down! The following patch is now already included in distribution {{:acab:0001-gixed-web_port-argument-handling-the-cmdline-argumen.patch|}} ===== ACABspool ===== git clone git://gitorious.org/acab/acabspool.git ===== Xtris ===== The package containing blubbtris components {{::blubbtris.tar.gz|}} If you have dependency problems, install the dependencies of your distribution's xtris package via your package manager (eg (debian-based): apt-get build-dep xtris) ==== xtris: client for xtris server which feeds the image to gigorgel ==== ./xtrisclient -x blubb.muirauqa.org -p --- Puerto --- Public IP: 83.133.178.4 If the server doesn't accept connections you may need to connect to it through Puerto's Wifi. Use 10.0.0.11 as -p's parameter. ==== the client ==== ./xtris blubb.muirauqa.org ==== the size of the game ==== change 'ROWS' and 'COLS' according to the size in xtris ==== und die Beschallung: ALLE mitsingen!!! ==== echo blubbtris: {,düdü,düdü,düdü,düdü,düdü,,,,}dümm ===== Nicht umgesetzte version ???? ===== ==== Teilproblemchen ==== * Stein bewegt sich von oben nach unten * Stein bewegt sich bis zum Ende * wenn (Kollision), dann Bewegung stoppen ==== Keycodes im Puertoplayer ==== In der Funktion int main(int argc, char %%**%% argv) gibt es den Abschnitt SDL_PollEvent( &e ); if (e.type == SDL_KEYDOWN) { if (e.key.keysym.sym == SDLK_ESCAPE) exit(0); if (e.key.keysym.sym == SDLK_q) exit(0); } if( e.type == SDL_QUIT ) exit(0); Den können wir um weitere Keycodes und Aktionen ergänzen. Idee vom Prinzip her: * Der Puertoplayer öffnet eine Verbindung zu unserem Spielserver * Tasten werden abgefangen und an den Spielserver geschickt * Das Spielfeld kommt vom gigargoyl ===== firstshot_client ===== Gehört dieser eintrag wo anders dazu??? Modified client interfacing with an xtris server. Known issues: --- no support for the OP_GROW and OP_FALL operations, which require a local representation of the game matrix. maudafish is working on that though. code: {{::gigargoyle-xtris.tar.bz2|}} **aktuelle Version ab 2010/10/31 in /home/maudafish/acab/gigargoyle.git/** format richtig: {{::xtris.c|}} ===== Dateien ===== Wo gehören die Dateien dazu???? {{::tetris.xml|}} \\ {{::matrix.c|}} (Spielteilchen ; Funktion um eine Linie zu zeichnen: drawLine)