VoiceInputFix

v1.0.9·Updated 2026-02-08

Improves voice command accuracy and response speed with a local offline model. Based on the local offline model, improves the recognition accuracy and response speed of voice commands.

About this mod Machine translation

VoiceInputFix (Fun-ASR / SenseVoice Edition)

Description

VoiceInputFix replaces the default YAPYAP speech recognition engine (Vosk) with Fun-ASR (SenseVoice), providing a modern and more reliable voice input experience:

Key Features

  • Much Better Chinese Recognition — The original Vosk engine has poor Chinese support. This mod significantly outperforms Vosk for Chinese voice commands.
  • Multi-language Support — Automatically detects Mandarin/Cantonese, English, Japanese, Korean, and allows specifying a recognition language.
  • Lower Latency — Voice commands respond faster than the original engine.

Note

  • The Fun-ASR model supports multilingual speech recognition.
  • However, the original Vosk engine shows significantly more stable recognition for English commands in this game

(other non-Chinese languages may behave similarly, but have not been tested), possibly due to its predefined command setup or potential pre-training.

  • Players who primarily use English voice commands are still recommended to use the original Vosk engine.

Dependencies

This mod requires the SherpaOnnxRuntime package to function. It provides the following core libraries:

  • onnxruntime.dll
  • sherpa-onnx-c-api.dll
  • sherpa-onnx.dll

Download Models

You must download the following files for the mod to work:

  • model.onnx (1.03GB) — Download
  • tokens.txt (940KB) — Download

(If the link opens in your browser, press Ctrl+S to save, or right-click and select "Save Link As...")

Alternative Models

  • Must be from the sherpa-onnx-sense-voice series (csukuangfj/sherpa-onnx-sense-voice on Hugging Face).
  • Model package must include model.onnx and tokens.txt and be placed in the models folder.

Installation

  • Critical: VoiceInputFix.dll and the models folder must be in the same directory.
  • Place them directly into BepInEx/plugins, or a subfolder like BepInEx/plugins/VoiceInputFix.

(Avoid Chinese characters in folder paths.)

  • Place model.onnx and tokens.txt inside the models folder.
  • Example path: BepInEx/plugins/VoiceInputFix/models/model.onnx

Performance

  • Initial Loading — First-time engine initialization may cause a significant screen freeze while loading the 1GB model. This is normal.
  • Menu Reloading — Returning to the main menu and re-entering the game introduces a short loading delay, but no freeze occurs.
  • Gameplay — Once a level is entered, recognition works immediately, smoothly, and with no performance impact.

Advanced Configuration

Config file: BepInEx/config/Mhz.voiceinputfix.cfg

  • SpeechThreshold (Default: 0.015) — Noise gate for triggering recognition.
  • Increase if background noise causes text to linger (e.g., 0.025)
  • Decrease if you need to shout to be recognized (e.g., 0.010)
  • Language (Default: auto) — Specify recognition language:
  • auto: Detects all supported languages (Mandarin/Cantonese, English, Japanese, Korean) automatically.
  • zh, en, ja, ko, yue: Prioritize recognition for the selected language.

(This only prioritizes matching, not strictly locking. Extremely similar pronunciations may still be recognized as another language.)

  • EnableDebugLog (Default: false) — Enable to view detailed recognition logs in the BepInEx console.

Chinese description

Module introduction

VoiceInputFix replaces the default Vosk engine of "YAPYAP" with Fun-ASR (SenseVoice), significantly improving the voice input experience:

  • Chinese recognition has been greatly improved - the original Vosk has poor support for Chinese, and this module is significantly better than the original version in recognizing Chinese commands.
  • Multi-language support - Automatic recognition of Mandarin/Cantonese/English/Japanese/Korean by default, you can also specify the recognition language
  • Lower latency - voice commands respond significantly faster than the original version

Notice

  • The Fun-ASR model itself supports multi-language speech recognition
  • However, the recognition performance of the original Vosk engine on in-game English commands is significantly more st …

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
  3. For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
  4. Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.

Install locations vary a lot between mods — the bundled readme is the most reliable guide.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPackMhz-SherpaOnnxRuntime

File & checksum

Filename
VoiceInputFix-1.0.9.zip
File size
200.2 KiB