Forum Replies Created

Viewing 8 posts - 36 through 43 (of 43 total)
  • Author
    Posts
  • shmoopty
    Participant

    Yes! Please share – what DIP switches did you use to enable the bridge?? You did it with command-line parameters, I assume.

    I’ve done a few backflips to get Daphne to play nice with the directory structure that Retropie likes. If it proves useful, I’ll make optional command-line-stuffing just work. :)

    shmoopty
    Participant

    herbfargus, great news – I’ve been able to integrate this daphne build very elegantly into Retro Pie. Your suspicion seems to be right that runcommand needed to clean up the framebuffer settings on exit.

    If it saves you time, I’ll gladly share the changes I’ve made. Here’s the rundown of what I did after snooping around Retro Pie’s guts:

    [list]
    * Added “daphne” entry to /etc/emulationstation/es_systems.cfg. This was the only existing file that needed to be modified.
    * Added the daphne runtime to /opt/retropie/emulators/daphne/
    * Added dir /home/pi/RetroPie/roms/daphne for both roms and laserdisc images
    * Added /opt/retropie/configs/daphne/emulators.cfg
    [/list]

    Given that a game involves a handful of files, as well as a hard-coded game name, here are the contents of /home/pi/RetroPie/roms/daphne/READ_ME which sorts all that out:

    Add each new laserdisc game here in a directory named
    {game}.daphne where {game} is a daphne-recognized game
    name, such as lair or ace.
    
    It is assumed that the framefile.txt will have the same
    name, e.g. lair.daphne/lair.txt
    
    Alternate game roms may be added without duplicate storage
    by symlinking the files in one folder to another.
    
    All actual roms should be added to the daphne/roms subfolder
    here.

    If I can hand this off to you, like a zip of just these files or a pull request, let me know. Assuming that it looks like I tackled this the right way.

    This is exciting. It looks as solid as any of the other systems in Retro Pie now.

    shmoopty
    Participant

    [quote=116954]i’ve added a Daphne support to my theme, named as daphne

    i’ve not tested yet, so if someone could that would be great, thanks
    [/quote]

    InsecureSpike, you updated your theme so quickly my head was spinning. :)

    It looks great! Do you do design work professionally?

    shmoopty
    Participant

    That all sounds good. Enjoy your holiday.

    I’m happy to make that repo a downstream of Matt’s when he and his code are in the right state. I don’t have the chat window open anymore, but he said to the effect that he has done work since the last release, but at this time sharing what I’ve done would be better than trying to rein in what he has.

    He was very pleasant to talk to. And yes, he was eager to talk Dexter. :)

    shmoopty
    Participant

    Here it is. Intended to run on Raspbian Jesse. Tested on RetroPie 4.5 for Raspberry Pi 2.

    https://github.com/Shmoopty/daphne-pi

    The commits are commented. First commit produces the original source, verbatim.

    So far, I’ve left out all my source code changes, as they don’t likely affect the end result.

    I threw a quick and dirty but readable build script together, so these commands alone SHOULD produce a runnable binary on your RPi.

    $ git clone https://github.com/Shmoopty/daphne-pi.git
    $ cd daphne-pi
    $ ./build-daphne.sh
    

    Takes about 15 minutes.

    Then with no games available, you should be able to run the minimal GUI with the “no laser disc” command line option:

    $ cd daphne
    $ ./daphne lair noldp -nohwaccel
    

    You’ll see an error message that the tiny lair ROM file is missing (not the same as the big laserdisc asset files). ‘Q’ to quit.

    [quote=116972]Possible its leaving the framebuffer in an unusable state upon exit. It’s pretty common when launching some things from emulationstation. Generally we pipe things through the runcommand script which helps with that. I’d have to test it myself though to verify.
    [/quote]

    That sounds likely. Completely black screen, but I can SSH in and see that emulationstation is running, while daphne is not.

    shmoopty
    Participant

    [quote=116926]May be worth putting up a github repo just for convenience in building a module for the retropie setup script (if that’s at all possible)
    [/quote]

    I like that idea – since a git repo would also welcome anyone to improve it.

    [quote=116926]
    out of curiosity did you implement this?

    https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=57721
    [/quote]

    No, nothing so bold…

    I was mucking with the code to fix errors as they came up for a little bit. Until I realized that I was only fixing treat-warnings-as-errors errors.

    What’s really needed to build Daphne is installing a few atypical libraries and creating some makefiles with the right defines and build flags. Then it just worked.

    Still looking into how to assign emulationstation button mappings. And oddly, a BASH script that I lazily threw into roms/ports/ runs and quits fine at the command line; but from ES will lock the Pi up when I quit. I’m not overclocking. Does that issue sound familiar?

    shmoopty
    Participant

    Hi, herbfargus!

    Daphne does not seem to have a public source repository. Instead they offer a [url=http://www.daphne-emu.com/download/daphne-1.0-src.tar.bz2] GPL’ed tarball [/url] of the most recent official release source.

    Yes, I’ve chatted with “Matt_O|zn” in their IRC channel and I have their blessing to publicly patch the source for Raspberry Pi. Their private source isn’t in a state right now to share or patch.

    The original laserdisc images can be large, yes! But daphne only expects an ogg file for audio and a m2v for video. Both could be compressed down to a smaller size, if desired. I haven’t tried this – I’m assuming.

    I can also find exact laserdisc rips on YouTube right now.

    Probably worth mentioning – there are also easily google-able ways to produce a Daphne video from a matching PC-CDROM or DVD game disc. :)

    in reply to: Do USPRO ps3 controllers work with retropie? #115231
    shmoopty
    Participant

    Yes, I am using a USPRO PS3 controller effectively. However, it requires an extra step to set it up.

    It appears that when these controllers fall asleep, they do not send the expected “goodbye” signal, and the sixad pairing daemon crashes over what it sees as garbage data. Without sixad, you can’t reconnect.

    If you save this script and run it at bootup, sixad will re-launch if it should ever stop running. With that script running, everything seems fine.

    [code]

    #!/bin/bash
    while :
    do
    sleep 10
    ps -ef | grep '[s]ixad' > /dev/null || sixad -s > /dev/null
    done

    [/code]

    (Sorry – this forum is corrupting the square brackets in my script, and 15 minutes is my limit for trying to get it to display correctly.)

Viewing 8 posts - 36 through 43 (of 43 total)