djhackersdev / bemanitools

Runs recent Konami arcade games and emulates various arcade hardware.
The Unlicense
84 stars 16 forks source link

RGB lights not working with Jubeat and Arduino #94

Open icex2 opened 2 years ago

icex2 commented 2 years ago

In GitLab by @lesteph25 on Apr 24, 2022, 22:34

hello,

I use an Arduino board and WS2811 / WS2812 LEDs. in the config.exe, I can map them and it is correctly recognized. but in games, nothing happens.

(it works with spicetools) thank you in advance,

icex2 commented 2 years ago

Hey, I don't have that type of hardware configuration around to try it out and I am not sure if other devs have that either. We would need more verbose information like some sort of debug logs (that we don't have for config.exe, I think) which provides information about the devices being found.

In general, I don't know what's the "official support" with Arduino's by bemanitools. Because that does not tell anything about the firmware you are running on them and how it is set-up, we also cannot tell if it should be compatible. IIRC your device needs to be complient to some USB HID stuff in order to work with bemanitools. Other output devices like a pacdrive are, to my knowledge, supported because they support some USB HID standard.

icex2 commented 2 years ago

In GitLab by @lesteph25 on May 3, 2022, 16:46

thank you for your reply I think it's supported because it works with other games (my SDVX and my DDR) and when i configure it (in bemanitools), the lights work. but not during the game unfortunately

icex2 commented 2 years ago

Huh, that's interesting. Just to be sure we are on the same page: You are using the exact same Arduino board successfully with both SDVX and DDR with bemanitools?

However, doing the same for jubeat, the LEDs light up when you test them in the configuration tool, but not during gameplay?

If the answer to both questions is yes, then there might be a bug that only affects jubeat during runtime/gameplay. Quickly checking in with @mon if he got any idea on this.

Otherwise, I can look into adding some debug output to a few places that might tell us what's going on.

Just in case, can you record a video of you demonstrating the issue? Please make sure the following aspects are included and visible to us: You configuring the Arduino board and testing it in the configuration tool. I want to see clearly when you test which light you test and what lights up. Please test a few different lights

Furthermore, can you describe how your lights are connected to the Arduino and how many are connected?

icex2 commented 2 years ago

In GitLab by @lesteph25 on May 4, 2022, 10:15

that's exactly it.

Okay, I'll make a video tonight when I get home from work. I'll add the requested details.