Salut retroboy ! Alors dans mon retroarchcustom.cfg avant de lancer un jeu j'ai :
core_options_path = /recalbox/configs/retroarch/cores/retroarch-core-options.cfg
system_directory = /recalbox/share/bios/
config_save_on_exit = false
video_threaded = true
#video_aspect_ratio = 1.33
aspect_ratio_index = 0
aspect_ratio_index = 0
#video_force_aspect = false
video_aspect_ratio_auto = true
#video_scale_integer = true
rewind_enable = false
rewind_buffer_size = 10
rewind_granularity = 2
video_gpu_screenshot = true
video_shader_enable = false
video_smooth = true
screenshot_directory = /recalbox/share/screenshots/
savestate_directory = /recalbox/share/saves/
savefile_directory = /recalbox/share/saves/
extraction_directory = /recalbox/share/extractions/
fastforward_ratio = -1.0
input_autodetect_enable = true
joypad_autoconfig_dir = /recalbox/configs/retroarch/inputs/
input_player1_analog_dpad_mode = "0"
input_player2_analog_dpad_mode = "1"
input_player3_analog_dpad_mode = "1"
input_player4_analog_dpad_mode = "1"
input_enable_hotkey_btn = 12
input_enable_hotkey = "escape"
input_exit_emulator = "escape"
input_player1_joypad_index = 0
input_player2_joypad_index = 1
input_player3_joypad_index = 2
input_player4_joypad_index = 3
Ensuite une fois le jeu lancé j'ai :
core_options_path = /recalbox/configs/retroarch/cores/retroarch-core-options.cfg
system_directory = /recalbox/share/bios/
config_save_on_exit = false
video_threaded = true
#video_aspect_ratio = 1.33
aspect_ratio_index = 0
aspect_ratio_index = 0
#video_force_aspect = false
video_aspect_ratio_auto = true
#video_scale_integer = true
rewind_enable = false
rewind_buffer_size = 10
rewind_granularity = 2
video_gpu_screenshot = true
video_shader_enable = false
video_smooth = true
screenshot_directory = /recalbox/share/screenshots/
savestate_directory = /recalbox/share/saves/
savefile_directory = /recalbox/share/saves/
extraction_directory = /recalbox/share/extractions/
fastforward_ratio = -1.0
input_autodetect_enable = true
joypad_autoconfig_dir = /recalbox/configs/retroarch/inputs/
input_player1_analog_dpad_mode = "0"
input_player2_analog_dpad_mode = "1"
input_player3_analog_dpad_mode = "1"
input_player4_analog_dpad_mode = "1"
input_enable_hotkey_btn = 12
input_enable_hotkey = "escape"
input_exit_emulator = "escape"
input_player1_joypad_index = 0
input_player2_joypad_index = 1
input_player3_joypad_index = 2
input_player4_joypad_index = 3
ensuite pour le ls /dev/input j'ai :
by-id by-path event0 event1 js0 mice mouse0
et pour cat /proc/bus/input/devices j'ai :
I: Bus=0003 Vendor=046d Product=cad2 Version=0111
N: Name="PS3/USB Cordless Gamepad"
P: Phys=usb-bcm2708_usb-1.3/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:CAD2.0005/input/input0
U: Uniq=
H: Handlers=js0 event0
B: PROP=0
B: EV=1b
B: KEY=1fff0000 0 0 0 0 0 0 0 0 0
B: ABS=30027
B: MSC=10
I: Bus=0003 Vendor=046d Product=400e Version=0111
N: Name="Logitech K400"
P: Phys=usb-bcm2708_usb-1.2:1
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.2/0003:046D:C52B.0003/0003:046D:400E.0004/input/input1
U: Uniq=
H: Handlers=sysrq kbd mouse0 event1
B: PROP=0
B: EV=12001f
B: KEY=3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 ffff0001 130f93 8b17c007 ffff7bfa d9415fff febeffdf ffefffff ffffffff fffffffe
B: REL=1c3
B: ABS=1 0
B: MSC=10
B: LED=1f
Niveau generateconfig.log on a :
setJoypadIndex Retroarch ----------------------------
I have for player 1 : index=0 for joystick PS3/USB Cordless Gamepad
I have for player 2 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
I have for player 3 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
I have for player 4 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
writing given config for player 1
Finishing config
So it will be default configuration for player 2
pad 1 is free , writing in config
So it will be default configuration for player 3
pad 2 is free , writing in config
So it will be default configuration for player 4
pad 3 is free , writing in config
pour recalbox.log j'ai :
starting new log at Thu Jan 1 01:00:03 CET 1970
essetting.sh - searching for SystemVolume
setting audio volume to 96
---- recalbox-config.sh ----
setting audio volume : 96
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback -25 [96%] [-0.25dB] [on]
systemsetting.sh - searching for wifi_ssid
systemsetting.sh - searching for wifi_key
systemsetting.sh - searching for audio_output
essetting.sh - searching for AudioOutputDevice
setting audio to auto
---- recalbox-config.sh ----
setting audio output mode : auto
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=0
systemsetting.sh - searching for enable_mk_gpio
systemsetting.sh - searching for enable_db9
systemsetting.sh - searching for enable_gamecon
systemsetting.sh - searching for enable_kodi
systemsetting.sh - searching for kodi_at_start
systemsetting.sh - searching for kodi_by_xbutton
systemsetting.sh - searching for language
systemsetting.sh - searching for kb_layout
essetting.sh - searching for Lang
setting keyboard layout to fr
Loading /usr/share/keymaps/i386/azerty/fr.map.gz
systemsetting.sh - searching for enable_xbox_drv
systemsetting.sh - searching for xboxdrv_nb_controls
systemsetting.sh - searching for enable_updates_check
systemsetting.sh - searching for time_zone
essetting.sh - searching for Lang
starting emulationstation with lang = fr_FR
Starting emulationstation with command :
HOME=/root LANG="fr_FR.UTF-8" SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so SDL_NOMOUSE=1 /usr/bin/emulationstation
---- recalbox-config.sh ----
udhcpc (v1.23.1) started
Sending discover...
Sending discover...
Sending select for 192.168.0.13...
Lease of 192.168.0.13 obtained, lease time 86400
deleting routers
adding dns 62.2.24.158
adding dns 62.2.17.60
adding dns 62.2.24.162
adding dns 62.2.17.61
---- recalbox-config.sh ----
no wlan interface found
---- recalbox-config.sh ----
no update available
Retroarch configuration ok
DonkeyKongClassic (Shiru).smc
DonkeyKongClassic\ \(Shiru\).smc
/recalbox/share/roms/snes
/recalbox/share/roms/snes/DonkeyKongClassic (Shiru).smc
systemsetting.sh - searching for game_hdmi_mode
Powering on HDMI with explicit settings (CEA mode 4)
Powering on HDMI with preferred settings
PING recalbox.com (195.154.77.183): 56 data bytes
64 bytes from 195.154.77.183: seq=0 ttl=54 time=27.151 ms
--- recalbox.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 27.151/27.151/27.151 ms
---- recalbox-config.sh ----
no update available
Retroarch configuration ok
DonkeyKongClassic (Shiru).smc
DonkeyKongClassic\ \(Shiru\).smc
/recalbox/share/roms/snes
/recalbox/share/roms/snes/DonkeyKongClassic (Shiru).smc
systemsetting.sh - searching for game_hdmi_mode
Powering on HDMI with explicit settings (CEA mode 4)
et pour finir le es_input.cfg me donne :
<?xml version="1.0"?>
<inputList>
<inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
<input name="a" type="key" id="115" value="1" />
<input name="b" type="key" id="97" value="1" />
<input name="down" type="key" id="1073741905" value="1" />
<input name="left" type="key" id="1073741904" value="1" />
<input name="pagedown" type="key" id="1073741902" value="1" />
<input name="pageup" type="key" id="1073741899" value="1" />
<input name="right" type="key" id="1073741903" value="1" />
<input name="select" type="key" id="32" value="1" />
<input name="start" type="key" id="13" value="1" />
<input name="up" type="key" id="1073741906" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="PLAYSTATION(R)3 Controller (00:8B:F0:FA:63:25)" deviceGUID="060000004c0500006802000000010000">
<input name="a" type="button" id="13" value="1" />
<input name="b" type="button" id="14" value="1" />
<input name="down" type="button" id="6" value="1" />
<input name="hotkey" type="button" id="16" value="1" />
<input name="joystickleft" type="axis" id="0" value="-1" />
<input name="joystickup" type="axis" id="1" value="-1" />
<input name="l2" type="button" id="8" value="1" />
<input name="left" type="button" id="7" value="1" />
<input name="pagedown" type="button" id="11" value="1" />
<input name="pageup" type="button" id="10" value="1" />
<input name="r2" type="button" id="9" value="1" />
<input name="right" type="button" id="5" value="1" />
<input name="select" type="button" id="0" value="1" />
<input name="start" type="button" id="3" value="1" />
<input name="up" type="button" id="4" value="1" />
<input name="x" type="button" id="12" value="1" />
<input name="y" type="button" id="15" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000010010000">
<input name="a" type="button" id="0" value="1" />
<input name="b" type="button" id="1" value="1" />
<input name="down" type="hat" id="0" value="4" />
<input name="hotkey" type="button" id="8" value="1" />
<input name="left" type="hat" id="0" value="8" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="right" type="hat" id="0" value="2" />
<input name="select" type="button" id="6" value="1" />
<input name="start" type="button" id="7" value="1" />
<input name="up" type="hat" id="0" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="Xbox 360 Wireless Receiver" deviceGUID="030000005e0400001907000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="down" type="button" id="14" value="1" />
<input name="hotkey" type="button" id="8" value="1" />
<input name="joystickleft" type="axis" id="0" value="-1" />
<input name="joystickup" type="axis" id="1" value="-1" />
<input name="l2" type="axis" id="2" value="1" />
<input name="left" type="button" id="11" value="1" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="r2" type="axis" id="5" value="1" />
<input name="right" type="button" id="12" value="1" />
<input name="select" type="button" id="6" value="1" />
<input name="start" type="button" id="7" value="1" />
<input name="up" type="button" id="13" value="1" />
<input name="x" type="button" id="3" value="1" />
<input name="y" type="button" id="2" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="Xbox Gamepad (userspace driver)" deviceGUID="0000000058626f782047616d65706100">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="down" type="hat" id="0" value="4" />
<input name="hotkey" type="button" id="10" value="1" />
<input name="joystickleft" type="axis" id="0" value="-1" />
<input name="joystickup" type="axis" id="1" value="-1" />
<input name="l2" type="button" id="6" value="1" />
<input name="left" type="hat" id="0" value="8" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="r2" type="button" id="7" value="1" />
<input name="right" type="hat" id="0" value="2" />
<input name="select" type="button" id="8" value="1" />
<input name="start" type="button" id="9" value="1" />
<input name="up" type="hat" id="0" value="1" />
<input name="x" type="button" id="3" value="1" />
<input name="y" type="button" id="2" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="GPIO Controller 1" deviceGUID="15000000010000000100000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="hotkey" type="button" id="6" value="1" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="select" type="button" id="6" value="1" />
<input name="start" type="button" id="7" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
<input name="down" type="axis" id="1" value="1" />
<input name="left" type="axis" id="0" value="-1" />
<input name="right" type="axis" id="0" value="1" />
<input name="up" type="axis" id="1" value="-1" />
</inputConfig>
<inputConfig type="joystick" deviceName="GPIO Controller 2" deviceGUID="15000000010000000200000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="hotkey" type="button" id="6" value="1" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="select" type="button" id="6" value="1" />
<input name="start" type="button" id="7" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
<input name="down" type="axis" id="1" value="1" />
<input name="left" type="axis" id="0" value="-1" />
<input name="right" type="axis" id="0" value="1" />
<input name="up" type="axis" id="1" value="-1" />
</inputConfig>
<inputConfig type="joystick" deviceName="PS3/USB Cordless Gamepad" deviceGUID="030000006d040000d2ca000011010000">
<input name="a" type="button" id="2" value="1" />
<input name="b" type="button" id="1" value="1" />
<input name="down" type="axis" id="1" value="1" />
<input name="hotkey" type="button" id="12" value="1" />
<input name="joystickleft" type="hat" id="0" value="8" />
<input name="joystickup" type="hat" id="0" value="1" />
<input name="l2" type="button" id="6" value="1" />
<input name="left" type="axis" id="0" value="-1" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="r2" type="button" id="7" value="1" />
<input name="right" type="axis" id="0" value="1" />
<input name="select" type="button" id="8" value="1" />
<input name="start" type="button" id="9" value="1" />
<input name="up" type="axis" id="1" value="-1" />
<input name="x" type="button" id="3" value="1" />
<input name="y" type="button" id="0" value="1" />
</inputConfig>
</inputList>
allez encore un petit es_log pour être sur :
lvl2: EmulationStation - v2.0.0-rc1, built Mar 9 2015 - 14:01:19
lvl2: Setting local directory to /usr/bin/locale/
lvl2: Locals set...
lvl2: Creating surface...
lvl2: Created window successfully.
lvl2: Added unconfigured joystick PS3/USB Cordless Gamepad (GUID: 030000006d040000d2ca000011010000, instance ID: 0, device index: 0).
lvl2: Checking available OpenGL extensions...
lvl2: ARB_texture_non_power_of_two: MISSING
lvl2: Loading system config file /root/.emulationstation/es_systems.cfg...
lvl2: Parsing XML file "/root/.emulationstation/gamelists/n64/gamelist.xml"...
lvl1: System "n64" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/gbc/gamelist.xml"...
lvl1: System "gbc" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/gb/gamelist.xml"...
lvl1: System "gb" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/fds/gamelist.xml"...
lvl1: System "fds" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/megadrive/gamelist.xml"...
lvl1: System "megadrive" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/segacd/gamelist.xml"...
lvl1: System "segacd" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/sega32x/gamelist.xml"...
lvl1: System "sega32x" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/gamegear/gamelist.xml"...
lvl1: System "gamegear" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/sg1000/gamelist.xml"...
lvl1: System "sg1000" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/psx/gamelist.xml"...
lvl1: System "psx" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/scummvm/gamelist.xml"...
lvl1: System "scummvm" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/fba/gamelist.xml"...
lvl1: System "fba" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/mame/gamelist.xml"...
lvl1: System "mame" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/atari2600/gamelist.xml"...
lvl1: System "atari2600" has no games! Ignoring it.
lvl2: Parsing XML file "/root/.emulationstation/gamelists/msx/gamelist.xml"...
lvl1: System "msx" has no games! Ignoring it.
lvl2: SDL AUDIO Initialized
lvl2: req music [system.bgsound]
lvl0: playing
lvl2: Launching /recalbox/scripts/recalbox-config.sh canupdate
lvl2: Cannot update
lvl1: OptionListComponent too narrow!
lvl1: adding default entry for player 0(selected : true)
lvl1: OptionListComponent too narrow!
lvl1: adding default entry for player 1(selected : true)
lvl1: OptionListComponent too narrow!
lvl1: adding default entry for player 2(selected : true)
lvl1: OptionListComponent too narrow!
lvl1: adding default entry for player 3(selected : true)
lvl2: Configuring device 0 (PS3/USB Cordless Gamepad).
lvl2: Mapping [Axis 1-] -> Up
lvl2: Mapping [Axis 1+] -> Down
lvl2: Mapping [Axis 0-] -> Left
lvl2: Mapping [Axis 0+] -> Right
lvl2: Mapping [Hat 0 up] -> JoystickUp
lvl2: Mapping [Hat 0 left] -> JoystickLeft
lvl2: Mapping [Button 2] -> A
lvl2: Mapping [Button 1] -> B
lvl2: Mapping [Button 3] -> X
lvl2: Mapping [Button 0] -> Y
lvl2: Mapping [Button 9] -> Start
lvl2: Mapping [Button 8] -> Select
lvl2: Mapping [Button 4] -> PageUp
lvl2: Mapping [Button 5] -> PageDown
lvl2: Mapping [Button 6] -> L2
lvl2: Mapping [Button 7] -> R2
lvl2: Mapping [Button 12] -> HotKey
lvl1: OptionListComponent too narrow!
lvl1: adding entry for player0 (not selected): PS3/USB Cordless Gamepad 030000006d040000d2ca000011010000
lvl1: adding default entry for player 0(selected : true)
lvl1: OptionListComponent too narrow!
lvl1: adding entry for player1 (not selected): PS3/USB Cordless Gamepad 030000006d040000d2ca000011010000
lvl1: adding default entry for player 1(selected : true)
lvl1: OptionListComponent too narrow!
lvl1: adding entry for player2 (not selected): PS3/USB Cordless Gamepad 030000006d040000d2ca000011010000
lvl1: adding default entry for player 2(selected : true)
lvl1: OptionListComponent too narrow!
lvl1: adding entry for player3 (not selected): PS3/USB Cordless Gamepad 030000006d040000d2ca000011010000
lvl1: adding default entry for player 3(selected : true)
lvl2: Attempting to launch game...
lvl2: Shutting down SDL AUDIO
lvl2: Attempting to configure emulator...
lvl2: Available and configurated : PS3/USB Cordless Gamepad
lvl2: No config for player 0
lvl2: So i set PS3/USB Cordless Gamepad for player 0
lvl2: No config for player 1
lvl2: No config for player 2
lvl2: No config for player 3
lvl2: Configure emulators command : /recalbox/scripts/generateEmuConfigs/generateEmuConfigs.sh 030000006d040000d2ca000011010000 0 "PS3/USB Cordless Gamepad" DEFAULT -1 DEFAULTDONOTFINDMEINCOMMAND DEFAULT -1 DEFAULTDONOTFINDMEINCOMMAND DEFAULT -1 DEFAULTDONOTFINDMEINCOMMAND "snes"
lvl2: Emulator configuration OK
lvl2: /recalbox/scripts/emulatorlauncher.sh /recalbox/share/roms/snes/DonkeyKongClassic\ \(Shiru\).smc "snes"
lvl2: Creating surface...
lvl2: Created window successfully.
lvl2: Added known joystick PS3/USB Cordless Gamepad (instance ID: 0, device index: 0)
lvl2: SDL AUDIO Initialized
lvl0: playing
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!
lvl2: Launching /recalbox/scripts/recalbox-config.sh canupdate
lvl2: Cannot update
lvl2: no update available
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!
lvl2: req music [system.bgsound]
lvl0: playing
lvl2: req music [system.bgsound]
lvl0: playing
lvl2: req music [system.bgsound]
lvl0: playing
lvl2: req music [system.bgsound]
lvl0: playing
lvl2: req music [system.bgsound]
lvl0: playing
lvl2: req music [system.bgsound]
lvl0: playing
lvl2: req music [system.bgsound]
lvl0: playing
lvl2: req music [system.bgsound]
lvl0: playing
Voilà, sorry for the long post ^^ Si quelqu'un à le courage d'y jeter un oeil c'est sympa ! Merciii !