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 doesn't work properly

    Scheduled Pinned Locked Moved Help and Support
    reicastretropie 4.5dreamcastreicast retopie
    26 Posts 4 Posters 2.2k 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.
    • R
      rejesterd
      last edited by rejesterd

      So right now, controller 1 is maple_/dev/input/event3 and controller 2 is maple_/dev/input/event4. What is the output when you run..

      evtest /dev/input/event3 | grep $Input\ device\ name
      

      also..

      evtest /dev/input/event4 | grep $Input\ device\ name
      

      ?

      Also, you have..

      reicast-audio-omx = "CON:/opt/retropie/emulators/reicast/bin/reicast.sh omx %ROM%"
      default = "reicast-audio-oss"
      reicast-audio-oss = "CON:/opt/retropie/emulators/reicast/bin/reicast.sh oss %ROM%"
      

      That CON: prefix is not familiar to me. I think it should just look like..

      reicast-audio-omx = "/opt/retropie/emulators/reicast/bin/reicast.sh omx %ROM%"
      default = "reicast-audio-oss"
      reicast-audio-oss = "/opt/retropie/emulators/reicast/bin/reicast.sh oss %ROM%"
      
      D 1 Reply Last reply Reply Quote 0
      • R
        rejesterd @mitu
        last edited by

        @mitu said in Reicast doesn't work properly:

        evdev_TwinUSBJoystick

        From what I recall from my struggles with reicast, it should be 'evdev_Twin USB Joystick.cfg' with the spaces. Also, putting the config in 'controller_generic.cfg' should also work.

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @rejesterd
          last edited by mitu

          @rejesterd said in Reicast doesn't work properly:

          From what I recall from my struggles with reicast, it should be 'evdev_Twin USB Joystick.cfg' with the spaces. Also, putting the config in 'controller_generic.cfg' should also work.

          Yes, that's correct, spaces should be preserved - evdev_Twin USB Joystick.cfg. The file should be correctly created by the mapping script, using an updated RetroPie-Setup script.

          1 Reply Last reply Reply Quote 0
          • D
            darudev @rejesterd
            last edited by

            Hi @rejesterd ,

            i tried to do all again and follow your and @mitu suggestions. So now is actuall mine configuration for all in reicast.

            in opt/retropie/configs/dreamcast/mappings i have file named evdev_Twin USB Joystick.cfg

            that is my joypad configuration and in it there's actual code

            [emulator]
            mapping_name = Twin USB Joystick
            
            [dreamcast]
            btn_a = 288
            btn_b = 289
            btn_x = 290
            btn_y = 291
            btn_start = 297
            
            
            [compat]
            axis_dpad1_x = 0
            axis_dpad1_x_inverted = no
            axis_dpad1_y = 1
            axis_dpad1_y_inverted = no
            axis_dpad2_x = 0
            axis_dpad2_x_inverted = no
            axis_dpad2_y = 1
            axis_dpad2_y_inverted = no
            btn_trigger_left = 292
            axis_dpad1_x = 0
            axis_dpad1_x_inverted = no
            axis_dpad1_y = 1
            axis_dpad1_y_inverted = no
            axis_dpad2_x = 0
            axis_dpad2_x_inverted = no
            axis_dpad2_y = 1
            axis_dpad2_y_inverted = no
            btn_trigger_left = 292
            btn_trigger_right = 293
            

            i have copied this file even in opt/retropie/configs/dreamcast/mappings/controller_generic.cfg

            My /opt/retropie/configs/dreamcast/mappings/emu.cfg file is

            [audio]
            backend = oss
            disable = 0
            
            [config]
            Debug.SerialConsoleEnabled = no
            Dreamcast.Broadcast = 4
            Dreamcast.Cable = 3
            Dreamcast.ContentPath =
            Dreamcast.FullMMU = no
            Dreamcast.Language = 6
            Dreamcast.Region = 3
            Dynarec.Enabled = yes
            Dynarec.SmcCheckLevel = 0
            Dynarec.idleskip = yes
            Dynarec.safe-mode = yes
            Dynarec.unstable-opt = no
            Social.HideCallToAction = no
            aica.LimitFPS = yes
            aica.NoBatch = no
            aica.NoSound = no
            bios.UseReios = 0
            pvr.MaxThreads = 3
            pvr.Subdivide = 0
            pvr.SynchronousRendering = yes
            pvr.rend = 0
            rend.Clipping = yes
            rend.CustomTextures = no
            rend.DumpTextures = no
            rend.FloatVMUs = no
            rend.Fog = yes
            rend.MaxFilteredTextureSize = 256
            rend.ModifierVolumes = yes
            rend.RenderToTextureBuffer = no
            rend.RenderToTextureUpscale = 1
            rend.Rotate90 = no
            rend.ScreenScaling = 100
            rend.ScreenStretching = 100
            rend.ShowFPS = no
            rend.TextureUpscale = 1
            rend.WideScreen = no
            ta.skip = 0
            
            [dispmanx]
            height = 480
            maintain_aspect = yes
            width = 640
            
            [input]
            MouseSensitivity = 100
            VirtualGamepadVibration = 20
            device1 = 0
            device1.1 = 1
            device1.2 = 1
            device2 = 0
            device2.1 = 1
            device2.2 = 1
            device3 = 8
            device3.1 = 8
            device3.2 = 8
            device4 = 8
            device4.1 = 8
            device4.2 = 8
            maple_/dev/input/event1 = 0
            maple_/dev/input/event2 = 0
            maple_/dev/input/event3 = 1
            
            [omx]
            audio_hdmi = yes
            audio_latency = 100
            
            [validate]
            OpenGlChecks = 0
            

            If i launch commando "evtest" i have as output

            No device specified, trying to scan all of /dev/input/event*
            Not running as root, no devices may be available.
            Available devices:
            /dev/input/event0:	LITEON Technology USB Multimedia Keyboard
            /dev/input/event1:	Twin USB Joystick
            /dev/input/event2:	Twin USB Joystick
            

            event0 is my keyboard
            event1 and event2 could be the usb adaptor that have two slots for two players but only one configured in it ? ( i'm using an old and classic ps1 controller )

            and my /opt/retropie/configs/dreamcast/emulators.cfg file is now

            reicast-audio-omx = "/opt/retropie/emulators/reicast/bin/reicast.sh omx %ROM%"
            default = "reicast-audio-oss"
            reicast-audio-oss = "/opt/retropie/emulators/reicast/bin/reicast.sh oss %ROM%"
            

            After all of that, reicast starts, roms start, but i can't use D-Pad directions, where am I wrong?

            Thank you so much for yout time and suggestions

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @darudev
              last edited by

              @darudev said in Reicast doesn't work properly:

              After all of that, reicast starts, roms start, but i can't use D-Pad directions, where am I wrong?

              I don't see any D-Pad being mapped in your configuration file - did you configure it when running the mapping script ?

              event1 and event2 could be the usb adaptor that have two slots for two players but only one configured in it ? ( i'm using an old and classic ps1 controller )

              So the adapter emulates 2 joysticks, but only one is actually connected/working ?

              D 1 Reply Last reply Reply Quote 0
              • D
                darudev @mitu
                last edited by

                @mitu

                Sure i " said in Reicast doesn't work properly" because i solved after this topic and hope to solve completely all even with this problem in controller.

                So the adapter emulates 2 joysticks, but only one is actually connected/working ?

                Yes, it's all right.

                1 Reply Last reply Reply Quote 0
                • 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.