This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
chuniio-tasoller/README.md

1.4 KiB

chuniio-tasoller

ChuniIO driver for Tasoller CFW 2.0 written in Rust

Thanks to:

  • akiros for the original code (in Zig) and protocol information

Supported versions:

  • CHUNITHM SUN PLUS

Anything aftern CHUNITHM NEW should work, but unsupported because untested.

Configuration

segatools.ini

[chuniio]
;; For Chunithm NEW or newer
path32=chuniio_tasoller_chusan.dll
path64=chuniio_tasoller_amdaemon.dll

[io3]
test=0x31
service=0x32
coin=0x33

USB Protocol

Custom firmware USB device: 1CCF:2333

  • Interface 1
    • Endpoint 4 IN Interrupt (0x84)
      • data len: 36 bytes
      • data[0-2]: {0x68, 0x66, 0x84} (magic?)
      • data[3]
        • bit 0-5: beam 1-6 (1 = blocked)
        • bit 6-7: fn1 & fn2 (1 = pressed)
      • data[4-35]: touch sensor 1-32 pressure
    • Endpoint 3 OUT Bulk (0x03)
      • data len: 240 bytes
      • data[0-2]: {0x42, 0x4C, 0x00} (magic?)
      • data[3-95]: Slider LED (GRB order, right->left)
      • data[96-167]: Left LED (GRB order top->bottom)
      • data[168-239]: Right LED (GRB order bottom->top)

Build instructions

cargo build --target i686-pc-windows-msvc -p chuniio-tasoller-chusan --release
cargo build --target x86_64-pc-windows-msvc -p chuniio-tasoller-amdaemon --release

ls target/i686-pc-windows-msvc/release/chuniio_tasoller_chusan.dll
ls target/x86_64-pc-windows-msvc/release/chuniio_tasoller_amdaemon.dll