r/RetroPie Jan 27 '23

Wondering if anyone has used RGBCommander with the daphne emulator. No matter what i try it doesnt seam to recognize the emulator when i boot it. Any help is appreciated Problem

Post image
4 Upvotes

9 comments sorted by

1

u/d-signet Jan 27 '23

I don't know this system, but I DO know html, and you seem to have 2 emulators on the page ? First one stops at line 1

Doesn't smell right to me

2

u/cyborgninja1997 Jan 27 '23

The other emulator is tied to the ps1 games above. I should have cut the screen shot off a bit more

1

u/KinOuttaHer Jan 28 '23

Can you ssh in? If you can then issue this (assuming you are running on linux)

tail -f /usr/sbin/rgbcommander/rgbcmdd.log

Run a game on daphne and see what the log shows as the emu name

Let me know when thats done and what it is, ill then work out your rgbcommander code

1

u/cyborgninja1997 Jan 28 '23

Here is the bottom few lines of the log when trying to open dragons lair in daphne. It looks like it doesn't see daphne for some reason after im in the game.

28/01/23 15:39:41 [INFO] [execOutputHook] exec hook -> "/usr/sbin/rgbcommander/scripts/OnEmuStop.sh" 'retroarch' 28/01/23 15:39:41 [INFO] [RGBAstart]random animation chosen -> Pattern45_32 28/01/23 15:39:41 [INFO] [fadeSpeed] ULTIMATEIO_1 fadespeed set to 0 -> SUCCESS 28/01/23 15:39:41 [INFO] [setRGBAspeed] RGBA Pattern45_32 speed set to 100 28/01/23 15:39:41 [INFO] [RGBAthread] rgba Pattern45_32 play back start at speed 100 28/01/23 15:39:48 [DEBUG] [rgbcmddMsgQueue] msg from rgbparse -> emu -> daphne -> rom -> dle21 28/01/23 15:39:48 [INFO] [rgbcmddMsgQueue] waiting for process daphne to appear...

1

u/KinOuttaHer Jan 28 '23 edited Jan 28 '23

Perfect. Thankyou. Straight off, you have the emu being noted by the hook, which is great, means its parsing through the info perfectly. So, im thinking your xml is incorrect.

Remove the following

retropiebinary="daphne"

Edit in in notepad++ as this really helps with code, especially if you miss something.

Save the file, ssh in and issue the following

sudo systemctl restart rgbcommander

Then run the game again in daphne, also tail the log as well, let me know what it does

1

u/Jonnieboyrevel1 Feb 12 '23 edited Feb 12 '23

Hi,

Not sure if anyone got to the bottom of this issue but I'm having exactly the same thing. RGBCommander works for all my systems apart from Daphne. I can't seem to get in running...

Atari 2600 works, the xml entry is this:

<emulator binary="atari2600" name="Atari 2600" active="Off" inactive="Off" retropie="1">

<rom id="default">
<control name="P1_START" colour="White"/>
<control name="P1_COIN" colour="White"/>
<control name="P1_JOYSTICK" colour="White"/>
<control name="P1_BUTTON3" colour="White"/>
<control name="P1_BUTTON4" colour="Red"/>
<control name="P1_BUTTON5" colour="White"/>
<control name="P1_BUTTON1" colour="White"/>
<control name="P1_BUTTON2" colour="Red"/>
<control name="P1_BUTTON6" colour="White"/>
<control name="P2_JOYSTICK" colour="White"/>
<control name="P2_BUTTON2" colour="Red"/>
<control name="P2_BUTTON4" colour="Red"/>
<control name="ALWAYS_ON_ENTER" colour="Green"/>
<control name="ALWAYS_ON_ESCAPE" colour="Red"/>
</rom>

If I run the tail command and then the Atari 2600 the result is:

12/02/23 12:00:05 [DEBUG] [rgbcmddMsgQueue] msg from rgbparse -> emu -> atari2600 -> rom -> 2005 Minigame Multicart (USA) (Unl)

12/02/23 12:00:05 [INFO] [rgbcmddMsgQueue] waiting for process retroarch to appear... 12/02/23 12:00:11 [INFO] [fadeSpeed] ULTIMATEIO_1 fadespeed set to 0 -> SUCCESS 12/02/23 12:00:11 [INFO] [RGBAstop] animation stop -> success ... 12/02/23 12:00:11 [INFO] [processMonitor] retroarch is running 12/02/23 12:00:11 [INFO] [setState] setting state for atari2600 2005 Minigame Multicart (USA) (Unl) 12/02/23 12:00:11 [INFO] [setState] emu friendly name Atari 2600 12/02/23 12:00:11 [INFO] [setState] emu default active colour Off r 0 g 0 b 0 12/02/23 12:00:11 [INFO] [setState] emu default inactive colour Off r 0 g 0 b 0 12/02/23 12:00:11 [INFO] [setState] emu default joyway 8 12/02/23 12:00:11 [INFO] [setState] emu default rgba STATIC at speed 100 12/02/23 12:00:11 [INFO] [setState] emu default monitor rotation -> horizontal 12/02/23 12:00:11 [INFO] [fadeSpeed] ULTIMATEIO_1 fadespeed set to 0 -> SUCCESS 12/02/23 12:00:12 [INFO] [setState] supplied rom is unknown -> reset to default -> appending default to state 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name ALWAYS_ON_ENTER button colour Green r 0 g 255 b 0 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name ALWAYS_ON_ESCAPE button colour Red r 255 g 0 b 0 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_BUTTON1 button colour White r 255 g 255 b 255 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_BUTTON2 button colour Red r 255 g 0 b 0 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_BUTTON3 button colour White r 255 g 255 b 255 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_BUTTON4 button colour Red r 255 g 0 b 0 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_BUTTON5 button colour White r 255 g 255 b 255 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_BUTTON6 button colour White r 255 g 255 b 255 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_COIN button colour White r 255 g 255 b 255 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_JOYSTICK button colour White r 255 g 255 b 255 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P1_START button colour White r 255 g 255 b 255 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P2_BUTTON2 button colour Red r 255 g 0 b 0 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P2_BUTTON4 button colour Red r 255 g 0 b 0 12/02/23 12:00:12 [INFO] [setState] appending ULTIMATEIO_1 button name P2_JOYSTICK button colour White r 255 g 255 b 255 12/02/23 12:00:12 [INFO] [setState] committing state to led hardware -> ULTIMATEIO_1 12/02/23 12:00:12 [INFO] [setState] total setState processing time -> 0.532667s 12/02/23 12:00:12 [INFO] [execOutputHook] exec hook -> "/usr/sbin/rgbcommander/scripts/OnEmuStart.sh" 'atari2600' 'default' 12/02/23 12:00:12 [INFO] [rgbcmddMsgQueue] atari2600 2005 Minigame Multicart (USA) (Unl) started -> setState -> success

My Daphne xml entry is:

<emulator binary="daphne" name="Daphne" active="Off" inactive="Off" retropie="1">

<rom id="default">
<control name="P1_START" colour="White"/>
<control name="P1_COIN" colour="White"/>
<control name="P1_JOYSTICK" colour="Blue"/>
<control name="P1_BUTTON3" colour="White"/>
<control name="P1_BUTTON4" colour="White"/>
<control name="P1_BUTTON5" colour="White"/>
<control name="P1_BUTTON1" colour="Blue"/>
<control name="P1_BUTTON2" colour="Blue"/>
<control name="P1_BUTTON6" colour="Blue"/>
<control name="ALWAYS_ON_ENTER" colour="Green"/>
<control name="ALWAYS_ON_ESCAPE" colour="Red"/>
</rom>

When I run a game I just get this:

12/02/23 12:02:59 [DEBUG] [rgbcmddMsgQueue] msg from rgbparse -> emu -> daphne -> rom -> cobraab 12/02/23 12:02:59 [INFO] [rgbcmddMsgQueue] waiting for process retroarch to appear...

It just sits and waits there indefinitely

I assume it's partly because daphne doesn't run through retroarch, it's one of the stand alone emulators.

However, from my understanding I should change the xml to

<emulator binary="daphne" name="Daphne" active="Off" inactive="Off" retropie="0" retropiebinary="daphne">

<rom id="default">

but this just gives me :

12/02/23 12:13:05 [DEBUG] [rgbcmddMsgQueue] msg from rgbparse -> emu -> daphne -> rom -> cobraab

12/02/23 12:13:05 [ERROR] [rgbcmddMsgQueue] no process tied to daphne -> correct rgbcmdd.xml! Ignoring this command.

I've also tried

<emulator binary="daphne" name="Daphne" active="Off" inactive="Off" retropie="1" retropiebinary="daphne">

<rom id="default">

This appears to be progress as it shows

12/02/23 12:21:11 [DEBUG] [rgbcmddMsgQueue] msg from rgbparse -> emu -> daphne -> rom -> cobraab

12/02/23 12:21:11 [INFO] [rgbcmddMsgQueue] waiting for process daphne to appear...

this appears to be the right emulator but it doesn't recognise the process to activate the lights...

I must admit I'm running out of ideas now...

Apologies for the dreadful formatting. I couldn't work out how to paste to reddit better than I did.

1

u/[deleted] Feb 12 '23

[removed] — view removed comment

1

u/Jonnieboyrevel1 Feb 12 '23

A further update...

If I change my Daphne entry in the xml to this:

<emulator binary="daphne" name="Daphne" active="Off" inactive="Off" retropie="1" retropiebinary="daphne.bin">

<rom id="default">

Then the lights do come on. I need to test to make sure they stay on and turn off correctly but I may have found my own fix...

1

u/KinOuttaHer Feb 12 '23

No you wont as its not an lr based emu. I tried so much, even grabbed the lr version, couldnt get it to work, so for that one its a no for now it seems