Tagged: steam

Hakology – Retropie steam controller setup guide

Notes to accompany the following video showing you how to setup and configure the steam controller for retropie. Tested and verified as working with python 2.7 on the rpi model B and rpi3 model B.

sudo apt-get install python-pip
sudo pip install libusb1
sudo pip install enum34
git clone https://github.com/ynsta/steamcontroller.git
cd steamcontroller
sudo python setup.py install
sudo nano /etc/udev/rules.d/99-steam-controller.rules
Add these lines :
SUBSYSTEM==”usb”, ATTRS{idVendor}==”28de”, GROUP=”games”, MODE=”0660″
KERNEL==”uinput”, MODE=”0660″, GROUP=”games”, OPTIONS+=”static_node=uinput”

sudo udevadm control –reload
sudo crontab -e
@reboot /usr/local/bin/sc-xbox.py start

Hakology Day 5 : Blog Entry

[11.41]
Nothing like a fresh coffee to start the day.
[/11.41]


[12.36]
First tech support call to configure a printer, nice and easy start. Still have a DVD drive to repair and another person that wants some security advice but ill get on those next week. Time to start recording some stock footage and get editing.
[/12.36]


[12.57]

Background noise.

[/12.57]


[13.23]
Recharging cameras and having a brew.
[/13.23]


[13.44]
Key-framing, key-framing, key-framing … and listening to a little drum and bass.
[/13.44]


[14.15]
Pastebin for the steam controller install script.
http://pastebin.com/HvuAJ8iN
[/14.15]

[14.46]
Best analytics data to date …

Can you imagine the disappointment when whoever discovered it was a 3D printed leg for a dog.
[/14.46]


[15.33]
More stock footage recorded just transferring the files and going to get back to editing and compiling.
[/15.33]


[17.09]
Still editing and chopping stock footage, quite boring stuff but im making progress. Need to edit the audio in two locations and add a little more information but everything is coming together quite nicely. Then its Friday … game time and off to see a few friends, whoot. Planning a late night mumble if you want to join message me for the connection details, we’ll be hacking all the things.
[/17.09]

[18.30]
LEEROY MOTHER F%$£ING JENKINS Its time to stop for a while and blast the s&%$ out of some evil demons on the computer!!! BOOM HEAD SHOT, BOOM HEAD SHOT, BOOM HEAD SHOT, BOOM HEAD SHOT. BOOM! HEAD! SHOT!
[/18.30]

[23.47]
Well after a little gaming and a little sleep, I think its time for a coffee and some work. Then some more games hehe 🙂
[/23.47]

[2.16]
So I’ve kind of finished the first edit, doing a quick VBLOG, then some serious gaming till the wee hours.
[/2.16]

[3.05]

[/3.05]

Hakology Day 4 : Blog Entry

[15.13]
Chores done and I’m online. Going to get busy, goals for today, get steam controller working on retro pie, re-record retropie audio, and re-render using better stock footage including steps to configuring. Then if I have any time get back on the SDR work.
[/15.13]


[16.21]
Spent as much time working on retropie as I want for now. Just uploading WIP on the hakology VBLOG channel. Tea, food & SDRs.
[/16.21]


[16.32]

[/16.32]

[16.45]
Background noise.

[/16.45]


[17.57]
Steam controller working in retropie … whoot.
[/17.57]


[19.23]
Written an automated installation script. Finding bash in raspbian has some unusual defult settings regarding echo. If any one knows how to get echoes to display …
[/19.23]


[20.05]
Testing and debugging script. Being a noob. Making silly mistakes. Correcting them. NTS: tput setaf 1; is a great way to set echo output in bash 🙂
[/20.05]


[20.10]
Finished …. taking a break. – Managed to brick emulationstation in the process, now have to recover script and reimage.
[/20.10]


[20.24]
Turns out if you boot the pi with a cronjob for the steam pad drivers it’ll crash emulationstation if you dont have the dongle inserted.
[/20.24]


[21.01]

#!/bin/bash
echo This script is designed intended for retro pie running raspbian and python 2.7
echo This script will now install the drivers and files required to use the steam controller with retropie
echo Ensure your pi has an internet connection prior to running.
echo Moving to home directory
cd /home/pi
echo Installing dependancies Python package manager and git
sudo apt-get install python-pip git
echo Installing – libusb1
sudo pip install libusb1
echo Installing – enum34
sudo pip install enum34
echo Cloning steam controller files.
git clone https://github.com/ynsta/steamcontroller.git
echo Moving to steam controller files directory
cd steamcontroller
echo Intsalling steam controller files
sudo python setup.py install
echo Setting up udev rules
echo SUBSYSTEM==\”usb\”, ATTRS{idVendor}==\”28de\”, GROUP=\”games\”, MODE=\”0660\” >> /etc/udev/rules.d/99-steam-controller.rules
echo KERNEL==\”uinput\”, MODE=\”0660\”, GROUP=\”games\”, OPTIONS+=\”static_node=uinput\” >> /etc/udev/rules.d/99-steam-controller.rules
echo Reloading udev
sudo udevadm control –reload
tput setaf 1;echo All operations complete
echo PLEASE READ THE FOLLOWING
echo
echo Update crontab …
echo crontab -e
echo Add the following to crontab …
echo @reboot /usr/local/bin/sc-xbox.py start
echo Ensure the steam usb dongle is inserted when you reboot otherwise emulationstation might not load.
echo
echo If you need to run the script more than once besure to clean the udev rules found in:
echo /etc/udev/rules.d/99-steam-controller.rules
Will post a better a link to the file later when i’ve finished tinkering.

[/21.01]


[21.22]
Random pic for the day, great tool all round esp when it comes to cabling new pc builds or finding that tiny screw you just dropped on the floor, cree LED with recharagable 18650s and adjustable focus.

[/21.22]


[23.49]
Final retropie video posted to the hakology main youtube channel.
http://youtube.com/hakology

[/23.49]

[00.33]

[/00.33]

[4.16]
Signing off.
[/4.16]