inohara/README.md

62 lines
2.8 KiB
Markdown
Raw Normal View History

2024-05-19 22:24:05 +00:00
## Inohara
A µ3 score exporter for [Tachi](https://github.com/zkldi/Tachi).
### Supported versions
- 1.39
- 1.40
- 1.45
### Installation
2024-05-20 17:25:56 +00:00
First, get the config file [here](https://kamai.tachi.ac/client-file-flow/CIa914320cd344a8db712cf0c99254c205ca940463) and put it in the base game directory (next to `mu3.exe`), then follow one of the methods below.
2024-05-19 22:24:05 +00:00
2024-05-20 17:25:56 +00:00
#### The simple method
- Update [segatools](https://gitea.tendokyu.moe/Dniel97/segatools).
- Download `inohara.zip` from [releases](https://gitea.tendokyu.moe/akanyan/inohara/releases) and extract it into the base game directory.
2024-05-19 22:24:05 +00:00
- Modify this entry in `segatools.ini`:
```ini
[unity]
targetAssembly=BepInEx\core\BepInEx.Preloader.dll
```
2024-05-20 17:25:56 +00:00
- The game directory should look like this (abridged):
```
├── BepInEx
├── mu3_Data
├── inohara.cfg
├── mu3.exe
└── segatools.ini
```
#### The manual BepInEx method
- Download [BepInEx 5](https://github.com/BepInEx/BepInEx/releases/) and [BepInEx.MonoMod.Loader](https://github.com/BepInEx/BepInEx.MonoMod.Loader).
- Copy both `BepInEx` directories into the base game directory; omit `winhttp.dll`.
- Modify this entry in `segatools.ini`:
```ini
[unity]
targetAssembly=BepInEx\core\BepInEx.Preloader.dll
```
2024-05-19 22:24:05 +00:00
- If you don't have this entry, update segatools.
- If you insist on not updating segatools, instead copy `winhttp.dll` and rename it to `version.dll`.
2024-05-20 17:25:56 +00:00
- Download `Assembly-CSharp.Inohara.mm.dll` from [releases](https://gitea.tendokyu.moe/akanyan/inohara/releases) and put it in `BepInEx\monomod`.
2024-05-19 22:24:05 +00:00
2024-05-20 17:25:56 +00:00
#### The hardpatch method
- Download [MonoMod](https://github.com/MonoMod/MonoMod/releases).
- Download `Assembly-CSharp.Inohara.mm.dll` from [releases](https://gitea.tendokyu.moe/akanyan/inohara/releases) and put it in `mu3_Data\Managed`.
- Run:
```
MonoMod.exe mu3_Data\Managed\Assembly-CSharp.dll
```
- Backup `Assembly-CSharp.dll`.
- Rename `MONOMODDED_Assembly-CSharp.dll` to `Assembly-CSharp.dll`.
2024-05-19 22:24:05 +00:00
### Usage
2024-05-20 17:25:56 +00:00
Scores are sent after each play and that's it. You can nonetheless make sure it's running by enabling the console in `BepInEx\config\BepInEx.cfg` or the OSD in `inohara.cfg`.
#### Uploading older scores
Use [this script](https://gist.github.com/nyairobi/ffdf9e674f31987b1ffbd38d31b55f6c). You only have to do this once as Inohara will handle all future scores. If you are on a remote server, contact the admin.
**As a last resort**, you can toggle `ExportPBs` and upload the generated `batch-manual.json` [here](https://kamai.tachi.ac/import/batch-manual). Those PBs are industrial grade dogshit. Should the server admin provide you access to the playlog down the line, delete the `inohara-pb` import.
2024-05-19 22:24:05 +00:00
### Building
Provide your own `Assembly-CSharp.dll` (or `_unpacked`) and `UnityEngine.UI.dll`, then `dotnet restore`, `dotnet build`.