It's a set of programs to display RGB effects of SDVX.
1.modified version of bi2x_hook.cpp: using shared memory to expose raw tape led data.
2.hid_send program: reading from the shared memory and send the data to rp2040 using HID.
3.rp2040 firmware: display the RGB with ws2812 light strips.
1.flash the firmware into rp2040 and connect the light strips to GPIO0-9 (defined in the firmware source file)
2.connect the rp2040 to your pc and open rgb_send.exe.
3.start the game using modified spice2x and the data should then begin to send out.
download a 2024-05-05 version of spice2x, and replace the games\sdvx\bi2x_hook.cpp
with the one given in this repository. Compile it and it should be good to go.
Compile the hid_send with visual studio.
1.Install Arduino IDE and using Earle Philhower's rp2040 core.
2.Choose TinyUSB as USB Stack and then upload the firmware.
- spice2x
- hidapi for rgb_send
- arduino-pico
- pico-sdk for ws2812 pio assembly code
- Adafruit_TinyUSB_Arduino
- HID for RawHID report descriptor