SpeedAddict81
Posts: 1
Joined: Sun Mar 16, 2014 1:29 pm

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Wed Mar 19, 2014 2:30 pm

WiFi setup question:
Has anyone else had issues setting up wifi? I had to edit /etc/network/interfaces to add auto wlan and assign my ssid and psk to wlan0. Is there another (better) way to accomplish this, so I can change ssid on the fly, instead of having to reboot/manual restart networking service? I even looked for the wifi manager in LXDE, but didn't find it.

Also, I added rpix86 without a hitch, just copied an existing folders from a RetroPie install and modified es_systems.cfg. Had to update a symlink for the 'games' folder in /Emulators/rpix86 to point to /Roms/x86, but it works great.

My next step is to create an image to burn to a thumb drive.

Great Build!

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Wed Mar 19, 2014 5:52 pm

watermouf wrote:So I have made some progress since my last post...

My remote looks just like this http://lirc.sourceforge.net/remotes/mce ... 911-06.jpg
I assume HP_RC1804911 maybe the model number

LIRCs sourceforge page has this config even listed for the remote
http://lirc.sourceforge.net/remotes/mce ... onf.mceusb

I tried it, and did gain function of more buttons, but still not full working

so I started comparing OpenELEC config to the UltraSlim specifically /etc/lirc/ and the keymaps .xml's
what I found was the OpenELEC LIRC config file was similar to the one linked above on LIRCs page, but with a few additions, so what i did was copy over the config with the keymaps from openelec to ultraSlims respective locations, and my function has almost increasted to 75% of the remote, with a few tweaks im pretty sure as far as mapping keys I will be successful. I would be more then happy to share my steps.

but a brand new issue has come up now, anytime i press a button it is pressed multiple times. so if i go left it goes left twice, i googled it and found ppl with similar problems. but their remotes seemed to repeat buttons a static amount of times (i.e. any button pressed would repeat 5 times, or 3 times) mine seems to repeat randomly on left or up and down. When i remove all the config files and reset back to normal i can press ENTER and have directionally key use on the remote. and suprsingly the printer button does a screenshot/printscreen. the keys dont skip i know the remote hardware is good, it works perfect as mentioned with openELEC out of box, wonder what other configs I could be missing.


As help for your documentation and I would be happy to break it down in simpler steps I have been following this documentation
http://www.jamesrobertson.eu/blog/2013/ ... pbian.html
I know the key is here, but I am missing something
Sorry it took me so long to respond - I've just been crazy busy with getting the Guide in shape. Would love to have the help for documentation on the process! just let me know if you need anything else from me.

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Wed Mar 19, 2014 6:00 pm

msargenttrue wrote:Takenover83, awesome distro! I donated, hopefully more will do the same. ;)

Rionoskae, I really appreciate your guide. It definitely helped me figure some of this stuff out.

Here are a few extra things I got working, so feel free to add them to the guide if you find them useful:

1. How to Setup Xbox 360 Controller Support (1 wired controller)
2. How to Use the Xbox Home Button to Exit an Emulator
3. Control Emulation Station with Multiple Controllers

I'm looking forward to how this thread progresses. :D

............

This is amazing. Thank you so much! You are the first person to actually give me usable documentation! And you donated to the cause? Damn. We need more people like you in this thread :) I'll go ahead and add the documentation in my guide with proper credit given to you of course.

Also I'm Glad you found the guide helpful as well, means a lot.

~Cheers

Update:
I've now added your documentation to the guide. Thanks again for contributing!

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 11/25 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Thu Mar 20, 2014 3:07 pm

Takenover83 wrote:Here is my xbmc.sh script, which starts the xboxdrv and kills it when I quit xbmc. I use it on a 2.4ghz ps3 controller but you should have a eaiser go with a official xbox 360 controller. You may need to google how to setup the xboxdrv.

Code: Select all

#!/bin/bash
setterm -cursor off
sudo xboxdrv --type xbox360 --config ps3.ini --silent > /dev/null 2>&1 &
sleep 1
mkdir -p ~/.xbmc
clear
/opt/xbmc-bcm/xbmc-bin/lib/xbmc/xbmc.bin --standalone &> ~/.xbmc/temp.log
setterm -cursor on
sudo killall xboxdrv
echo "xbmc script done"
Here is my ps3.ini that I use with xboxdrv. Yours will be a bit different but gives you a idea of what needs done to get it working in xbmc.

Code: Select all

# Example configuration for the Playstation 3 controller
#
# Note this only works when connected with USB, when using Bluetooth a
# different configuration is required. 

[xboxdrv]
evdev = /dev/input/by-id/usb-Gasia_Co._Ltd_PS_R__Gamepad-event-joystick
evdev-grab = true
evdev-debug = true
ui-clear = true
extra-devices = false
extra-events = false
deadzone = 6000

[evdev-absmap]
ABS_X   = x1
ABS_Y   = y1
ABS_Z   = x2
ABS_RZ  = y2
ABS_HAT0Y   = dpad_y
ABS_HAT0X   = dpad_x

[evdev-keymap]
BTN_TOP2    = lb
BTN_PINKIE  = rb
BTN_BASE5   = tl
BTN_BASE6   = tr
BTN_THUMB2  = a
BTN_THUMB   = b
BTN_TOP     = x
BTN_TRIGGER = y
BTN_BASE3   = back
BTN_BASE4   = start
BTN_BASE    = lt
BTN_BASE2   = rt

[ui-buttonmap]
# Face buttons
A = KEY_ENTER
B = KEY_BACKSPACE
X = KEY_X
Y = KEY_ESC

# D-Pad
du = KEY_UP
dd = KEY_DOWN
dl = KEY_LEFT
dr = KEY_RIGHT

# Start / Back buttons
start = KEY_SPACE
back = KEY_O

# Bumper Left / Right
lb = KEY_C # Left bumper
rb = KEY_I # Right bumper

# Stick buttons
TL = KEY_W # Left stick buttons
TR = BTN_LEFT # Right stick buttons

# Triggers Right / Left
RT = KEY_EQUAL # Right trigger
LT = KEY_MINUS # Left trigger

[ui-axismap]
#x2=REL_RX:10
#y2=REL_RY:-10

x1=REL_X:10
y1=REL_Y:10

# EOF #
My current 1.5 setup I released has been working well for me, and I haven't felt the need to release a update. If you want to add emulator's, its not difficult to do so. Just throw em in the proper directory to get them showing in emulationstation. I may release updates to xbmc however. Also, ethernet works out of the box via dhcp. If you use wireless, just google how to set it up (your network info), and it will also work.
TakenOver:
I've attempted to duplicate this with a Sony brand controller and the only thing that works is the mouse feature..and only in the left corner of the screen... (Think the size of the box when you hit the | key on the keyboard)

Any tips? Below is the procedure I used:

1.) Install Xboxdrv

sudo apt-get install xboxdrv


2.) Edit the XBMC.sh script in /Roms/Apps to leverage Xboxdrv.

#!/bin/bash
setterm -cursor off
sudo xboxdrv --type xbox360 --config ps3.ini --silent > /dev/null 2>&1 &
sleep 1
mkdir -p ~/.xbmc
clear
/opt/xbmc-bcm/xbmc-bin/lib/xbmc/xbmc.bin --standalone &> ~/.xbmc/temp.log
setterm -cursor on
sudo killall xboxdrv
echo "xbmc script done"


3.) Find your controllers driver file.

cd /dev/input/by-id

#List all connected devices
ls

#Copy the name of your PS3 Controller Driver.
#For me that was:
#usb-Sony_PLAYSTATION_R_3_Controller-event-joystick
#usb-Sony_PLAYSTATION_R_3_Controller-joystick




4.) Next, you will want to Create a PS3.ini file for xboxdrv to reference.
(If you use a different file name, change the script in step 1 to reference the different name!)

#Create ps3.ini file
sudo nano /home/pi/Roms/apps/ps3.ini
-------------------------------------------------------------
#Copy and Paste the below configuration from TakenOver83
#Make sure to change your device driver name from step 3!
--------------------------------------------------------------

# Example configuration for the Playstation 3 controller
#
# Note this only works when connected with USB, when using Bluetooth a
# different configuration is required.

[xboxdrv]
evdev = /dev/input/by-id/usb-Sony_PLAYSTATION_R_3_Controller-event-joystick
evdev-grab = true
evdev-debug = true
ui-clear = true
extra-devices = false
extra-events = false
deadzone = 6000

[evdev-absmap]
ABS_X = x1
ABS_Y = y1
ABS_Z = x2
ABS_RZ = y2
ABS_HAT0Y = dpad_y
ABS_HAT0X = dpad_x

[evdev-keymap]
BTN_TOP2 = lb
BTN_PINKIE = rb
BTN_BASE5 = tl
BTN_BASE6 = tr
BTN_THUMB2 = a
BTN_THUMB = b
BTN_TOP = x
BTN_TRIGGER = y
BTN_BASE3 = back
BTN_BASE4 = start
BTN_BASE = lt
BTN_BASE2 = rt

[ui-buttonmap]
# Face buttons
A = KEY_ENTER
B = KEY_BACKSPACE
X = KEY_X
Y = KEY_ESC

# D-Pad
du = KEY_UP
dd = KEY_DOWN
dl = KEY_LEFT
dr = KEY_RIGHT

# Start / Back buttons
start = KEY_SPACE
back = KEY_O

# Bumper Left / Right
lb = KEY_C # Left bumper
rb = KEY_I # Right bumper

# Stick buttons
TL = KEY_W # Left stick buttons
TR = BTN_LEFT # Right stick buttons

# Triggers Right / Left
RT = KEY_EQUAL # Right trigger
LT = KEY_MINUS # Left trigger

[ui-axismap]
#x2=REL_RX:10
#y2=REL_RY:-10

x1=REL_X:10
y1=REL_Y:10

# EOF #


5.) Save and Exit. (Ctrl+x > Y)

6.) Finally. Reboot and test!

Takenover83
Posts: 166
Joined: Mon Sep 02, 2013 5:39 am

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Thu Mar 20, 2014 4:56 pm

Hmm, I remember having a similar problem and it was because I was calling on the wrong controller name... I would look at the controller names. I believe I use the event one. You really need to be testing if the xboxdrv is working though, outside xbmc first.

#Copy the name of your PS3 Controller Driver.
#For me that was:
#usb-Sony_PLAYSTATION_R_3_Controller-event-joystick
#usb-Sony_PLAYSTATION_R_3_Controller-joystick

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Thu Mar 20, 2014 8:25 pm

Takenover83 wrote:Hmm, I remember having a similar problem and it was because I was calling on the wrong controller name... I would look at the controller names. I believe I use the event one. You really need to be testing if the xboxdrv is working though, outside xbmc first.

#Copy the name of your PS3 Controller Driver.
#For me that was:
#usb-Sony_PLAYSTATION_R_3_Controller-event-joystick
#usb-Sony_PLAYSTATION_R_3_Controller-joystick

Interesting...Well I tried both the joystick and event driver. Same behavior. I'll give it a second look though and make sure the copy/paste job grabbed everything correctly.... I think this will be the last section I add for a little while. I need to take a break, I'm starting to see terminal commands in my sleep!


Thanks TakenOver :)

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Thu Mar 20, 2014 11:44 pm

*Triple checked the controller device name.
*Upgraded to Gotham
*Created user specific keymap for controller in ~/xbmc/userdata/keymaps
*Ran xboxdrv outside of XBMC, seems to function fine as far as I can tell...

Still no dice... I'm at a loss here. It still only controls the mouse! ( on top left 1/4 of the screen )

The only ideas I have left are:

*Fresh 1.6 image
*rpi-update

Anyone else get this working that can offer some words of advice?

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Fri Mar 21, 2014 12:09 am

So.... I made some progress!

Turns out I was making some dumb assumptions.... I had to specifiy the full path to ps3.ini in XBMC.sh (see guide for details)

I can now control XBMC...but the buttons are all jacked up.

I'm sure they have to mapped in ps3.ini correctly...most likely by running the debug log and updating each one to work with my specific controller.... Ok... We're getting closer!

Really making me wonder if bluetooth control is possible now by simply re-directing the evdev path.... But it would be a virtual input and require turning off the controller and reconnecting it each time xbmc is launched. ( dont' know why but the controller only registers inputs when you do it that way! - probably joystick being disabled )

Update
xboxdrv started with bluetooth input device yields:
Inappropriate ioctl for device...

Hmmmm. I'm guessing this is due to having --type= xbox vs. xbox360-wireless. Will test and report back.

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Sat Mar 22, 2014 10:02 pm

Wooo got the wired PS3 controller working with xboxdrv. Details updated in guide as always. As Takenover mentioned earlier when dealing with Xboxdrv - The most difficult part was mapping the buttons in the ps3.ini file.

Luckily I found https://github.com/Grumbel/xboxdrv/blob ... n3.xboxdrv and was able to simply merge this with TakenOvers config to get my Genuine sony ps3 controller working. If you have a non-genuine PS3 controller, I would suggest trying TakenOvers config first.



And with that, The guide is officially finished. So I won't be flooding the Forums with questions / updates /etc :D Thanks to everyone that helped along the way and thanks again to TakenOver83 for the awesome image and putting up with my barrage of questions.

If anyone would like to contribute documentation or request an additional section be added. Please reach out to me via the forums here or in the comments section of my guide!

~Cheers

Takenover83
Posts: 166
Joined: Mon Sep 02, 2013 5:39 am

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Sun Mar 23, 2014 3:34 am

Your persistence has paid off. I remember the pain of learning and configuring everything. Certainly no easy task. But thanks to you maybe the next person who comes along will have a easier time. You will find once everything is setup the time spent was well worth it. Just like everytime I get a thank you all those hours I spent making UltraSlim what it is becomes worth it. You have did the community and fans of UltraSlim a great service. For that, you deserve some praise. So thank you.

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Sun Mar 23, 2014 7:52 am

Rionoskae
Do you have a link to the Guide? I can add it to the Emulation on the Raspberry Pi Thread under Section: SD CARD IMAGE - UltraSlim.
"The list of things I have heard now contains everything!"

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Sun Mar 23, 2014 1:40 pm

TakenOver83,
My sincere thanks for the kind words. I know I spent a few weeks learning and documenting how to make minor adjustments here and there ( lost one whole week to joystick in xbmc!! )... I can only imagine how much time you spent actually creating the image, resolving technical issues and testing! I would have to agree though that it was all worth it knowing you were able to help some people out.


Welshy,
Here is the link to the guide:
http://everyday-tech.com/the-complete-g ... -pi-image/

Your thread was actually how I discovered UltraSlim, so that would be great if you were able to add the guide into your post!

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Sun Mar 23, 2014 2:27 pm

Rionoskae
Sweet! I will add to the Thread.
"The list of things I have heard now contains everything!"

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Mon Mar 24, 2014 11:08 am

Hi,

I wanted to say a big THANK YOU for UltraSlim. It's certainly made my goal of running everything from a USB hard drive an absolute breeze since discovering that the one '/root' partition holds everything.

There's just one thing I'd like to change if possible, and that's the main 'Applications' screen. Is it possible for me to change the font and background image used? I'm fairly new to the world of Linux so don't know where to look for them in the folder structure. I'm guessing they're stored there somewhere? :)
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

Peteyjay
Posts: 9
Joined: Sun Dec 15, 2013 3:29 pm

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Mon Mar 24, 2014 11:13 am

I too was wondering whether or not it would be possible to launch or add things to the Apps page.

I was hoping to add the launch link to Cave Story, Dinothawr, Quake and Doom to this. Any help would be greatly appreciated!

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Mon Mar 24, 2014 11:53 am

GTR2Fan wrote:Hi,

I wanted to say a big THANK YOU for UltraSlim. It's certainly made my goal of running everything from a USB hard drive an absolute breeze since discovering that the one '/root' partition holds everything.

There's just one thing I'd like to change if possible, and that's the main 'Applications' screen. Is it possible for me to change the font and background image used? I'm fairly new to the world of Linux so don't know where to look for them in the folder structure. I'm guessing they're stored there somewhere? :)
Below are the links your looking for.

\\ULTRASLIM\Home\.emulationstation\apps\theme\background.png
\\ULTRASLIM\Home\.emulationstation\apps\theme.xml

**Note** - You will need to enable viewing hidden folders if you haven't already.

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Mon Mar 24, 2014 11:56 am

Peteyjay wrote:I too was wondering whether or not it would be possible to launch or add things to the Apps page.

I was hoping to add the launch link to Cave Story, Dinothawr, Quake and Doom to this. Any help would be greatly appreciated!
Just open up es_systems.cfg @ \\ULTRASLIM\Home\.emulationstation

Then grab the run command for each entry you would like to add to apps and then create a script file in:

\\ULTRASLIM\home\Roms\apps

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Mon Mar 24, 2014 12:02 pm

Thank you Rionoskae. Much appreciated. :)
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Mon Mar 24, 2014 11:23 pm

So it looks like ps3 bluetooth controller support in XBMC may be possible!

I found this link that says that limited functionality is supported:
https://github.com/xbmc/xbmc/tree/maste ... entClients

Looks like a particular pairing method may be required as described in:
http://www.pabr.org/sixlinux/sixlinux.en.html

However the listed patches described...well I have no idea how or where to apply them!

Any brave souls want to help me tackle this one?

Nitrogen_Widget
Posts: 38
Joined: Tue Aug 28, 2012 5:52 pm

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Wed Mar 26, 2014 3:14 am

Quick question. hopefully,
Does anyone know if any of the mame emulators available support layout files for putting bezel artwork on the black spaces around the games when you maintain the aspect ratio of the game on widescreen monitors?

Thanks.

figaro
Posts: 1
Joined: Thu Mar 27, 2014 10:02 am

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Thu Mar 27, 2014 10:12 am

I am interested if xbmc in this distro can play dvd-s from external dvd player (not only iso images)?

User avatar
Rionoskae
Posts: 204
Joined: Thu Mar 06, 2014 5:40 pm
Location: WI
Contact: Website

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Thu Mar 27, 2014 3:52 pm

figaro wrote:I am interested if xbmc in this distro can play dvd-s from external dvd player (not only iso images)?
I don't believe it does by default, but you can upgrade to a Gotham nightly build using my guide linked in post 1. That should provide dvd support.
( Please read THIS for more information! )

dan3008
Posts: 1172
Joined: Wed Aug 15, 2012 1:05 pm

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Sat Mar 29, 2014 6:23 pm

Not strictly pi related, but UltraSlim related ...

I have just started work on a UltraSlim inspired project, for x86 computers (details here)). I really just wanted to share :)

I hope you dont mind me using your project as a base idea Takenover83. Also, I need to talk to you about naming, but no rush lol.

Talk soon

Dan
dan3008 wrote:Pays your money, takes your choice

Takenover83
Posts: 166
Joined: Mon Sep 02, 2013 5:39 am

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Sat Mar 29, 2014 7:33 pm

I do not mind. But, yes you might want to change the name to avoid confusion should your project pick up alot of followers. Cool idea btw. Look forward to following it's progress. Good luck!

reizaaditra
Posts: 5
Joined: Mon Mar 31, 2014 12:34 pm

Re: 01/16 UltraSlim = Retro/Gaming/Q3|XBMC 12/13|Desktop + m

Mon Mar 31, 2014 6:46 pm

Hello, I am new to the raspberry
I've installed ultraslim in my Rasp, when I click LXDE why I became a blank black screen only and XBMC as well as the
is there a way again after I install ultraslim?

terima kasih

Return to “Gaming”