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

    lr-mame2003 driver improvement and backport

    Scheduled Pinned Locked Moved Ideas and Development
    mame2003mame-libretrodriverbackport
    507 Posts 30 Posters 259.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.
    • darkniorD
      darknior
      last edited by darknior

      WOAW thanks a lot for this great update :)

      Life is game, just play it !

      1 Reply Last reply Reply Quote 0
      • DarksaviorD
        Darksavior @arcadez2003
        last edited by Darksavior

        @gamez-fan Thanks, but unfortunately, it fixes none of the audio issues the system16 games have. Altered beast is still unplayable. Maybe the bootleg works but I haven't tried that. It made Shinobi worse. After finishing level1, the same level repeated over, I died, then level2 loaded. I was using shinobi.zip. I haven't tried shinobi in months so I can't say for sure your work caused the level to repeat.

        I'm using version bc76b23, which matches the latest commit.

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

          @gamez-fan Have any changes been made that might effect games made by Irem and Tatio? I have about 150 games running on mame2003 and they all work fine on a stock 4.3 image. However after updating mame-2003 a few times, not many of them work anymore and I keep finding more that don't. Mainly by those devs.

          I am using the correct romset etc. I just thought maybe some drivers changes may have caused this?

          I made a thread about it here:
          https://retropie.org.uk/forum/topic/14529/help-retropie-4-3-some-mame2003-roms-not-working-after-update

          Thanks :)

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

            @gamez-fan can I make a request that your PRs have all the changes needed for a particular game (or set of games) in one PR? right now it looks like every file change has one PR which makes it difficult to test.

            arcadez2003A 1 Reply Last reply Reply Quote 1
            • arcadez2003A
              arcadez2003 @Darksavior
              last edited by arcadez2003

              @darksavior said in lr-mame2003 driver improvement and backport:

              @gamez-fan Thanks, but unfortunately, it fixes none of the audio issues the system16 games have. Altered beast is still unplayable. Maybe the bootleg works but I haven't tried that. It made Shinobi worse. After finishing level1, the same level repeated over, I died, then level2 loaded. I was using shinobi.zip. I haven't tried shinobi in months so I can't say for sure your work caused the level to repeat.

              I'm using version bc76b23, which matches the latest commit.

              That's a real bummer as it was a ton of Work to update the Sega core and get it on a par with the Xbox MAME port in which we see none
              of the sound, graphical and game problems you mention above im at a loss here as to why with the exact same code more or less
              the games are fine on the xbox but not so much on the Rpi.

              Arcade Addict

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

                @mrjordaaany said in lr-mame2003 driver improvement and backport:

                @gamez-fan Have any changes been made that might effect games made by Irem and Tatio? I have about 150 games running on mame2003 and they all work fine on a stock 4.3 image. However after updating mame-2003 a few times, not many of them work anymore and I keep finding more that don't. Mainly by those devs.

                I am using the correct romset etc. I just thought maybe some drivers changes may have caused this?

                I made a thread about it here:
                https://retropie.org.uk/forum/topic/14529/help-retropie-4-3-some-mame2003-roms-not-working-after-update

                Thanks :)

                No changes have been made that would affect the games you mention, listen though when i make any changes to my Xbox MAME project
                that involves adding new game support then we always have to delete the previous save files the Emulator creates as this can mess up Rom
                loading.

                Try removing your MAME emulator save files and then reboot it again and hopefully this should sort the issues but i'll certainly look over
                my commits again to make sure it's nothing i've done which is causing this.

                Arcade Addict

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

                  @dankcushions said in lr-mame2003 driver improvement and backport:

                  @gamez-fan can I make a request that your PRs have all the changes needed for a particular game (or set of games) in one PR? right now it looks like every file change has one PR which makes it difficult to test.

                  Ok no problem

                  Arcade Addict

                  1 Reply Last reply Reply Quote 1
                  • MrJordaaanyM
                    MrJordaaany @arcadez2003
                    last edited by

                    @gamez-fan Yeah I have tried removing saves, even configs too. Still no dice sorry.

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

                      Ok i had to revert the Sega Core Update as it broke all the System 16 / 18 games i've fixed them now, a real pity as it was a fair bit of work and those
                      MAME improvements would have been a real boon in the end i think some of the memory map handling was just not compatable with the
                      MAME78 source.

                      But hey it's not all bad news as there are two new playable games.............

                      Sonic Boom

                      ALTTEXT

                      Runs like a dog on lesser hardware when using FBA but plays a treat in ole MAME, mind and grab the decrypted Roms
                      and drop em in sonicbom.zip for this to work as we're bypassing the FD1809 encryption.

                      FixEight (Bootleg)

                      ALTTEXT

                      The original version of Fixeight is not playble in MAME78 but the bootleg plays quite nicely after i added it

                      Arcade Addict

                      DarksaviorD 1 Reply Last reply Reply Quote 3
                      • DarksaviorD
                        Darksavior @arcadez2003
                        last edited by Darksavior

                        @gamez-fan No worries. You tried. One of these days I will have to test out speeds to see which emulator is the best for system16. I might have to go with mame2010. FBA is too slow, even after they fixed their audio problems.

                        Do you look at fba too? If so, a small request, on why the konami (tmnt1,2,sunsetriders,mysticwarriors, simpsons,etc) and banpresto games (sailor moon really;P) games are faster on fba2012 than standard fba? Missing optimizations? Just more accurate emulation?

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

                          Just a heads up with regards to the sound being better in MAME-2003 the Shinobi Bootleg is the version to play.

                          Arcade Addict

                          darkniorD 1 Reply Last reply Reply Quote 0
                          • darkniorD
                            darknior @arcadez2003
                            last edited by

                            @gamez-fan said in lr-mame2003 driver improvement and backport:

                            Just a heads up with regards to the sound being better in MAME-2003 the Shinobi Bootleg is the version to play.

                            Thanks a lot :)

                            No hope to improve Shinobi, E-swat sound problem ?
                            And fix Altered Beast ? because this one is not playable :(

                            Life is game, just play it !

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

                              @darknior said in lr-mame2003 driver improvement and backport:

                              @gamez-fan said in lr-mame2003 driver improvement and backport:

                              Just a heads up with regards to the sound being better in MAME-2003 the Shinobi Bootleg is the version to play.

                              Thanks a lot :)

                              No hope to improve Shinobi, E-swat sound problem ?
                              And fix Altered Beast ? because this one is not playable :(

                              I just tried to do that and it ended it failure :( i cant be assed working on it again!! with regards to Altered Beast i just played the first two levels and didn't run into
                              any Gfx issues i used this version GAME( 1988, altbeast, 0, altbeast, altbeast, altbeast, ROT0, "Sega", "Altered Beast (Version 1)" )

                              Arcade Addict

                              darkniorD maxbeanzM 2 Replies Last reply Reply Quote 0
                              • darkniorD
                                darknior @arcadez2003
                                last edited by

                                @gamez-fan said in lr-mame2003 driver improvement and backport:

                                GAME( 1988, altbeast, 0, altbeast, altbeast, altbeast, ROT0, "Sega", "Altered Beast (Version 1)" )

                                Ok thank i will try it.

                                https://github.com/libretro/mame2003-libretro/pull/212

                                @gamez-fan This will fix the sound and the sub CPU reset line getting lost in transet slowing the game down to a crawl

                                Life is game, just play it !

                                1 Reply Last reply Reply Quote 0
                                • darkniorD
                                  darknior
                                  last edited by

                                  https://github.com/libretro/mame2003-libretro/pull/216

                                  @gamez-fan Two new Joystick versions of Cabal which have an extra button for rolling, the bootleg has this setup also but the official versions are 100% soundwise.
                                  The version i remember from the Arcades back in the day it's not the same without the roll button.
                                  Anyway this change is from MAME120 the joystick version becomes the parent and the US set's 1 and 2 are now the trackball versions with just a slight Rom name change the bootleg stays the same.

                                  Life is game, just play it !

                                  1 Reply Last reply Reply Quote 0
                                  • maxbeanzM
                                    maxbeanz @arcadez2003
                                    last edited by maxbeanz

                                    @gamez-fan said in lr-mame2003 driver improvement and backport:

                                    with regards to Altered Beast i just played the first two levels and didn't run into
                                    any Gfx issues i used this version GAME( 1988, altbeast, 0, altbeast, altbeast, altbeast, ROT0, "Sega", "Altered Beast (Version 1)" )

                                    Did you test this on Retropie/Retroarch ? I have the same issue, when you hit the enemies they freeze and you can walk through them. I think the game works fine on all systems except the Retroarch version. A lot of games in lr-mame2003 don't work properly whereas the original MAME 2003 versions work fine. Probably something wrong with the Libretro code.

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

                                      @maxbeanz said in lr-mame2003 driver improvement and backport:

                                      Did you test this on Retropie/Retroarch ?

                                      No a MAME72 build on the Xbox, i just wanted to make sure folks weren't using the non working version 2 Romset.

                                      @maxbeanz said in lr-mame2003 driver improvement and backport:

                                      I have the same issue, when you hit the enemies they freeze and you can walk through them. I think the game works fine on all systems except the Retroarch version. A lot of games in lr-mame2003 don't work properly whereas the original MAME 2003 versions work fine. Probably something wrong with the Libretro code.

                                      Alotta the input and graphical code has been changed, i suppose so that it's endian safe for multiple platforms, problem is it might be these changes
                                      which will likely be the cause of the Bally Midway games refusing to coin or locking into service mode on boot or the graphical problems your getting
                                      with Altered Beast or as you say lots of games just plain not working all of which you dont get when using the original MAME78 build.

                                      It would require some dev's with a bit of free time on their hands and a fairly large team of testers to put this right.

                                      Arcade Addict

                                      markwkiddM 1 Reply Last reply Reply Quote 0
                                      • markwkiddM
                                        markwkidd @arcadez2003
                                        last edited by

                                        @gamez-fan said

                                        It would require some dev's with a bit of free time on their hands and a fairly large team of testers to put this right.

                                        If you can help write a description of the work in the github issues, that would allow bounties to be raised for a bigger project.

                                        1 Reply Last reply Reply Quote 0
                                        • darkniorD
                                          darknior
                                          last edited by

                                          https://github.com/libretro/mame2003-libretro/pull/218
                                          https://github.com/libretro/mame2003-libretro/pull/219

                                          @gamez-fan The games will sound way better now, but folks will need new samples which are quite
                                          easy to obtain via Twistys site FBA for example uses the same ones.

                                          • 0.86u3: Donkey Kong sample improvements [Peter Rittwage, Derrick Renaud]. Added samples (run01, run02, run03, jump and dkstomp.wav).
                                          • 0.86u3: Peter Rittwage and Derrick Renaud replaced the old climb and walk sample with three different samples. Replaced climb- and walk.wav with climb0, climb1 and climb2.wav and walk0, walk1 and walk2.wav.

                                          Code via BritneysPAIRS

                                          @gamez-fan Breath a sigh of relief it's my final commit .

                                          Life is game, just play it !

                                          RiverstormR 1 Reply Last reply Reply Quote 0
                                          • darkniorD
                                            darknior
                                            last edited by

                                            Speedup hack for Street Fighter : https://github.com/libretro/mame2003-libretro/pull/221

                                            @gamez-fan Code is via iq_132 and gives a large speedup and reduction in the overall memory requirements
                                            when loading the graphical Roms for Street Fighter, this works very nicely on the Xbox im sure it'll
                                            be likewise for all the platforms that use this MAME core.

                                            Ok this is defo my last commit!! i simply forgot about this code which im sure you'll
                                            agree was worth porting across.

                                            Life is game, just play it !

                                            1 Reply Last reply Reply Quote 3
                                            • 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.