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 257.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.
    • RiverstormR
      Riverstorm @maxbeanz
      last edited by Riverstorm

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

      Also, did somebody make a Datfile of just the new and updated roms for 2003plus that are needed so I can add them to my filtered 2003 set ?

      Here's the samples from Twisty's I used with mame2003-plus (processed with the DAT so all of them are named and packed in the proper zip). I am using enhanced unofficial samples where possible.

      It has complete CRC and SHA1 information. I imported the ROM header information from the main DAT so a missing ROM from a set will show as "Astro Blaster (version 3)" vs. "astrob".

      The year/manufacturer is based on the ROM set and not who actually made the sample or what year. Process it like a ROM set (Set and ROMs checked) and not samples. I would build it in a new folder and cross link to your original set until you feel comfortable it's correct before merging.

      I am ok with endorsing Twisty's samples but I do use the unofficial enhanced versions of some samples like (dkong, berzerk, invaders, qbert, rallyx, starcas, etc. ) he has listed on the site. I am ok with either though.

      Also, did somebody make a Datfile of just the new and updated roms for 2003plus that are needed so I can add them to my filtered 2003 set ?

      I've been thinking about this and I don't think it would be to hard if done in non-merged mode.

      My thought is to make a subset of mame2003-plus. This set would be around 1.5GB or so. You would be able to dump it in the ROM directory and play any new games or changed games from mame2003-plus only.

      Then if you want dump this subset into your main lr-mame2003 folder it would match exactly the mame2003-plus full set.

      One minor issue is lr-mame2003 has these two sets which don't exist in mame2003-plus. So it wouldn't hurt anything except they would be removed if processed with the mame2003-plus DAT. That way instead of like 28GB for the two sets it would be like 16GB or so.

      Only exist in lr-mame2003:

      • Cabal (US set 2) (cabal2)
      • Urashima Mahjong (urashima)

      I would rather wait until those 4 non official ROMs are decided on what to do. It would require processing the set a few times to do this but I don't think it would be to hard.

      @markwkidd - Do you know if you can add hash information to the sound sample sections of a DAT?

      <sample name="run01.wav"/>
      <sample name="run02.wav"/>
      <sample name="run03.wav"/>
      <sample name="jump.wav"/>
      <sample name="dkstomp.wav"/>
      
      maxbeanzM 1 Reply Last reply Reply Quote 0
      • maxbeanzM
        maxbeanz @Riverstorm
        last edited by

        @riverstorm I ran the samples dat you posted and noticed that you are using 'Gorf (0.125u2 & Newer)' from Twisty's. Is this compatible with MAME 0.78 ? I looked inside the zip and it seems to contain 11 samples at 0 Bytes ?

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

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

          @riverstorm I ran the samples dat you posted and noticed that you are using 'Gorf (0.125u2 & Newer)' from Twisty's. Is this compatible with MAME 0.78 ? I looked inside the zip and it seems to contain 11 samples at 0 Bytes ?

          The hazards of no hash but I understand how it allows you to use samples that sound like you remember. Memory is funny thing.

          Yeah I have the newer samples that have some merging. I will replace the new Gorf samples with the older Pre 125u2. If you see any other sets you prefer just let me know. I am using all the enhanced versions from Twisty's (Retrocade and Gyrovision versions) but if you like the official ones or the older ones (like Wizard of Wor has current and older) just let me know.

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

            @riverstorm Not sure I understood you. I just wondered if the Gorf samples you are using (Gorf (0.125u2 & Newer))' are actually compatible with mame2003plus ? If you look inside the zip, 11 of the files are 0 bytes. Is it corrupted ?

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

              @maxbeanz yes. no mame version is going to be able to do anything with a sample file of 0 bytes :)

              i just downloaded the same file as you and all the files had sizes. try redownloading.

              maxbeanzM RiverstormR 2 Replies Last reply Reply Quote 0
              • maxbeanzM
                maxbeanz @dankcushions
                last edited by

                @dankcushions There are 98 files in the 'Gorf (0.125u2 & Newer)' from Twisty's. 11 are 0 bytes.

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

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

                  @maxbeanz yes. no mame version is going to be able to do anything with a sample file of 0 bytes :)

                  i just downloaded the same file as you and all the files had sizes. try redownloading.

                  I think he was talking about "Gorf (0.125u2 & Newer)" has some zero byte ROMs and "Gorf (0.125u1 & Older)" has none. When I built the DAT it was with the newer set and should have been the older set to work with 0.78.

                  I am not sure but I think it is intentional (no longer needed) maybe the newer MAME versions are using dumped working ROMs so they no longer need those samples. Either way the older set is for 0.78, it has the same samples and they aren't zero byte.

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

                    @riverstorm The older Gorf samples are OK apart from the 'emperor' sample. It's 1kb and doesn't play anything. Not sure if it's supposed to be like that ?

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

                      sorry, yes, i rechecked and i have the same 8 files at 0 bytes. perhaps they haven't been recorded, or aren't used by the game, i don't know. there are no checksums or 'official' mame samples. we just work with what people have recorded and circulated.

                      i've began to lose the thread of this conversation - can't you just install the samples and see if they work in mame2003plus? all it will care about are the file names.

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

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

                        @riverstorm The older Gorf samples are OK apart from the 'emperor' sample. It's 1kb and doesn't play anything. Not sure if it's supposed to be like that ?

                        There's only two choices either the newer 0 byte or the older 188 byte sample. If you have another sample we can drop that one in place?

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

                          @mediamogul these folks are trying to get some Gorf samples sorted out. Do you know anything about this emperor sample?

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

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

                            i rechecked and i have the same 8 files at 0 bytes.

                            Hey Dank, a double recheck, it's actually 11 just to verify we are looking at the same sample! ;)

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

                              Gorf samples update -- the ancient .sam MAME sample pack from Twisty's does contain a non-0 emperor audio clip: http://samples.mameworld.info/sam.htm

                              TL/DR: You can download emperor.wav here: https://www.dropbox.com/s/l4uk3s6d454ksrq/emperor.WAV?dl=0

                              I don't plan to host that wav forever in Dropbox but it can hang out there for a while until someone comes up with a more permanent location.

                              If SAM format samples comes up again
                              There is a Windows utility to convert between SAM and .WAV: http://samples.mameworld.info/Utilities.htm

                              When I run the executable in Win7x64 it complains that I must use 32-bit Windows

                              I can successfully compile the included source via MSYS2 in Win7x64 but samtowav crashes with a segmentation fault unless you specify the name of the input file on the commandline when you execute -- in this case it was samtowav EMPEROR.SAM

                              That did the trick, as far as I know.

                              mediamogulM 1 Reply Last reply Reply Quote 0
                              • mediamogulM
                                mediamogul Global Moderator @markwkidd
                                last edited by mediamogul

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

                                I don't plan to host that wav forever in Dropbox but it can hang out there for a while until someone comes up with a more permanent location.

                                Sorry to come in so late. Trying to whip my yard into shape. The 'emperor' sample can also be found here as well. It's impossible to know the longevity of sampleswap.org and no one should have to host the file forever on their own cloud storage. Ideally, the file could be included with it's brethren in a more appropriate location before it's lost.

                                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

                                  Thanks guys are they the same sample? Sampleswap wants you to create an account to download so I just grabbed the one Mark posted. Is this the sample you were thinking @maxbeanz is correct?

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

                                    Media when you're done I could use a good raking over this way too but it might be a few more weeks as we are getting 3 to 5 in snow today...in April...sheesh...the Canadians need to take that stuff back north for spring already! ;)

                                    mediamogulM 1 Reply Last reply Reply Quote 1
                                    • mediamogulM
                                      mediamogul Global Moderator @Riverstorm
                                      last edited by

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

                                      we are getting 3 to 5 in snow today...in April

                                      Wow, that's wild. I live in South Carolina and we haven't even had that much in the winter since 1986. It's really sad to see the kids try to make a snowman out of the amount we get at any one time. When they're done, they've rolled the yard clean and the body is still mostly mud and gravel.

                                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                      UDb23U RiverstormR 2 Replies Last reply Reply Quote 0
                                      • UDb23U
                                        UDb23 @mediamogul
                                        last edited by

                                        @mediamogul Crazy! And it's not only USA...here in Italy it's still way colder than usually in this season. Not been this way since many years; yesterday it was even snowing on the Alps.

                                        1 Reply Last reply Reply Quote 1
                                        • maxbeanzM
                                          maxbeanz
                                          last edited by

                                          It seems the 'emperor' sample may not even be needed. There is a readme inside the gorf zip that speaks about it !

                                          Erased emperor.wav but kept it in the set for audit purposes.
                                          After many tests I strongly believe that this sound is NOT USED during gameplay in the real machine
                                          but may actually be "error", a sound played when a fault is detected in the speech system.
                                          This would be the case since the original attack.wav had errors, and emperor never played for me on the real machine.
                                          Unable to safely recreate on a real machine and documentation has not yet been found to verify if emperor is error.
                                          The Gorf driver was written in MAME when half the samples were still missing.
                                          With all samples now aquired, the driver still only plays certain sounds, some incorrectly/inaccurately.
                                          Example:
                                          In MAME you will hear "your cannot escape the gorphian robot emperor"
                                          while the real machine plays it as "you cannot escape the gorphian robots".
                                          And in MAME you hear, "My gorphian robot emperor are unbeatable"
                                          while the real machine plays it as "My gorphian robots are unbeatable".
                                          Hopefully the driver will be redone someday to correct and allow the other samples to be played like
                                          "I have a gorphian empire". :)

                                          mediamogulM 1 Reply Last reply Reply Quote 2
                                          • mediamogulM
                                            mediamogul Global Moderator @maxbeanz
                                            last edited by

                                            @maxbeanz

                                            Very interesting.

                                            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                            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.