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

    Mortal Kombat 2/3/UMK3 Audio

    Scheduled Pinned Locked Moved Help and Support
    76 Posts 13 Posters 38.3k 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.
    • D
      darkmenace
      last edited by

      Whilst I think things improved a bit with the sound, I was still getting a bit of crackling and crustyness. Is there any easy way for me to verify that I successfully updated lr-mame2003 package to the version with the fixed audio?

      dankcushionsD GreenHawk84G 2 Replies Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @darkmenace
        last edited by

        @darkmenace if you updated via source, you have the fix. if you go to the retroarch menu (hotkey + retropad X) in game, you can make a note of the version string at the bottom left and we can verify.

        before the fix the sound would a garbled mess and out of sync after 10 minutes of play. anything other than that is a different issue.

        cellyC 1 Reply Last reply Reply Quote 1
        • GreenHawk84G
          GreenHawk84 @darkmenace
          last edited by

          @darkmenace yes the sound is not perfect in general but this was a fix for a large issue that occurred after ~10min of playtime.

          As for the general crackle at times, that will have to be resolved separately, but not enough (IMO) for another community fund.

          1 Reply Last reply Reply Quote 1
          • cellyC
            celly @dankcushions
            last edited by

            @dankcushions so I won't need to update any roms or rebuild my set, just the emulator from source and that's it?! Sweet!

            Currently Playing: Tetris (Gameboy)

            1 Reply Last reply Reply Quote 0
            • arcadez2003A
              arcadez2003
              last edited by arcadez2003

              It's the older DCS sound cores which cause the crackles in the sound this is gone by MAME84 and DCS was updated again come MAME85
              but of course those versions lack the speedhacks however they can always be added back in to regain the performance boosts.

              Arcade Addict

              1 Reply Last reply Reply Quote 0
              • megaJekanM
                megaJekan
                last edited by

                The bug is re-introduced again in the latest lr-mame2003. Maybe someone can look at it.

                For those who want to play now and without any issues, I've forked the Git project and created a branch named "mk3fix", which points to the revision, where the bug was actually fixed.

                So you should open file RetroPie-Setup/scriptmodules/libretrocores/lr-mame2003.sh and replace

                gitPullOrClone "$md_build" https://github.com/libretro/mame2003-libretro.git
                

                with

                gitPullOrClone "$md_build" https://github.com/genius8086/mame2003-libretro mk3fix
                

                Then please build from source again.

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

                  your code base is seven months old the code changed since then youll introduce heap overflows.

                  The most likely cause of this is the dcs speedhack change now works it didnt before. The setting done nothing before

                  test your current code with mame2003 src/vidhrdw/midtunit_vidhrdw.c

                  (note fast dma is off by default now it used to be (both the hack and fastdma where on by default) I was against changing this

                  1 Reply Last reply Reply Quote 0
                  • megaJekanM
                    megaJekan
                    last edited by

                    @grant2258 It is obvious that the code is outdated, I was trying to search the other forums to find out the commit e6bf01a531ec151ccec9f78dfaf87586574ee966 with fix. But the recent master has this "every 10 minutes cracking sounds" issue again. Maybe you can point to the commit, which we can use.

                    "dcs speedhack" - is it a core option which can be disabled?

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

                      yes it a core option is but it wasnt hooked up right on mame2003 in your revision. Basically both where on by default.

                      try mame2003+ i never changed it there

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

                        c3eaee3dc965f03b3b43d06b230ca7c99222ba08
                        abec426b21aa3ef06628402485078daa3c250e46

                        are the commit changes your looking at for the mk change

                        fast dma and dcs hack used the old way was both where always on the new way fast_dma is off unless you the turn it on again this wasnt my choice like I said before. I personally think the fast_dma should be in a toggle switch as well instead of a pre-processor define

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

                          you can see when the dcs hack is working and when its not shadows will go on and off in mk2. you see in your revision of code it does nothing

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

                            had a quick look in all honest i havent been keeping up with mame2003 ive done a fix please test this when you have the time should fix any issues. The fix before worked but corrupted the heap for some games.

                            https://github.com/grant2258/mame2003-libretro

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

                              I confirm this bug has returned. Was playing MK2 last night and it started crackling at the later point of the game when the overflow happens.

                              We had a fund to fix this, so I wonder what happened to the fix that we donated for?

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

                                @GreenHawk84 is fixed compile from source retropiepie bins are old

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

                                  @grant2258 said in Mortal Kombat 2/3/UMK3 Audio:

                                  @GreenHawk84 is fixed compile from source retropiepie bins are old

                                  Will try later. Do you prefer Mame2003-Plus over Mame2003?

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

                                    in all honesty I use bigbox and mame current in my barcade but if I was using a pi for my barcade it would be plus i was using. I only really fix code on it when needed dont use the core per say

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

                                      Hmm, never heard of Bigbox/Launchbox. I heard of Hyperspin. I do want to do a beefier barcade that can play modern fighters like Tekken 7 etc. Was gonna use a full on motherboard and graphics card. Just need the funds and time!

                                      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.