We started the week resolving some questions you can find with this Raspbian loaded with emulators from Shea Silverman.
Here we go!
Execute the following:
sudo amixer cset numid=3 2 sudo amixer cset numid=3 100% sudo amixer cset numid=3 unmute
Edit the file config.txt as follows:
sudo nano /boot/config.txt
and remove the # character from the line hdmi_drive=2
Runs under the command line as follows:
sudo chmod 644 roms/*.* sudo chmod 755 roms
Remember that you can use files in .zip although beware with uppercase extensions.
Edit the file advmenu.rc as follows:
sudo nano .advance/advmenu.rc
and changes from none to auto in the line device_joystick
Now install the driver:
sudo apt-get install xboxdrv
Edit the file rc.local as follows:
sudo nano /etc/rc.local
and added after the lines with # characters the follow:
xboxdrv --trigger-as-button --id 0 --led 2 --deadzone 4000 --silent & sleep 1 xboxdrv --trigger-as-button --id 1 --led 3 --deadzone 4000 --silent &
changing *--id * by *--wid * if your pad is wireless.
NOTE: The pad will not work on menus, only in games.
OK. Install the driver:
sudo apt-get install joystick
With the pad connected, execute the following:
jscal -c /dev/input/js0
Where js0 is the pad 0, js1 is 1,...
In this calibration app, do not touch any buttons until prompted. First set the horizontal axis pressing back + button (0), center+button (128), front+button (255). For the vertical axis: up+button (0), center+button (128) and finally down+button (255).
This version is a port of MAME 0.37b5:
If it does not work the ROM you want, try the AdvanceMAME.
Search on the internet, or the links below as the law of your country allows it (I am not responsible blah, blah, blah ...):
The list of questions and answers will be updated with more questions. I recommend reading the official forum to answer your questions or below in the comments.