A program that maps packets from Xbox One instrument peripherals to virtual controllers, for use in games such as Clone Hero.
All Xbox One instruments are supported (RB4 guitars/drums, GHL guitar), along with the RB4 wireless legacy adapter.
Download and install vJoy.
After installing, open your Start menu, find the vJoy
folder, and open the Configure vJoy
program inside it.
Configure one device for each one of your controllers, using these settings:
X
, Y
, Z
Click Apply.
You're all set up!
Note that RB4InstrumentMapper is NOT required to use guitars in Fortnite!
For wireless Rock Band 4 guitars and drums, you will need an Xbox One wireless receiver. Both versions of the official one are shown here:
Additionally, Jaguar guitars require a firmware update in order to connect to Xbox One receivers.
For the Riffmaster, you will need its dedicated wireless dongle, pictured below:
In the Controller Emulation Mode
dropdown, select the controller emulation mode you want to use.
Hit the Start
button to begin reading inputs.
Connect your instruments. They will be picked up and read automatically until you hit Stop
or close the program.
Some guitars/drumkits might not sync properly when using just the sync button. This includes the PDP drumkit and occasionally the Jaguar guitar. Follow these steps to sync your device correctly:
Add Bluetooth or other device
and pick the Everything else
option.Xbox compatible game controller
from the list once it appears.
You will need to install the WinUSB driver onto the Guitar Hero Live dongle or Rock Band 4 wireless legacy adapter before using it. RB4InstrumentMapper is capable of doing this directly, through the Configure Devices
button on its main menu:
Check the Enable
checkbox under the USB
group, then click the Configure Devices
button underneath it.
Find the device you want to use on the left side of the menu.
Click the Switch Driver
button and wait for it to switch the driver. The device will show up on the right side of the menu once it's done.
Revert Driver
button on the device to do so, after which those games will work with it again.If you run into any issues with this process, you may try installing the driver manually. This is not recommended for normal use, it should only be used if the Configure Devices menu is not working.
Check the Enable
checkbox under the USB
group.
Ensure you have installed WinUSB on the devices you want to use! They will not be recognized otherwise!
In the Controller Emulation Mode
dropdown, select the controller emulation mode you want to use.
Hit the Start
button to begin reading inputs.
Devices will be detected automatically as they are connected/removed, though they will not be read until you hit Start.
If you are having issues with inputs not being registered or other general weirdness, try unplugging and replugging the dongle/cable. Unfortunately this backend is still finnicky, so things may not work the smoothest.
Now that RB4InstrumentMapper is set up and running, map your controls for each instrument in the game you'll be playing.
If you're using a guitar in ViGEmBus mode, Clone Hero will automatically map your controls. You shouldn't need to do any manual mapping, unless you're using a Guitar Hero Live guitar, in which case you may need to swap your whammy and tilt bindings.
For drumkits, vJoy mode, or if you otherwise need to customize your controls:
Press Space on the main menu.
Click Assign Controller and press a button on the device for it to be assigned.
Click the slots in the Controller
column to map each of the controls.
Repeat for each connected device.
Click Done
.
If you require further help with mapping, you can ask in the Clone Hero Discord server.
Refer to the official documentation.
Refer to the official documentation.
For RPCS3, use the ViGEmBus (RPCS3 compatibility)
controller mode. This will change the mappings that RB4InstrumentMapper outputs so that little to no remapping is required to use instruments in RPCS3.
Open the Gamepad Configuration Menu in RPCS3
Change the Handlers
to "XInput", pick your instrument under Devices
, and set Device Class
to "Rock Band - Guitar" if you're using a guitar or 'Rock Band - Drums' if you're using drums.
Repeat for each connected device in the other Player tabs.
Click Done
.
RB4InstrumentMapper is capable of logging packets to a file for debugging purposes. To do so, enable both the Show Packets (for debugging)
and Log packets to file
checkboxes, then hit Start. Packet logs get saved to a RB4InstrumentMapper
> PacketLogs
folder inside your Documents folder. Make sure to include it when getting help or creating an issue report for packet parsing issues.
Note that these settings are meant for debugging purposes only, leaving them enabled can reduce the performance of the program somewhat.
In the case that the program crashes, an error log is saved to a RB4InstrumentMapper
> Logs
folder inside your Documents folder. Make sure to include it when getting help or creating an issue report for the crash.
To build this program, you will need:
Predecessors:
Packet data:
This program is licensed under the MIT license. See LICENSE for details.