RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    MAME development: lr-mame2003 Updates

    Scheduled Pinned Locked Moved Ideas and Development
    mamelr-mame2003updatedevelopment
    134 Posts 21 Posters 72.0k 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.
    • S
      space invader
      last edited by

      Hi all!

      I've been making some tests but I haven't been able to use two trackballs, one for player1 and another for player2

      I have four mouses connected to the pi, and all of them manage player1.

      How can I setup this correctly?

      Many thanks in advance!

      caver01C 1 Reply Last reply Reply Quote 0
      • caver01C
        caver01 @space invader
        last edited by caver01

        @space-invader said in MAME development: lr-mame2003 Updates:

        I've been making some tests but I haven't been able to use two trackballs, one for player1 and another for player2

        I think you are going to need AdvanceMAME for that. I believe lr-mame2003 is only going to recognize one mouse input, so all attached mice map to a common x,y axis. Recent updates enabled a setting to split these among player 1 and 2 but that's still just two dimensions on a single mouse.

        I have four mouses connected to the pi, and all of them manage player1.

        Yep. That's how it works. Try AdavanceMAME. You have all of the flexibility you need with that one.

        My 4-player cocktail style cabinet built as a custom "roadcase"

        1 Reply Last reply Reply Quote 0
        • S
          space invader
          last edited by space invader

          Oh, it's a pity!

          Then it is imposible to play super sprint with more than one player? Or marble madness with two players?

          I have correctly setup 3 mouses (2 trackballs and a spinner or 3 spinners) in advmame but I'd like to use the crt shaders of mame2003.

          Finally could you explain me which is the usage of the last update? Is posible to map x-axis for player one and y-axis to player two??

          This way at least could be posible to use two steering wheels...

          caver01C 1 Reply Last reply Reply Quote 0
          • caver01C
            caver01 @space invader
            last edited by

            @space-invader yes that's exactly what the last update allows. You need to enable the core config option. Check here for instructions. I have two spinners and it works great in Super Sprint and others. You can still map player three to joystick. No joy for multi trackball Marble Madness or Rampart. Use the spinnners and trackballs wiki I wrote for AdvanceMAME. It does have some screen effects--the rgb triads aren't as good as libretro shaders but it's better than nothing.

            My 4-player cocktail style cabinet built as a custom "roadcase"

            1 Reply Last reply Reply Quote 0
            • S
              space invader
              last edited by space invader

              Solved! I had enabled the option but didn't know how to map the second player to the y-axis. After some hard thinking, up and down and it works. :)

              dankcushions, any more improvements to come in your schedule??

              Anyway, many thanks for your effort.

              dankcushionsD 1 Reply Last reply Reply Quote 0
              • dankcushionsD
                dankcushions Global Moderator @space invader
                last edited by

                @space-invader my to-do list is in the first post.

                I think using more than one trackball/mouse in retroarch MIGHT be fixable. I'll look into that in a week or so :)

                S 1 Reply Last reply Reply Quote 2
                • GreenHawk84G
                  GreenHawk84
                  last edited by

                  @dankcushions , you may want to consider "fixing default aspect ratio for CPS2 games" to "all games" in Mame2003. I am finding that everything is outside of what it should be. Mortal Kombat plays stretched, Donkey Kong is not 3:4, etc.

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator @GreenHawk84
                    last edited by

                    @GreenHawk84 it's not everything, but there is a general problem. I gave cps2 games as examples.

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

                      I would enjoy to ship you a six pack of beer for this work.

                      1 Reply Last reply Reply Quote 0
                      • S
                        space invader @dankcushions
                        last edited by

                        @dankcushions said in MAME development: lr-mame2003 Updates:

                        @space-invader my to-do list is in the first post.

                        I think using more than one trackball/mouse in retroarch MIGHT be fixable. I'll look into that in a week or so :)

                        It would be awesome! Waiting for your great job!

                        1 Reply Last reply Reply Quote 0
                        • dankcushionsD
                          dankcushions Global Moderator
                          last edited by

                          aspect ratio problems have now been fixed :)

                          previously some games would appear at the wrong ratio (eg blasteroids stretched, street fighter 2/alpha stretched, mortal kombat stretched). now corrected via https://github.com/libretro/mame2003-libretro/pull/53

                          you should now never need to use custom aspect ratios to get it to look correct.

                          herb_fargusH BuZzB RiverstormR 3 Replies Last reply Reply Quote 4
                          • herb_fargusH
                            herb_fargus administrators @dankcushions
                            last edited by

                            @dankcushions :D brilliant

                            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                            1 Reply Last reply Reply Quote 0
                            • BuZzB
                              BuZz administrators @dankcushions
                              last edited by

                              @dankcushions nice one! could feed that one to mame2010 also :-)

                              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

                                @dankcushions said in MAME development: lr-mame2003 Updates:

                                aspect ratio problems have now been fixed :)

                                Dude nice!!

                                1 Reply Last reply Reply Quote 0
                                • BrockBoytsB
                                  BrockBoyts
                                  last edited by

                                  Awesome work man!

                                  I updated Lr-Mame2003 today via "source." I went to launch Battletoads and it is still stretched. Do I need to update again today to get the new update to fix it? Thanks!

                                  dankcushionsD 1 Reply Last reply Reply Quote 0
                                  • dankcushionsD
                                    dankcushions Global Moderator @BrockBoyts
                                    last edited by

                                    @BrockBoyts said in MAME development: lr-mame2003 Updates:

                                    Awesome work man!

                                    I updated Lr-Mame2003 today via "source." I went to launch Battletoads and it is still stretched. Do I need to update again today to get the new update to fix it? Thanks!

                                    thanks :) it was updated when i posted last (21 hrs ago) so i think so, as battletoads is approx 4:3 on this version (just tested)

                                    BrockBoytsB 1 Reply Last reply Reply Quote 0
                                    • BrockBoytsB
                                      BrockBoyts @dankcushions
                                      last edited by

                                      @dankcushions So is the correct way to update Lr-Mame2003 in the retropie menu and update via "source"?

                                      1 Reply Last reply Reply Quote 0
                                      • BuZzB
                                        BuZz administrators
                                        last edited by

                                        you can update from binary - the binaries have been updated.

                                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                        1 Reply Last reply Reply Quote 0
                                        • RiverstormR
                                          Riverstorm @dankcushions
                                          last edited by

                                          @dankcushions said in MAME development: lr-mame2003 Updates:

                                          you should now never need to use custom aspect ratios to get it to look correct.

                                          Thanks Dank for all the amazing updates to MAME!

                                          1 Reply Last reply Reply Quote 0
                                          • dankcushionsD
                                            dankcushions Global Moderator @BuZz
                                            last edited by

                                            @BuZz said in MAME development: lr-mame2003 Updates:

                                            @dankcushions nice one! could feed that one to mame2010 also :-)

                                            thanks! so i checked mame2010 out - it has the same issue and it should have a similar fix, but i couldn't quickly fix it as there's some annoying stuff in the way it was written. here's where i'd want to fix it: https://github.com/libretro/mame2010-libretro/blob/master/src/osd/retro/retromapper.c#L144

                                            but the machine being run isn't initialised till after, here: https://github.com/libretro/mame2010-libretro/blob/master/src/osd/retro/retromain.c#L222

                                            so really either the init needs to happen sooner, or the retro_av_info needs to be reset after the init.

                                            anyway, i logged the issue: https://github.com/libretro/mame2010-libretro/issues/20

                                            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.