mirror of
https://github.com/yxrei/bemani-guide.git
synced 2024-11-28 00:20:49 +01:00
Controller is done
This commit is contained in:
parent
8b96be6736
commit
bc1cc4682e
@ -2,6 +2,14 @@
|
||||
|
||||
<img src="/img/taikonijiiro/taikonijiiro.png">
|
||||
|
||||
## I/O Settings
|
||||
!!! tip ""
|
||||
Enter the I/O setup screen by pressing `F1` on the attract screen then using `arrow keys` and `ENTER` navigate to `I/O TEST` -> `TAIKO TEST`. For the best settings copy the image below. If you wish you can adjust these settings to your liking.
|
||||
|
||||
<img src="/img/taikonijiiro/io.png">
|
||||
|
||||
***
|
||||
|
||||
!!! note "Controllers:"
|
||||
Below is a quick introduction and setup guide for the commonly used input methods.
|
||||
|
||||
@ -11,228 +19,29 @@
|
||||
|
||||
!!! tip ""
|
||||
Keyboard is the default input method.
|
||||
The default layout uses `DF JK` for the drum input, and `ENTER` to add coins.
|
||||
The default layout uses `DF JK` for the drum input, `P` to insert card, and `ENTER` to add coins.
|
||||
If you wish to view or change all the default keybinds, you can do so in `keyconfig.toml`.
|
||||
|
||||
***
|
||||
|
||||
## Brokenithm
|
||||
|
||||
!!! note "Brokenithm:"
|
||||
Brokenithm allows you to use an Android tablet or iPad as a controller for CHUNITHM. It uses the bottom half of the screen as the touch slider, and sliding from the bottom section into the top section of the screen activates the AIR sensors.
|
||||
!!! danger "Warning:"
|
||||
If you use a jp layout keyboard you may need to enable `jp_layout =`, `auto_ime =` in `config.toml`.
|
||||
|
||||
***
|
||||
|
||||
### Brokenithm Android
|
||||
## Controller
|
||||
|
||||
!!! tip ""
|
||||
Download the latest version of [Brokenithm-Android](https://github.com/tindy2013/Brokenithm-Android) from the [releases section](https://github.com/tindy2013/Brokenithm-Android/releases). Copy the `app-release.apk` to your Android device and install it.
|
||||
The setup for both drum and normal controllers is the same.
|
||||
In `config.toml` set `wait_period =` to `0`.
|
||||
|
||||
Download the latest version of [Brokenithm-Android-Server](https://github.com/tindy2013/Brokenithm-Android-Server) from the [releases section](https://github.com/tindy2013/Brokenithm-Android-Server/releases) and extract just the `brokenithm_server.exe` to your `\App\bin\` folder.
|
||||
|
||||
Download the latest version of the [Brokenithm-Evolved](https://gitea.tendokyu.moe/Dniel97/Brokenithm-Evolved/) IO dll files from the [releases tab](https://gitea.tendokyu.moe/Dniel97/Brokenithm-Evolved/releases). Extract the 3 dll files to your `\App\bin\` folder.
|
||||
|
||||
Open your `segatools.ini` with a text editor, and modify the `[aimeio]` section as shown.
|
||||
```ini
|
||||
[aimeio]
|
||||
; Uncomment this if you have custom (x64) aime implementation.
|
||||
; Leave empty if you want to use Segatools built-in keyboard input.
|
||||
path=aime_brokenithm.dll
|
||||
```
|
||||
Modify the `[chuniio]` section as shown.
|
||||
```ini
|
||||
[chuniio]
|
||||
; Uncomment this if you have custom chuniio implementation comprised of a single 32bit DLL.
|
||||
; (will use chu2to3 engine internally)
|
||||
;path=
|
||||
|
||||
; Uncomment both of these if you have custom chuniio implementation comprised of two DLLs.
|
||||
; x86 chuniio to path32, x64 to path64. Both are necessary.
|
||||
path32=brokenithm_x86.dll
|
||||
path64=brokenithm_x64.dll
|
||||
```
|
||||
Run the `brokenithm_server.exe` you extracted previously. A CMD window should open, with a message that it is waiting for a device on port 52468.
|
||||
Open the Brokenithm App on your Android device. At the top right, in the Address box, enter your PCs local IP address and then press the start button.
|
||||
You can now run your game via the `start.bat` as normal.
|
||||
|
||||
#### Automatically launching the Brokenithm server
|
||||
|
||||
!!! tip ""
|
||||
If you want the `brokenithm_server.exe` to automatically run when launching the game, you will need to modify `start.bat`.
|
||||
Open `start.bat` with a text editor, and add a new line containing `start /min brokenithm_server` above the existing `start /min inject_x64 ...` line, as shown below.
|
||||
```bat
|
||||
@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
|
||||
```
|
||||
This will only work if you copied the `brokenithm_server.exe` file to your `\App\bin` folder.
|
||||
|
||||
#### Slider Lights
|
||||
|
||||
!!! tip ""
|
||||
By default, the Brokenithm Server runs in `UDP` mode. This is done to decrease latency when connected over WiFi, however it does not send any lighting data to the tablet. The server also supports a `TCP` mode, which does send lighting data.
|
||||
|
||||
To run the Brokenithm Server in TCP mode, we need to start it with the ` -T` flag.
|
||||
|
||||
Navigate to the folder that contains your `brokenithm_server.exe`, click on the Address Bar at the top of the folder, type `CMD`, and hit enter. A Command Prompt window should open.
|
||||
In the Command Prompt window, type `brokenithm_server -T` and hit enter.
|
||||
|
||||
On your Android device, find the button labeled `UDP` at the top-center of the Brokenithm application. Tap the button to toggle to `TCP` mode. You should now be able to connect, using your PC's local IP, as described above.
|
||||
|
||||
If you are running the Brokenithm Server via the `start.bat` as shown in the previous step, simply add ` -T` to the end of the brokenithm_server line, as shown below.
|
||||
```bat
|
||||
start /min brokenithm_server -T
|
||||
```
|
||||
|
||||
#### Improving Latency
|
||||
|
||||
!!! tip ""
|
||||
As WiFi isn't the best for latency, it is preferable to run Brokenithm with your Android device tethered to your PC. This will require enabling Developer options, and USB debugging on your tablet. As this process varies by device, instructions are not included here.
|
||||
|
||||
Once you have USB debugging enabled, you will need to download and extract the [Android SDK Platform Tools](https://developer.android.com/tools/releases/platform-tools) to somewhere on your PC.
|
||||
Navigate to the folder you extracted the tools to, click in the Address bar, type `CMD` and hit enter to open a Command Prompt window.
|
||||
|
||||
Make sure your Android device is connected and that USB debugging is enabled.
|
||||
|
||||
In the Command Prompt window, type one of the following commands, depending on which mode you plan to run the server in.
|
||||
|
||||
**TCP**
|
||||
```bat
|
||||
adb reverse tcp:52468 tcp:52468
|
||||
```
|
||||
|
||||
**UDP**
|
||||
```bat
|
||||
adb reverse udp:52468 udp:52468
|
||||
```
|
||||
Start your `brokenithm_server.exe`.
|
||||
Open Brokenithm on your Android device, and in the address bar, change the IP to `0.0.0.0`. Press the start button to connect. You will now be connected via the USB cable.
|
||||
Run the game via the `start.bat` as normal.
|
||||
|
||||
If you extract the `platform-tools` folder to your `\Bin\app\` folder, you can add the following line to your `start.bat` to run this command when the game launches.
|
||||
```bat
|
||||
start /min platform-tools/adb reverse tcp:52468 tcp:52468
|
||||
```
|
||||
This should go above the line which starts the `brokenithm_server.exe`.
|
||||
|
||||
***
|
||||
|
||||
### Brokenithm iOS
|
||||
|
||||
!!! tip ""
|
||||
Running Brokenithm on an iPad requires either a jailbroken device, or another method to install .ipa files. Using [Sideloady](https://sideloadly.io/) is a popular method.
|
||||
|
||||
Before proceeding, you must uninstall the Microsoft Store versions of iTunes and iCloud (if present) then install the non Microsoft Store version from the [iTunes website](https://www.apple.com/itunes/download/win64). This is also covered under the **Important Windows Task** section of the Sideloady website.
|
||||
|
||||
Download the latest version of Brokenithm-iOS from the [redive.estertion.win](https://redive.estertion.win/ipas/Brokenithm-iOS-build-10.ipa) website. Install the .ipa to your device using your preferred method.
|
||||
|
||||
Download the latest version of the Brokenithm-Evolved-iOS server from the [redive.estertion.win](https://redive.estertion.win/ipas/Brokenithm/Brokenithm-Evolved-iOS-v0.3.7z) website.
|
||||
Extract the files to your `\App\bin\` folder. `aimeio.dll` and `chuniio.dll` can be deleted, as they are not required.
|
||||
|
||||
Download the latest version of the [Brokenithm-Evolved](https://gitea.tendokyu.moe/Dniel97/Brokenithm-Evolved/) IO dll files from the [releases tab](https://gitea.tendokyu.moe/Dniel97/Brokenithm-Evolved/releases). Extract the 3 dll files to your `\App\bin\` folder.
|
||||
|
||||
Open your `segatools.ini` with a text editor, and modify the `[aimeio]` section as shown.
|
||||
```ini
|
||||
[aimeio]
|
||||
; Uncomment this if you have custom (x64) aime implementation.
|
||||
; Leave empty if you want to use Segatools built-in keyboard input.
|
||||
path=aime_brokenithm.dll
|
||||
```
|
||||
Modify the `[chuniio]` section as shown.
|
||||
```ini
|
||||
[chuniio]
|
||||
; Uncomment this if you have custom chuniio implementation comprised of a single 32bit DLL.
|
||||
; (will use chu2to3 engine internally)
|
||||
;path=
|
||||
|
||||
; Uncomment both of these if you have custom chuniio implementation comprised of two DLLs.
|
||||
; x86 chuniio to path32, x64 to path64. Both are necessary.
|
||||
path32=brokenithm_x86.dll
|
||||
path64=brokenithm_x64.dll
|
||||
```
|
||||
Run the `Brokenithm-Evolved-iOS.exe` you extracted previously. A CMD window should open, with a message that it is waiting for a device.
|
||||
Open the Brokenithm App on your iPad, and connect it to your PC via a USB cable.
|
||||
You can now run your game via the `start.bat` as normal.
|
||||
|
||||
!!! note "Latency"
|
||||
As Brokenithm for iOS only connects via USB connection, there is no need to configure any extra network settings to improve latency.
|
||||
|
||||
#### Automatically launching the Brokenithm server
|
||||
|
||||
!!! tip ""
|
||||
If you want the `Brokenithm-Evolved-iOS.exe` to automatically run when launching the game, you will need to modify `start.bat`.
|
||||
Open `start.bat` with a text editor, and add a new line containing `start /min Brokenithm-Evolved-iOS` above the existing `start /min inject_x64 ...` line, as shown below.
|
||||
```bat
|
||||
@echo off
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
start /min Brokenithm-Evolved-iOS
|
||||
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
|
||||
```
|
||||
This will only work if you copied the `Brokenithm-Evolved-iOS.exe` file to your `\App\bin` folder.
|
||||
|
||||
***
|
||||
|
||||
## Tasoller
|
||||
|
||||
!!! note "Tasoller:"
|
||||
The Tasoller is an arcade accurate controller, produced by DJ-DAO.
|
||||
Out of the box, the Tasoller will only offer keyboard input, with no lighting support. To get full compatability with CHUNITHM, you will need to install [custom firmware](https://pixeldrain.com/u/DajSPEoa). Instructions on how to install the firmware are included in the archive.
|
||||
If you are using a controller that does not use keyboard inputs then you need to
|
||||
set SDL keybinds in `keyconfig.toml`, a list of valid SDL inputs can be found at the bottom of `keyconfig.toml`
|
||||
|
||||
!!! danger "Warning:"
|
||||
The Tasoller custom firmware is only compatabile with controllers running the DJ-DAO 2.0 firmware. If your controller was purchased after January 2022, it should have shipped with the update already applied.
|
||||
If your Tasoller was purchased before 2022, and is still using the original firmware it shipped with, you will need to first update to 2.0 by following the guide on [DJ-DAO's website](https://www.dj-dao.com/en/support/11.html).
|
||||
Once you've updated your controller to the DJ-DAO 2.0 firmware, you can follow the instructions included with the Custom Firmware as normal.
|
||||
|
||||
!!! tip ""
|
||||
DJ-DAO doesn't directly provide any input assistance for customers wanting to play on data. Thankfully there are community members creating open source alternatives.
|
||||
There are two up to date drivers available for the Tasoller, with full support for Dniel97's segatools fork. Functionally these work the same as eachother, with the only difference being the language they are written in.
|
||||
|
||||
[chuniio-tasoller](https://gitea.tendokyu.moe/Scribbler/chuniio-tasoller) written in `zig`.
|
||||
[chuniio-rs](https://gitea.tendokyu.moe/beerpsi/chuniio-rs) written in `rust`.
|
||||
|
||||
Head to the `Releases` tab for your chosen driver, and download the latest package. For `chuniio-rs` make sure you download the `chusan.zip`.
|
||||
Extract the `*.dll` files to your `\App\bin\` folder.
|
||||
Make the required changes to `segatools.ini`, as shown in the `Configuration` section of the readme for the driver you have downloaded.
|
||||
If you use an analog input for the drums you may need to enable `analog_input =` in `config.toml`.
|
||||
|
||||
***
|
||||
|
||||
## YubiDeck
|
||||
|
||||
!!! note "YubiDeck:"
|
||||
The YubiDeck is an arcade accurate controller, produced by ZhouSensor and sold by YubiParts. It also includes a built in Aime card scanner.
|
||||
## Arcade Drums and other Controllers
|
||||
|
||||
!!! tip ""
|
||||
YubiDeck firmware updates are provided in the support section of the YubiParts website. Unfortunately the IO driver they provide is no longer available for download.
|
||||
|
||||
An open source alternative is available, [chuniio-yubideck](https://gitea.tendokyu.moe/beerpsi/chuniio-yubideck).
|
||||
Head to the `Releases` tab and download the latest package. Extract the `*.dll` files to your `\App\bin\` folder.
|
||||
Make the required changes to `segatools.ini`, as shown in the `Configuration` section of the chuniio-yubideck readme.
|
||||
|
||||
If you want to make use of the built-in card scanner, add the following line to the `[aimeio]` section in `segatools.ini`.
|
||||
```ini
|
||||
path=aimeio_yubideck.dll
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
## Arcade Panels and other Controllers
|
||||
|
||||
!!! tip ""
|
||||
If you're interested in connecting a real cabinet Slider and Airs, or possibly even DIYing your own controller, the [Cons&Stuff](https://consandstuff.github.io/) website and Discord community is a great place to start!
|
||||
If you're interested in connecting a real cabinet Drum, or possibly even DIYing your own controller, the [Cons&Stuff](https://consandstuff.github.io/) website and Discord community is a great place to start!
|
BIN
docs/img/taikonijiiro/io.png
Normal file
BIN
docs/img/taikonijiiro/io.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
Loading…
Reference in New Issue
Block a user