Recently I stumbled on the fact, that linux supports an other graphic interface than a x server.
It is named DirectFB (That means you have direct access to the frame buffer device)
OK OK I have not yet developed software for linux and I have not that experience with linux at all. (But I got a nice home server running with SVN, samba and PHP/httpd).
It made me realy interested what to be done with directfb, so I decided to build a VMWare system and try to play with it…
To be up to date, I got things installed as follows:
A short description is also on the site
http://blog.mageprojects.com/2009/05/12/get-directfb-12-running-on-ubuntu-904-with-multi-app-support/
The difference to my work is that I dont need multi app support. So I started a bit different:
I loaded the VMWare player and set up a debian lenny distribution with a netinstall image found somewhere in the net (google knows where)
Then I downloaded the latest DirectFB release (that was in my case 1.4.xx)
To get things working you need to install some libs additionally (as dev!):
aptitude install pkg-config
aptitude install make
Unpacked the archive in a folder and ran
./configure
make
If there are packets missing, simply install them via aptitude as dev… Be aware that in some cases the version number is in the package name, so search for it with
aptitude search name
and select the -dev package to install.
If it all works, you just have to edit your menu.lst in the boot/grub folder and set the vga=ask as noted in the link above.
When rebooting you are asked for the resolution.
For my VM it is not important to set the hardware config as on the host system, so i choose 800×600, which is 340.
Then I loaded the sample archive and compiled it.
Good – it worked.
Now began to play around…
Painted a button with gimp, added g++ support to the compiler.
After stripping down the df_input project and writing my own makefile (uh that will be some more work soon…)
I had to add some casts for the code becaus g++ dont accepts direct assignment of void pointers to other types.
“myfirstapp” was an app just painting the png button which I painted with the Gimp (rudimentary implemented as a button class) and a string…
But that is how things begin as usual…
By the way – the strings look very nice due to the used Freetype font engine…

Posted in Linux, Software, Uncategorized, english
Hehe…
Als ehemaliger Zocker sucht man gelegentlich auch mal nach Kurzweil in älteren Spielen. Nun hab ich etwas wiederentdeckt: Supaplex! Dieses alte DOS Spielchen orientierte sich damals an dem (noch älteren) Boulderdash des C64. Boulderdash hat mich schon einige Stunden (und Joysticks) gekostet, aber die 111 Levels von Supaplex sind der Hammer!
Bei infordigital.com kann man eine windowsfähige Version mit allen Originallevels und integriertem Leveleditor bekommen.Mit dieser Version kann man auch schummeln und gleich das letzte Level spielen, damals hat mich das noch viel Zeit und Mühe gekostet
Posted in Games
Unlike apples iPhone, the devices which will be shipped with an installed Android operating system from Google will have many more applications available. But the best advantage is: The developers get money instead of paying money to get a dev kit!
A Spiegel online article (german) notes that already many applications are in development by creative developers from all over the world. For example you can photgraph a DVD in the store and let an application check their rating by searching at amazon for it in the internet, and of course searching for a list of prices the DVD is available elsewhere. Just watch the you tube video at the link…
I think this vast of powerfull applications will make Android phones a great rival for the iPhone , espacially because the software kit is not bound to special hardware. I believe that 3G and further communication standards will be supported becauseof the flexibility of the system, and of course, because its open source…
Posted in Hardware, Multimedia, Netzwerke, Software, english
In some cases it is necessary to upgrade to new operating systems – such as Vista (please dont tease me with reagards dont using M$ VISTA, it is a tool – and it has dx10, XP doesnt).
But if you want to use your programming hardware for Atmels AVR family in there you will be shocked. I use Vista 64bit and compiling AVR projects stopped with an error like
Resource temporarily
unavailable
To solve this problem use a patch from this site MadWizard
and overwrite the given dll file. An other bug is also fixed there. But this shoudl already be integrated in the new WinAVR versions.
So happy coding…
Posted in Hardware, Software, english
Joar. Gar nicht so einfach wenn alle möglichen Turorials für RoR1 sind und man nach dem Scaffolding nen Fehler in der Anzeige bekommt.
Ein Turorial gibts bei fairleads [eng] Dort wird das ganze recht gut erklärt. Für meine Wenigkeit war jedoch noch etwas wichtig:
Wenn man an der Datenbank nachträglich noch etwas ändern will (z.B. weil man mit dem Scaffoldbefehl nicht alle Felder angegeben hat), kann man dies wie folgt machen:
Zunächst ändert man in dem File db/migrate/001_create_[tabellenname].rb die Tabellen entsprechend.
Danach ruft man aus der Konsole folgendes auf:
rake db:drop:all
rake db:create:all
rake db:migrate
Danach ist die neue Tabellenstruktur hergestellt. Aber Vorsicht! Der Datenbankinhalt wird gelöscht! Alle Layoutscripte müssen noch angepasst werden, weil die zeigen immer noch den alten Stand an. Also in die Views schauen und dort die Daten korrigieren die geholt / gerendert werden.
Happy coding…
Posted in Ruby on Rails
Eine kleine Spielkonsole mit einem angepassten Linux Betriebssystem wird ab ca. Juni/Juli verfügbar. Die Ausstattung ist für die angepeilten 280Euro mit Touchscreen, 800*480TFT, WLAN und QWERTY Tastatur der Hammer. Und schnell ist er auch noch! Infos gibts auf www.openpandora.org.
Gizmodo hat auch schon darüber berichtet.
Posted in Games, Hardware, Linux
…sind Spiele so hardware hungrig???
Da hab ich mich endlich durchgerungen und UT3 gekauft, da ich schon immer ein UT Fan war. Und nun musste ich feststellen das mein Rechner zu lahm ist…
Vielleicht wär ein stationärer Rechner wohl doch besser in der Hinsicht. Aber dann brauch ich mein eigenes Kraftwerk und kann nur noch mit Kopfhörern spielen weil die Lüfter wie ein Panzer klingen…
Posted in Games
Joar.
Laut der Comuterzeitschrift CT (Ausgabe 6 08) wird die GC, die sich als größte europäische Spielemesse rühmt, ab 2009 in Köln stattfinden. Ein Zufall, dann wohn ich wieder fast daneben
Posted in Games
Hm…
Hab mal ein neues Gallery script installiert. Damit sollten nun auch Fotoshows möglich sein…
Funktioniert prima wie man sieht. Da wird wohl noch einiges kommen, so fern ich Fotos hab oO
Posted in Uncategorized