Beruflich Dokumente
Kultur Dokumente
=======================
*************************************************************************************************
*************************************************************************************************
Use of these changes come with no written warranty
You are responsible for making them work and not breaking your install
If you break it, you fix it.
But if you need help, post to the group and someone will answer
Always make a backup copy of the files BEFORE you change them
These are tweaks that I do to my RetroPie installs, your mileage may vary
*************************************************************************************************
*************************************************************************************************
After a fresh image install of Retropie, my list of standard tweaks that I do.
For the button assignment file changes, it may take saving it and testing a few times to
get the right button assignment value correct.
I edit all of the files at the unix command line on the Pi itself using an attached keyboard
or by using an SSH program from my computer (something like PUTTY on Windows or
on a Mac use Terminal).
You could probably copy the files to your computer, edit them there, and copy them
back. Thats just not how I do it though. For me, its easier to edit them on the Pi itself
using the methods above.
file: /boot/config.txt
change:
uncomment the following line
hdmi_drive=2
file: /boot/cmdline.txt
change:
keeping all text on the same line, at the end of the first line, insert a space and then the
following text
usbhid.quirks=0x16c0:0x05e1:0x040
type: cd /dev/input
type: jstest js0 (or js1 for second controller)
when pressing buttons, will see corresponding button go from OFF to ON to OFF
I like to setup a single EXIT button on my controllers instead of always using the default
two button (SELECT + START).
For my gamepads, I like to figure out what the -center- button is. For example on an
Xbox controller, what button is the Xbox button?
4) Setup single button to be used for EXIT instead of having to use the default
(SELECT + START)
After determining what the -center- button on my gamepad is (or any other button like
one of the Xin-Mo buttons), edit the following file and insert this text at the bottom. This
will setup a single EXIT button for all games except MAME and N64 (MUPEN64) games
(more on mupen64 games later). Those will configure later.
file: /opt/retropie/configs/all/retroarch.cfg
change:
add the following lines at the bottom of the file
make sure to put the button number assignment determined from step 3, the ones
below are just examples
file: /opt/retropie/configs/all/retroarch-core-options.cfg
change:
add/change the following lines of config file:
file: /opt/retropie/configs/segacd/retroarch.cfg
change:
add/change the following lines of config file:
input_libretro_device_p1 = "513"
input_libretro_device_p2 = "513"
to remove the exit question for mame-advance, edit the two config files and change the
following line
file: /opt/retropie/configs/mame-advmame/advmame-0.94.0.rc
file: /opt/retropie/configs/mame-advmame/advmame-1.4.rc
change:
change the value for the following line to make it be : no
misc_safequit no
make the following changes to the two config files to get a trackball all setup and
working
file: /opt/retropie/configs/mame-advmame/advmame-0.94.0.rc
file: /opt/retropie/configs/mame-advmame/advmame-1.4.rc
change:
add/change the following lines
device_mouse raw
device_raw_mousedev[0] /dev/input/mouse0
device_raw_mousedev[1] /dev/input/mouse1
device_raw_mousedev[2] /dev/input/mouse2
device_raw_mousetype[0] ps2
device_raw_mousetype[1] ps2
device_raw_mousetype[2] ps2
I like to have a custom controller configuration for the Daphne games, editing the
following config file will setup the controls to the buttons needed
must first get a button assignment layout for all of the buttons (gamepad, Xin-Mo, etc) in
step 3 above
change:
only adjust the LAST numeric value not any of the other values
the last number corresponds to the button assignment from step 3 above
to match gamepad buttons (start with 1, not 0)
[KEYBOARD]
KEY_UP = 273 114 5
KEY_DOWN = 274 102 7
KEY_LEFT = 276 100 8
KEY_RIGHT = 275 103 6
KEY_BUTTON1 = 306 97 1
KEY_BUTTON2 = 308 115 2
KEY_BUTTON3 = 32 113 3
KEY_START1 = 49 0 7
KEY_START2 = 50 0 0
KEY_COIN1 = 53 0 7
KEY_COIN2 = 54 0 0
KEY_QUIT = 27 113 10
END
9. Setup Nintendo 64 configurations to have a single EXIT button instead of the two
button default (SELECT + START)
This change is a bit more complex as retroarch overwrites the mupen64 config file each
boot up/launch Have to turn off this overwriting function before making the single button
config changes.
file: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh
change:
disable the overwrite function by commented out the two lines below
file: /opt/retropie/configs/n64/mupen64plus.cfg
change:
add/change the following line to be correct joystick button assignment from step 3
examples:
J0B8 = joystick 1 button 8
J1B8 = joystick 2 button 8
10. Kodi - setup a Xin-Mo controller to be able to use for Kodi menu movement
After installing and launching Kodi the first time, the newest RetroPie image version of
Kodi includes gamepad support.
However, it does not automatically setup configuration files if using the Xin-Mo USB
controller board.
After the initial launch of Kodi, exit the the command line and create the following file.
May also have to create the directory also.
directory: /home/pi/.kodi/userdata/keymaps
file: joystick.xml
change:
add the following lines into the joystick.xml file
11.