2024-05-21 20:29:18 +00:00
|
|
|
# Rizu
|
|
|
|
A Tachi score hook for maimai DX.
|
|
|
|
|
|
|
|
Tested versions:
|
|
|
|
- BUDDiES
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
First, get the [config file](https://kamai.tachi.ac/client-file-flow/CIaa7b4d91041688189231cfc696c0754120b1790b) and
|
2024-05-21 20:58:22 +00:00
|
|
|
place it in the same folder as the game executable (Sinmai.exe), then follow **only** one of three methods:
|
|
|
|
- [BepInEx (fast)](#bepinex-fast)
|
|
|
|
- [BepInEx](#bepinex)
|
|
|
|
- [Hard-patching using MonoMod](#hard-patching-using-monomod)
|
|
|
|
|
|
|
|
### BepInEx (fast)
|
|
|
|
- Update [segatools](https://gitea.tendokyu.moe/Dniel97/segatools/releases/latest).
|
2024-05-23 09:18:12 +00:00
|
|
|
- Download [Rizu-BepInEx-v0.1.2.zip](https://gitea.tendokyu.moe/beerpsi/Rizu/releases/download/v0.1.2/Rizu-BepInEx-v0.1.2.zip).
|
2024-05-21 20:58:22 +00:00
|
|
|
- Extract the zip into the base game folder (containing `Sinmai.exe`).
|
|
|
|
- Edit `segatools.ini`, adding this entry:
|
|
|
|
```ini
|
|
|
|
[unity]
|
|
|
|
targetAssembly=BepInEx\core\BepInEx.Preloader.dll
|
|
|
|
```
|
2024-05-21 20:29:18 +00:00
|
|
|
|
|
|
|
### BepInEx
|
|
|
|
#### Installing BepInEx
|
|
|
|
- Update [segatools](https://gitea.tendokyu.moe/Dniel97/segatools/releases/latest).
|
|
|
|
- Download [BepInEx 5](https://github.com/BepInEx/BepInEx/releases/tag/v5.4.23.1).
|
|
|
|
- Extract the `BepInEx` folder from the archive into the base game folder, ignoring other files.
|
|
|
|
- Edit `segatools.ini`, adding this entry:
|
|
|
|
```ini
|
|
|
|
[unity]
|
|
|
|
targetAssembly=BepInEx\core\BepInEx.Preloader.dll
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Installing the score hook
|
2024-05-23 09:18:12 +00:00
|
|
|
- Download [Rizu-v0.1.2.zip](https://gitea.tendokyu.moe/beerpsi/Rizu/releases/download/v0.1.2/Rizu-v0.1.2.zip).
|
|
|
|
- Extract it into the base game folder.
|
2024-05-21 20:29:18 +00:00
|
|
|
|
|
|
|
In the end, your game directory should look like this:
|
|
|
|
```
|
|
|
|
└───BepInEx
|
2024-05-23 09:18:12 +00:00
|
|
|
└───plugins
|
|
|
|
└───Rizu
|
|
|
|
├───Rizu.dll
|
|
|
|
└───Rizu.Core.dll
|
2024-05-21 20:29:18 +00:00
|
|
|
├───Sinmai_Data
|
|
|
|
├───Rizu.cfg
|
|
|
|
├───Sinmai.exe
|
|
|
|
└───segatools.ini
|
|
|
|
```
|
|
|
|
|
|
|
|
### Hard-patching using MonoMod
|
|
|
|
- Download [MonoMod](https://github.com/MonoMod/MonoMod/releases/latest).
|
2024-05-23 09:18:12 +00:00
|
|
|
- Download `Assembly-CSharp.Rizu.mm.dll` from [releases](https://gitea.tendokyu.moe/beerpsi/Rizu/releases/latest)
|
2024-05-21 20:29:18 +00:00
|
|
|
and place it in `Sinmai_Data/Managed`.
|
|
|
|
- Run `MonoMod.exe path\to\Sinmai_Data\Managed\Assembly-CSharp.dll` in a command prompt.
|
|
|
|
- Rename `MONOMODDED_Assembly-CSharp.dll` to `Assembly-CSharp.dll`, optionally backing up the original file.
|
|
|
|
|
|
|
|
## Development
|
2024-05-23 09:18:12 +00:00
|
|
|
Copy these files from `Sinmai_Data/Managed` into `External`:
|
2024-05-21 20:29:18 +00:00
|
|
|
- `Assembly-CSharp.dll`
|
|
|
|
- `UnityEngine.dll`
|
|
|
|
- `UnityEngine.CoreModule.dll`
|
|
|
|
- `UnityEngine.JSONSerializeModule.dll`
|
|
|
|
- `UnityEngine.UnityWebRequestModule.dll`
|
|
|
|
|
2024-05-23 09:18:12 +00:00
|
|
|
You will also need to download [MonoMod](https://github.com/MonoMod/MonoMod/releases/latest). and extract to `External`.
|
2024-05-21 20:29:18 +00:00
|
|
|
|
|
|
|
After that, the project can be restored and built normally.
|