RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Reicast Stuck On Time & Date !

    Scheduled Pinned Locked Moved Help and Support
    reicastcontrollerfixhelp
    33 Posts 5 Posters 13.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mrbwa1
      last edited by

      The Input section should be between the [dispmanx] and [omx] sections. Hre is that part of my emu.config:

      [dispmanx]
      height = 480
      maintain_aspect = yes
      width = 640

      [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_TwinUSBJoystick.cfg
      evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_TwinUSBJoystick.cfg
      joystick_device_id = -1

      [omx]
      audio_hdmi = yes
      audio_latency = 100

      I have never done a manual edit of this config file, so I'm not sure what you need in the evdev_mapping_X lines or the joystick_device_id_X line. You can try pasting in what I have and changing TwinUSBJoystick.cfg lines to

      evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/MAYFLASHArcadeFightstickF300.cfg
      evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/MAYFLASHArcadeFightstickF300.cfg

      Note, check /opt/retropie/configs/dreamcast/mappings for the exact filename. It might be something like controller_MAYFLASHArcadeFightstickF300.cfg. All of y listed configs start with "controller_" except keyboard.cfg (I am running Retropie 4.1)

      S 1 Reply Last reply Reply Quote 1
      • S
        Slugz @mrbwa1
        last edited by Slugz

        @mrbwa1 said in Reicast Stuck On Time & Date !:

        The Input section should be between the [dispmanx] and [omx] sections. Hre is that part of my emu.config:

        [dispmanx]
        height = 480
        maintain_aspect = yes
        width = 640

        [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_TwinUSBJoystick.cfg
        evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_TwinUSBJoystick.cfg
        joystick_device_id = -1

        [omx]
        audio_hdmi = yes
        audio_latency = 100

        I have never done a manual edit of this config file, so I'm not sure what you need in the evdev_mapping_X lines or the joystick_device_id_X line. You can try pasting in what I have and changing TwinUSBJoystick.cfg lines to

        evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/MAYFLASHArcadeFightstickF300.cfg
        evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/MAYFLASHArcadeFightstickF300.cfg

        Note, check /opt/retropie/configs/dreamcast/mappings for the exact filename. It might be something like controller_MAYFLASHArcadeFightstickF300.cfg. All of y listed configs start with "controller_" except keyboard.cfg (I am running Retropie 4.1)

        here is my devices -

        0: Mini Keyboard (/dev/input/event0, usb-3f980000.usb-1.2/input0)
        1: Mini Keyboard (/dev/input/event1, usb-3f980000.usb-1.2/input1)
        2: MAYFLASH Arcade Fightstick F300 (/dev/input/event2, usb-3f980000.usb-1.5/input0)
        3: 8Bitdo SNES30 GamePad (/dev/input/event3, b8:27:eb:e5:9c:6a)

        i like to setup the MAYFLASH & THE 8Bitdo -

        controller_8BitdoSNES30GamePad.cfg
        & the -
        controller_MAYFLASHArcadeFightstickF300.cfg

        1 Reply Last reply Reply Quote 0
        • S
          Slugz
          last edited by

          & do i need to install any driver updates.

          1 Reply Last reply Reply Quote 0
          • S
            Slugz
            last edited by

            here is my devices -

            0: Mini Keyboard (/dev/input/event0, usb-3f980000.usb-1.2/input0)
            1: Mini Keyboard (/dev/input/event1, usb-3f980000.usb-1.2/input1)
            2: MAYFLASH Arcade Fightstick F300 (/dev/input/event2, usb-3f980000.usb-1.5/input0)
            3: 8Bitdo SNES30 GamePad (/dev/input/event3, b8:27:eb:e5:9c:6a)

            i like to setup the MAYFLASH & THE 8Bitdo -

            controller_8BitdoSNES30GamePad.cfg
            & the -
            controller_MAYFLASHArcadeFightstickF300.cfg

            B 1 Reply Last reply Reply Quote 0
            • B
              backstander @Slugz
              last edited by backstander

              @Slugz

              Oh yeah, in the /opt/retropie/configs/dreamcast/emu.cfg file you need to change evdev_device_id_1 & 2 to equal the number of the joystick you want to use.

              So if you want your MAYFLASH Arcade Fightstick F300 to be player 1 and your 8Bitdo SNES30 GamePad to be player 2. From what you posted above the Mini Keyboard is using 0 and 1 and the MAYFLASH is 2 and the 8Bitdo is 3.

              You'd do something like this:

              [input]
              evdev_device_id_1 = 2
              evdev_device_id_2 = 3
              evdev_device_id_3 = -1
              evdev_device_id_4 = -1
              evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_MAYFLASHArcadeFightstickF300.cfg
              evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_8BitdoSNES30GamePad.cfg
              joystick_device_id = -1
              

              The -1 means no joystick which we used for player 3 and 4 and also have evdev_mapping_1 & 2 to point to the matching joystick mapping config files.

              And if you want 2 players at the same time, then you need to add this to the bottom of that same emu.cfg file:

              [players]
              nb = 2
              
              S 1 Reply Last reply Reply Quote 0
              • S
                Slugz @backstander
                last edited by

                @backstander said in Reicast Stuck On Time & Date !:

                @Slugz

                Oh yeah, in the /opt/retropie/configs/dreamcast/emu.cfg file you need to change evdev_device_id_1 & 2 to equal the number of the joystick you want to use.

                So if you want your MAYFLASH Arcade Fightstick F300 to be player 1 and your 8Bitdo SNES30 GamePad to be player 2. From what you posted above the Mini Keyboard is using 0 and 1 and the MAYFLASH is 2 and the 8Bitdo is 3.

                You'd do something like this:

                [input]
                evdev_device_id_1 = 2
                evdev_device_id_2 = 3
                evdev_device_id_3 = -1
                evdev_device_id_4 = -1
                evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_MAYFLASHArcadeFightstickF300.cfg
                evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_8BitdoSNES30GamePad.cfg
                joystick_device_id = -1
                

                The -1 means no joystick which we used for player 3 and 4 and also have evdev_mapping_1 & 2 to point to the matching joystick mapping config files.

                And if you want 2 players at the same time, then you need to add this to the bottom of that same emu.cfg file:

                [players]
                nb = 2
                

                still not working !

                S B 2 Replies Last reply Reply Quote 0
                • S
                  Slugz @Slugz
                  last edited by

                  still not working !

                  1 Reply Last reply Reply Quote 0
                  • B
                    backstander @Slugz
                    last edited by

                    @Slugz

                    still not working !

                    I'm stumped.

                    Please post the contents of your /opt/retropie/configs/dreamcast/mappings/controller_MAYFLASHArcadeFightstickF300.cfg and /opt/retropie/configs/dreamcast/mappings/controller_8BitdoSNES30GamePad.cfg files (or whatever controller mapping files that are referenced by your /opt/retropie/configs/dreamcast/emu.cfg).

                    Also post your current contents of your /opt/retropie/configs/dreamcast/emu.cfg file as well.

                    Sometimes something as little as a typo can cause the whole emulator not to work.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Slugz @backstander
                      last edited by Slugz

                      @backstander said in Reicast Stuck On Time & Date !:

                      @Slugz

                      still not working !

                      I'm stumped.

                      Please post the contents of your /opt/retropie/configs/dreamcast/mappings/controller_MAYFLASHArcadeFightstickF300.cfg and /opt/retropie/configs/dreamcast/mappings/controller_8BitdoSNES30GamePad.cfg files (or whatever controller mapping files that are referenced by your /opt/retropie/configs/dreamcast/emu.cfg).

                      Also post your current contents of your /opt/retropie/configs/dreamcast/emu.cfg file as well.

                      Sometimes something as little as a typo can cause the whole emulator not to work.

                      Mayflash

                      mapping_name = MAYFLASH Arcade Fightstick F300
                      btn_escape = 296
                      
                      [dreamcast]
                      btn_a = 290
                      btn_b = 289
                      btn_c =
                      btn_d =
                      btn_x = 291
                      btn_y = 288
                      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 =
                      axis_y =
                      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 =
                      axis_y_inverted =
                      axis_trigger_left_inverted =
                      axis_trigger_right_inverted =
                      
                      

                      8BitdoSNES30

                      mapping_name = 8Bitdo SNES30 GamePad
                      btn_escape = 298
                      
                      [dreamcast]
                      btn_a = 289
                      btn_b = 288
                      btn_c =
                      btn_d =
                      btn_x = 292
                      btn_y = 291
                      btn_z =
                      btn_start = 299
                      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 =
                      
                      

                      emu.cfg

                      disable = 0
                      
                      [config]
                      Debug.SerialConsoleEnabled = 0
                      Dreamcast.Broadcast = 4
                      Dreamcast.Cable = 3
                      Dreamcast.RTC = 2110739856
                      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
                      
                      [dispmanx]
                      height = 480
                      maintain_aspect = yes
                      width = 640
                      
                      [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_8Bitdo SNES30 GamePad.cfg
                      evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_8Bitdo SNES30 GamePad.cfg
                      joystick_device_id = -1
                      
                      [omx]
                      audio_hdmi = yes
                      audio_latency = 100
                      
                      [reios]
                      ElfFile = 
                      
                      [validate]
                      OpenGlChecks = 0
                      
                      

                      and how do i see my device id inputs again because i think i did a update.

                      1 Reply Last reply Reply Quote 1
                      • B
                        backstander
                        last edited by backstander

                        and how do i see my device id inputs again because i think i did a update.

                        evtest then just hit Ctrl+C to exit after you get your event number.

                        I did notice something in your emu.cfg. There's spaces in your controller mapping cfg file name. Try putting quotes around them like this:

                        evdev_mapping_1 = "/opt/retropie/configs/dreamcast/mappings/controller_8Bitdo SNES30 GamePad.cfg"
                        evdev_mapping_2 = "/opt/retropie/configs/dreamcast/mappings/controller_8Bitdo SNES30 GamePad.cfg"
                        

                        Or you can just rename them to controller_8BitdoSNES30GamePad.cfg to remove the spaces.

                        Also you'll want to add this somewhere to your emu.cfg file if you want 2 players:

                        [players]
                        nb = 2
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Slugz @backstander
                          last edited by

                          @backstander said in Reicast Stuck On Time & Date !:

                          and how do i see my device id inputs again because i think i did a update.

                          evtest then just hit Ctrl+C to exit after you get your event number.

                          I did notice something in your emu.cfg. There's spaces in your controller mapping cfg file name. Try putting quotes around them like this:

                          evdev_mapping_1 = "/opt/retropie/configs/dreamcast/mappings/controller_8Bitdo SNES30 GamePad.cfg"
                          evdev_mapping_2 = "/opt/retropie/configs/dreamcast/mappings/controller_8Bitdo SNES30 GamePad.cfg"
                          

                          Or you can just rename them to controller_8BitdoSNES30GamePad.cfg to remove the spaces.

                          Also you'll want to add this somewhere to your emu.cfg file if you want 2 players:

                          [players]
                          nb = 2
                          

                          cannot press select after entering the time & date. :(

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            backstander @Slugz
                            last edited by

                            @Slugz

                            cannot press select after entering the time & date. :(

                            Image

                            So close! I think you press either the A button or the Start button to press the onscreen "Select" button so try running evtest again to verify that
                            289 is the A button and 299 is the Select button.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Slugz @backstander
                              last edited by Slugz

                              @backstander said in Reicast Stuck On Time & Date !:

                              @Slugz

                              cannot press select after entering the time & date. :(

                              Image

                              So close! I think you press either the A button or the Start button to press the onscreen "Select"
                              button so try running evtest again to verify that
                              289 is the A button and 299 is the Select button.

                              these are the codes i got after a evtest -

                              alt text

                              alt text

                              is input correct & which codes are for the - A, B, X, Y - LT, RT

                              and there is no select tab in the mapping.cfg

                              B 1 Reply Last reply Reply Quote 1
                              • B
                                backstander @Slugz
                                last edited by

                                @Slugz

                                Okay!

                                B is Btn_South = 304
                                A is Btn_East = 305
                                Y is Btn_West = 308
                                X is Btn_North = 307
                                LT is Btn_TL = 310
                                RT is Btn_TR = 311
                                Start is Btn_Start = 315

                                Also in emu.cfg:

                                [input]
                                evdev_device_id_1 = 2
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Slugz @backstander
                                  last edited by Slugz

                                  @backstander

                                  there is no select tab in the mapping.cfg

                                  mapping_name = 8Bitdo SNES30 GamePad
                                  btn_escape = 298
                                  
                                  [dreamcast]
                                  btn_a = 305
                                  btn_b = 304
                                  btn_c =
                                  btn_d =
                                  btn_x = 307
                                  btn_y = 308
                                  btn_z =
                                  btn_start = 315
                                  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 = 310
                                  btn_trigger_right = 311
                                  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 =
                                  
                                  

                                  emu.cfg after edit -

                                  evdev_device_id_1 = 2
                                  evdev_device_id_2 = 1
                                  evdev_device_id_3 = -1
                                  evdev_device_id_4 = -1
                                  evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_8BitdoSNES30GamePad.cfg
                                  evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_8BitdoSNES30GamePad.cfg
                                  joystick_device_id = -1
                                  B 1 Reply Last reply Reply Quote 1
                                  • B
                                    backstander @Slugz
                                    last edited by backstander

                                    @Slugz

                                    there is no select tab in the mapping.cfg

                                    The Dreamcast controller didn't have a Select button but you could map that button to Exit the emulator (just remember not to accidentally hit it while playing a game!)

                                    Change this in your /opt/retropie/configs/dreamcast/mappings/controller_8BitdoSNES30GamePad.cfg file to use the Select button to Exit Dreamcast emulator:

                                    btn_escape = 314
                                    

                                    Did all this work for you?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      Slugz @backstander
                                      last edited by

                                      @backstander said in Reicast Stuck On Time & Date !:

                                      @Slugz

                                      there is no select tab in the mapping.cfg

                                      The Dreamcast controller didn't have a Select button but you could map that button to Exit the emulator (just remember not to accidentally hit it while playing a game!)

                                      Change this in your /opt/retropie/configs/dreamcast/mappings/controller_8BitdoSNES30GamePad.cfg file to use the Select button to Exit Dreamcast emulator:

                                      btn_escape = 314
                                      

                                      Did all this work for you?

                                      yes got past the time & date.

                                      will give it a full run later on.

                                      thank you.

                                      1 Reply Last reply Reply Quote 1
                                      • First post
                                        Last post

                                      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.