chuniio-rs/README.md

40 lines
1.0 KiB
Markdown
Raw Normal View History

2023-12-27 12:34:45 +00:00
# chuniio-rs
ChuniIO driver for various controllers.
## Configuration
segatools.ini
```ini
[chuniio]
;; For Chunithm NEW or newer
path32=chuniio_xxx_chusan.dll
path64=chuniio_xxx_amdaemon.dll
;; For CHUNITHM PARADISE and older
path=chuniio_xxx.dll
[io3]
test=0x31
service=0x32
coin=0x33
```
## Build instructions
Currently supported backends are:
- `tasoller_v1`
- `tasoller_v2`
2024-01-03 15:44:12 +00:00
- `laverita_v2`
2023-12-27 12:34:45 +00:00
```shell
CONTROLLER="tasoller_v1" # replace with your preferred controller backend
# For CHUNITHM NEW (SDHD)
cargo build --target i686-pc-windows-msvc --release --features chusan,$CONTROLLER
cargo build --target x86_64-pc-windows-msvc --release --features chusan,$CONTROLLER
2023-12-27 12:38:05 +00:00
cp target/i686-pc-windows-msvc/release/chuniio_rs.dll chuniio_${CONTROLLER}_chusan.dll
cp target/x86_64-pc-windows-msvc/release/chuniio_rs.dll chuniio_${CONTROLLER}_amdaemon.dll
2023-12-27 12:34:45 +00:00
# For CHUNITHM (SDBT)
cargo build --target i686-pc-windows-msvc --release --features $CONTROLLER
cp target/i686-pc-windows-msvc/release/chuniio_rs.dll chuniio_$CONTROLLER.dll
```