Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › Dreamcast
Tagged: controller, dreamcast, not working
- This topic has 56 replies, 22 voices, and was last updated 8 years, 7 months ago by Anonymous.
-
AuthorPosts
-
12/24/2015 at 21:48 #112467roydenstormParticipant
Have the Dreamcast emulator working, it loads no problem, but I cant get passed the “set date/time” screen, I am able to change the date/time, so left/right and up/down work, I just cannot use “select” button. I’ve tried changing the config files for my controller(xbox 360 wireless) and anything else I could think of. Any and all help would be greatly appreciated.
p.s. I also just got the Intellivision emulator working though I am having some controller issues with it as well, I just haven’t taken a look yet to see if I can fix it, but if anyone already knows what to do please let me know :)
Thanking you all in advance for your time and effort it will be greatly appreciated :)
P.S.S Have been trying to find a solution already, check this link out before posting any solutions here please to make sure it has not been tried already :).
https://github.com/RetroPie/RetroPie-Setup/issues/1147#issuecomment-167152830
12/24/2015 at 22:52 #11246912/25/2015 at 00:02 #112471roydenstormParticipantThanks but I’ve been there too and that doesn’t help, though I appreciate the help :)
12/25/2015 at 10:08 #112475gizmo98ParticipantPlease post your /opt/retropie/configs/dreamcast/emu.cfg and the files under /opt/retropie/configs/dreamcast/mappings/.
12/25/2015 at 16:05 #112480roydenstormParticipanthere’s the info you requested :)
12/25/2015 at 16:56 #112482gizmo98ParticipantLooks good if you have “only one” xbox controller and this controller is event device 7. Could you post the content of controller_XboxGamepad(userspacedriver).cfg as well?
12/25/2015 at 18:40 #112490roydenstormParticipantok hope this is the one you wanted
12/25/2015 at 19:30 #112493gizmo98ParticipantPlease transfer hex values of this file https://github.com/reicast/reicast-emulator/blob/master/shell/linux/mappings/controller_xboxdrv.cfg into your controller config file.
12/26/2015 at 01:40 #112509roydenstormParticipantThat actually worked. Thank you for you help it has been greatly appreciated.
12/27/2015 at 23:14 #112605flourpowderParticipantI just had this problem, only with the xbox one controller. Typing in the hex values worked as well for me, but select doesn’t quit the emulator. In fact, no buttons or combinations that I have tried quits. Any suggestions as to how to fix this?
12/29/2015 at 17:58 #112648roydenstormParticipantIf you’re asking about the Dreamcast emulator, for me ctrl+alt+del exits the emulator, that works for most the emulators that I am unable to exit by means of a button combination on my controller. Hope this helps :)
12/29/2015 at 18:08 #112651gizmo98Participant0x137 (select) should work as a exit button.
12/31/2015 at 17:27 #112796eightkillerParticipantHy, I read the whole thread and all the other ones on the forum, but i don’t manage to make my XBox 360 wired controller work.
I have the same problem of being stuck not being able to press the “select” button to validate the date.I copied the Hex values in my controller_XboxGamepad(userspacedriver).cfg:
[emulator] mapping_name = Xbox 360 Controller (xboxdrv userspace driver) btn_escape = 0x13a [dreamcast] btn_a = 0x130 btn_b = 0x131 btn_c = 0x136 btn_d = 0x137 btn_x = 0x133 btn_y = 0x134 btn_z = 0x13d btn_start = 0x13b axis_x = 0x00 axis_y = 0x01 axis_trigger_left = 0x0a axis_trigger_right = 0x09 [compat] axis_dpad1_x = 0x10 axis_dpad1_y = 0x11
And here is my emu.cfg:
[audio] backend = oss disable = 0 [config] Debug.SerialConsoleEnabled = 0 Dreamcast.Broadcast = 4 Dreamcast.Cable = 3 Dreamcast.RTC = 2082730217 Dreamcast.Region = 3 Dynarec.Enabled = 1 Dynarec.idleskip = 1 Dynarec.unstable-opt = 0 aica.LimitFPS = 1 aica.NoBatch = 0 aica.NoSound = 0 axis.0 = Axis_X axis.1 = Axis_Y bios.UseReios = 0 pvr.MaxThreads = 3 pvr.Subdivide = 0 pvr.SynchronousRendering = 0 pvr.rend = 0 rend.UseMipmaps = 1 rend.WideScreen = 0 ta.skip = 0 [input] evdev_device_id_1 = 0 evdev_device_id_2 = -1 evdev_device_id_3 = -1 evdev_device_id_4 = -1 evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_XboxGamepad(userspacedriver).cfg joystick_device_id = -1 [reios] ElfFile = [validate] OpenGlChecks = 0[input]
I also tried to add this to my emu.cfg:
[Xbox 360 Controller (xboxdrv userspace driver)] button.0=DPad_Up button.1=DPad_Down button.2=DPad_Left button.3=DPad_Right button.4=Btn_A button.5=Btn_B button.6=Btn_X button.7=Btn_Y button.10=Axis_LT button.11=Axis_RT button.12=Quit button.13=Btn_Start axis.0=Axis_X axis.1=Axis_Y
But it does nothing more, i was wondering if the evdev_device_id was correct set to 0 ? I have tagged my usb XBox controller on the top-left usb port on my Raspbery 2.
Thanks in advance for your help, i think i missed something or didn’t understand something !
01/02/2016 at 16:59 #112927labelwhoreParticipantI recently started fresh with retropie 3.3, so I have to go through this again, sadly. Reicast was working perfectly for me previously.
I tried what was suggested above; adding the hex values to controller_XboxGamepad(userspacedriver).cfg. That fixed most of my buttons, but the start button still does not work.
here’s my controller_XboxGamepad(userspacedriver).cfg:
[emulator] mapping_name = Xbox Gamepad (userspace driver) btn_escape = 0x13a [dreamcast] btn_a = 0x130 btn_b = 0x131 btn_c = 0x136 btn_d = 0x137 btn_x = 0x133 btn_y = 0x134 btn_z = 0x13d btn_start = 0x13b axis_x = 0x00 axis_y = 0x01 axis_trigger_left = 0x0a axis_trigger_right = 0x09 [compat] axis_dpad1_x = 0x10 axis_dpad1_y = 0x11 axis_dpad2_x = axis_dpad2_y = axis_x_inverted = no axis_y_inverted = no axis_trigger_left_inverted = axis_trigger_right_inverted = axis_dpad1_y_inverted = no axis_dpad1_x_inverted = no
01/02/2016 at 21:46 #112950OmnijaParticipantTurns out sometimes the emulator won’t pick up the controllers settings. I had to delete the emu.cfg to have it recognize the new inputs.
01/03/2016 at 10:53 #113004gizmo98ParticipantJust take libretro config file as base and add 304 to every value.
https://github.com/libretro/retroarch-joypad-autoconfig/blob/master/udev/XboxGamepad(userspacedriver).cfgSo select and start should be:
start = 313d = 0x139h
select = 312d = 0x138hOr add 305. I’m not really certain if id_offset is 304, 305 or 307.
01/04/2016 at 15:59 #113106labelwhoreParticipantI’m not really sure what happened, maybe a hidden character because I edited the file in windows. The settings shown in my post above are what eventually worked.
I tried changing the value for the start button to 0x139, which didn’t work. I then tried simply swapping start and select, and suddenly both worked, so I changed them back to what they were originally and now everything works.
01/04/2016 at 16:04 #113107eightkillerParticipantHy,
Here is the holy grail for me, i’m sharing my config with you, I tried a lot of things :) I use a Wired Xbox360 controller and here are the values for the exact same use of buttons than with the original dreamcast controller:
[emulator] mapping_name = Xbox Gamepad (userspace driver) btn_escape = 0x13a [dreamcast] btn_a = 0x130h btn_b = 0x131h btn_c = btn_d = 0x139h btn_x = 0x133h btn_y = 0x134h btn_z = 0x138h btn_start = 0x13Bh axis_x = 0x00 axis_y = 0x01 axis_trigger_left = 0x0a axis_trigger_right = 0x09 [compat] axis_dpad1_x = 0x10 axis_dpad1_y = 0x11
Hoping this would help lost souls like i was ^^, pretty damn annoying finding the proper hexadecimal codes.
Select is used to leave Reicast, and all other buttons are properly linked.See you on the forum :)
01/07/2016 at 19:07 #113375hiphenchivesParticipanttest
01/07/2016 at 19:16 #113378hiphenchivesParticipantHi,
I’m running Retropie 3.3 and I’ve encountered the following issues with Dreamcast that I’ve not found any relation to on the web.
My PS3 (R) Controller is not responding in Dreamcast. I’ve followed https://github.com/RetroPie/RetroPie-Setup/wiki/Dreamcast and Floob’s video with no success.
emu.cfg
[PLAYSTATION(R)3 Controller]
axis.0 = Axis_X
axis.1 = Axis_Y
button.0 = Btn_Z
button.1 = Btn_C
button.10 = DPad2_Left
button.11 = DPad2_Right
button.12 = Btn_Y
button.13 = Btn_B
button.14 = Btn_A
button.15 = Btn_X
button.16 = Quit
button.2 = Btn_D
button.3 = Btn_Start
button.4 = DPad_Up
button.5 = DPad_Right
button.6 = DPad_Down
button.7 = DPad_Left
button.8 = Axis_LT
button.9 = Axis_RT[audio]
backend = oss
disable = 0[config]
Debug.SerialConsoleEnabled = 0
Dreamcast.Broadcast = 4
Dreamcast.Cable = 3
Dreamcast.RTC = 2083336649
Dreamcast.Region = 3
Dynarec.Enabled = 1
Dynarec.idleskip = 1
Dynarec.unstable-opt = 0
aica.LimitFPS = 1
aica.NoBatch = 0
aica.NoSound = 0
bios.UseReios = 0
pvr.MaxThreads = 3
pvr.Subdivide = 0
pvr.SynchronousRendering = 0
pvr.rend = 0
rend.UseMipmaps = 1
rend.WideScreen = 0
ta.skip = 0[input]
evdev_device_id_1 = 0
evdev_device_id_2 = 3
evdev_device_id_3 = -1
evdev_device_id_4 = -1
evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_USBGamepad.cfg
evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_SonyPLAYSTATION(R)3Controller.cfg
joystick_device_id = -1[reios]
ElfFile =[validate]
OpenGlChecks = 0Controller mapping below
[emulator]
mapping_name = Sony PLAYSTATION(R)3 Controller
btn_escape = 288[dreamcast]
btn_a = 300
btn_b = 303
btn_c =
btn_d =
btn_x = 301
btn_y = 302
btn_z =
btn_start = 291
btn_dpad1_left = 295
btn_dpad1_right = 293
btn_dpad1_up = 292
btn_dpad1_down = 294
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left =
axis_trigger_right =[compat]
btn_trigger_left = 296
btn_trigger_right = 297
axis_dpad1_x = 2
axis_dpad1_y = 3
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =
axis_dpad1_y_inverted = no
axis_dpad1_x_inverted = noMy USBgamepad works flawlessly in most games but in Virtua striker the Dpad 2 is not responding at all. Any suggestions would do.
[emulator]
mapping_name = USB Gamepad
btn_escape = 296[dreamcast]
btn_a = 288
btn_b = 291
btn_c =
btn_d =
btn_x = 289
btn_y = 290
btn_z =
btn_start = 297
btn_dpad1_left =
btn_dpad1_right =
btn_dpad1_up =
btn_dpad1_down =
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left =
axis_trigger_right =[compat]
btn_trigger_left = 292
btn_trigger_right = 293
axis_dpad1_x =
axis_dpad1_y =
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =Any suggestion would help.
01/07/2016 at 21:13 #113381labelwhoreParticipantthere are no controls at all mapped for Dpad 2 in what you posted. You say it works in some games? I don’t see how it could ever work with those settings.
01/07/2016 at 21:28 #113383hiphenchivesParticipantThanks for your feedback.
With USBGamepad I can play Soul Calibur and Powerstone with those configs. I was surprised at beginning when I noticed it worked without any mappings. I also tried to add values around the ones displayed, obviously with no success.
With PS3(R) I was trying to delete [input]
evdev_device_id_1 = 0 …etc because from what I saw in tutorial video from Floob those lines were missing, but every time I would start a game they would be generated again.01/07/2016 at 21:34 #113384labelwhoreParticipantidk if possibly the ps3 controller might work in a similar way to the xbox360 controller; by using the hex values instead of the “normal” values. I’d assume they wouldn’t be the same, however.
01/09/2016 at 20:40 #113518hiphenchivesParticipantanyone else cares to add to this, please ?
01/11/2016 at 03:52 #113637AnonymousInactiveOk so I’ve done something right and I’m able to play dreamcast, buy for some reason the left and right trigger buttons don’t work, everything else is fine though, anyone encounter this? If so what did you change or add, also how do I enable the 2nd controller
I’m using xbox 360 wireless controllers
01/12/2016 at 16:22 #113802AnonymousInactiveHello!
Please tell me why the Dreamcast games brakes?01/27/2016 at 05:31 #115247egutiergParticipantAnybody with an Xarcade tankstick controller???? That have dreamcast up and running?
[input]
evdev_device_id_1 = 3
evdev_device_id_2 = 4
evdev_device_id_3 = -1
evdev_device_id_4 = -1
evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_Xarcade-to-GamepadDevice.cfg
evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_Xarcade-to-GamepadDevice.cfg
joystick_device_id = -1Will be changing date and time but wont select select to run ROM.
01/27/2016 at 06:04 #115253labelwhoreParticipantdreamcast controls are supposed to get set up somewhat automatically, but from what I’ve seen you need to edit the field manually. The values that are set in the file are nowhere near correct, at least not for an xbox 360 controller. I have no idea what they need to be for a X Arcade stick, but my guess is not what they start out as.
01/27/2016 at 19:28 #115318debgugelParticipantCan you please share the code file that you are using for the emulation?
Also which hardware is connected with it?
Please share the details of your whole setup.
And what is the role of Xarcade tankstick controller here?01/27/2016 at 22:08 #115336egutiergParticipantThis is what I have on ./reicast/mappings $ controller-Xarcade-toGamepadDevice.cfg
[emulator]
mapping_name = Xarcade-to-Gamepad Device
btn_escape = 8[dreamcast]
btn_a = 0
btn_b = 1
btn_c =
btn_d =
btn_x = 3
btn_y = 4
btn_z =
btn_start = 9
btn_dpad1_left =
btn_dpad1_right =
btn_dpad1_up =
btn_dpad1_down =
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left =
axis_trigger_right =[compat]
btn_trigger_left = 294
btn_trigger_right = 295
axis_dpad1_x =
axis_dpad1_y =
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =All it does on the Dreamcast Emulator is the joystick works but none of the buttons works.
It is connected to a Raspberri Pi2
The Xarcade tankstick controller is used with retropie and emulation station to run NES, SNES, N64, Mame and PlayStation 1. Currently working as I want to. Wanted to add Dreamcast to the collection.
This is what I have on /opt/retropie/configs/all/Retroarch-joypads $ Xarcade-to-GamepadDevice.cfg
input_device = “Xarcade-to-Gamepad Device”
input_driver = “udev”
input_r_btn = “7”
input_save_state_btn = “7”
input_start_btn = “9”
input_exit_emulator_btn = “9”
input_l_btn = “6”
input_load_state_btn = “6”
input_up_axis = “-1”
input_a_btn = “0”
input_b_btn = “1”
input_reset_btn = “1”
input_down_axis = “+1”
input_right_axis = “+0”
input_state_slot_increase_axis = “+0”
input_x_btn = “3”
input_menu_toggle_btn = “3”
input_select_btn = “2”
input_enable_hotkey_btn = “2”
input_y_btn = “4”
input_left_axis = “-0”
input_state_slot_decrease_axis = “-0”Any help will be greatly appreciated.
03/07/2016 at 01:39 #119413dgtliqdParticipantI too would like to know how to get my X-Arcade Tankstick controls working again. The controls worked fine in RetroPie 3.2, but after updating to 3.6, it appears the method to configure the controls has changed. Below are the contents of my 2 config files from RetroPie 3.6. I’ve also included the old, working emu.cfg file from RetroPie 3.2 at the bottom. Thanks in advance!
emu.cfg
—————————————–
[Xarcade-to-Gamepad Device]
button.0 = Btn_X
button.1 = Btn_Y
button.2 = Axis_LT
button.3 = Btn_A
button.4 = Btn_B
button.5 = Axis_RT
button.8 = Quit
button.9 = Btn_Start[audio]
backend = oss
disable = 0[config]
Debug.SerialConsoleEnabled = 0
Dreamcast.Broadcast = 4
Dreamcast.Cable = 3
Dreamcast.RTC = 2088437481
Dreamcast.Region = 3
Dynarec.Enabled = 1
Dynarec.idleskip = 1
Dynarec.unstable-opt = 0
aica.LimitFPS = 1
aica.NoBatch = 0
aica.NoSound = 0
bios.UseReios = 0
pvr.MaxThreads = 3
pvr.Subdivide = 0
pvr.SynchronousRendering = 0
pvr.rend = 0
rend.UseMipmaps = 1
rend.WideScreen = 0
ta.skip = 0[input]
evdev_device_id_1 = 0
evdev_device_id_2 = -1
evdev_device_id_3 = -1
evdev_device_id_4 = -1
joystick_device_id = -1[reios]
ElfFile =[validate]
OpenGlChecks = 0controller_Xarcade-to-GamepadDevice1.cfg
—————————————–
[emulator]
mapping_name = Xarcade-to-Gamepad Device 1
btn_escape = 296[dreamcast]
btn_a = 291
btn_b = 292
btn_c =
btn_d =
btn_x = 288
btn_y = 289
btn_z =
btn_start = 297
btn_dpad1_left =
btn_dpad1_right =
btn_dpad1_up =
btn_dpad1_down =
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left =
axis_trigger_right =[compat]
btn_trigger_left = 294
btn_trigger_right = 295
axis_dpad1_x =
axis_dpad1_y =
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =OLD, Working emu.cfg from RetroPie 3.2
—————————————–
[config]
Dynarec.Enabled=1
Dynarec.idleskip=1
Dynarec.unstable-opt=0
Dreamcast.Cable=3
Dreamcast.RTC=1543276800
Dreamcast.Region=3
Dreamcast.Broadcast=4
aica.LimitFPS=1
aica.NoBatch=0
aica.NoSound=0
rend.UseMipmaps=1
rend.WideScreen=0
pvr.Subdivide=0
ta.skip=0
pvr.rend=0
Debug.SerialConsoleEnabled=0
bios.UseReios=0[validate]
OpenGlChecks=0[Xarcade-to-Gamepad Device]
button.0=Btn_X
button.1=Btn_Y
button.2=Axis_LT
button.3=Btn_A
button.4=Btn_B
button.5=Axis_RT
button.8=Quit
button.9=Btn_Start
axis.0=Axis_X
axis.1=Axis_Y
axis.2=
axis.3=
axis.4=
axis.5=
button.6=
axis.6=
button.7=
axis.7=
axis.8=
axis.9=
button.10=
axis.10=
button.11=
axis.11=
button.12=
axis.12=
button.13=
axis.13=
button.14=
axis.14=
button.15=
axis.15=
button.16=
axis.16=
button.17=
axis.17=
button.18=
axis.18=
button.19=
axis.19=
button.20=
axis.20=
button.21=
axis.21=
button.22=
axis.22=
button.23=
axis.23=
button.24=
axis.24=
button.25=
axis.25=
button.26=
axis.26=
button.27=
axis.27=
button.28=
axis.28=
button.29=
axis.29=
button.30=
axis.30=
button.31=
axis.31=[reios]
ElfFile=03/11/2016 at 23:56 #120027twitch0815ParticipantANyone have the config for a AkiShop Ps360+ In Dreamcast?
03/12/2016 at 22:32 #120129AnonymousInactivePlease can you kindly help me to get my SFC30 working with Dreamcast. Everytime i edit the controller_8BitdoSFC30GamePadJoystick.cfg file in /opt/retropie/configs/dreamcast/mappings/ it reverts back to the original mappings. So i know why its not working.
Do i need to edit another file? possiblly /opt/retropie/configs/dreamcast/emu.cfg ?
Thanks in advance.
03/16/2016 at 00:52 #120529idontexistParticipantI’m also having similar issues using these PowerA ProEx controllers that work well with other emulators.
emu.cfg
controller_USBDownlo01.50ProEx.cfgI haven’t edited these files yet because I do not know what values to use.
I did read the dreamcast setup page in the wiki but am still stumped as to how to get this working.
03/17/2016 at 21:36 #120710dgtliqdParticipantSince others are having the same issue with their controllers, maybe the question should be posed a little differently. Does anyone know HOW to get the hex values for the controller inputs in the newer version of reicast?
-
AuthorPosts
- The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.