1
0
mirror of https://github.com/yxrei/bemani-guide.git synced 2024-12-12 15:01:11 +01:00
bemani-guide/docs/games/chunithmsunplus/controllers.md

302 lines
12 KiB
Markdown
Raw Normal View History

# CHUNITHM SUN PLUS
<img src="/img/chunithm/sdhd/sunplus.png">
!!! danger "Please make sure you downloaded your data from an appropriate source.<br>This guide is unable to troubleshoot any problems related to bad or poorly managed data."
---
2024-02-03 19:06:29 +01:00
!!! tip ""
segatools, by default, only accepts keyboard input and does not recognize any
controllers. However, it can be configured with IO DLLs to add support for controllers.
The controller you plan on using should also be provided with these IO DLLs. If unsure,
check the support section for your controller, or contact the vendor directly. Alternate
options for the most common controllers are listed below.
2024-02-03 19:06:29 +01:00
These IO DLLs should be copied to your game's `App\bin\` folder and referenced in
`segatools.ini` under the `[chuniio]` section.
!!! tip ""
2024-02-03 19:06:29 +01:00
If you have a single DLL, uncomment the `path=` line by removing the leading semicolon (`;`),
then add your DLL's file name after the `=`:
```ini hl_lines="5"
[chuniio]
; Uncomment this if you have custom chuniio implementation comprised of a single 32bit DLL.
; (will use chu2to3 engine internally)
;(1)!
path=controller.dll
```
1. Note that there is no leading semicolon.
2024-02-03 19:06:29 +01:00
!!! tip ""
2024-02-03 19:06:29 +01:00
If you have two DLLs, ending in `_x86.dll` and `_x64.dll` (or `_chusan.dll` and `_amdaemon.dll`),
uncomment the `path32=` and `path64=` lines by removing the leading semicolon (`;`), then
add your DLLs after the `=`:
```ini hl_lines="5 6"
[chuniio]
; Uncomment both of these if you have custom chuniio implementation comprised of two DLLs.
; x86 chuniio to path32, x64 to path64. Both are necessary.
;(1)!
path32=controller_x86.dll
path64=controller_x64.dll
```
1. Note that there is no leading semicolon.
2024-02-11 21:52:19 +01:00
---
### Keyboard
!!! tip ""
2024-02-11 21:52:19 +01:00
Keyboard is the default input method, and while not recommended for playing the game,
it is useful for testing purposes.
The default layout uses `SDFGHJKL` for slider input, and `Space Bar` for the AIRs.
If you wish to change the default keybinds, an explanation on how to set these is included
above the `[io3]` section in your `segatools.ini`.
---
2024-02-11 21:52:19 +01:00
### Brokenithm
2024-02-11 21:52:19 +01:00
!!! tip ""
Brokenithm allows you to use a mobile device as a CHUNITHM controller. It uses the bottom
half of the screen as the ground slider, and sliding into the upper half activates the air
sensors.
2024-02-11 21:52:19 +01:00
#### Android
2024-02-11 21:52:19 +01:00
!!! warning
Your computer and your Android device must be on the same local network.
!!! tip ""
- Download the latest version of [Brokenithm-Android](https://github.com/tindy2013/Brokenithm-Android/releases/latest)
and install it on your Android device.
- Download the latest version of [Brokenithm-Android-Server](https://github.com/tindy2013/Brokenithm-Android-Server/releases/latest)
and extract **only `brokenithm_server.exe`** to your `App\bin\` folder.
- Download the latest version of [Brokenithm-Evolved IO DLLs](https://gitea.tendokyu.moe/Dniel97/Brokenithm-Evolved/releases) and extract the DLL files to your `App\bin\` folder.
- Edit your `App\bin\segatools.ini` to reference the extracted DLLs:
```ini hl_lines="2"
2024-02-11 21:52:19 +01:00
[aimeio]
path=aime_brokenithm.dll
```
2024-02-11 21:52:19 +01:00
```ini hl_lines="2 3"
[chuniio]
2024-02-11 21:52:19 +01:00
path32=brokenithm_x86.dll
path64=brokenithm_x64.dll
```
2024-02-11 21:52:19 +01:00
- Run `brokenithm_server.exe`. A command prompt window should open, saying that
it is waiting for a device on port 52468.
- Open the Brokenithm app on your Android device. Enter your computer's IP address
in the Address box on the top right, then tap Start.
- Run the game as normal.
2024-02-11 21:52:19 +01:00
??? info "Getting your computer's IP address"
Open **Settings** -> **Network and Internet** and select **Properties**. Scroll down to
the bottom and check the address under the **IPv4 address** field:
<img src="/img/chunithm/sdhd/controllers/0_ipaddress.png">
That is your computer's IP address.
??? info "Automatically launching the Brokenithm server when starting the game"
**This will only work if you extracted `brokenithm_server.exe` to `App\bin\` as previously instructed.**
You can edit the launch script to launch the Brokenithm server when starting the game.
Edit `App\bin\start.bat` to add a line above the existing commands:
```batch hl_lines="5"
2024-02-11 21:52:19 +01:00
@echo off
pushd %~dp0
start /min brokenithm_server
start /min inject_x64 -d -k chusanhook_x64.dll amdaemon.exe -c config_common.json config_server.json config_client.json config_cvt.json config_sp.json config_hook.json
inject_x86 -d -k chusanhook_x86.dll chusanApp.exe
taskkill /f /im amdaemon.exe > nul 2>&1
echo.
echo Game processes have terminated
pause
```
2024-02-11 21:52:19 +01:00
??? info "Improving latency"
2024-02-11 21:52:19 +01:00
You can improve latency by running Brokenithm with your Android device tethered to
your computer. However, this requires a little extra setup:
2024-02-11 21:52:19 +01:00
- Connect your Android device to your computer with a USB cable.
- If you haven't enabled Developer options on your device, do it by navigating to
the "About" page in your phone's settings, then tap "Build number" seven times.
This varies by device, so if unsure, look up the instructions for your specific
one.
- Navigate to Developer options and enable USB debugging.
- On your computer, download and extract [Android SDK Platform Tools](https://dl.google.com/android/repository/platform-tools-latest-windows.zip)
to your `App\bin\` folder.
- Navigate to the `App\bin\platform-tools` folder in File Explorer, click on the
address bar, type `cmd`, and hit Enter to open a command prompt.
- In the command prompt, type the following command:
```batch
adb reverse tcp:52468 tcp:52468
2024-02-11 21:52:19 +01:00
```
- Start `brokenithm_server.exe`.
- On your Android device, open Brokenithm, and change the address to `0.0.0.0`.
- If the text box to the left of the "SETTINGS" button say "UDP", tap on it
once to switch to "TCP" mode.
- Tap on "START", and you will now be connected via the USB cable.
- You can now start the game as normal.
2024-02-11 21:52:19 +01:00
The next time you play the game, you only need to run the `adb reverse ...` command
again. To do this automatically when the game starts, add a line to the `start.bat`
script **before** the `brokenithm_server` line:
2024-02-11 21:52:19 +01:00
```batch hl_lines="5"
@echo off
2024-02-11 21:52:19 +01:00
pushd %~dp0
2024-02-11 21:52:19 +01:00
start /min platform-tools\adb reverse tcp:52468 tcp:52468
start /min brokenithm_server
start /min inject_x64 -d -k chusanhook_x64.dll amdaemon.exe -c config_common.json config_server.json config_client.json config_cvt.json config_sp.json config_hook.json
inject_x86 -d -k chusanhook_x86.dll chusanApp.exe
taskkill /f /im amdaemon.exe > nul 2>&1
2024-02-11 21:52:19 +01:00
echo.
echo Game processes have terminated
pause
2024-02-11 21:52:19 +01:00
```
#### iOS/iPadOS
2024-02-11 21:52:19 +01:00
!!! tip ""
2024-02-14 02:38:31 +01:00
2024-09-19 11:42:35 +02:00
- Install Brokenithm on your iOS/iPadOS device by joining the [Brokenithm TestFlight](https://testflight.apple.com/join/U6kwvETm) ^^(iOS 18 only)^^.
- If your iOS/iPadOS device doesn't have iOS 18, you will need to sideload a different [IPA](https://redive.estertion.win/ipas/Brokenithm-iOS-build-10.ipa) with [Sideloadly](https://sideloadly.io/).
- If you have iTunes and/or iCloud installed from the Microsoft Store on your computer, **uninstall it.**
- Install the **non-Microsoft Store** version of iTunes from the [website](https://www.apple.com/itunes/download/win64).
- Download the latest version of [Brokenithm-Evolved-iOS server](https://redive.estertion.win/ipas/Brokenithm/Brokenithm-Evolved-iOS-v0.3.7z)
and extract it to `App\bin\Brokenithm-Server`.
- Download the latest version of [Brokenithm-Evolved IO DLLs](https://gitea.tendokyu.moe/Dniel97/Brokenithm-Evolved/releases) and extract the DLL files to your `App\bin\` folder.
- Edit your `App\bin\segatools.ini` to reference the extracted DLLs:
2024-02-14 02:38:31 +01:00
```ini hl_lines="2"
2024-02-14 02:38:31 +01:00
[aimeio]
path=aime_brokenithm.dll
```
2024-02-14 02:38:31 +01:00
```ini hl_lines="2 3"
[chuniio]
2024-02-14 02:38:31 +01:00
path32=brokenithm_x86.dll
path64=brokenithm_x64.dll
```
2024-02-14 02:38:31 +01:00
- Run `App\bin\Brokenithm-Server\Brokenithm-Evolved-iOS.exe`. A command prompt window
should open, saying that it is waiting for a device.
- On your iOS/iPadOS device, open Brokenithm, and connect it to your computer with a
USB cable.
- Run the game as normal.
2024-02-14 02:38:31 +01:00
??? info "Automatically launching the Brokenithm server when starting the game"
2024-02-14 02:38:31 +01:00
**This will only work if you extracted the server to `App\bin\Brokenithm-Server` as previously instructed.**
You can edit the launch script to launch the Brokenithm server when starting the game.
Edit `App\bin\start.bat` to add a line above the existing commands:
```batch hl_lines="5"
2024-02-14 02:38:31 +01:00
@echo off
pushd %~dp0
start /min Brokenithm-Server\Brokenithm-Evolved-iOS.exe
2024-02-14 02:38:31 +01:00
start /min inject_x64 -d -k chusanhook_x64.dll amdaemon.exe -c config_common.json config_server.json config_client.json config_cvt.json config_sp.json config_hook.json
inject_x86 -d -k chusanhook_x86.dll chusanApp.exe
taskkill /f /im amdaemon.exe > nul 2>&1
echo.
echo Game processes have terminated
pause
```
2024-02-11 21:52:19 +01:00
### TASOLLER
2024-02-11 21:52:19 +01:00
!!! warning
This guide only covers TASOLLERs running the v2.0 touch firmware. If you've purchased the
controller after January 2022, the update should have already been applied.
If you've purchased the controller before then, you will need to update the touch
firmware by following the instructions on [DJ-DAO's support page](https://www.dj-dao.com/en/support/11.html).
!!! tip ""
- Install the [custom Host and LED firmware](https://pixeldrain.com/u/DajSPEoa) to your controller.
Instructions on how to do so is provided in the linked archive.
- Pick one of these two TASOLLER IO DLLs to download and extract to your `App\bin` folder.
They should be functionally the same, but if one doesn't work, you can try the other:
- [chuniio-tasoller](https://gitea.tendokyu.moe/Scribbler/chuniio-tasoller/releases) (download `lib.zip`)
- [chuniio-rs](https://gitea.tendokyu.moe/beerpsi/chuniio-rs/releases) (download `chusan.zip`)
- Edit your `App\bin\segatools.ini` to reference the extracted DLLs:
```ini
[chuniio]
path32=chuniio_tasoller.dll;(1)!
path64=chuniio_tasoller_x64.dll;(2)!
```
1. Or `chuniio_tasoller_v2_chusan.dll` if you downloaded `chuniio-rs`.
2. Or `chuniio_tasoller_v2_amdaemon.dll` if you downloaded `chuniio-rs`.
2024-02-11 21:52:19 +01:00
- Connect the controller to your computer, and then start the game.
### YubiDeck
!!! tip ""
- Switch your YubiDeck to HID output mode. Instructions on how to do so are provided
in the [YubiDeck manual](https://drive.google.com/file/d/11KVlKbg3zGCRwI7R-30t2IJc6OQwDEgo/view).
- Download the latest version of [YubiDeck IO DLLs](https://gitea.tendokyu.moe/beerpsi/chuniio-yubideck/releases)
and extract it to your `App\bin` folder.
- Edit your `App\bin\segatools.ini` to reference the extracted DLLs:
2024-02-14 02:38:31 +01:00
```ini
[chuniio]
path32=chuniio_yubideck_chusan.dll
path64=chuniio_yubideck_amdaemon.dll
```
- Optionally, reference the included AimeIO DLL to use the controller's
built-in card reader:
```ini
[aimeio]
path=aimeio_yubideck.dll
2024-02-14 02:38:31 +01:00
```
- Connect the controller to your computer, and then start the game.
2024-02-14 02:38:31 +01:00
### Arcade hardware and other controllers
2024-02-14 02:38:31 +01:00
!!! tip ""
If you're interested in using a cabinet slider and air sensors, or possibly even
making your own controller, the [Cons&Stuff website](https://consandstuff.github.io/)
and Discord community is a great place to start!