Tag Archives: xbmc

raspbian, lxde, quake and xbmc

i was told this couldn’t be done ! well here you go it can 

as raspberry pi with lxde, xvmc and quak3 3

 

to install xvmc on raspbian you get the latest install from here -> http://www.raspbian.org

and to update to the latest firmware follow this guide -> https://github.com/Hexxeh/rpi-update

to install xvmc on rasbian ssh into the box and do this:

wget https://github.com/downloads/RB-tomaz/xbmc-rdp/xbmc-rdp.armhf.deb
sudo dpkg -i xbmc-rdp.armhf.deb; sudo apt-get -y -f install

I selected yes to auto start as you have 5 seconds to stop it starting.

 

quake 3 install:
sudo apt-get install git gcc build-essential libsdl1.2-dev

Download the Quake 3 source code:

mkdir ~/src
cd ~/src
git clone https://github.com/raspberrypi/quake3.git
cd quake3

Edit build.sh in quake3 directory:

change line 8 to this: ARM_LIBS=/opt/vc/lib
change line 16 to this: INCLUDES=”-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads”
comment out line 19: #CROSS_COMPILE=bcm2708-

Do a ./build.sh

Find copies of the following somewhere (other guides will show you) and place in build/release-linux-arm/baseq3:
pak0.pk3, pak1.pk3, pak2.pk3, pak3.pk3, pak4.pk3, pak5.pk3, pak6.pk3, pak7.pk3, pak8.pk3
From here:

http://www.quake3droid.com/missingpaks.php

sudo usermod -a -G video [your_username]

log out and back in and run -> Run ioquake3.arm

my compiling kept locking up the rapberry

so i got this -> Download the version with sound here.

and tar zxvf Quake3.tar.gz

and it ran perfect with levels!!!! 

 

If you have a edimax mini wireless this works out of the box…

First /etc/network/interfaces. It should have a single entry something like

add this:

allow-hotplug wlan0

auto wlan0

iface wlan0 inet dhcp
wpa-ssid “NETWORK SSID” (or wireless-essid NETWORK PASSWORD if WEP)
wpa-psk “NETWORK PASSWORD” (your wireless password)

 

raspbian on raspberry pi with wifi belkin N300

  1. Raspberry pi 580 75These commands and actions need to be performed from an account that has administrator privileges.
  2. Download the image from a mirror
  3. http://www.raspbmc.com/download/
  4. Verify if the the hash key is the same (optional), in the terminal run:

    • shasum ~/installer.img.gz
  5. Extract the image:
    • gunzip ~/installer.img.gz
    • (or: just double click the zip, it will extract automatically)
  6. From the terminal run df -h
  7. Connect the sdcard reader with the sdcard inside
  8. Run df -h again and look for the new device that wasn’t listed last time. Record the device name of the filesystem’s partition, e.g. /dev/disk1s1
  9. Unmount the partition so that you will be allowed to overwrite the disk:
    • sudo diskutil unmount /dev/disk1s1
    • (or: open Disk Utility and unmount the partition of the sdcard (do not eject it, or you have to reconnect it)
  10. Using the device name of the partition work out the raw device name for the entire disk, by omitting the final “s1” and replacing “disk” with “rdisk” (this is very important: you will lose all data on the hard drive on your computer if you get the wrong device name). Make sure the device name is the name of the whole SD card as described above, not just a partition of it (for example, rdisk3, not rdisk3s1. Similarly you might have another SD drive name/number like rdisk2 or rdisk4, etc. — recheck by using the df -h command both before & after you insert your SD card reader into your Mac if you have any doubts!):
    • e.g. /dev/disk1s1 => /dev/rdisk1
  11. In the terminal write the image to the card with this command, using the raw disk device name from above (read carefully the above step, to be sure you use the correct rdisk# here!):
    • sudo dd bs=1m if=~/installer.img of=/dev/rdisk1
    • if the above command report an error(dd: bs: illegal numeric value), please change bs=1M to bs=1m
    • (note that dd will not feedback any information until there is an error or it is finished, information will show and disk will re-mount when complete. However if you are curious as to the progresss – ctrl-T (SIGINFO, the status argument of your tty) will display some en-route statistics).
  12. After the dd command finishes, eject the card:
    • sudo diskutil eject /dev/rdisk1
    • (or: open Disk Utility and eject the sdcard)
  13. Insert it in the raspberry pi, and boot to xbmc
  14. when booted go to settings and add-ons
  15. add network-manager
  16. configure on network manager and select your wifi and insert wep / wpa key
  17. pull the network cable out and enjoy wireless network
  18. i then installed xbmc remote on my android and iPhone
  19. went to system info on the xvmc and network
  20. added my xvmc host by mac address so it locks to the mac instead of the IP address which will change using DHCP.

This works with the belkin n300 which uses the 8192cu module this is included in raspbian version 4 and works flawlessly.

 

Raspberry pi

he is the how to for getting xvmc running on debian wheezy

1. add deb ftp://ftp.deb-multimedia.org wheezy main non-free to /etc/apt/sources.list
2. execute apt-get update, you might see some error, ignore them as of now
3. execute apt-get install deb-multimedia-keyring
4. now its time to add GPG key, download the gpg key package from wget http://www.deb-multimedia.org/pool/main … -4_all.deb
5. install the downloaded package dpkg -i debian-multimedia-keyring_2010.12.26-4_all.deb
6. again do the apt-get update
7. now install the xbmc apt-get install xbmc

more raspberry pi tips on the way!..