Rizu/README.md
2024-05-22 03:34:18 +07:00

2.3 KiB

Rizu

A Tachi score hook for maimai DX.

Tested versions:

  • BUDDiES

Installation

First, get the config file and place it in the same folder as the game executable (Sinmai.exe), then follow one of the methods below (either BepInEx or hard-patching using MonoMod).

BepInEx

Installing BepInEx

  • Update segatools.
  • Download BepInEx 5.
  • Extract the BepInEx folder from the archive into the base game folder, ignoring other files.
  • Edit segatools.ini, adding this entry:
[unity]
targetAssembly=BepInEx\core\BepInEx.Preloader.dll 

Installing the MonoMod loader for BepInEx

Installing the score hook

  • Download Assembly-CSharp.Rizu.mm.dll from releases and place it in BepInEx/monomod.

In the end, your game directory should look like this:

└───BepInEx
    └───monomod
        └───Assembly-CSharp.Rizu.mm.dll
├───Sinmai_Data
├───Rizu.cfg
├───Sinmai.exe
└───segatools.ini

Hard-patching using MonoMod

  • Download MonoMod.
  • Download Assembly-CSharp.Rizu.mm.dll fromreleases 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

Copy these files from Sinmai_Data/Managed into Rizu/External:

  • Assembly-CSharp.dll
  • UnityEngine.dll
  • UnityEngine.CoreModule.dll
  • UnityEngine.JSONSerializeModule.dll
  • UnityEngine.UnityWebRequestModule.dll

You will also need to download MonoMod. and extract to Rizu/External.

After that, the project can be restored and built normally.