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

    Pi4 MAME2010 crashing on Tab menu > Inputs

    Scheduled Pinned Locked Moved Help and Support
    mame2010crashcontrols
    89 Posts 9 Posters 9.1k 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.
    • G
      grant2258 Banned
      last edited by

      should be good for 4 players :)

      S 1 Reply Last reply Reply Quote 0
      • S
        Simrose @grant2258
        last edited by Simrose

        @grant2258
        It was compiling but at the end it didnt install
        ill have to do it again as i closed putty and show message thanks.

        pi@retropie:~ $ git clone https://github.com/grant2258/mame2010-libretro
        fatal: destination path 'mame2010-libretro' already exists and is not anirectory.
        pi@retropie:~ $ cd mame2010-libretro
        pi@retropie:~/mame2010-libretro $ git checkout input
        Already on 'input'
        Your branch is up to date with 'origin/input'.
        pi@retropie:~/mame2010-libretro $ make platform=rpi4 -j8^C
        pi@retropie:~/mame2010-libretro $ sudo cp mame2010_libretro.so /opt/retropie/libretrocores/lr-mame2010/
        cp: cannot create regular file '/opt/retropie/libretrocores/lr-mame2010/': Not a directory
        pi@retropie:~/mame2010-libretro $

        EDIT
        I just had to create a lr-mame2010 directory and it worked now to test
        mame2010_libretro is in the lr-mame2010 folder from your install

        So I have the new core installed from you, I just need some config to launch the emulator. As before installing i removed the emulator from setup, I can see in retropie setup it says installed via unknown lr-mame2010 so i must be close in getting it working.

        I think i solved it the long way around sorry im not really confident with this.

        I backed up the new core you made then installed via binary
        so i have the config to launch the emulator
        then run just this code

        git clone https://github.com/grant2258/mame2010-libretro.git
        cd mame2010-libretro
        git checkout input
        make platform=rpi4 -j8
        now its doing its installing lots of code
        when that finishes ill copy over the new core over the binary one as root user
        so hopefully when finished it will all be good.

        1 Reply Last reply Reply Quote 0
        • G
          grant2258 Banned
          last edited by grant2258

          yes you need to install the mame2010 package first on thing to note if it stops compiling just go back to the mame2010-libretro
          directory

          the other commands before this just grabed the source and checkout the branch no need to worry about them again

          make platform=rpi4 -j8
          sudo cp mame2010_libretro.so /opt/retropie/libretrocores/lr-mame2010/
          
          S 1 Reply Last reply Reply Quote 0
          • S
            Simrose @grant2258
            last edited by Simrose

            @grant2258
            So the Controls are wrong for Mortal kombwt
            Compared to arcade and mame 2003, megadrive etc
            But they all can be mapped now which is wonderful
            Thanks
            Sim

            This is how I set it now for Mortal kombat to be the same as mame 2003 and layout of how Mortal kombat games are on most platforms.

            Auto 0 key z button 4
            Auto 3 key a button 1
            Auto 1 key x button 5
            Auto 2 key S button 3
            Auto 4 key q button 2
            Auto 5 key w button 6
            Auto 6 button 8
            Auto 7 button 7

            Its working really well
            Thank you again

            Is their a way to get dpad working and not just analog.

            Thanks
            Sim

            1 Reply Last reply Reply Quote 0
            • G
              grant2258 Banned
              last edited by grant2258

              there is some mapping that was there you need to turn it on in the options and restart the core. I left them off by default because i havent tested them. So if you turn it on (then restart) and load up street fighter 2 it should map properly. Again this isint my mapping its what was there

              S 1 Reply Last reply Reply Quote 0
              • S
                Simrose @grant2258
                last edited by

                @grant2258
                Can you please explain where options how to enable
                Thanks
                Sim

                G 1 Reply Last reply Reply Quote 0
                • G
                  grant2258 Banned @Simrose
                  last edited by

                  @Simrose like any other retroarch core option select +x to get to rgui

                  then goto options

                  its the first option automapping turn it on close the core and restart

                  S 2 Replies Last reply Reply Quote 0
                  • S
                    Simrose @grant2258
                    last edited by Simrose

                    @grant2258 thanks for that sorry I'm learning.

                    Edit
                    Works perfect😊
                    It would be great to be able to enable dpad also
                    Thanks
                    Sim

                    1 Reply Last reply Reply Quote 0
                    • S
                      Simrose @grant2258
                      last edited by

                      @grant2258
                      A huge thanks to you
                      Amazing to have it working now
                      Very happy
                      Sim

                      1 Reply Last reply Reply Quote 1
                      • G
                        grant2258 Banned
                        last edited by

                        I have some other things im working on at the moment but ou can can set up in input general it just needs auto mapped

                        S pjftP 2 Replies Last reply Reply Quote 0
                        • S
                          Simrose @grant2258
                          last edited by

                          @grant2258
                          I couldn't get dpad to work but I know it's my lack of knowledge.
                          Good luck with your other projects
                          Main thing is everything else working great.
                          Thanks
                          Sim

                          G 1 Reply Last reply Reply Quote 0
                          • pjftP
                            pjft @grant2258
                            last edited by

                            @grant2258 Sorry for the delay here!

                            I compiled your version and it seemed to work as intended. I was unable to get the "auto-remapping" to work, even after restarting, but it's probably on me.

                            The fact that the emulator no longer crashes allows the user to remap the controls as intended - thanks!

                            S G 2 Replies Last reply Reply Quote 1
                            • S
                              Simrose @pjft
                              last edited by

                              @pjft
                              Auto remapping worked on mine just to let you know I had it off and controls were messed up on most games put to on and now fine

                              1 Reply Last reply Reply Quote 0
                              • G
                                grant2258 Banned @pjft
                                last edited by grant2258

                                @pjft make sure youve do a git pull. if you messed with the game mappings and such i wont map propperly because you changed your cfg files. Also if you didnt do a clean compile do a touch src/emu/*.c I tested with sf2 on windows and linux works fine for me dont know about the rest of the mappings because i just used what was there in the first place

                                pjftP 1 Reply Last reply Reply Quote 1
                                • pjftP
                                  pjft @grant2258
                                  last edited by

                                  @grant2258 It might have been from the previous game mappings then - I tested it with some of the games I had been playing before!

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    grant2258 Banned @Simrose
                                    last edited by grant2258

                                    @Simrose said in Pi4 MAME2010 crashing on Tab menu > Inputs:

                                    @grant2258
                                    I couldn't get dpad to work but I know it's my lack of knowledge.
                                    Good luck with your other projects
                                    Main thing is everything else working great.
                                    Thanks
                                    Sim

                                    The dpad will work if you map it properly in input->general->player1 controls I dont want to make another frankenmame by doing this a silly way. There is a reason its set to analog it uses the 9x9 joystick grid for mapping 4 way ect. Im not quit happy with the defaut analog setting in the ini i would suggest you set the saturation to 1.0 it on 0.86

                                    S 1 Reply Last reply Reply Quote 0
                                    • G
                                      grant2258 Banned
                                      last edited by

                                      @pjft good news can sort the digital stuff for you. I have one question though do you just want the digital controls done or do you want analog games to be playable on a dpad as well?

                                      pjftP 1 Reply Last reply Reply Quote 1
                                      • S
                                        Simrose @grant2258
                                        last edited by Simrose

                                        @grant2258
                                        I'll try changing saturation to 1.0
                                        I understand its supposed to be played with analaog. Just nice to have option I find it makes it easier for some games to play.
                                        Thanks
                                        Sim

                                        Edit
                                        Tried saturation 1.0 and tested Mortal kombat 2 feels alot more accurate thanks not sure if it's placebo effect but before It felt like it wasnt doing what I wanted.

                                        G 1 Reply Last reply Reply Quote 0
                                        • pjftP
                                          pjft @grant2258
                                          last edited by

                                          @grant2258 I don't have a strong preference - it's really what's easier and more appropriate. I believe that the usual stance is analog games on analog controls (unless manually remapped), and digital games on digital (unless manually remapped - or set on the RetroArch menu to map joypad to analog).

                                          G 1 Reply Last reply Reply Quote 1
                                          • G
                                            grant2258 Banned
                                            last edited by

                                            Well I went out today for a run and some exercise since the rain went off. I have player one and two defaults done will add 3 and 4 as well as combo for tab menu and tab cancel.

                                            Im also going to disable opening the tab menu from the gamepad when the automap is on so people dont get confused. Ill add a notification when automapping is enabled to avoid confusion so the user knows to turn the option off if they want to do it themselves. Should have this done by tommorow sometime unless something comes up.

                                            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.