Projects/abcube: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
(Added xo bundle URI and install instructions)
Line 3: Line 3:
{{OBX team|[[User:atphalix|atphalix]]}}
{{OBX team|[[User:atphalix|atphalix]]}}
{{OBX license gnu|gpl|2.0}}
{{OBX license gnu|gpl|2.0}}
[http://abcube.googlecode.com/files/quake.xo .xo bundle]
{{userboxbottom}}
{{userboxbottom}}


Line 22: Line 23:
** 1 Laptop requested for 3 months for testing purpose.(approved)
** 1 Laptop requested for 3 months for testing purpose.(approved)
** Project homepage: [http://code.google.com/p/abcube/]
** Project homepage: [http://code.google.com/p/abcube/]
** Early screenshot: http://bayimg.com/GaoOaAaBP

<s>We are currently waiting for the test machine that was sent to us to arrive in order to publish actual screenshots of abcube running on the XO and to be able to do some benchmarking on the real hardware and measure our success.
The early screenshot that is shown above was made thanks to the (remote) collaboration of a friend who ran the game in his XO and then sent back this screenshot.</s>


I received the laptop and did some testing: the quake 1 game work as expected at 800x600 but it get slower with the full resolution of the xo (1200x900).
I received the laptop and did some testing: the quake 1 game work as expected at 800x600 but it get slower with the full resolution of the xo (1200x900).
I'm working on that problem now, I'll post some screen shots soon.--[[User:Atphalix|Atphalix]] 15:22, 18 June 2009 (UTC)
I'm working on that problem now, I'll post some screen shots soon.--[[User:Atphalix|Atphalix]] 15:22, 18 June 2009 (UTC)

== How to install Quake bundle ==

'''This file is for testing only, USE AT YOUR OWN RISK !!'''

Click [http://abcube.googlecode.com/files/quake.xo .xo bundle] to download the original Quake game packaged for the xo. Then install as usual from the browse activity.

== How to play Quake in fullscreen ==

In order to play the game in fullscreen and at a playable speed you need to lower the XO screen resolution from 1200x900 into 800x600.
to do that the game use a script to switch the resolution on the fly to 800x600 while playing the game and then back to 1200x900 when you quit
the activity.
First you'll need to install the latest driver using:

<blockquote>
rpm -vU ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/updates/10/i386/xorg-x11-drv-geode-2.11.0-1.fc10.i386.rpm
</blockquote>

then run those commands, that will add a new 800x600 screen resolution
you can also add this commands to .xinitrc file so they will be run each time you boot
<blockquote>
* xrandr --newmode 800x600 0 800 0 0 0 600 0 0 0
* xrandr --addmode default 800x600
</blockquote>
and then launch the activity.

== Help ==

Don't post your questions on this wiki page, you can use the discussion page for that or better
use the forum thread on olpcnews.That way if there is a solution it will benefit everyone.
== Links ==
* [http://www.olpcnews.com/forum/index.php?topic=4489.0 olpcnews forum post]
* [http://code.google.com/p/abcube/ Project homepage at google code ]


== Project progress ==
== Project progress ==

Revision as of 12:20, 4 August 2009

ABC Cube
Games

.xo bundle


  • Project
    • Name: ABC Cube
    • Project Number: #39624
  • Description: ABC Cube is a 3D FPS educational game for learning numbers and alphabet based on Quake 1 engine.

The game consists of shooting cubes with letters/numbers on them and every time the player shoots one he hears the sound of the letter or the number which helps in memorizing it. The technical challenge of this project is to overcome the physical/hardware limitations of the xo laptop hardware (no OpenGL hardware 3D acceleration) to make a true 3D game with software rendering only. the quake1 game engine was chosen for it's ease of modification and for its network capabilities that would make the project usable as a base for making other kind of innovative 3D games and activities for the laptop. As a matter of fact, success in bringing the 3D to the XO through software rendering would be a great proof of concept as well as a base to start other 3D appliances upon the technical foundations of abcube.

  • Status
    • 70% completed
    • 1 Laptop requested for 3 months for testing purpose.(approved)
    • Project homepage: [1]

I received the laptop and did some testing: the quake 1 game work as expected at 800x600 but it get slower with the full resolution of the xo (1200x900). I'm working on that problem now, I'll post some screen shots soon.--Atphalix 15:22, 18 June 2009 (UTC)

How to install Quake bundle

This file is for testing only, USE AT YOUR OWN RISK !!

Click .xo bundle to download the original Quake game packaged for the xo. Then install as usual from the browse activity.

How to play Quake in fullscreen

In order to play the game in fullscreen and at a playable speed you need to lower the XO screen resolution from 1200x900 into 800x600. to do that the game use a script to switch the resolution on the fly to 800x600 while playing the game and then back to 1200x900 when you quit the activity. First you'll need to install the latest driver using:

rpm -vU ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/updates/10/i386/xorg-x11-drv-geode-2.11.0-1.fc10.i386.rpm

then run those commands, that will add a new 800x600 screen resolution you can also add this commands to .xinitrc file so they will be run each time you boot

  • xrandr --newmode 800x600 0 800 0 0 0 600 0 0 0
  • xrandr --addmode default 800x600

and then launch the activity.

Help

Don't post your questions on this wiki page, you can use the discussion page for that or better use the forum thread on olpcnews.That way if there is a solution it will benefit everyone.

Links

Project progress

Finnaly the original quake1 game demo is running at fullscreen on the laptop! latest screenshots are on flickr and video on youtube --Atphalix 18:35, 25 June 2009 (UTC)

  • Contact
    • Name: Ahmed Mansour
    • Contact: atphalix@inbox.com
    • Country: Salé, Morocco
    • Time zone:‭ ‬UTC