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 7.6k 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.
    • 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
                      • G
                        grant2258 Banned @pjft
                        last edited by grant2258

                        @pjft ok thats everything done just needs some testing.

                        checklist

                        1. make sure mam2010 is installed
                        2. clear the ini/mame,int and cfg/ folder

                        latest source is here and always will be.
                        https://github.com/grant2258/mame2010-libretro/tree/input

                        
                        git clone https://github.com/grant2258/mame2010-libretro.git
                        git checkout input
                        reset --hard origin/input
                        make clean
                        make platform=rpi4 -j8
                        sudo cp mame2010_libretro.so /opt/retropie/libretrocores/lr-mame2010/
                        

                        ive already provided instruction on how to pull and check the input branch out if you want to compile it yourself. Its compiling for the pi4 thats the only bin ill provide if you want it for any other pi youll have to compile it yourself.

                        Whats changed well

                        1. input now works its as simple as that
                        2. you will receive an notification is a game map is enabled
                        3. to access the tab menu on a controller press Select +L
                        4. to access ui cancel to get defaults back press Selet +R
                        5. assigned defaults to players 1-4
                        6. joystick saturation and deadzone fixed in mame.ini
                        7. enjoy

                        edit pi4 bin uploaded here.

                        wget https://github.com/grant2258/mame2010-libretro/blob/grant2258-bin/mame2010_pi4.zip?raw=true
                        

                        anyone can do what they like with this code anywhere they want to its open source after all :)

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

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

                          ayed with analaog. Just nice to have option I find it makes it easier for some games to play.
                          Thanks

                          its not a placebo effect thats why i said to change it the anlog uses a 9x9 grid to map digital

                          1 Reply Last reply Reply Quote 0
                          • 2Play2
                            2Play
                            last edited by 2Play

                            in case someone has trouble to compile above ( @grant2258 already includes the final file for you)
                            For noobs:
                            You need to run the commands one by one. You can use PuTTY to copy paste for ease

                            mkdir code
                            cd code
                            git clone https://github.com/grant2258/mame2010-libretro.git
                            cd mame2010-libretro
                            git checkout input
                            git reset --hard origin/input
                            make clean
                            make platform=rpi4 -j8
                            sudo cp mame2010_libretro.so /opt/retropie/libretrocores/lr-mame2010/
                            
                            

                            credit to @grant2258

                            Your friend,
                            2Play!

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

                              just out of curiosity how is golden axe 2 running on the pi4 romname is ga2.zip last time I checked fbneo doesnt run this game so mame is the only option at the moment.

                              roslofR 1 Reply Last reply Reply Quote 0
                              • roslofR
                                roslof @grant2258
                                last edited by roslof

                                @grant2258 ga2.zip has no issues running it on a Pi4B at 60fps on MAME-2010. For the 3B+, you had to use AdvanceMAME to hit framerate.

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

                                  not tried mame2010 on my pi3b Ill need to compile it and check it out on my pi 3b+ i know its one of the more demanding games when the gfx are done properly that i play. thanks for info appreciated

                                  roslofR 1 Reply Last reply Reply Quote 0
                                  • roslofR
                                    roslof @grant2258
                                    last edited by

                                    @grant2258 no worries. I'm kind of a freak for MAME compatibility. Can look up anything at a glance:

                                    ga2.jpg

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

                                      @roslof Can you share the link for that list?

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        JJ-retro
                                        last edited by

                                        Ok, easy work-around that worked for me for 99% of my issues! I was having the same exact issue (still don’t know what triggered the problem, because it just showed up recently and before that I had know issues with any MAME emulators).

                                        I did some validation and determined that my ‘Tab’ controls config issue was only occurring with mame2010 ... all of my mame2000, mame2003 and mame2015 games had no issues with the Tab config controls.

                                        Every game that I was having problems with was able to run under Mame 2015 and so I was able to configure the controls with no issues. Not sure why my default emulator isn’t set to Mame 2015 but this is probably a good idea to change anyways, It has to be better to always try the the latest...

                                        Hope this helps someone else out as I struggled for several hours trying to resolve this one!!

                                        Game on RETRO-HEADS!! 😀

                                        1 Reply Last reply Reply Quote 0
                                        • GreenHawk84G
                                          GreenHawk84 @roslof
                                          last edited by

                                          @roslof curious as I am still running a 3B+, does GA2 run on Pi4 flawlessly? It has emulation issues on the older cores.

                                          roslofR pjftP 2 Replies Last reply Reply Quote 0
                                          • roslofR
                                            roslof @GreenHawk84
                                            last edited by roslof

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

                                            @roslof curious as I am still running a 3B+, does GA2 run on Pi4 flawlessly? It has emulation issues on the older cores.

                                            @GreenHawk84 it seems to run well on 2016.
                                            Here's my chart. Optimized Names # - Puyo Puyo Sun recently verified. Will be working to finish P, then onto Q-Z next.

                                            https://docs.google.com/spreadsheets/d/1Rq4shU1RUSdcc7cTVWeORMD-mcO6BwXwQ7TGw8f5_zw

                                            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.