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.4k 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.
    • caver01C
      caver01 @dankcushions
      last edited by

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

      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.

      I am curious about the use of analogue sticks with games that had a 49-way stick. Games like Sinistar and Food Fight both had 49-way sticks, yet, even an 8-way seems clunky to me. It's very difficult to control the ship in Sinistar, and I always wondered if using an analog stick would be better--not that I have one, but maybe for my next build. Thoughts?

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

      1 Reply Last reply Reply Quote 0
      • UDb23U
        UDb23 @dankcushions
        last edited by

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

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

        Unfortunately I already had samples installed. I double checked and it's the same zip you suggested.

        Invinco / Deep Scan was a dual game so the ROM is two different games in one:
        Invinco - invaders like game (sound with samples works) and Deep scan - no sound at all.

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

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

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

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

          Unfortunately I already had samples installed. I double checked and it's the same zip you suggested.

          Invinco / Deep Scan was a dual game so the ROM is two different games in one:
          Invinco - invaders like game (sound with samples works) and Deep scan - no sound at all.

          Thanks Dank for the new updates, great work! :)

          Great call on Depth Charge UDb I was just playing it a few weeks ago. I wish the overlays worked as the blue hue (plexi-glass I think?) is nice but none of the early versions of MAME code support that game overlay.

          I don't think sound samples are working but Dank might have snuck an update in there somewhere. There's a reference in this thread about sound samples. Donkey Kong is a must for working sound samples.

          https://retropie.org.uk/forum/topic/2588/keyboard-tab-key-not-working-in-mame-retroepie/26

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

            ok thanks all for all the testing and ideas!

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

            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.

            ahh i see! thanks :) i have put a fix in that binds this to button5 (i think this is L2, will confirm) - will update when this is accepted.

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

            I am curious about the use of analogue sticks with games that had a 49-way stick. Games like Sinistar and Food Fight both had 49-way sticks, yet, even an 8-way seems clunky to me. It's very difficult to control the ship in Sinistar, and I always wondered if using an analog stick would be better--not that I have one, but maybe for my next build. Thoughts?

            i just tested sinistar and it works properly with the analog stick :) i remember playing a clone on the BBC micro that had 4 (at most 8) way control, so this is cool! i still suck, though. didn't get how you find the gems :( but yeah, i think an analog stick would be cool in a cab but i guess there's not too many games that use it (at least, on mame2003). i guess you could put a few driving games on from the 32-bit console era!

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

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

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

            Unfortunately I already had samples installed. I double checked and it's the same zip you suggested.

            Invinco / Deep Scan was a dual game so the ROM is two different games in one:
            Invinco - invaders like game (sound with samples works) and Deep scan - no sound at all.

            fixed! there's not many fixes i can do to the original mame code but this seemed to be a bug in this version where it was looking for a sample pack that doesn't exist! i changed it to the invinco sample pack and now it correctly retrieves that one (it seems to re-use samples from invinco which i hope is right? can you confirm?). anyway, i will update when the fix is live :)

            UDb23U 1 Reply Last reply Reply Quote 2
            • UDb23U
              UDb23 @dankcushions
              last edited by UDb23

              @dankcushions Thanks for trying to fix Deep Scan sound.
              This game is basically an enhanced version of Depth Charge (it adds color and the "radar" at the bottom). Therefore sounds are supposed to be the same as Depth Charge.
              Invinco sounds are not related to Deep Scan.
              Depth Charge does use an external sample file; maybe you can modify the code to look for these samples.

              dankcushionsD RiverstormR 2 Replies Last reply Reply Quote 0
              • UDb23U
                UDb23 @Riverstorm
                last edited by

                @Riverstorm I too was looking at recreating the blue hue for Depth Charge. As Libretro overlays are supported I will try with a full screen dark blu overlay with a low opacity settings and see how it works. Will let you know.
                Also I'm making/adapting some bezels for the new correct core aspect ratio fixed by Dank in lr-mame2003. Idea is to have maximum gaming area with integer scale factor in 1080p and bezel covering remaining black areas.

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

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

                  @dankcushions Thanks for trying to fix Deep Scan sound.
                  This game is basically an enhanced version of Depth Charge (it adds color and the "radar" at the bottom). Therefore sounds are supposed to be the same as Depth Charge.
                  Invinco sounds are not related to Deep Scan.
                  Depth Charge does use an external sample file; maybe you can modify the code to look for these samples.

                  i'm having a play with the code and nothing seems to be working. i think this is just not supported in this version of mame i'm afraid :( advmame or mame2010 may work properly

                  UDb23U 1 Reply Last reply Reply Quote 0
                  • UDb23U
                    UDb23 @dankcushions
                    last edited by UDb23

                    @dankcushions thanks a lot anyway. Efforts really appreciated.
                    As far as I know even current mame version does not support sounds for Deep Scan.
                    Either nobody cares or it is difficult to implement (as you just confirmed).

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

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

                      @Riverstorm I too was looking at recreating the blue hue for Depth Charge. As Libretro overlays are supported I will try with a full screen dark blu overlay with a low opacity settings and see how it works. Will let you know.
                      Also I'm making/adapting some bezels for the new correct core aspect ratio fixed by Dank in lr-mame2003. Idea is to have maximum gaming area with integer scale factor in 1080p and bezel covering remaining black areas.

                      Deep Scan looks great I guess that one slipped under my radar! It's nice to discover new gems. :)

                      That would be great filling in the black areas. I like the looks of the Depth Charge bezel on Mr. Do's Arcade but I think it would take up to much of the actual game areas as most of the bezel is top/bottom coverage (combined marquee with the control panel it looks like) but it's a nice bezel none the less.

                      Mr. Do's Depth Charge Bezel

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

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

                        I'll check if Depth Charge uses a specific external sample zip file (that could be reused for Deep Scan) and let you know.

                        The current samples use depthch.zip:

                        longex.wav
                        shortex.wav
                        sonar.wav
                        sonarena.wav
                        spray.wav
                        
                        1 Reply Last reply Reply Quote 0
                        • RiverstormR
                          Riverstorm
                          last edited by

                          In case you didn't know sound samples for Depth Charge (depthch.zip) do work in both advmame & lr-mame2003. I saw a few references to Deep Scan (invds.zip) using invinco sound samples but also found this. The information is a bit contradictory.

                          MAMEInfo wrote:
                          
                          Samples required (Invinco) 
                          
                          TODO: 
                          * Add sound/samples for Deep Scan (Depthcharge samples)
                          
                          UDb23U 1 Reply Last reply Reply Quote 0
                          • UDb23U
                            UDb23 @Riverstorm
                            last edited by

                            @Riverstorm thanks. Invds.zip does use invinco samples but only for the invinco game.
                            Talking about sub games I recently discovered: "the deep" and "In the hunt". Both are evolution of Depth Charge and really enjoyable in lr-mame 2003 :-)

                            RiverstormR 2 Replies Last reply Reply Quote 0
                            • RiverstormR
                              Riverstorm @UDb23
                              last edited by

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

                              @Riverstorm thanks. Invds.zip does use invinco samples but only for the invinco game.

                              Sorry, I am confused, what is the name of the Deep Scan game ROM?

                              Talking about sub games I recently discovered: "the deep" and "In the hunt". Both are evolution of Depth Charge and really enjoyable in lr-mame 2003 :-)

                              Thanks for the tip, will give them a go here later today!

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

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

                                @Riverstorm thanks. Invds.zip does use invinco samples but only for the invinco game.

                                Ah, I see now button 3 toggles between the two games.

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

                                  small update!

                                  7th September 2016

                                  • Fix default controls in Cloak & Dagger
                                    Idea by @mediamogul in https://retropie.org.uk/forum/topic/2889/mame-development-lr-mame2003-updates/63
                                  • Fix bug where you couldn't rebind Retropad B button
                                    Idea/bug reported by @silentq in https://retropie.org.uk/forum/topic/3854/cannot-remap-b-button-to-any-other-button-other-than-button-1-in-mame2003
                                  mediamogulM 1 Reply Last reply Reply Quote 1
                                  • mediamogulM
                                    mediamogul Global Moderator @dankcushions
                                    last edited by

                                    @dankcushions Much appreciated sir.

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

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

                                      Binaries are 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
                                      • D
                                        dquez
                                        last edited by

                                        Has anyone looked into adding "autocenter" to the analog control options for lr-mame2003? I end up using mame2010 for a lot of games that had analog controls because mame2003 lacks the "autocenter" feature.

                                        @dankcushions The core input remapping addition was fantastic! Great work. mame2010 needs this too.

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

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

                                          Has anyone looked into adding "autocenter" to the analog control options for lr-mame2003? I end up using mame2010 for a lot of games that had analog controls because mame2003 lacks the "autocenter" feature.

                                          hmm, what does it do? or can you maybe give me an example game where it's a problem not having that feature? i've not had a problem with the analog games i've tried.

                                          @dankcushions The core input remapping addition was fantastic! Great work. mame2010 needs this too.

                                          cheers! but that was another developer from libretro - hunterk :)

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            dquez @dankcushions
                                            last edited by

                                            @dankcushions While playing a rom that has analog control the mame2003 Tab menu gets an additional option called "Analog Controls" it is the 4th option after: Input (General), Input (This Game), and Dip Switches. The Analog control option lets you adjust the settings in order to get a digital D-Pad to mimic Analog Controls.

                                            For each axis there are settings for:
                                            Joy Speed
                                            Reverse
                                            Sensitivity

                                            In mame2010 there is an additional setting per axis:
                                            Autocenter Speed

                                            Basically in mame2003 if you push up on you D-Pad it mimics pressing up on the analog stick but when you let go of the D-Pad the emulated analog stick stays in the up position. You have to press down to bring it back to center and if you press down for too long you go past center into a down position and if you don't press down long enough the analog stick will register as slightly up.

                                            In mame2010 because the analog controls autocenter when you press up on the D-Pad the analog control go up and when you let go of the D-Pad the autocenter feature brings the emulated analog stick back to the center position. How quickly it centers depends on the autocenter speed setting. This helps make analog games control much better with a digital D-Pad or arcade stick.

                                            For example in "Escape from the Planet of the Robot Monsters" if you use mame2003 you press a direction and you will you continue to run in that direction even if you have let go of the D-Pad. In mame2010 you only run if you hold down a direction on the D-Pad. Letting go of the D-Pad autocenters and the character stops moving.

                                            Pretty sure the same goes for Food Fight.

                                            For reticle type shooting games you can turn the autocenter speed to 0 so that the reticle isn't always trying to recenter itself.

                                            That turned out longer than I expected!

                                            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.