• 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 253.9k 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 11 Dec 2017, 23:58

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

    look inside drivers folder.

    Ah, ok thanks! :)

    1 Reply Last reply Reply Quote 0
    • D
      darknior
      last edited by 13 Dec 2017, 09:08

      Denjin Makai WIP https://github.com/libretro/mame2003-libretro/pull/230 ... 238
      Detail : https://github.com/libretro/mame2003-libretro/pull/230

      @gamez-fan Denjin Makai needs a couple of changes here so the sound will work this will also benefit SD Gundam Psycho, Salamander no Kyoui no other Seibu games will be affected
      The game wont pan the sound via the two speakers by default for some reason so let's make it so

      Life is game, just play it !

      1 Reply Last reply Reply Quote 0
      • D
        Darksavior
        last edited by Darksavior 13 Dec 2017, 10:07

        Any chances Night Slashers might be ported? It doesn't run well on mame2010, so maybe 2003 can. Also, Ninja Baseball Batman has some audio bugs on 2003 but it's fine on 2010.

        A 3 Replies Last reply 13 Dec 2017, 16:22 Reply Quote 0
        • A
          arcadez2003 @Darksavior
          last edited by 13 Dec 2017, 16:22

          @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. Also, Ninja Baseball Batman has some audio bugs on 2003 but it's fine on 2010.

          Yeah Night Slashers good game one of my faves, i have some special code via iq_132 which gets the game playable with speedups in MAME84 we get around 25fps for this
          one on the Xbox so not full speed but totally playable right enough, you do have the Deco32 driver in MAME-2003 but it would require a fair amount of graft to backport
          the needed code plus im not sure if it'll all be compatable with this older core.

          Anyway Deco32 based games Captain America, Fighters History, Night Slashers etc etc will be playable in the next FBA release and i managed to talk iq_132
          into optimizing the video code so these games will perform better on lesser hardware like the xbox or the Rpi, so wait a month or so and see how the game
          plays in FBA and if it needs another boost i have a special driver with further optimizations i can happily share with the Rpi FBA dev's currantly i get 28fps
          with Night Slashers on Xbox FBA.

          Arcade Addict

          1 Reply Last reply Reply Quote 1
          • A
            arcadez2003 @Darksavior
            last edited by 13 Dec 2017, 16:26

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

            Ninja Baseball Batman has some audio bugs on 2003 but it's fine on 2010.

            Oh forgot about this one can you explain the sound issues in a little more detail..??

            Arcade Addict

            D 1 Reply Last reply 13 Dec 2017, 18:52 Reply Quote 0
            • D
              Darksavior @arcadez2003
              last edited by Darksavior 13 Dec 2017, 18:52

              @gamez-fan When you fight the 1st boss “windy plane”, the audio is different. It’s been a while to know the specifics but that’s where it’s noticeable. Few minutes to get to him so it won’t take long.

              A 1 Reply Last reply 13 Dec 2017, 21:30 Reply Quote 0
              • U
                UDb23
                last edited by 13 Dec 2017, 19:04

                @gamez-fan Getting sound in "Deep Scan" (/invinco) as previously requested, is it too complicated to implement?

                R A 3 Replies Last reply 13 Dec 2017, 19:25 Reply Quote 0
                • R
                  Riverstorm
                  last edited by Riverstorm 13 Dec 2017, 19:23

                  @gamez-fan Are all of these working to add? None of the decrypted, plus versions or 2003 have SHA1 information only CRC. "The King of Fighters 2001" and "The King of Fighters 2002" have complete info.

                  • "The King of Fighters 2001"
                  • "The King of Fighters 2001 (Decrypted C)"
                  • "The King of Fighters 2001 Plus"
                  • "The King of Fighters 2002"
                  • "The King of Fighters 2002 (Decrypted C)"
                  • "The King of Fighters 2002 Plus"
                  • "The King Of Fighters 2003 (Decrypted C)"

                  EDIT: The same for Metal Slug 4 and 5 are the decrypted versions working to add?

                  A 1 Reply Last reply 13 Dec 2017, 20:23 Reply Quote 0
                  • R
                    Riverstorm @UDb23
                    last edited by 13 Dec 2017, 19:25

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

                    @gamez-fan Getting sound in "Deep Scan" (/invinco) as previously requested, is it too complicated to implement?

                    That would be great! :)

                    1 Reply Last reply Reply Quote 1
                    • A
                      arcadez2003 @UDb23
                      last edited by arcadez2003 13 Dec 2017, 20:19

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

                      @gamez-fan Getting sound in "Deep Scan" (/invinco) as previously requested, is it too complicated to implement?

                      You wanted the game to use the same samples as depth charge was that it again..?? i can make that change but you'll need to then test the game make sure the sound
                      is correct, if you can compile your own build drop this into your drivers folder replacing the original vicdual.c and then simply make a new build.

                      [url]http://www75.zippyshare.com/v/BCkz15DS/file.html[/url]

                      Arcade Addict

                      1 Reply Last reply Reply Quote 0
                      • A
                        arcadez2003 @Riverstorm
                        last edited by 13 Dec 2017, 20:23

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

                        @gamez-fan Are all of these working to add? None of the decrypted, plus versions or 2003 have SHA1 information only CRC. "The King of Fighters 2001" and "The King of Fighters 2002" have complete info.

                        • "The King of Fighters 2001"
                        • "The King of Fighters 2001 (Decrypted C)"
                        • "The King of Fighters 2001 Plus"
                        • "The King of Fighters 2002"
                        • "The King of Fighters 2002 (Decrypted C)"
                        • "The King of Fighters 2002 Plus"
                        • "The King Of Fighters 2003 (Decrypted C)"

                        EDIT: The same for Metal Slug 4 and 5 are the decrypted versions working to add?

                        All i know is the parent versions of all those games will work as i've played em myself as for the decrypted versions im not sure.??

                        Arcade Addict

                        R 1 Reply Last reply 14 Dec 2017, 16:02 Reply Quote 0
                        • A
                          arcadez2003 @Darksavior
                          last edited by arcadez2003 13 Dec 2017, 21:30

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

                          @gamez-fan When you fight the 1st boss “windy plane”, the audio is different. It’s been a while to know the specifics but that’s where it’s noticeable. Few minutes to get to him so it won’t take long.

                          After some investigation i've found out that the reason the music is different between MAME-2003 and MAME-2010, let me explain quickly sometimes in MAME
                          they dump a new version of a game let's for talking sake the World region of Ninja Baseball Batman and they make it the new parent eg nbbatman.zip and the
                          previous parent the USA version now becomes a clone eg nbbatmanu.zip

                          In MAME-2003 your playing the USA version and in MAME-2010 your playing the World version which does have different music on the bosses i guess the above
                          change on the Rom is what has made you think the music was broken in MAME-2003 when infact it's not as your playing two different versions of the game.

                          Regards.

                          Arcade Addict

                          1 Reply Last reply Reply Quote 3
                          • A
                            arcadez2003 @UDb23
                            last edited by arcadez2003 13 Dec 2017, 21:49

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

                            @gamez-fan Getting sound in "Deep Scan" (/invinco) as previously requested, is it too complicated to implement?

                            As per my edited post that you may have missed, if you cant compile a build with the new driver then it doesn't matter i'll try the game with the new sample
                            handling although you'll likely need to give me a few pointers as to what to listen out for so we know the game is good soundwise.

                            Arcade Addict

                            U 1 Reply Last reply 13 Dec 2017, 23:00 Reply Quote 0
                            • U
                              UDb23 @arcadez2003
                              last edited by 13 Dec 2017, 23:00

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

                              i'll try the game with the new sample handling

                              Ok, thanks. Will PM you on Mameworld's forum.

                              A 1 Reply Last reply 14 Dec 2017, 20:19 Reply Quote 0
                              • R
                                Riverstorm @arcadez2003
                                last edited by Riverstorm 14 Dec 2017, 16:02

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

                                All i know is the parent versions of all those games will work as i've played em myself as for the decrypted versions im not sure.??

                                Ok, you wouldn't happen to have access to those ROMs to test them? I can't even find the SHA1 for some of the ROMs let alone the file itself.

                                It is a bit time consuming. For each game I do look at several newer DAT's and if they contain some of the information I copy-n-paste. Copying from newer versions always has extraneous information that has to be removed from BIOS file entries to parent/clone relationships, redumps, etc. If not I build the entry from scratch cutting-n-pasting but I need to remove all the source driver code and reformat it for a DAT.

                                If pasted I have to rename/remove several files. Then you need to copy-n-paste all the CRC & SHA1 hash lines from the source driver. Then finally I check the parent/clone relationship, manually look at each file for any merge ROMs. I don't think many use split-merge but for completeness I try and add the information.

                                A few things that further slow it down is for example "The King of Fighters 2002 Plus". The driver only lists the CRC information no SHA1 so I will go searching on sites that contain that type of information trying to have complete and accurate entries for each game. That does take a good amount of time too.

                                It can take from 15 to 45 minutes a game. I could expedite the process and skip a few steps or leave information incomplete but I would rather do it right the first time around if possible.

                                I guess if it's possible to know exactly which parent/clones have been tested it would be really helpful for an accurate DAT and a quicker build. I would rather not say here's 75 games fixed but 15 don't work and I am not sure which ones they are. It might save a few questions of why doesn't this game work too.

                                I think it can be tough for someone to figure out which is the parent and which is the clone let alone what does that mean. If you haven't tested them I could leave them out or if you think it's worth adding since the side effect of adding a parent might be a working clone we could go that route too.

                                Speaking of how about the Metal Slug games parent, clone or both? ;)

                                1 Reply Last reply Reply Quote 0
                                • A
                                  arcadez2003
                                  last edited by arcadez2003 14 Dec 2017, 19:37

                                  I should have the parents for all the games i added support for kicking around somewhere lemmie gather em all up, i guess we need to find neutral ground
                                  maybe a chatroom or another website to discuss this further.

                                  Arcade Addict

                                  R 1 Reply Last reply 15 Dec 2017, 01:23 Reply Quote 0
                                  • A
                                    arcadez2003 @UDb23
                                    last edited by arcadez2003 14 Dec 2017, 20:19

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

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

                                    i'll try the game with the new sample handling

                                    Ok, thanks. Will PM you on Mameworld's forum.

                                    Right well i've gathered up all the needed stuff and i see the problem here it's a two version game but only Invinco has working samples which are incorrect for Deep Scan,
                                    i tried hooking the Depthcharge samples to a couple of INIT's the game uses at driver level in the hope it would then play the correct ones depending on which game
                                    you choose but MAME didn't seem to like that and the game then refused to boot.

                                    Another thing i tried was swapping the samples over and making the game use the depth charge samples and bingo Deep Scan now has sound at the expense of the
                                    other game obviously, not perfect as i think it's playing the submarine samples when it shouldn't be, but at least i reckon it confirms the game would use the same
                                    samples as Depthcharge..??

                                    This will need someone with a smarter head than me to add sample code in the vicdual sound core so that this game will correctly load the samples required on a per game
                                    basis whenever a player chooses which version they wanna play as being honest it's above my paygrade i think.

                                    Arcade Addict

                                    D U 2 Replies Last reply 14 Dec 2017, 20:59 Reply Quote 0
                                    • D
                                      darknior @arcadez2003
                                      last edited by 14 Dec 2017, 20:59

                                      @gamez-fan Have you found time to work a little on Gals Panic ?

                                      • Gal's Panic 2 not working, GP 3 ... i think not exist on MAME 78
                                      • Gal's Panic S and S2 working fine but little slow ...
                                      • GP SS n S3 .... not exist too ?
                                        GP 2 3 are not really important for me but i really love the S serie if you can do something please ?

                                      Life is game, just play it !

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

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

                                        @gamez-fan Have you found time to work a little on Gals Panic ?

                                        • Gal's Panic 2 not working, GP 3 ... i think not exist on MAME 78
                                        • Gal's Panic S and S2 working fine but little slow ...
                                        • GP SS n S3 .... not exist too ?
                                          GP 2 3 are not really important for me but i really love the S serie if you can do something please ?

                                        Gals Panic 2 doesn't work in currant MAME a dump of the MCU would be required, as for the rest being on the slow side unfortunately it's the limitations
                                        of the hardware your using and there's nothing i can do about that!! BTW you should try Panic Street similar game on the same hardware.

                                        Arcade Addict

                                        1 Reply Last reply Reply Quote 1
                                        • U
                                          UDb23 @arcadez2003
                                          last edited by 15 Dec 2017, 00:14

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

                                          add sample code in the vicdual sound core

                                          First thanks for trying to fix this.
                                          Vicdual boards had two games on same board but usually each game was using a different sound daughterboard. The Deep Scan game sounds are not emulated in the code as the details of that daughterboard are not known.
                                          Recently on another vicdual rom a developer was able to make sounds work by coding a "sample player" (instead of trying to emulate the soundboard).
                                          You can find info and code here.
                                          I believe approach for Deep scan could be the same.

                                          1 Reply Last reply Reply Quote 0
                                          154 out of 507
                                          • First post
                                            154/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