Ongeki LED controller output serial is not sent, only cabinet LED is sent #19

Open
opened 2024-06-07 13:17:11 +00:00 by dsync · 2 comments

I only see LED data for 18 LEDs for Board 0 (cabinet LED), but nothing for Board 1. And the board 0 LED is 17, instead of 61 as described.

; Board 0 has 61 LEDs:
;   [0]-[1]: left side button
;   [2]-[8]: left pillar lower LEDs
;   [9]-[17]: left pillar center LEDs
;   [18]-[24]: left pillar upper LEDs
;   [25]-[35]: billboard LEDs
;   [36]-[42]: right pillar upper LEDs
;   [43]-[51]: right pillar center LEDs
;   [52]-[58]: right pillar lower LEDs
;   [59]-[60]: right side button
;
; Board 1 has 6 LEDs:
;   [0]-[5]: 3 left and 3 right controller buttons
;

My segatools.ini.

[led]
; Output billboard LED strip data to a named pipe called "\\.\pipe\ongeki_led"
cabLedOutputPipe=1
; Output billboard LED strip data to serial
cabLedOutputSerial=1

; Output slider LED data to the named pipe
controllerLedOutputPipe=1
; Output slider LED data to the serial port
controllerLedOutputSerial=1

; Serial port to send data to if using serial output. Default is COM5.
serialPort=COM11
; Baud rate for serial data
serialBaud=921600

Data received via com0com virtual port COM11 (first packet)

E0 00 FF FF FF FF FF FF AA AA AA AA AA AA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 00 FF FF FF FF FF FF A9 A9 A9 AA AA AA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Header:

Sync: E0
Board Number: 00 (Board 0)

LED Data:

FF FF FF FF FF FF A9 A9 A9 AA AA AA 00 00 00 00 00 00 00 00 00 00 00 00 00 00

LED 0: FF FF FF -> Red: 255, Green: 255, Blue: 255
LED 1: FF FF FF -> Red: 255, Green: 255, Blue: 255
LED 2: FF FF FF -> Red: 255, Green: 255, Blue: 255
LED 3: FF FF FF -> Red: 255, Green: 255, Blue: 255
LED 4: FF FF FF -> Red: 255, Green: 255, Blue: 255
LED 5: A9 A9 A9 -> Red: 169, Green: 169, Blue: 169
LED 6: A9 A9 A9 -> Red: 169, Green: 169, Blue: 169
LED 7: A9 A9 A9 -> Red: 169, Green: 169, Blue: 169
LED 8: AA AA AA -> Red: 170, Green: 170, Blue: 170
LED 9: AA AA AA -> Red: 170, Green: 170, Blue: 170
LED 10: AA AA AA -> Red: 170, Green: 170, Blue: 170
LED 11: 00 00 00 -> Red: 0, Green: 0, Blue: 0
LED 12: 00 00 00 -> Red: 0, Green: 0, Blue: 0
LED 13: 00 00 00 -> Red: 0, Green: 0, Blue: 0
LED 14: 00 00 00 -> Red: 0, Green: 0, Blue: 0
LED 15: 00 00 00 -> Red: 0, Green: 0, Blue: 0
LED 16: 00 00 00 -> Red: 0, Green: 0, Blue: 0
LED 17: 00 00 00 -> Red: 0, Green: 0, Blue: 0

Summary:

Packet 1 LED Values:

LEDs 0-4: FF FF FF -> Red: 255, Green: 255, Blue: 255
LEDs 5-7: AA AA AA -> Red: 170, Green: 170, Blue: 170
LEDs 8-17: 00 00 00 -> Red: 0, Green: 0, Blue: 0
I only see LED data for 18 LEDs for Board 0 (cabinet LED), but nothing for Board 1. And the board 0 LED is 17, instead of 61 as described. ``` ; Board 0 has 61 LEDs: ; [0]-[1]: left side button ; [2]-[8]: left pillar lower LEDs ; [9]-[17]: left pillar center LEDs ; [18]-[24]: left pillar upper LEDs ; [25]-[35]: billboard LEDs ; [36]-[42]: right pillar upper LEDs ; [43]-[51]: right pillar center LEDs ; [52]-[58]: right pillar lower LEDs ; [59]-[60]: right side button ; ; Board 1 has 6 LEDs: ; [0]-[5]: 3 left and 3 right controller buttons ; ``` My `segatools.ini`. ``` [led] ; Output billboard LED strip data to a named pipe called "\\.\pipe\ongeki_led" cabLedOutputPipe=1 ; Output billboard LED strip data to serial cabLedOutputSerial=1 ; Output slider LED data to the named pipe controllerLedOutputPipe=1 ; Output slider LED data to the serial port controllerLedOutputSerial=1 ; Serial port to send data to if using serial output. Default is COM5. serialPort=COM11 ; Baud rate for serial data serialBaud=921600 ``` Data received via `com0com` virtual port `COM11` (first packet) ``` E0 00 FF FF FF FF FF FF AA AA AA AA AA AA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 00 FF FF FF FF FF FF A9 A9 A9 AA AA AA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ``` Header: Sync: E0 Board Number: 00 (Board 0) LED Data: FF FF FF FF FF FF A9 A9 A9 AA AA AA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 LED 0: FF FF FF -> Red: 255, Green: 255, Blue: 255 LED 1: FF FF FF -> Red: 255, Green: 255, Blue: 255 LED 2: FF FF FF -> Red: 255, Green: 255, Blue: 255 LED 3: FF FF FF -> Red: 255, Green: 255, Blue: 255 LED 4: FF FF FF -> Red: 255, Green: 255, Blue: 255 LED 5: A9 A9 A9 -> Red: 169, Green: 169, Blue: 169 LED 6: A9 A9 A9 -> Red: 169, Green: 169, Blue: 169 LED 7: A9 A9 A9 -> Red: 169, Green: 169, Blue: 169 LED 8: AA AA AA -> Red: 170, Green: 170, Blue: 170 LED 9: AA AA AA -> Red: 170, Green: 170, Blue: 170 LED 10: AA AA AA -> Red: 170, Green: 170, Blue: 170 LED 11: 00 00 00 -> Red: 0, Green: 0, Blue: 0 LED 12: 00 00 00 -> Red: 0, Green: 0, Blue: 0 LED 13: 00 00 00 -> Red: 0, Green: 0, Blue: 0 LED 14: 00 00 00 -> Red: 0, Green: 0, Blue: 0 LED 15: 00 00 00 -> Red: 0, Green: 0, Blue: 0 LED 16: 00 00 00 -> Red: 0, Green: 0, Blue: 0 LED 17: 00 00 00 -> Red: 0, Green: 0, Blue: 0 Summary: Packet 1 LED Values: LEDs 0-4: FF FF FF -> Red: 255, Green: 255, Blue: 255 LEDs 5-7: AA AA AA -> Red: 170, Green: 170, Blue: 170 LEDs 8-17: 00 00 00 -> Red: 0, Green: 0, Blue: 0
Owner

Hello,

To be honest I never tested the serial output so it could be that there is an issue because the cabinet LEDS are send via MU3.exe but the button LEDS are sent via amdaemon.exe so it would need to open the same COM port from two different processes.... Maybe adding a COM port option for cab LEDs and controller buttons independently would help?

Hello, To be honest I never tested the serial output so it could be that there is an issue because the cabinet LEDS are send via MU3.exe but the button LEDS are sent via amdaemon.exe so it would need to open the same COM port from two different processes.... Maybe adding a COM port option for cab LEDs and controller buttons independently would help?
Author

Hello,

To be honest I never tested the serial output so it could be that there is an issue because the cabinet LEDS are send via MU3.exe but the button LEDS are sent via amdaemon.exe so it would need to open the same COM port from two different processes.... Maybe adding a COM port option for cab LEDs and controller buttons independently would help?

Noted, hope to see this get implemented :) I started with only enabling the controller LED and disabled the cabinet LED, but still nothing is sent out from that serial port.

> Hello, > > To be honest I never tested the serial output so it could be that there is an issue because the cabinet LEDS are send via MU3.exe but the button LEDS are sent via amdaemon.exe so it would need to open the same COM port from two different processes.... Maybe adding a COM port option for cab LEDs and controller buttons independently would help? Noted, hope to see this get implemented :) I started with only enabling the controller LED and disabled the cabinet LED, but still nothing is sent out from that serial port.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Dniel97/segatools#19
No description provided.