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

    Daphne Sample Support

    Scheduled Pinned Locked Moved Help and Support
    3 Posts 1 Posters 1.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.
    • mediamogulM
      mediamogul Global Moderator
      last edited by

      Are audio samples supported by the version of Daphne found in RetroPie? If so, where are they to be installed? Seeing as how the folder structure for installed games is very specific with this implementation, I'm guessing it's different than the standard PC version.

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

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

        Well, the samples are actually included with the RetroPie install and are enabled as well as functional. An easy example of this can be heard when the rom to a game cannot be found and the 'saveme.wav' is invoked alongside an error screen. However, after further research, it appears as though the issue I am noticing is actually with emulated sound. For some reason, Daphne in RetroPie is ignoring the inherent sound clips of a game.

        I installed the Windows version of Daphne to confirm this. I used 'Us vs. Them' as a test case and looked through the 'sounds' folder it installed for the necessary samples. Although they were not to be found here or in the RetroPie install, this can be explained a forum posting for the release of Daphne 0.99.7 that makes note that samples are not yet implemented for this particular game, leaving emulated sound as the only option.

        Finally, I wanted to confirm that emulated sound was possible for this title, so I launched the game using the same files I use in RetroPie and the sounds were indeed present in the gameplay on both Windows and OSX. With no other forum posts existing here on this subject, I take it that this issue has yet to be noticed. Is this something that can be resolved in how the emulator is launched or is it somehow a deeper problem with how the emulator functions on the Pi?

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

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

          Two things of interest to add. First, in searching for more information on this issue, I discovered that the Daphne source was patched for use in RetroPie by forum/team member @shmoopty, and I thought it might help to tag his name in this posting. Second is a listing of the daphne_log_txt from just after running a game with this problem. Again I chose to use 'Us vs. Them' as an example. The lines that read MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available seem to be reporting the problem as this represents each time I pressed a button that would normally trigger a sound.

          --DAPHNE version 1.0.13
          --Command line is: /opt/retropie/emulators/daphne/daphne.bin uvt vldp -nohwaccel -framefile /home/pi/RetroPie/roms/daphne/uvt.daphne/uvt.txt -homedir /opt/retropie/emulators/daphne -fullscreen 
          --CPU : UnknownCPU 0 MHz || Mem : 0 megs
          --OS : Linux 4.4 || Video : Unknown video
          --OpenGL: Compiled In
          --RGB2YUV Function: C
          --Line Blending Function: C
          --Audio Mixing Function: C
          Setting alternate home dir:
          /opt/retropie/emulators/daphne
          Set 640x480 at 16 bpp with flags: 20
          Initializing sound system ... 
          GI Sound chip initialized at 2000000 Hz
          GI Sound chip initialized at 2000000 Hz
          Joystick #0 was successfully opened
          Remapping input ...
          Loading compressed ROM image usvs.rm4...8192 bytes read.
          Loading compressed ROM image usvs.rm3...8192 bytes read.
          Loading compressed ROM image usvs.rm2...8192 bytes read.
          Loading compressed ROM image usvs.rm1...8192 bytes read.
          Loading compressed ROM image usvs.rm0...8192 bytes read.
          Loading compressed ROM image usvsdrom.1...8192 bytes read.
          Loading compressed ROM image usvsyrom.1...8192 bytes read.
          Loading compressed ROM image usvs.rm4...8192 bytes read.
          Loading compressed ROM image usvs.rm3...8192 bytes read.
          Loading compressed ROM image usvs.rm2...8192 bytes read.
          Loading compressed ROM image usvs.rm1...8192 bytes read.
          Loading compressed ROM image usvs.rm0...8192 bytes read.
          Loading compressed ROM image usvs.fg3...16384 bytes read.
          Loading compressed ROM image usvs.fg2...16384 bytes read.
          Loading compressed ROM image usvs.fg1...16384 bytes read.
          Loading compressed ROM image usvs.fg0...16384 bytes read.
          Loading compressed ROM image usvs.bg0...4096 bytes read.
          Loading compressed ROM image usvs.bg1...4096 bytes read.
          Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/uvt.daphne/./
          YUV overlay is done in software (ie unaccelerated).
          Loaded 4096 bytes from /opt/retropie/emulators/daphne/ram/uvt.gz
          Booting ROM ...
          MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available
          MACH3 NOTE: CPU #2 queried 0xA800 when no data was present
          MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available
          PR-8210 : reject received (ignored)
          Play
          Search to 1 received
          Search to 31 received
          MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available
          Play
          LDP : Stepping forward one frame
          Search to 40 received [blocking] 
          MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available
          Search to 5976 received
          Play
          MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available
          MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available
          MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available
          MACH3 NOTE: CPU #1 queried 0x8000 even though nothing is available
          Saved 4096 bytes to uvt.gz
          Freeing memory used to store audio stream...
          Shutting down sound system...
          Shutting down video display...
          

          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.