• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 255.0k 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.
  • R
    Riverstorm @arcadez2003
    last edited by 21 Dec 2017, 22:22

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

    Ok here's the commit.........

    [url]https://github.com/libretro/mame2003-libretro/pull/249/commits/29afca9c1347fb7d0a59065d8a83b2e0d06bf5d9[/url]

    Thanks @gamez-fan there seems something wrong with the link.

    A 1 Reply Last reply 21 Dec 2017, 22:35 Reply Quote 0
    • A
      arcadez2003 @Riverstorm
      last edited by 21 Dec 2017, 22:35

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

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

      Ok here's the commit.........

      [url]https://github.com/libretro/mame2003-libretro/pull/249/commits/29afca9c1347fb7d0a59065d8a83b2e0d06bf5d9[/url]

      Thanks @gamez-fan there seems something wrong with the link.

      Yeah whatever link i paste the site doesn't seem to wanna play, anyway i've done what you were asking for hopefully the Neogeo Roms which have
      changed will still work with the existing prot and crypt code you'll need to test em and let me know, and BTW your two games short above.........

      Knuckle Bash 2 "toaplan2"
      In Your Face "megasys1"

      Regards.

      Arcade Addict

      R 1 Reply Last reply 21 Dec 2017, 22:56 Reply Quote 0
      • A
        arcadez2003
        last edited by arcadez2003 21 Dec 2017, 22:55

        Ok im taking a different direction now i want you guys to test these changes before i commit them to master here is a source please compile it make
        your dats and test the NeoGeo games in question which are just these ones as the decrypted sets barring one game are all gone now............

        "Bang Bang Busters" bbbuster neogeo.c
        "Choutetsu Brikin'ger - iron clad (prototype)" ironclad neogeo.c
        "Crossed Swords 2" crswd2bl neogeo.c
        "Ghostlop (protoype)" ghostlop neogeo.c
        "The King of Fighters 2001" kof2001 neogeo.c
        "The King of Fighters 2002" kof2002 neogeo.c
        "The King Of Fighters 2003 (Decrypted C)" kof2003d neogeo.c
        "Last Hope" lasthope neogeo.c
        "Metal Slug 4" mslug4 neogeo.c
        "Metal Slug 5" mslug5 neogeo.c
        "Pochi & Nyaa" pnyaa neogeo.c
        "Power Instinct Matrimelee" matrim neogeo.c
        "Rage of the Dragons" rotd neogeo.c
        "Samurai Shodown V" samsho5 neogeo.c
        "Samurai Shodown V Special" samsho5sp neogeo.c
        "Sengoku 3" sengoku3 neogeo.c
        "Snk Vs Capcom : Svc Chaos" svcboot neogeo.c
        "Zintrick / Oshidashi Zentrix (hack / bootleg)" zintrckb neogeo.c
        "Zupapa!" zupapa neogeo.c

        Here's the Src

        [url]https://www.sendspace.com/file/bh4ky2[/url]

        Arcade Addict

        1 Reply Last reply Reply Quote 1
        • R
          Riverstorm @arcadez2003
          last edited by 21 Dec 2017, 22:56

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

          I've changed will still work with the existing prot and crypt code you'll need to test em and let me know, and BTW your two games short above.........

          Knuckle Bash 2 "toaplan2"
          In Your Face "megasys1"

          Regards.

          Ok thanks, yeah I think there's some changes causing some weird issues. I will go back and verify the changed Neogeo sets and add the 2 missing. I will shoot you a text once the DAT is complete but it will be after the holidays.

          1 Reply Last reply Reply Quote 0
          • A
            arcadez2003
            last edited by arcadez2003 22 Dec 2017, 22:47

            New working game plus a a small graphical improvement for Biomechanical Toy and Maniac Square

            Thunder Hoop (nice wee game)

            alt text

            Arcade Addict

            1 Reply Last reply Reply Quote 1
            • A
              arcadez2003
              last edited by arcadez2003 22 Dec 2017, 23:01

              BTW i have some other code sitting on my PC just now which would get some extra Kaneko16 games playable in this core check the games in the driver below............

              [url]http://adb.arcadeitalia.net/lista_mame.php?game_sourcefile=kaneko16.cpp&arcade_only=0&current_version=0[/url]

              Currently this core will only play.....

              Blaze On
              Great 1000 Miles Rally 1 and 2
              Magical Crystals
              Sand Scorpian
              The Berlin Wall

              Im having some trouble getting B.Rap Boys and Shogun Warriors to work " i think the CPU decryption is incompatable with this core" but you can have all the other games
              playable here if you want..?? i guess it depends on two things how well they play in other Arcade Emulators on this platform..??, and well since all the Roms in the driver
              would need to change "to take advantage of some sound and graphical improvements" if your adverse to that or not..??.

              Anyway no hard feelings if you all would rather leave things be as i did this code for another project but i can easily add it in here should there be a want

              Regards!!!

              Arcade Addict

              1 Reply Last reply Reply Quote 0
              • A
                arcadez2003 @Darksavior
                last edited by 24 Dec 2017, 14:04

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

                Any chances Night Slashers might be ported? It doesn't run well on mame2010, so maybe 2003 can.

                Ok Night Slashers is done i get around 35fps in MAME72 i assume you'll get more on the Rpi3, still in the testing phase just now though i need to make
                sure all the other Deco16 games which this core supports are still fine with the new code but i dont think there will be any issues but better i test
                everything before doin the final commit.

                Regards

                Arcade Addict

                1 Reply Last reply Reply Quote 1
                • D
                  darknior
                  last edited by 25 Dec 2017, 09:59

                  New working game Night Slashers : https://github.com/libretro/mame2003-libretro/pull/254

                  code via iq_132 and reworked for the MAME-2003 core.
                  one of the most heavily protected Data East games gfx, sound and inputs are encrypted, start by adding
                  in all the needed code into the driver mem maps, inputs, video routines, sound handling, protection and speedup.
                  By request and fully tested!! this code will only affect 20 or so Data East games which either use the
                  Deco 16 or 32 based video hardware and they all pass with flying colours after this update.
                  BTW a few files will need to change so bear with me ;)

                  Supporting Joe & Mac Return : https://github.com/libretro/mame2003-libretro/pull/262

                  @gamez-fan Due to the changes needed to get Night Slashers playable might as well make more use of them by adding
                  support for another new working game.
                  Actually this one supports quite a few more games but they need some changes backported to
                  the Arm CPU in order to work this would be dangerous as the CPU's are so different between
                  this core and the one i'd be backporting from.
                  So rather than maybe break the ARM CPU i just decided to leave it be and strip out the non
                  working games from the driver leaving just the one game playable that doesn't require further
                  updates to the aforementioned CPU.

                  Thanks a lot for these two games, i'm a great great fan <3 <3<3

                  Life is game, just play it !

                  D 1 Reply Last reply 25 Dec 2017, 21:43 Reply Quote 3
                  • D
                    Darksavior @darknior
                    last edited by Darksavior 25 Dec 2017, 21:43

                    @darknior @gamez-fan Excellent. Mame-2003 makes Night Slashers totally playable. I do get some slowdown to like 50-56fps on the second level with heavy transparencies, but I'm sure an overclock will help that. It's nowhere near as slow as mame2010. I maybe encountered a minor graphic bug..the carriage you chase down in level 2 is mostly transparent except for the wheels. I'll still play it this way.

                    A 1 Reply Last reply 25 Dec 2017, 22:16 Reply Quote 0
                    • A
                      arcadez2003 @Darksavior
                      last edited by arcadez2003 25 Dec 2017, 22:16

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

                      @darknior @gamez-fan Excellent. Mame-2003 makes Night Slashers totally playable. I do get some slowdown to like 50-56fps on the second level with heavy transparencies, but I'm sure an overclock will help that. It's nowhere near as slow as mame2010. I maybe encountered a minor graphic bug..the carriage you chase down in level 2 is mostly transparent except for the wheels. I'll still play it this way.

                      You get better fps than i do on the ole Xbox :) with regards to the carriage on level two that bug with the alpha transparency layers happens in currant MAME i think..??
                      but a good friend of mine has fixed it for the next FBA build although im not sure if the speed will be good on this hardware for Night Slashers when using FBA.

                      Arcade Addict

                      1 Reply Last reply Reply Quote 1
                      • D
                        darknior
                        last edited by 26 Dec 2017, 09:52

                        @gamez-fan Declare the new games https://github.com/libretro/mame2003-libretro/pull/263#issuecomment-353885212

                        New driver for Boogie Wings : Code via iq_132 and reworked for MAME-2003, due to the recent Deco changes i did to get Night Slashers to work meant that all the video and protection this game requires is already present in the source just to need to hook up the Deco102 CPU decryption.
                        Boogie Wings one of Data East's best games totally unique you wont find another game like it.

                        New driver for Diet Go Go https://github.com/libretro/mame2003-libretro/pull/267

                        via iq_132 and reworked for MAME-2003, adding the Deco 102 CPU decryption for Boogie Wings
                        means we can have this game playable too might as well make the code go further.

                        ARM CPU MAME-2003 https://github.com/libretro/mame2003-libretro/issues/270

                        Not an issue per say just wanna mention here that after consulting the MAME WIP i've found
                        that for the DECO games there were two stages to the updates for this CPU core firstly a two
                        line change which will fix all the simpl156.c games that i left outta the driver when i commited
                        it the other day.

                        The second more hefty change was for the DECO-MLC games thats why my MAME84 ARM
                        CPU is so different from the one in use here as iq_132 updated it for both drivers, i feel confident
                        now to just go ahead and finish the simpl156.c driver and do the slight change in the ARM

                        I'll start on this later today make the change below and add 8 new games to the driver
                        So switch around the 3 and the 1 and bingo 8 more game to play

                        Life is game, just play it !

                        1 Reply Last reply Reply Quote 2
                        • D
                          darknior
                          last edited by darknior 27 Dec 2017, 10:11

                          Finish off the simpl156 driver : https://github.com/libretro/mame2003-libretro/pull/271

                          @gamez-fan Added support for the rest of the games barring Party Time Gonta The Diver 2 as it's not working,
                          Osman, Charlie Ninja, Chain Reaction and clones will require a small change in the ARM CPU to fix
                          some graphical problems, original code via iq_132 and reworked for MAME-2003


                          Topical point : Osman in some ways can be considered a true sequel to Strider as the same
                          Dev team created both games plus it's far better than Strider 2

                          Cool excellent i don't know Oswan before :)

                          Life is game, just play it !

                          1 Reply Last reply Reply Quote 0
                          • X
                            xFlesk
                            last edited by 27 Dec 2017, 14:22

                            hello there
                            great stuff you got here ;)
                            unfortunetlly im not so good into compiling, dat-making etc :(
                            as far as i understand to get advantage of all those improvements i have to simply update my mame 2003 from source? so i did it and i cant get metal slug 4 to work with mame 2003 (plenty of neogeo games as well).
                            can someone please help me to understand how can i compile those sources to get it to work?
                            or maybe someone knows if those improvement will be added to retropie as an official thing some day ?
                            thank you in advance
                            regards

                            D 1 Reply Last reply 27 Dec 2017, 14:28 Reply Quote 0
                            • D
                              Darksavior @xFlesk
                              last edited by Darksavior 27 Dec 2017, 14:28

                              @xflesk Just update from source. I've never used dats. For neogeo I recommend fbalpha, but suit yourself.

                              X 1 Reply Last reply 27 Dec 2017, 14:33 Reply Quote 0
                              • X
                                xFlesk @Darksavior
                                last edited by xFlesk 27 Dec 2017, 14:33

                                @darksavior
                                but how can i check if its work ? metal slug 4 and 5 should work but they wont. i assuming im doing something wrong (i've tried several different rom files).

                                M A 2 Replies Last reply 27 Dec 2017, 17:12 Reply Quote 0
                                • M
                                  mitu Global Moderator @xFlesk
                                  last edited by 27 Dec 2017, 17:12

                                  @xflesk Just use lr-fbalphaor fbalpha as emulators, instead of lr-mame2003, and they should work fine. If they still don't, then open a new topic for this problem.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    arcadez2003 @xFlesk
                                    last edited by dankcushions 27 Dec 2017, 19:44

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

                                    @darksavior
                                    but how can i check if its work ? metal slug 4 and 5 should work but they wont. i assuming im doing something wrong (i've tried several different rom files).

                                    Hi sounds like your Roms are incorrect, head over to a site called CENSORED

                                    Arcade Addict

                                    D X 2 Replies Last reply 27 Dec 2017, 19:48 Reply Quote -1
                                    • D
                                      dankcushions Global Moderator @arcadez2003
                                      last edited by 27 Dec 2017, 19:48

                                      @gamez-fan sorry, but please don't mention rom sites: https://retropie.org.uk/forum/topic/2/forum-rules

                                      A 1 Reply Last reply 27 Dec 2017, 21:23 Reply Quote 0
                                      • X
                                        xFlesk @arcadez2003
                                        last edited by 27 Dec 2017, 20:16

                                        @gamez-fan at least tell me which mame set i should aim for ;) regards

                                        D 1 Reply Last reply 27 Dec 2017, 20:26 Reply Quote 0
                                        • D
                                          Darksavior @xFlesk
                                          last edited by Darksavior 27 Dec 2017, 20:26

                                          @xflesk Please read and find out yourself which romset you need: https://github.com/RetroPie/RetroPie-Setup/wiki/Arcade

                                          There's no guesswork for this. Using random roms will be an endless struggle. In the special case for Night Slashers and newly added games is to try the rom from mame2003's romset first. I think I used mame2010's version of Night Slashers but I don't remember. Neogeo games have been working since forever so that just means you're using the wrong rom version.

                                          A side note...It's quite annoying when random youtubers still recommend to do this. I've been pointing it out to some how wrong they are but they have so much pride and arrogance about it because it worked for them. They got lucky the roms they used haven't been altered in almost 15yrs so they worked in mame-2003.

                                          X 1 Reply Last reply 27 Dec 2017, 21:59 Reply Quote 0
                                          213 out of 507
                                          • First post
                                            213/507
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received