Thanks a ton, that worked perfectly for me! Now to figure out why there's such a long input lag. Nothing too huge, though.banquet wrote:I ran the rpi-update tool from https://github.com/Hexxeh/rpi-update and it has fixed my video problem.Toad King wrote:I'll have to look into this. Thanks for the heads up.
Re: RetroArch Emulator Frontend
Re: RetroArch Emulator Frontend
Hey ToadKing, thanks for all the work on this project. It looks really impressive.
Can I ask you a question about it. My dream would be to have a low profile set-top box that I can use to play all my retro games. It sounds like Raspberry Pi + RetroArch could fit the bill.
Do you think it'd ever get to a point where I can have the Pi boot directly into the emulator front end and control everything with a controller?
Thanks!
Can I ask you a question about it. My dream would be to have a low profile set-top box that I can use to play all my retro games. It sounds like Raspberry Pi + RetroArch could fit the bill.
Do you think it'd ever get to a point where I can have the Pi boot directly into the emulator front end and control everything with a controller?
Thanks!
Re: RetroArch Emulator Frontend
The way RetroArch is set up, it is very easy to link it to a frontend. Not sure if any actually work with it, but adding support would be trivial.
Re: RetroArch Emulator Frontend
I actually want to do exactly the same thing - I've been busy with other stuff, but I've looked in to making my own simple front-end (with SDL and probably boost.filesytem, written in C++) designed for controller use. Perhaps I should get started with that.Epyon wrote:My dream would be to have a low profile set-top box that I can use to play all my retro games. It sounds like Raspberry Pi + RetroArch could fit the bill.
Do you think it'd ever get to a point where I can have the Pi boot directly into the emulator front end and control everything with a controller?
I also assume that something else exists that already does this very well, so I'm not sure if I should take the time to "re-invent the wheel," so to speak. I didn't look very hard, though.
-
- Posts: 39
- Joined: Tue Jun 05, 2012 3:00 am
Re: RetroArch Emulator Frontend
https://github.com/Themaister/RetroArch-Phoenix
Uses Phoenix:
http://byuu.org/phoenix/
I have yet to try to compile it or anything but it might be a good place to start.
Uses Phoenix:
http://byuu.org/phoenix/
I have yet to try to compile it or anything but it might be a good place to start.
Re: RetroArch Emulator Frontend
Awesome. I basically want to have a console that would have all the retro games I want to play all loaded on them. I figure I'll do all the setup with a kb & mouse and then once it's dialed in, just use a controller for everyday operation.Aloshi wrote:I actually want to do exactly the same thing - I've been busy with other stuff, but I've looked in to making my own simple front-end (with SDL and probably boost.filesytem, written in C++) designed for controller use. Perhaps I should get started with that.Epyon wrote:My dream would be to have a low profile set-top box that I can use to play all my retro games. It sounds like Raspberry Pi + RetroArch could fit the bill.
Do you think it'd ever get to a point where I can have the Pi boot directly into the emulator front end and control everything with a controller?
I also assume that something else exists that already does this very well, so I'm not sure if I should take the time to "re-invent the wheel," so to speak. I didn't look very hard, though.
I wish I could help, but I don't know any programming, barely any Linux/Unix (just simple navigation).
Re: RetroArch Emulator Frontend
Just compiled and tested this, it seems it's just designed as an easier way to enter the command line options for RetroArch (you enter a ROM name, path to your libretro.so file, config file, etc. then it'll launch RetroArch). Unfortunately I didn't see any way to simply browse a library, nor gamepad support.ratherDashing wrote:https://github.com/Themaister/RetroArch-Phoenix
Uses Phoenix:
http://byuu.org/phoenix/
I have yet to try to compile it or anything but it might be a good place to start.
Re: RetroArch Emulator Frontend
I just compiled this as well. I have to say I was a bit underwhelmed too. I had hoped to get it to run without needing to load xwindows, but I haven't figured that one out yet (thinking GTK direftfb support of some kind).Just compiled and tested this, it seems it's just designed as an easier way to enter the command line options for RetroArch (you enter a ROM name, path to your libretro.so file, config file, etc. then it'll launch RetroArch). Unfortunately I didn't see any way to simply browse a library, nor gamepad support.
One issue I am having is the sound. It stutters to the point of being totally unrecognizable. Granted I've only tested a single rom (Super Mario Kart) on one core (SNES) so it may be an issue with one or both of those. Has anyone else experienced extreme stuttering in their sound?
Re: RetroArch Emulator Frontend
ummm... Everyone is having this issue...draconis wrote: One issue I am having is the sound. It stutters to the point of being totally unrecognizable. Granted I've only tested a single rom (Super Mario Kart) on one core (SNES) so it may be an issue with one or both of those. Has anyone else experienced extreme stuttering in their sound?
I will try to put together a basic shell script or something that will act as a frontend...
-
- Posts: 272
- Joined: Wed Jul 04, 2012 6:12 am
- Location: Germany
- Contact: Website
Re: RetroArch Emulator Frontend
I stumbled upon a thread about ALSA and Raspbian: http://www.raspberrypi.org/phpBB3/viewt ... 13#p125513
It is a discussion about the creaky ALSA sound with a temporary solution for that.
I have not found time to test it myself, but maybe this might help a bit. They are also discussing possible fixes for the ALSA implementation, which does not seem to be that easy. So let's keep our fingers crossed ...
Besides that I am also looking for an emulator frontend that does not need X, but I have not found a solution for that until now.
It is a discussion about the creaky ALSA sound with a temporary solution for that.
I have not found time to test it myself, but maybe this might help a bit. They are also discussing possible fixes for the ALSA implementation, which does not seem to be that easy. So let's keep our fingers crossed ...
Besides that I am also looking for an emulator frontend that does not need X, but I have not found a solution for that until now.
fun stuff for technics enthusiasts: www.petrockblock.com
Re: RetroArch Emulator Frontend
Hi everyone, just to let you know I have created a automated script for the installation process, also a python console application (works, but need further dev) to help you find and run your roms. Check it out at
http://www.frost-software.com/blog/2012 ... ry-pi.html
http://www.frost-software.com/blog/2012 ... ry-pi.html
-
- Posts: 100
- Joined: Sun Jun 24, 2012 1:36 am
Re: RetroArch Emulator Frontend
ok so looks like I'm bringing out my inner noob
I downloaded the libretro scripts and commeneted out the ones I didn't want... but basically the gist of what I want here is a way to try snes games. I haven't had any success with building those libraries but it appears as though some of you are successfully getting snes games to work out for you, so could you let me know what you did to make that happen? Do I even use the regular libretro-super scripts at all?
I downloaded the libretro scripts and commeneted out the ones I didn't want... but basically the gist of what I want here is a way to try snes games. I haven't had any success with building those libraries but it appears as though some of you are successfully getting snes games to work out for you, so could you let me know what you did to make that happen? Do I even use the regular libretro-super scripts at all?
Re: RetroArch Emulator Frontend
Assuming you've managed to build RetroArch fine, this post lists some tested cores and their repositories. Generally, just follow the Readmes (or just run make). For the PocketSNES core, if I remember right, I just used:BenWiley4000 wrote:ok so looks like I'm bringing out my inner noob
I downloaded the libretro scripts and commeneted out the ones I didn't want... but basically the gist of what I want here is a way to try snes games. I haven't had any success with building those libraries but it appears as though some of you are successfully getting snes games to work out for you, so could you let me know what you did to make that happen? Do I even use the regular libretro-super scripts at all?
Code: Select all
git clone https://github.com/ToadKing/pocketsnes-libretro.git
cd pocketsnes-libretro
make
Code: Select all
retroarch -L pocketsnes-libretro/libretro.so path_to_rom.smc
Re: RetroArch Emulator Frontend
I managed to compile it, but it runs sooooo slowly (less then 1fps I guess). Any tips?
I disabled audio and tried different video drives, but nothing helped.
I disabled audio and tried different video drives, but nothing helped.
Re: RetroArch Emulator Frontend
Just added NES support check it http://www.frost-software.com/blog/2012 ... h-nes.htmlfrostware wrote:Hi everyone, just to let you know I have created a automated script for the installation process, also a python console application (works, but need further dev) to help you find and run your roms. Check it out at
http://www.frost-software.com/blog/2012 ... ry-pi.html
Re: RetroArch Emulator Frontend
Works great and very easy setup, thanks! (only tested snes so far)frostware wrote:Just added NES support check it http://www.frost-software.com/blog/2012 ... h-nes.htmlfrostware wrote:Hi everyone, just to let you know I have created a automated script for the installation process, also a python console application (works, but need further dev) to help you find and run your roms. Check it out at
http://www.frost-software.com/blog/2012 ... ry-pi.html
There is a little typo on your blog
Code: Select all
Run the installation script (sudo sh installation.sh)
Now I have to get that usb gamepad to work, I am excited how this will work out

Re: RetroArch Emulator Frontend
hmm retroarch-joyconfig works and configures the gamepad, but the gamepad won't do anything in games, what did i miss? thanks
Re: RetroArch Emulator Frontend
I believe you need to specify the file for joyconfig to write to, something likefraz0815 wrote:hmm retroarch-joyconfig works and configures the gamepad, but the gamepad won't do anything in games, what did i miss? thanks
Code: Select all
retroarch-joyconfig -o ~/.retroarch.cfg
Re: RetroArch Emulator Frontend
Can you please explain abit more how you fixed this by "SDL_GetError() to the joyconfig check"?edmicman wrote: Next we tried getting a couple Gravis gamepad USBs working. retroarch-joyconfig kept failing, first with "Failed to init joystick subsystem" but after adding SDL_GetError() to the joyconfig check we found SDL was failing with something like "Unable to init SDL: Unable to open mouse".
From there I found a reference from a search result that mentioned:
If SDL is complaining because it can't find any mouse (Unable to init SDL: Unable to open mouse) then, before launching the program, do:
# export SDL_NOMOUSE=1
This let the joyconfig program run successfully.
I'm trying to setup my 360 controller (already setup using xboxdrv) in RetroArch with this 'retroarch-joyconfig' but I'm getting "Failed to init joystick subsystem" all the time.
Re: RetroArch Emulator Frontend
Thanks, I think I have to find/create the retroarch.cfg which is really used.Aloshi wrote:I believe you need to specify the file for joyconfig to write to, something likefraz0815 wrote:hmm retroarch-joyconfig works and configures the gamepad, but the gamepad won't do anything in games, what did i miss? thanksCode: Select all
retroarch-joyconfig -o ~/.retroarch.cfg
During start of a game i get a message that XDG_CONFIG_HOME is not set and its looking for it in $HOME/.retroarch.cfg.
So far after fresh install I had about three of the files, none of them had any impact (just changed keyboard start button to check), now I have them nearly everywhere, also in the above mentioned place.
Will hopefully just be a matter of time till i figure out the right place

Just a sidenote question:
retroarch-joyconfig returns something like
Code: Select all
input_player1_a_btn = "1"
Code: Select all
value = number
Does it matter?
---
@protonic
Maybe it helps, don't try to run it through putty/ssh as I did, returned the same error.
Re: RetroArch Emulator Frontend
Hej,
If it still doesn't work you can get a more specific error message:
-open the retroarch-joyconfig.c file from the tools folder
- search for the error message you get while executing the retroarch-joyconfig (in my case it was line 125 and "Failed to init joystick subsystem")
- add below
this gave me some error text about permission stuff, therefore sudo in my case fixed it for me.
If everything works out you still have to give retroarch the location of the config file you've written to. In the upper case it will be (like Aloshi mentioned):
cheers
EDIT: I forgot, after changing the .c file you have to run "make" again from the retroarch top level folder
I'm also using the 360 controller and I just had to add sudo:Can you please explain abit more how you fixed this by "SDL_GetError() to the joyconfig check"?
I'm trying to setup my 360 controller (already setup using xboxdrv) in RetroArch with this 'retroarch-joyconfig' but I'm getting "Failed to init joystick subsystem" all the time.
Code: Select all
sudo retroarch-joyconfig -o ~/.retroarch.cfg
-open the retroarch-joyconfig.c file from the tools folder
- search for the error message you get while executing the retroarch-joyconfig (in my case it was line 125 and "Failed to init joystick subsystem")
- add below
Code: Select all
printf("SDL_Init failed: %s\n", SDL_GetError());
If everything works out you still have to give retroarch the location of the config file you've written to. In the upper case it will be (like Aloshi mentioned):
Code: Select all
retroarch -c ~/.retroarch.cfg
EDIT: I forgot, after changing the .c file you have to run "make" again from the retroarch top level folder
Re: RetroArch Emulator Frontend
Yeah
retroarch-joyconfig -o $HOME/.retroarch.cfg
did it, not sure why, because i had that file already copied/paste before.
Time for some NBA Jam
retroarch-joyconfig -o $HOME/.retroarch.cfg
did it, not sure why, because i had that file already copied/paste before.
Time for some NBA Jam

Re: RetroArch Emulator Frontend
To anyone looking for a simple front-end for RetroArch that doesn't use X, I present: EmulationStation!
I've been working on it for the past week or so. It's written in C++ and uses SDL, SDL TTF, and Boost.Filesystem. It can be easily configured with a list of "systems" - each with a name, search path, extension, and launch command - to easily browse a list of ROMs with either a controller or keyboard. More instructions in the README.
It's still got some work to do (allow holding down non-keyboard input to scroll, sorting the games list, truncating games with long names, beautification), but it's in a usable state. I'm also an entirely self-taught programmer, so please excuse me if the code is ugly.
I've been working on it for the past week or so. It's written in C++ and uses SDL, SDL TTF, and Boost.Filesystem. It can be easily configured with a list of "systems" - each with a name, search path, extension, and launch command - to easily browse a list of ROMs with either a controller or keyboard. More instructions in the README.
It's still got some work to do (allow holding down non-keyboard input to scroll, sorting the games list, truncating games with long names, beautification), but it's in a usable state. I'm also an entirely self-taught programmer, so please excuse me if the code is ugly.

Re: RetroArch Emulator Frontend
Great work.Aloshi wrote:To anyone looking for a simple front-end for RetroArch that doesn't use X, I present: EmulationStation!
I've been working on it for the past week or so. It's written in C++ and uses SDL, SDL TTF, and Boost.Filesystem. It can be easily configured with a list of "systems" - each with a name, search path, extension, and launch command - to easily browse a list of ROMs with either a controller or keyboard. More instructions in the README.
It's still got some work to do (allow holding down non-keyboard input to scroll, sorting the games list, truncating games with long names, beautification), but it's in a usable state. I'm also an entirely self-taught programmer, so please excuse me if the code is ugly.
I just quickly compiled it to try it and so far it works like a charm.
Re: RetroArch Emulator Frontend
Huge thanks for the work so far on this all. Not good with linux here but my plan with the pi was to try and eventually construct something like the iCade but without the iPad and all its restrictions.
After a few hours of being an idiot I've now got Super Mario World running.
Onwards and upwards
After a few hours of being an idiot I've now got Super Mario World running.
Onwards and upwards
