HID light mapping does not work for DDR Ace #46

Closed
opened 2020-02-25 02:04:43 +03:00 by icex2 · 6 comments
icex2 commented 2020-02-25 02:04:43 +03:00 (Migrated from github.com)

In GitLab by @Androopy on Feb 25, 2020, 24:04

Summary

If HID lights are mapped in Bemanitools config for DDR, they will not light up during gameplay.

Expected behavior

If a light is mapped to an HID light, the HID light should turn on and off to correspond to the expected pattern.

Current behavior

Lights will not turn on to correspond to the expected pattern. Nothing lights up when it should.

Steps to reproduce

1.Ensure that a controller with HID lighting is plugged in (For example, an Arcin IIDX controller with LED lights)
2.Open up Bemanitools config and select the Lights tab
3.Configure any number of in-game lights to map to the HID lights on the controller
4.Open DDR Ace and begin a game. Navigate to the IO Check > Lamp Check menu option in the service menu.
5.Attempt to illuminate all lights
6.The lights should turn on, but nothing lights up. Same issue during gameplay or when trying to cycle through individual lights in the lamp check.

Possible solution

This should work, since Spicetools maps to HID lights properly. It's possible that things are not mapped properly in Bemanitools?

Context (Environment)

Bemanitools version(s) affected

*5.29

Game(s) and version(s) affected

  • DDR Ace

OS version

Windows 10

In GitLab by @Androopy on Feb 25, 2020, 24:04 ## Summary If HID lights are mapped in Bemanitools config for DDR, they will not light up during gameplay. ## Expected behavior If a light is mapped to an HID light, the HID light should turn on and off to correspond to the expected pattern. ## Current behavior Lights will not turn on to correspond to the expected pattern. Nothing lights up when it should. ## Steps to reproduce 1.Ensure that a controller with HID lighting is plugged in (For example, an Arcin IIDX controller with LED lights) 2.Open up Bemanitools config and select the Lights tab 3.Configure any number of in-game lights to map to the HID lights on the controller 4.Open DDR Ace and begin a game. Navigate to the IO Check > Lamp Check menu option in the service menu. 5.Attempt to illuminate all lights 6.The lights should turn on, but nothing lights up. Same issue during gameplay or when trying to cycle through individual lights in the lamp check. ## Possible solution This should work, since Spicetools maps to HID lights properly. It's possible that things are not mapped properly in Bemanitools? ## Context (Environment) ### Bemanitools version(s) affected *5.29 ### Game(s) and version(s) affected * DDR Ace ### OS version Windows 10
icex2 commented 2020-02-26 01:13:04 +03:00 (Migrated from github.com)

In GitLab by @xyen on Feb 25, 2020, 23:13

Do they work in 2014?

In GitLab by @xyen on Feb 25, 2020, 23:13 Do they work in 2014?
icex2 commented 2020-02-27 07:10:25 +03:00 (Migrated from github.com)

In GitLab by @Androopy on Feb 27, 2020, 05:10

Yes, you can in 2014, but with some exceptions:

  1. You can only map the following buttons:
  • P1 Menu Lights
  • P1 Marquee Bottom
  • Bass Neons
  • P2 Menu Lights
  • P2 Marquee Top Light
  • P2 Marquee Bottom
  1. Trying to map any other lights will result in the "Game Light" column remaining blank.
  2. No lights work except P2 Marquee Top Light and P2 Marquee Bottom
  3. P2 Marquee Bottom and P2 Marquee Top seem to light up, corresponding to P1 arrow lights. So, they "work" but not really.

Keep in mind, this is using Bemanitools 4, so unsure how relevant this is.

In GitLab by @Androopy on Feb 27, 2020, 05:10 Yes, you can in 2014, but with some exceptions: 1. You can only map the following buttons: * P1 Menu Lights * P1 Marquee Bottom * Bass Neons * P2 Menu Lights * P2 Marquee Top Light * P2 Marquee Bottom 2. Trying to map any other lights will result in the "Game Light" column remaining blank. 3. No lights work except P2 Marquee Top Light and P2 Marquee Bottom 3. P2 Marquee Bottom and P2 Marquee Top seem to light up, corresponding to P1 arrow lights. So, they "work" but not really. Keep in mind, this is using Bemanitools 4, so unsure how relevant this is.
icex2 commented 2020-03-18 07:33:33 +03:00 (Migrated from github.com)

In GitLab by @Androopy on Mar 18, 2020, 05:33

As an update (Thanks, pandemic) I poked around in the code and I've figured it out. Light mappings for spotlights are different for HD cabs. Might be able to make a PR once I can figure out how to check for cab type and map accordingly.

In GitLab by @Androopy on Mar 18, 2020, 05:33 As an update (Thanks, pandemic) I poked around in the code and I've figured it out. Light mappings for spotlights are different for HD cabs. Might be able to make a PR once I can figure out how to check for cab type and map accordingly.
icex2 commented 2020-03-18 19:58:39 +03:00 (Migrated from github.com)

In GitLab by @xyen on Mar 18, 2020, 17:58

Nice find, the cab type should be accessible by p3io_ddr_get_cab_type if you're working inside of p3io.c.

Or if I'm mistaken, and it's actually based on cab model and not monitor type, std_getenv (#include "imports/avs.h") should allow you to poll various envvars including /env/profile/soft_id_code.

In GitLab by @xyen on Mar 18, 2020, 17:58 Nice find, the cab type should be accessible by `p3io_ddr_get_cab_type` if you're working inside of p3io.c. Or if I'm mistaken, and it's actually based on cab model and not monitor type, `std_getenv` (`#include "imports/avs.h"`) should allow you to poll various envvars including `/env/profile/soft_id_code`.
icex2 commented 2020-06-29 22:35:52 +03:00 (Migrated from github.com)

In GitLab by @xyen on Jun 29, 2020, 21:35

Should be fixed now upstream.

In GitLab by @xyen on Jun 29, 2020, 21:35 Should be fixed now upstream.
icex2 commented 2020-06-29 22:35:54 +03:00 (Migrated from github.com)

In GitLab by @xyen on Jun 29, 2020, 21:35

closed

In GitLab by @xyen on Jun 29, 2020, 21:35 closed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Max/djhackersdev_bemanitools#46