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 71.9k 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.
    • 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
                    • GreenHawk84G
                      GreenHawk84
                      last edited by

                      @dankcushions , still attempting DCS audio fix or is it impossible?

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

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

                        @dankcushions , still attempting DCS audio fix or is it impossible?

                        I'm not working on it right now but it's not impossible, just not much point me looking at it when there's stuff out there I can get fixed easier.

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

                          @dankcushions, righto, well it is your own time, but I do hope it can be done. Very much so..

                          1 Reply Last reply Reply Quote 0
                          • T
                            Twitch0815
                            last edited by

                            Would love to see Ki support, for 2003

                            I have it working in lr-mame2014 and lr-mame on a x86 build

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

                              updates!

                              5th September 2016

                              • Second stick support
                                For games like robotron that have a second stick to fire, you can now use the second analog stick to do this.
                                See https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#dual-stick-games

                              2nd September 2016

                              • pointer support
                                not a huge lot of use for most here, but i added support for trackpads/touchscreens, or any other absolute pointer device. it might work with the PS4 controller's touchpad, actually!
                                see https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#pointertrackpadtouchscreen-support

                              1st September 2016

                              • core input remapping added
                                see https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping
                                (although, i still favour https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#mame-menu)
                              UDb23U 1 Reply Last reply Reply Quote 5
                              • BuZzB
                                BuZz administrators
                                last edited by

                                Nice one - updated bins will be available in a few mins.

                                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 1
                                • UDb23U
                                  UDb23 @dankcushions
                                  last edited by UDb23

                                  @dankcushions Thanks for your excellent work !

                                  I recently found out the Deep Scan rom (Invinco/Deep Scan) emulation lacks sound ; afaik not even current latest Mame version supports sound for this game.
                                  It's an old simple but enjoyable arcade game based on, even older, Depth Charge.
                                  I have no idea how complex it could actually be to implement sounds but it seems it is supposed to use the existing sound samples of Depth Charge.
                                  Is this something that could be fixed by a specific lr-mame2003 update ?

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

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

                                    Deep Scan

                                    download http://samples.mameworld.info/wav/invinco.zip

                                    put that zip file in /home/pi/RetroPie/BIOS/mame2003/samples/

                                    then it should work :)

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

                                      small update - Made better defaults for CPS1 Street Fighter II and variants.

                                      now it has the correct SNES street fighter 2 button layouts for CPS1 games :)

                                      anyone know any other games where the controls are messed up by default? i don't want to do EVERY GAME but for certain games/hardware it's pretty easy to fix a bunch at once.

                                      mediamogulM 1 Reply Last reply Reply Quote 1
                                      • mediamogulM
                                        mediamogul Global Moderator @dankcushions
                                        last edited by

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

                                        anyone know any other games where the controls are messed up by default?

                                        This is a fantastic update. Every new addition here is a very big deal in it's own right and the core input remapping particularly blew my mind. The right joystick solution is ingenious, but it raises and almost answers a few questions for me at the same time. I take it that the analog sticks from the virtualized 'RetroPad' are incapable of passing the actual analog information from the physical controller to Mame2003? After looking at your addition, I realized that even when the device type is set to 'RetroPad w/ Analog' it also doesn't pass the left stick input, leaving only a solution similar to what you've done here where the Dpad is mapped to it. Is this just a limitation of RetroArch and what potential benefit comes from setting 'RetroPad w/ Analog' in the first place?

                                        In regard to controls that are potentially messed up, I imagine that any game with tank controls that also have action buttons will be affected by the right stick being mapped to a,b,x,y. I tested 'Cloak and Dagger' late last night and found this to be the case. It could be that this is the only game affected, as tank control games usually don't have extra buttons. I just remapped the action button to the 'r' button and it played very well.

                                        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

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

                                          The right joystick solution is ingenious, but it raises and almost answers a few questions for me at the same time. I take it that the analog sticks from the virtualized 'RetroPad' are incapable of passing the actual analog information from the physical controller to Mame2003?

                                          they can! but only a few arcade games actually utilise left stick analog controls. eg, afterburner, lightgun games, centipede, etc. basically anything that would have some sort of analogue control should pick up your left analogue stick. this was added in july.

                                          After looking at your addition, I realized that even when the device type is set to 'RetroPad w/ Analog' it also doesn't pass the left stick input, leaving only a solution similar to what you've done here where the Dpad is mapped to it. Is this just a limitation of RetroArch and what potential benefit comes from setting 'RetroPad w/ Analog' in the first place?

                                          see above. for me with my dual shock 4 it will pass the left stick analog stick input to games that support it (actually regardless of whether 'RetroPad w/ Analog' or 'RetroPad' is set, weirdly). HOWEVER, if you turn on the analog to DPAD option on, it will instead convert that to a digital signal (duplicating your dpad).

                                          In regard to controls that are potentially messed up, I imagine that any game with tank controls that also have action buttons will be affected by the right stick being mapped to a,b,x,y. I tested 'Cloak and Dagger' late last night and found this to be the case. It could be that this is the only game affected, as tank control games usually don't have extra buttons. I just remapped the action button to the 'r' button and it played very well.

                                          i'll have to try this. all tank control games should now be mapped correctly as i corrected the retropad mappings (now X = up, Y = left, A = right, B = down). previously it was all messed up. you should delete any .cfgs (retroarch or MAME) if you remapped it before the fix, though.

                                          all the right-stick-to-buttons thing does it make the right stick do something when it previously did nothing.

                                          mediamogulM caver01C 2 Replies Last reply Reply Quote 0
                                          • mediamogulM
                                            mediamogul Global Moderator @dankcushions
                                            last edited by mediamogul

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

                                            they can! but only a few arcade games actually utilise left stick analog controls.

                                            Very cool. I'll have to reconfigure my preferences a bit to take advantage of that.

                                            all tank control games should now be mapped correctly as i corrected the retropad mappings (now X = up, Y = left, A = right, B = down).

                                            I have cleared my previous mappings and the new controls indeed work very well, it's just that since the 'down' direction and the primary action button are now both mapped to the 'b' button by default, AgentX continuously launches a bomb whenever the down direction is pressed. Again, it only took a moment for me to remap, so it's no big deal, but I thought I'd bring it to your attention.

                                            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                            dankcushionsD 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.