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 260.1k 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.
    • arcadez2003A
      arcadez2003 @Riverstorm
      last edited by

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

      Thanks @gamez-fan for the update. To take advantage of the new sound samples just download from source?

      If you know how to compile your own source then just grab the latest from the github, with regards to your other point around Rom
      compatability most of my changes were to either add support for games that were not playable in MAME78 or to fix games that
      did not work in MAME78, my other focus was to add sound to certains games that did not have it previously most of those
      changes were codebased rather than Rombased per say but defo two games Fire Shark and Vimana would require a
      new sound Rom.

      So basically 99.9% of the working games that were supported in MAME78 the Roms have not changed and remain the same ones
      as they always did i do plan to help and create a datfile along with markwkidd "if he still wants to do that" and we'll
      get a good clean dat with which you guys can build your romsets.

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

      I love what you're doing and hope you keep doing it as it fixes and improves games from an older version of MAME that works so well on a Pi! Your work is incredible! Now if you could get Xemophobe running so I can move it over from AdvMAME! ;)

      Well i've kinda lost the love for this platform as im used to working with standalone Arcade Emulators rather than cores which are then stuffed into frontends
      and can be more problamatic with regards to bugs eg Bally Midway games which Xenophobe is one being plain broken in this core when they should be perfectly
      playable, im also kinda sick of certain ones on here who keep blaming my changes everytime a user reports a problem so i'll be moving on soon to find another
      Arcade project to work on.

      But i have one last update sitting on my desktop just now which will be worth backporting some sound improvements for the SNK6502 games some real classic in that driver

      Arcade Addict

      caver01C darkniorD 2 Replies Last reply Reply Quote 0
      • caver01C
        caver01 @arcadez2003
        last edited by

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

        with regards to bugs eg Bally Midway games which Xenophobe is one being plain broken in this core when they should be perfectly playable. . .
        . . . i'll be moving on soon to find another Arcade project to work on.

        This is sad to hear. Although I have not taken advantage of recent updates that enable more obscure titles, I have been hopeful that the Bally Midway stuff might in your sights as these are definitely a gap.

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

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

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

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

          with regards to bugs eg Bally Midway games which Xenophobe is one being plain broken in this core when they should be perfectly playable. . .
          . . . i'll be moving on soon to find another Arcade project to work on.

          This is sad to hear. Although I have not taken advantage of recent updates that enable more obscure titles, I have been hopeful that the Bally Midway stuff might in your sights as these are definitely a gap.

          Well the problem with alotta the "bigname game" fixes and improvements from later MAME is the code is in no way compatable with this older core, if it was say
          Libretro MAME79 then a hell of a lot more code could have been backported but i get the feeling there's a lotta people who would rather the core was left alone.

          With regards to the Bally Midway and some Atari games i suspect the problem is not on the MAME side but more to do with Libretro specific changes that were
          made to the core input code which break the service and dip handling in those games hence why they dont work, it would be fraught with danger to
          touch that code so i'll leave it to those more experienced than me to tackle.

          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:

            im also kinda sick of certain ones on here who keep blaming my changes everytime a user reports a problem so i'll be moving on soon to find another
            Arcade project to work on.

            Seriously?
            DO NOT base your decision on three guys who are not happy while 1000 others say nothing and count on you to update MAME and run more games. Your work is excellent ! We love it ! Nobody never do it before !!!
            Please continue, your MAME2003 is also use on many other platform with light processor, not only PI users ... and it's the most important.

            Life is game, just play it !

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

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

              there's a lotta people who would rather the core was left alone.

              No, a little people ...

              Life is game, just play it !

              RiverstormR 1 Reply Last reply Reply Quote 1
              • 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:

                im also kinda sick of certain ones on here who keep blaming my changes everytime a user reports a problem so i'll be moving on soon to find another
                Arcade project to work on.

                Seriously?
                DO NOT base your decision on three guys who are not happy while 1000 others say nothing and count on you to update MAME and run more games. Your work is excellent ! We love it ! Nobody never do it before !!!
                Please continue, your MAME2003 is also use on many other platform with light processor, not only PI users ... and it's the most important.

                Well it's partly due to that the main reason however is i've just ran outta things that can be backported that dont require a full time commitment to work on ;)

                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:

                  i've just ran outta things that can be backported that dont require a full time commitment to work on

                  Arg, yes i understand ... but you can take your time to do it ... nobody work on MAME like you :(

                  Life is game, just play it !

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

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

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

                    i've just ran outta things that can be backported that dont require a full time commitment to work on

                    Arg, yes i understand ... but you can take your time to do it ... nobody work on MAME like you :(

                    No there is another dev working away on something good :) i have a feeling a MAME build is coming that will blow everything supported on this platform outta the water

                    Arcade Addict

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

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

                      I really think this should be a separate build. If there are new ROMs added or changed then its not really lr-mame2003 anymore. It will undo peoples work of putting together a MAME 2003 set and they won't be able to copy there ROMs across in future to a fresh Pi build because some will need new ROMs and samples etc. Maybe this should be called lr-mame2003 EX or something so people have a choice of regular Mame2003 which works the same on all systems or this new Extra build.

                      No great hardship or exactly a laborious task to create a new Rom and samples pack for 2017, we've done things like that on the Xbox for years!!!
                      but well i guess this is a different scene with a different outlook at the end of the day it's up to you guys to decide how you want this MAME core
                      to be released.

                      Arcade Addict

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

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

                        No, a little people ...

                        Love that quote!

                        I have to ditto what you're doing is incredible. Code based vs ROM based changes. That's just a win-win for RetroPie and MAME 0.78. Better gaming on the same ROM set.

                        There's always resistance/challenges to change and new ideas when introduced, it's just human nature. We're creatures of habit. It would be a loss of a tremendous asset to see you move along! >:( I think there's one more thing...here...that needs fixed! Oh and one more here and here and here...

                        I can't help to think what @markwkidd said...what you're doing is important to the community and as @darknior pointed out it's not just one platform benefiting.

                        No there is another dev working away on something good :) i have a feeling a MAME build is coming that will blow everything supported on this platform outta the water

                        That sounds very interesting! Is there a place to follow this development?

                        i've just ran outta things that can be backported that dont require a full time commitment to work on ;)

                        Life outside of MAME! Never...ok...maybe...maybe once in a while I walk outside and take a look at the big burning orange ball. I think they call it the sun. Then I am good for a few weeks.

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

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

                          That sounds very interesting! Is there a place to follow this development?

                          It's all underground just now but trust me when it drops you'll know about it!!

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

                          Life outside of MAME! Never...ok...maybe...maybe once in a while I walk outside and take a look at the big burning orange ball. I think they call it the sun. Then I am good for a few weeks.

                          Oh i have other FBA based projects that are keeping me busy just now ;)

                          Arcade Addict

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

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

                            @riverstorm

                            As per the driver these are the samples you now need for Donkey Kong and Donkey Kong Jr.

                            static const char *dkong_sample_names[] =
                            {
                            "run01.wav",
                            "run02.wav",
                            "run03.wav",
                            "jump.wav",
                            "dkstomp.wav",
                            };

                            static const char *dkongjr_sample_names[] =
                            {
                            "jump.wav",
                            "land.wav",
                            "roar.wav",
                            "climb0.wav",
                            "climb1.wav",
                            "climb2.wav",
                            "death.wav",
                            "drop.wav",
                            "walk0.wav",
                            "walk1.wav",
                            "walk2.wav",
                            "snapjaw.wav",
                            };

                            @gamez-fan Do you have a list of changed ROMs for the updates you implemented by chance? I think you said it wasn't many. I can update the DAT if you do. I updated the main DAT so it rebuilds with the correct Donkey Kong and Donkey Kong Jr. samples and has the correct merge information for clones, bootlegs, etc.

                            The other sets like "mame2003-lr-working-no-clones" look they used RomLister and all the merge information has been stripped. It also seems more games were removed than should be. It doesn't contain games like Donkey Kong and Donkey Kong Jr. for example which I believe are Nintendo.

                            Donkey Kong:
                            1 Parent
                            6 Clones

                            Donkey Kong Jr:
                            1 Parent
                            6 Clones

                            1 Reply Last reply Reply Quote 1
                            • markwkiddM
                              markwkidd
                              last edited by markwkidd

                              If you do update the DAT, could you please start with the official MAME 2003 DAT? If you don't already have it, you can download it here: https://github.com/libretro/mame2003-libretro/tree/master/metadata

                              In the long term I'm interested in either merging the new DAT info into the existing XML DAT, or creating a secondary "hacks" DAT that only incorporates the changes. Anything you can do will be welcome progress though! I don't expect to have time to work on this personally until next month.

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

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

                                If you do update the DAT, could you please start with the official MAME 2003 DAT? If you don't already have it, you can download it here:

                                Thanks Mark I grabbed the one from the RetroPie docs but I'll grab the one posted in the repository due to the off chance they are different.

                                Samples are pretty straight forward (name and sampleof) but to update the ROM information I would need the name, size (in bytes), CRC hash & SHA1 hash. It looks like the merge tags are correct so converting between say ClrMamePro and ROMVault should work fine, as well as, parent/clone relationships. I do have the current MAME and rollback romset so really I just need to know which files are changing or like an existing file that's being renamed, shared, etc.

                                1 Reply Last reply Reply Quote 1
                                • RiverstormR
                                  Riverstorm
                                  last edited by

                                  @markwkidd - I merged the new samples for Donkey Kong & Donkey Kong Jr and added 'hack' to the end of the file name. You have a place to upload it?

                                  I don't know if there's any value to knowing exactly which sets are using the samples. but possibly to check for any errors. Such as Radar Scope uses the same samples as Donkey Kong or Street Heat - Cardinal Amusements uses the same sample set as Donkey Kong Jr.

                                  If the update didn't take these "other" games into account they will break or I can just update the samples for the changed games if there's a more specific list of exact games/clones updated. Leaving the existing samples intact for the "other" games.

                                  For example if Radar Scope is looking for effect00.wav (a file in the original dkong.zip
                                  sample) it will not work as Radar scope's parent for samples is dkong and it's been completely removed from all sets with the new samples.

                                  Unless of course all clone games have incorporated the new sample changes. Which some of the "other" games might not even use the new samples. The two examples mentioned above are actually parent games using samples from other parent/clone games. Hopefully that makes sense.

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

                                    https://github.com/libretro/mame2003-libretro/pull/228
                                    https://github.com/libretro/mame2003-libretro/pull/229

                                    0.88u7: BUT added sample support to Sasuke' (hit.wav, boss_start.wav, shot.wav, boss_attack.wav).
                                    0.88u7: BUT added speech sample support to Fantasy' (ft_voi-0 - ft_voi-b.wav).
                                    0.88u7: BUT added speech sample support to Vanguard' (vg_voi-0 to vg_voi-f.wav).
                                    0.88u7: MAME32 Improved sample support for Rockola driver HD38880 speech by samples.
                                    0.81u5: Curt Coder added Vanguard SHOTB sound effect.
                                    0.81u4: Curt Coder hooked up SN76477 sound in Fantasy, Nibbler, Pioneer Balloon, Sasuke and Vanguard

                                    @gamez-fan Fully tested no Roms have changed but to take advantage of the full range of
                                    sound improvements new samples are needed for Fantasy, Sasuke and Vanguard
                                    these are easily obtained from the old samples folder on Twistys site.

                                    Life is game, just play it !

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

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

                                      @markwkidd - I merged the new samples for Donkey Kong & Donkey Kong Jr and added 'hack' to the end of the file name. You have a place to upload it?

                                      I don't know if there's any value to knowing exactly which sets are using the samples. but possibly to check for any errors. Such as Radar Scope uses the same samples as Donkey Kong or Street Heat - Cardinal Amusements uses the same sample set as Donkey Kong Jr.

                                      If the update didn't take these "other" games into account they will break or I can just update the samples for the changed games if there's a more specific list of exact games/clones updated. Leaving the existing samples intact for the "other" games.

                                      For example if Radar Scope is looking for effect00.wav (a file in the original dkong.zip
                                      sample) it will not work as Radar scope's parent for samples is dkong and it's been completely removed from all sets with the new samples.

                                      Unless of course all clone games have incorporated the new sample changes. Which some of the "other" games might not even use the new samples. The two examples mentioned above are actually parent games using samples from other parent/clone games. Hopefully that makes sense.

                                      All the games that use the dkong and dkongjr samples are just sharing the same code, the update to the samples should be fine for all the games

                                      Regards.

                                      Arcade Addict

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

                                        A final breakdown of the changes............

                                        New games now supported in no particular order

                                        Hyper Street Fighter II
                                        Puzz Loop 2
                                        Title Fight
                                        Air Rescue
                                        Baryon
                                        Cute Fighters
                                        Dream World
                                        Gaia : The Last Choice Of Earth
                                        Rolling Crush
                                        FixEight (bootleg)
                                        Hyper Crash
                                        Gunbarich
                                        Power Instinct Legends
                                        Counter Run
                                        Dyna Gears
                                        Vasara 2
                                        Sonic Boom
                                        Bang Bang Busters
                                        Ghost Loop
                                        Choutetsu Brikin'ger - iron clad
                                        Sengoku 3
                                        Zupapa
                                        King Of Fighters 2001
                                        King Of Fighters 2002
                                        King Of Fighters 2003
                                        Metal Slug 4
                                        Metal Slug 5
                                        Rage Of The Dragons
                                        Power Instinct Matrimelee
                                        Pochi & Nyaa
                                        Snk Vs Capcom : Svc Chaos
                                        Samurai Shodown V
                                        Samurai Shodown V Special
                                        Zintrick
                                        Crossed Swords 2
                                        The Last Hope
                                        Cabal (Joystick version with extra button 3 )
                                        Asura Buster
                                        Rock'n Tread 2
                                        Rock'n 3
                                        rock'n 4

                                        Games fixed and or now working

                                        Avenging Spirit
                                        DJ Boy
                                        Driftout 94
                                        Fire Barrel
                                        Monster Slider
                                        Snowboard Championship
                                        Street Fighter (with Added Speedup)
                                        Twin Eagle 2

                                        Games now with sound and or sound improvements

                                        Cosmic Alien
                                        Fire Shark
                                        Vimana
                                        Donkey Kong
                                        Donkey Kong JR
                                        Asura Buster
                                        Asura Blade
                                        Rock'n Tread 1 and 2
                                        Rock'n 3 and 4
                                        Fire Barrel
                                        Sasuke Vs Commander
                                        Fantasy
                                        Nibbler
                                        Pioneer Balloon
                                        Vanguard

                                        Improvements

                                        Added sound support to Asura Blade / Asura Buster
                                        Added sound support to Fire Shark and Vimana
                                        Added sound support for Cosmic Alien
                                        Added sound support for the Rock,n games
                                        Added BritneysPAIRS sound sample improvements for Donkey Kong and Donkey Kong JR
                                        New and improved sample support for Sasuke, Fantasy, Pioneer Balloon and Vanguard
                                        Enabled single screen hack for Lode Runner The Dig Fight
                                        Fixed end of game crash in Double Dragon
                                        Fixed random crashes in Rampage World Tour
                                        Added protection simulation for Snowboard Championship
                                        Added dsp handling for Driftout 94 and Twin Eagle 2 both games now playable
                                        Fixed incorrect game logic in Monster Slider game now playable
                                        Fixed bad graphics and added sound to Fire Barrel game now playable

                                        gamezfan with code additions via iq_132 and BritneysPAIRS.

                                        Arcade Addict

                                        RiverstormR 1 Reply Last reply Reply Quote 3
                                        • RiverstormR
                                          Riverstorm @arcadez2003
                                          last edited by

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

                                          New games now supported in no particular order...

                                          Holy smokes, now that's a list! Nice work! I am not very good at navigating which source drivers belong to which games to retrieve names and hashes to build out the DAT so I might need help to locate the correct files.

                                          All the games that use the dkong and dkongjr samples are just sharing the same code, the update to the samples should be fine for all the games

                                          Thanks I've updated the dkong & dkongjr samples and clones. 2 down... :)

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

                                            Hyper Street Fighter II cps2.c
                                            Puzz Loop 2 cps2.c
                                            Title Fight multi32.c
                                            Air Rescue system32.c
                                            Baryon dreamwld.c
                                            Cute Fighters dreamwld.c
                                            Dream World dreamwld.c
                                            Gaia : The Last Choice Of Earth dreamworld.c
                                            Rolling Crush dreamwld.c
                                            FixEight (bootleg) toaplan2.c
                                            DJ Boy djboy.c
                                            Hyper Crash nemesis.c
                                            Gunbarich psikyosh.c
                                            Power Instinct Legends cave.c
                                            Counter Run freekick.c
                                            Dyna Gears ssv.c
                                            Vasara 2 ssv.c
                                            Sonic Boom system16.c
                                            Bang Bang Busters neogeo.c
                                            Ghost Loop neogeo.c
                                            Choutetsu Brikin'ger - iron clad neogeo.c
                                            Sengoku 3 neogeo.c
                                            Zupapa neogeo.c
                                            King Of Fighters 2001 neogeo.c
                                            King Of Fighters 2002 neogeo.c
                                            King Of Fighters 2003 neogeo.c
                                            Metal Slug 4 neogeo.c
                                            Metal Slug 5 neogeo.c
                                            Rage Of The Dragons neogeo.c
                                            Power Instinct Matrimelee neogeo.c
                                            Pochi & Nyaa neogeo.c
                                            Snk Vs Capcom : Svc Chaos neogeo.c
                                            Samurai Shodown V neogeo.c
                                            Samurai Shodown V Special neogeo.c
                                            Zintrick neogeo.c
                                            Crossed Swords 2 neogeo.c
                                            The Last Hope neogeo.c
                                            Cabal (Joystick version with extra button 3 ) cabal.c
                                            Asura Buster fuukifg3.c
                                            Rock'n Tread 2 tetrisp2.c
                                            Rock'n 3 tetrisp2.c
                                            rock'n 4 tetrisp2.c

                                            Games fixed and or now working

                                            Avenging Spirit megasys1.c
                                            Driftout 94 ssv.c
                                            Fire Barrel m107.c
                                            Monster Slider ssv.c
                                            Snowboard Championship gaelco2.c
                                            Street Fighter (with Added Speedup) sf1.c
                                            Twin Eagle 2 ssv.c

                                            Games now with sound and or sound improvements

                                            Cosmic Alien cosmic.c
                                            Fire Shark toaplan1.c
                                            Vimana toaplan1.c
                                            Donkey Kong dkong.c
                                            Donkey Kong JR dkong.c
                                            Asura Buster fuukifg3.c
                                            Asura Blade fuukifg3.c
                                            Rock'n Tread 1 and 2 tetrisp2.c
                                            Rock'n 3 and 4 tetrisp2.c
                                            Fire Barrel m107.c
                                            Sasuke Vs Commander rockola.c
                                            Fantasy rockola.c
                                            Nibbler rockola.c
                                            Pioneer Balloon rockola.c
                                            Vanguard rockola.c

                                            Arcade Addict

                                            RiverstormR 2 Replies Last reply Reply Quote 1
                                            • 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.