An IME blocker for A Dance of Fire and Ice (ADOFAI).
The mod keeps Chinese / Japanese / Korean IME shortcuts from leaking into gameplay and restores the IME automatically while a text field is focused.
core/Patches.cs— Harmony patches (currently restoresLAlt/RAltfiltering for the async keyboard path).core/ImeBlocker.cs— per-frame IME state management (ImmAssociateContext+Input.imeCompositionMode).core/LmSettingsUI.cs— settings page built with the default UMM/IMGUI controls.core/Main.cs— loader-independent initialization, enable/disable lifecycle.loaders/— UMM / MelonLoader / BepInEx adapters.
UnityModManager, MelonLoader, BepInEx
ADOFAI 3.4.0+ (including the current 3.4.0 beta async-input build).
Requires the game path in .env (see .env.example):
dotnet build -c ReleaseDeploy + launch with a specific loader:
dotnet build -c Release -p:Loader=UMMPackage out/ into dist/:
scripts\pack.cmd