RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    ripoff.zip audio?

    Scheduled Pinned Locked Moved Help and Support
    ripoffaudiomame2010
    25 Posts 3 Posters 5.4k 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.
    • caver01C
      caver01 @Alturis
      last edited by

      @alturis As this game is vector, it looks much better running it with AdvanceMAME.

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

      AlturisA 1 Reply Last reply Reply Quote 1
      • AlturisA
        Alturis @caver01
        last edited by

        @caver01 said in ripoff.zip audio?:

        @alturis As this game is vector, it looks much better running it with AdvanceMAME.

        I found the AdvanceMAME rom for this game and it does draw the vector graphics more crisply yes.

        But it still doesn't have any sound at all.

        Am I missing something else?

        RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

        1 Reply Last reply Reply Quote 0
        • AlturisA
          Alturis
          last edited by

          I realized that I had failed to install the MAME 0.106 samples to a folder that advmame.rc would have access to.

          Following the same pattern that I did for artwork ( to avoid having the artwork or samples show up as games in emulation station ) I put them here

          dir_sample /home/pi/RetroPie/configs/mame-advmame/sample

          But even after doing that, still no audio for rip off. ;(

          RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

          caver01C 1 Reply Last reply Reply Quote 0
          • caver01C
            caver01 @Alturis
            last edited by

            @alturis you need to look at the .rc file and put them in the directory specified for samples. I just checked my system and the audio definitely works.

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

            AlturisA 1 Reply Last reply Reply Quote 1
            • AlturisA
              Alturis @caver01
              last edited by

              @caver01 said in ripoff.zip audio?:

              @alturis you need to look at the .rc file and put them in the directory specified for samples. I just checked my system and the audio definitely works.

              Yeah that is what I am saying. I have mine set to this

              dir_sample /home/pi/RetroPie/configs/mame-advmame/sample
              

              And I have put my Advmame samples in that folder.

              RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

              caver01C 1 Reply Last reply Reply Quote 0
              • caver01C
                caver01 @Alturis
                last edited by

                @alturis is one of those sample files called ripoff.zip? If so, what is the exact size of that file? I can compare it with mine.

                I assume you get other sounds for other titles in AdvanceMAME. Is that true?

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

                AlturisA 1 Reply Last reply Reply Quote 1
                • AlturisA
                  Alturis @caver01
                  last edited by Alturis

                  @caver01 Yes I do. Well ripoff is the only game that I use with advmame that has a <samples>.zip

                  Yep there is a ripoff.zip in that folder and it is 212,064 bytes (207k) containing

                  bg1.wav
                  bg2.wav
                  bg3.wav
                  bg4.wav
                  bg5.wav
                  bg6.wav
                  bg7.wav
                  bg8.wav
                  bonuslvl.wav
                  eattack.wav
                  efire.wav
                  explosion.wav
                  shipfire.wav
                  

                  RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

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

                    @alturis Ok. I am away from my pi for the day, so when I get back I will verify unless someone beats me to it.

                    It might be worth the time to check another title to make sure we are not troubleshooting samples when we should be troubleshooting audio in general, either for AdvMAME or for the Pi overall.

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

                    AlturisA 1 Reply Last reply Reply Quote 1
                    • AlturisA
                      Alturis @caver01
                      last edited by

                      @caver01 said in ripoff.zip audio?:

                      @alturis Ok. I am away from my pi for the day, so when I get back I will verify unless someone beats me to it.

                      It might be worth the time to check another title to make sure we are not troubleshooting samples when we should be troubleshooting audio in general, either for AdvMAME or for the Pi overall.

                      Oh well yes I do get audio for every other game. Its not an audio issue with the hardware or connectivity etc. Audio works fine for all other games and other games using advmame as well. ( I am only using advmame for vector games and spy hunter so just a handful )

                      RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                      caver01C 1 Reply Last reply Reply Quote 1
                      • caver01C
                        caver01 @Alturis
                        last edited by caver01

                        @alturis Something to try is swapping in a sample file from another romset. For example, set .37b5 used for MAME4all is an older set. I know, this is typically bad advice, but my thinking is that some of the supposed .106 sets out there have bogus sample files. I have run across this before, as if someone who built the set just threw in the samples they thought were correct, and maybe some were, but they never bothered to verify all.

                        I think I saw this happen once with dkong (mario's squeaky shoes) and the big explosion from Galaga.

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

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

                          @caver01 said in ripoff.zip audio?:

                          @alturis Something to try is swapping in a sample file from another romset. For example, set .37b5 used for MAME4all is an older set. I know, this is typically bad advice, but my thinking is that some of the supposed .106 sets out there have bogus sample files. I have run across this before, as if someone who built the set just threw in the samples they thought were correct, and maybe some were, but they never bothered to verify all.

                          I think I saw this happen once with dkong (mario's squeaky shoes) and the big explosion from Galaga.

                          For no good reason MAME DAT files don't specify sample CRCs (well, it's because mamedev won't endorse any particular sample evidently). Samples are the wild west of MAME collections -- you might get anything. As long as there is a WAV with the right name it will validate in ClrMamePro.

                          caver01C 1 Reply Last reply Reply Quote 2
                          • caver01C
                            caver01 @markwkidd
                            last edited by

                            @markwkidd said in ripoff.zip audio?:

                            you might get anything. As long as there is a WAV with the right name it will validate in ClrMamePro.

                            Well, that explains my examples! I never made a big deal about it because I wasn't building/verifying them myself, but I guess it would not have made any difference.

                            Thanks for the input. It is nice to have at least some logic behind my recommendation.

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

                            1 Reply Last reply Reply Quote 1
                            • caver01C
                              caver01 @Alturis
                              last edited by

                              @alturis My ripoff.zip file is exactly the same size as yours.

                              I do have mine located in a different folder, however. I moved my samples to the BIOS folder like lr-mame2003:
                              dir_sample /home/pi/RetroPie/BIOS/mame-advmame/samples

                              I also noticed that in a copy of the original .rc file, the directory is specified as:
                              dir_sample /home/pi/RetroPie/roms/mame-advmame/samples

                              Notice how samples here is plural, but the folder itself is not. That will not work. You should double check that your folder name matches the line in your .rc file.

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

                              AlturisA 1 Reply Last reply Reply Quote 1
                              • AlturisA
                                Alturis @caver01
                                last edited by

                                @caver01 said in ripoff.zip audio?:

                                You should double check that your folder name matches the line in your .rc file.

                                Yeah, I did double check that before.

                                dir_sample /home/pi/RetroPie/configs/mame-advmame/sample
                                

                                I will try it out in the bios folder like yours instead of the configs folder.

                                RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                                caver01C AlturisA 2 Replies Last reply Reply Quote 0
                                • caver01C
                                  caver01 @Alturis
                                  last edited by

                                  @alturis I took another look through the advancemame documentation and I cannot find anything else to try in terms of MAME configuration. Is it possible Rip Off has a maintenance mode setting to turn off audio? If so, I don't remember ever enabling this, bit I might have years ago. I don't even know if the game has this choice, but every game is different.

                                  If anyone else is looking at this thread that could check, would you mind trying ripoff.zip in advancemame with samples to see if there is any audio? I have audio working fine. @Alturis does not.

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

                                  1 Reply Last reply Reply Quote 1
                                  • AlturisA
                                    Alturis @Alturis
                                    last edited by

                                    @alturis said in ripoff.zip audio?:

                                    I will try it out in the bios folder like yours instead of the configs folder.

                                    Tried this out and no change in result. Doesnt seem to matter where I put the samples and point the .rc I get no audio for ripoff.zip.

                                    I will install another advmame game that uses samples and test that out soon too.

                                    RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                                    AlturisA 1 Reply Last reply Reply Quote 0
                                    • AlturisA
                                      Alturis @Alturis
                                      last edited by

                                      It actually took me a bit to find a game had the combination of using samples, the rom existing in the set I had, and working.

                                      I tested out Zektor and am getting the same results. No sound what so ever.

                                      I ran the test with my new setup of the .rc pointing to

                                      dir_sample /home/pi/RetroPie/bios/mame-advmame/samples
                                      

                                      And that folder containing the samples ripoff.zip and zektor.zip for testing.

                                      RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                                      caver01C 1 Reply Last reply Reply Quote 0
                                      • caver01C
                                        caver01 @Alturis
                                        last edited by

                                        @alturis On my system, the BIOS folder is capitalized. It makes a difference in the path. They have to match exactly.

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

                                        AlturisA 1 Reply Last reply Reply Quote 1
                                        • AlturisA
                                          Alturis @caver01
                                          last edited by Alturis

                                          @caver01 said in ripoff.zip audio?:

                                          @alturis On my system, the BIOS folder is capitalized. It makes a difference in the path. They have to match exactly.

                                          Hmm... I could try that but on my system, the bios folder is all lower case. At least when doing a ls command.

                                          Oh no, would you look at that. Mine IS also all caps. Huh. I'll try that.

                                          RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                                          AlturisA 1 Reply Last reply Reply Quote 0
                                          • AlturisA
                                            Alturis @Alturis
                                            last edited by Alturis

                                            Son of a b**ch! How about that. It worked now. So what have we learned I guess?

                                            1. AdvMame samples cannot be located in your /opt/retropie/configs folder
                                            2. There may be more restrictions on this but the BIOS folder is a good place and also conveniently similar to mame2003 and fba.
                                            3. Make sure your BIOS folder is properly capitalized. In windows, it will appear as "bios" when accessed via \\RETROPIE but in Linux it is actually "BIOS" most likely.
                                            4. Make sure you update your /opt/retropie/configs/mame-advmame/advmame.rc file to have the dir_sample refer to the folder you create.

                                            Thank you @caver01 for pointing out what a dolt I was. ;)

                                            Edit: And for so diligently helping a guy out.

                                            RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                                            caver01C AlturisA 2 Replies 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.