Dolphin-Emulator einbinden

  • Hallo Zusammen !
    In der Reihe "(WAHN)SINNIGE PROJEKTE" hoffe ich auf eure Mithilfe:


    Es ist mir gelungen, Ultrastar-Deluxe in YAVDR einzubinden,
    und somit den WAF und CAF des VDR´s nahezu auf Topniveau zu bringen!


    Jetzt möchte ich, unabhängig ob die derzeitige CPU-Leistung ausreicht, den DOLPHIN-EMULATOR auf gleicher Weise einbinden, um eine Wii-Umgebung zu emulieren.


    Die Installation des dolphin-emu Pakets habe ich durchgeführt, in der XFCE-Oberfläche kann ich das Programm starten!


    Anschließend den Eintrag in der externalplayer.conf erweitert,
    das vorhandene start-firefox-Skript abgeändert:


    #!/bin/bash
    export PATH=/usr/local/bin:/usr/bin:/bin
    export HOME=/var/lib/vdr


    export DISPLAY=:1`dbget vdr.tempdisplay`


    /sbin/stop vdr-frontend
    /usr/bin/openbox &
    #firefox
    dolphin-emu
    killall openbox
    /sbin/start vdr-frontend


    Das Problem: Leider startet der Emulator nicht.
    Auszug aus var/log/messages:
    Sep 12 10:49:05 ubuntu vdr-sxfe[17078]: [17078] [vdr-fe] caught signal 15
    Sep 12 10:49:06 ubuntu vdr-sxfe[17078]: [17078] [input_vdr] Connections closed.
    Sep 12 10:49:06 ubuntu vdr: [16555] [xine..put] Closing connection 0
    Sep 12 10:49:10 ubuntu vdr: [16455] [xine..put] cXinelibOsdProvider: shutting down !
    Sep 12 10:49:12 ubuntu signal-event[1070]: processing signal post-stop-vdr
    Sep 12 10:49:12 ubuntu signal-event[1070]: finished processing signal post-stop-vdr
    Sep 12 10:49:16 ubuntu vdr: [1075] [xine..put] Listening on address '127.0.0.1' port 37890
    Sep 12 10:49:16 ubuntu vdr: [1179] [xine..put] Listening on port 37890
    Sep 12 10:49:16 ubuntu vdr: [1179] [xine..put] Listening for UDP broadcasts on port 37890
    Sep 12 10:49:16 ubuntu vdr: [1179] [xine..put] Client 0 connected: 127.0.0.1:47395
    Sep 12 10:49:16 ubuntu vdr: [1179] [xine..put] Client connection 0 closed
    Sep 12 10:49:16 ubuntu vdr: [1179] [xine..put] Closing connection 0
    Sep 12 10:49:17 ubuntu vdr-sxfe[1181]: [1181] [vdr-fe] Detected 2 CPUs
    Sep 12 10:49:17 ubuntu vdr-sxfe[1181]: [1181] [vdr-fe] Enabling FFmpeg multithreaded video decoding
    Sep 12 10:49:17 ubuntu vdr-sxfe[1181]: [1181] [input_vdr] Connecting (control) to tcp://127.0.0.1:37890 ...
    Sep 12 10:49:17 ubuntu vdr: [1179] [xine..put] Client 0 connected: 127.0.0.1:47398
    Sep 12 10:49:17 ubuntu vdr-sxfe[1181]: [1181] [input_vdr] Server greeting: VDR-1.7.15 xineliboutput-1.0.90-cvs READY
    Sep 12 10:49:17 ubuntu vdr-sxfe[1181]: [1181] [input_vdr] Connected (control) to tcp://127.0.0.1:37890
    Sep 12 10:49:17 ubuntu vdr-sxfe[1181]: [1181] [input_vdr] Connecting (data) to tcp://127.0.0.1:37890 ...
    Sep 12 10:49:17 ubuntu vdr: [1179] [xine..put] Client 1 connected: 127.0.0.1:47399
    Sep 12 10:49:17 ubuntu vdr-sxfe[1181]: [1181] [input_vdr] Data stream connected (TCP)
    Sep 12 10:49:17 ubuntu vdr-sxfe[1181]: [1181] [input_vdr] using custom "no signal" image /usr/share/libxine1-xvdr/nosignal.mpg
    Sep 12 10:49:18 ubuntu vdr: [1213] [xine..put] Detected video size 720x576
    Sep 12 10:49:18 ubuntu vdr-sxfe[1181]: [1181] [demux_vdr] Using decoder "libmpeg2" for mpeg2 video
    Sep 12 10:49:18 ubuntu vdr-sxfe[1181]: [1181] [demux_vdr] Using decoder "FFmpeg" for H.264 video
    Sep 12 10:49:18 ubuntu vdr-sxfe[1181]: [1225] [vdr-fe] Keyboard thread terminated
    Sep 12 10:49:24 ubuntu vdr-sxfe[1181]: [1205] [input_vdr] vdr_flush_engine: playback is paused <0>
    Sep 12 10:49:25 ubuntu vdr-sxfe[1181]: [1224] [input_vdr] wait_stream_sync: discard_index 3442280 != curpos 3440400 ! (diff 1880)
    Sep 12 10:49:25 ubuntu vdr-sxfe[1181]: [1224] [demux_vdr] PMT changed, resetting demuxer
    Sep 12 10:49:25 ubuntu vdr: [1213] [xine..put] Detected video size 720x576
    Sep 12 10:49:27 ubuntu vdr-sxfe[1181]: [1224] [input_vdr] wait_stream_sync: discard_index 4207816 != curpos 4168336 ! (diff 39480)
    Sep 12 10:49:27 ubuntu vdr-sxfe[1181]: [1224] [demux_vdr] PMT changed, resetting demuxer
    Sep 12 10:49:27 ubuntu vdr: [1213] [xine..put] Detected video size 720x576
    Sep 12 10:49:34 ubuntu vdr-sxfe[1181]: [1224] [input_vdr] wait_stream_sync: discard_index 7419232 != curpos 7417352 ! (diff 1880)
    Sep 12 10:49:36 ubuntu vdr: [1213] [xine..put] Detected video size 720x576
    Sep 12 10:49:36 ubuntu vdr-sxfe[1181]: [1224] [demux_vdr] PMT changed, resetting demuxer
    Sep 12 10:50:26 ubuntu vdr-sxfe[1181]: [1224] [input_vdr] wait_stream_sync: discard_index 35728648 != curpos 35666608 ! (diff 62040)
    Sep 12 10:50:28 ubuntu vdr-sxfe[1181]: [1224] [demux_vdr] PMT changed, resetting demuxer
    Sep 12 10:50:28 ubuntu vdr: [1213] [xine..put] Detected video size 720x576


    Ist mein Ansatz mit dem Skript und der openbox richtig ?
    Oder ist mein "Projekt" so nicht realisierbar.


    Gruß
    Deutz11

    AMD x2 240e,2048MB, HD 1TB, GraphTFT m. 10,4'', Antec Fusion Remote Max, YAVDR 0.4, TT 1600 S2

  • Zitat

    Original von Deutz11
    Es ist mir gelungen, Ultrastar-Deluxe in YAVDR einzubinden,
    und somit den WAF und CAF des VDR´s nahezu auf Topniveau zu bringen!


    Wir haben schon Performous als addon, was ist bei Ultrastar besser?


    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

  • Ist wahrscheinlich Geschmacksache, aber:
    Performous ist mir zu minimalistisch.


    Davon abgesehen hatte ich nach erneutem Aufruf immer das Problem, das die PS2-Mikros oft nicht mehr erkannt wurden.
    Übrigens trotz der Zeile:
    /usr/games/performous --mics alsa:plughw:1,0 --pdev alsa:plughw:0,3


    Also meiner Meinung nach sieht Ultrastar-Deluxe schöner aus.
    D.h. es kommt dem Original sehr nahe, hat vergleichbare Auswahlmöglichkeiten, usw


    Ultrastar Deluxe behält sich die Spielernamen, erstellt eine Statistik über gesungene Songs, Punkten...
    Die Songauswahl ist gut gemacht, Sortierungen kann man nach verschiedenen Kriterien konfigurieren, Playlisten erstellen.


    Ach ja, die gleichzeitige Wiedergabe von HDMI und SPDIF wird ebenfalls von Ultrastar Deluxe unterstützt.
    Performous, zumindestens in der Ausgangskonfiguration, konnte das nicht.


    Gruß
    Deutz11

    AMD x2 240e,2048MB, HD 1TB, GraphTFT m. 10,4'', Antec Fusion Remote Max, YAVDR 0.4, TT 1600 S2

  • I have the following to use dolphin-emu with yavdr.


    Adding the dolphin-emu ppa of Glennric


    http://code.google.com/p/dolph…iki/DolphinUbuntuPackages


    sudo add-apt-repository ppa:glennric/dolphin-emu


    sudo apt-get update


    sudo apt-get install dolphin-emu


    When this does not work you can do the following:


    sudo echo "deb http://ppa.launchpad.net/glennric/dolphin-emu/ubuntu lucid main" > /etc/apt/sources.list.d/glennric-dolphin-emu-lucid.list
    sudo echo "deb-src http://ppa.launchpad.net/glennric/dolphin-emu/ubuntu lucid main" >> /etc/apt/sources.list.d/glennric-dolphin-emu-lucid.list


    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8505D44B


    sudo apt-get update


    When apt-get is updated, we have to install the software:


    apt-get install libcwiid1 libcwiimote-0.4 libcwiimote3 lswm wmgui wminput bluetooth dolphin-emu


    At this moment all needed software is installed.



    To use dolphin-emu in yavdr you have to do the following:



    Making a .conf for dolphin-emu.


    I experienced that dolphin-emu gives no sound over HDMI, so i use in this script root as user, you can allways modify it to your settings.


    vi /etc/init/dolphin-emu.conf (modified firefox.conf)


    And add this:


    description "Dolphin-emu Daemon"
    author "dorpsgek"


    script
    export PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
    export HOME=/root
    exec su -c "/usr/games/dolphin-emu" root
    end script


    pre-start script
    if [ ! -z $STANDALONE ] ; then
    /usr/bin/svdrpsend remo off || /bin/true
    touch /tmp/.standalone || /bin/true
    fi
    end script


    post-stop script
    /bin/rm -f /tmp/.standalone || /bin/true
    if [ ! -z $STANDALONE ] ; then
    /usr/bin/svdrpsend remo on || /bin/true
    /sbin/initctl emit --no-wait vdr-frontend-restart
    fi
    end script



    And make an entry in /var/lib/vdr/plugins/menuorg.xml


    vi /var/lib/vdr/plugins/menuorg.xml


    Make a setting for dolphin-emu in menuorg.xml in Applications and under the entry of XBMC:

    <menu name="Games">
    <command name="Wii" execute="/usr/share/vdr/menuorg-appswitcher standalone=yes app=dolphin-emu &amp;> /dev/null " />
    </menu>



    After starting the game:


    Modify the settings on dolphin-emu and set the path to your roms and have fun.


    PS. i still have to use ESC of a keybaord to stop the game i play and a mouse to select the game to play.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!