Skip to content

Spout2 receiver for beatmania IIDX in-game cameras

License

Notifications You must be signed in to change notification settings

aixxe/2dxcamhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tip

Most functionality provided by this project has been integrated into spice2x with the -iidxtdjcamhook flag

If you just want to use your cameras in-game, please consider using spice2x instead. Some improvements over 2dxcamhook include persistent camera control for formats and options (e.g. Exposure, Focus, etc.) configurable via the in-game overlay, forwards compatibility with future game versions via pattern scanning, easy one-click horizontal and vertical flipping, and much more.

If you are unable to use spice2x, or need to capture from a virtual camera source, or a device with an esoteric non-UVC driver, or need the additional flexibility provided by OBS, you may need to use 2dxcamhook instead

2dxcamhook

Hook library for replacing in-game camera textures with Spout2 senders

Compatibility

  • beatmania IIDX 27 HEROIC VERSE
  • beatmania IIDX 28 BISTROVER
  • beatmania IIDX 29 CastHour
  • beatmania IIDX 30 RESIDENT
  • beatmania IIDX 31 EPOLIS

※ In-game cameras are not supported in the LDJ-003 version of IIDX 30

Configuration

Using OBS Studio

  • Install the Spout2 Plugin for OBS Studio
  • Right-click a Source or Scene in OBS Studio and select "Filters"
  • Press the add button under Effect Filters and select "Spout Filter"
  • Set the name to "Camera A" and press the "Change Spout Filter Name" button
  • Repeat the same steps for the second camera, using name "Camera B" instead

Note: The game expects the camera texture to be 1280x720 in size. If you have set OBS to output in a higher resolution, you should also add a "Scaling/Aspect Ratio" filter above the "Spout Filter" and set the resolution to 1280x720. It will appear incorrectly in the camera check menu, but will be normal when in-game.

Installation

  • Compile from source or download a pre-built version from the releases page
  • Copy the appropriate 2dxcamhook.dll build to your game directory
  • Alter your launch command to load the library during startup
launcher.exe [...] -K 2dxcamhook.dll -p io.disable_cams=true
spice64.exe [...] -iidxdisablecams -k 2dxcamhook.dll