djhackersdev / bemanitools

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

IIDX 25 and 26 - camera no longer works as of 5.44 #244

Closed JeffPaine4890 closed 1 year ago

JeffPaine4890 commented 1 year ago

Summary My laptop's webcam no longer works as a camera for IIDX CANNON BALLERS and Rootage

Expected behavior Webcam should show up in game as camera 1

Current behavior No cameras are found ingame

Detailed Description My laptop's built-in webcam (using a generic Microsoft driver) used to be available ingame as camera 1 in bemanitools 5.43, as of 5.44 it no longer shows up. Camera emulation is not disabled in iidxhook.conf

Here are the portions of the log relating to cam-hook

[2023/04/07 23:48:26] I:cam-hook: Detected webcam: 
[2023/04/07 23:48:26] I:cam-hook: dev path: USB\VID_0C45&PID_6D1E&MI_00\6&2ED5383&0&0000
[2023/04/07 23:48:26] I:cam-hook: Found USB Video Device @ 7
[2023/04/07 23:48:26] I:cam-hook: Parent USB Composite Device @ 7
[2023/04/07 23:48:26] I:cam-hook: gotten failed: 1 < 1
[2023/04/07 23:48:26] I:cam-hook: Inserted cam hooks for 1 cams
[2023/04/07 23:48:43] I:cam-hook: Inside: my_MFEnumDeviceSources
[2023/04/07 23:48:43] I:cam-hook: Inside: my_GetAllocatedString
[2023/04/07 23:48:43] I:cam-hook: Obtained: \\?\usb#vid_0c45&pid_6d1e&mi_00#6&2ed5383&0&0000#{e5323777-f976-4f5b-9b55-b94699c46e44}\global

Steps to reproduce

  1. Start the game
  2. Open the operator menu once you can
  3. Go to the camera test, notice there are no cameras found

Bemanitools version(s) affected 5.44 only

Game(s) and version(s) affected beatmania IIDX 25 CANNON BALLERS beatmania IIDX 26 Rootage

Command line arguments Nothing other than the defaults in gamestart.bat

APIs used None

OS version Windows 11 Pro Canary 25330

Hardware specs CPU: Intel Core i7-12700H, 2300 Mhz RAM: 16 GB GPU: NVIDIA GeForce RTX 3060 Laptop GPU, 6 GB Controllers/IO: Built-in laptop keyboard (10keyless)

willxinc commented 1 year ago

This should be fixed with the latest commit, but since we don't have CI on github, will leave this open till you're able to test

JeffPaine4890 commented 1 year ago

Works now, thank you!