You are viewing a potentially older version of this package. View all versions.
GOOGNA_DEV_SQUAD-YapYapMoreLanguages-1.0.7 icon

YapYapMoreLanguages

YapYapMoreLanguages is a BepInEx mod for the game YAPYAP that allows players and modders to add custom languages for voice commands.

Date uploaded 6 months ago
Version 1.0.7
Download link GOOGNA_DEV_SQUAD-YapYapMoreLanguages-1.0.7.zip
Downloads 39
Dependency string GOOGNA_DEV_SQUAD-YapYapMoreLanguages-1.0.7

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2304

README

YapYapLanguageAPI

BepInEx plugin for YAPYAP that adds custom Vosk speech recognition languages and command grammars.

Installation

  1. Install BepInEx for YAPYAP.
  2. Put YapYapLanguageAPI.dll in BepInEx/plugins/.
  3. Launch the game once so it creates languages.json, Models/, and Localisation/.

Adding a Language

Two things are enough:

  1. Vosk model — Put the model folder in Models/ (e.g. Models/vosk-model-small-nl-0.22/).
  2. Localisation file — Put a text file in Localisation/ (e.g. Localisation/dutch.txt).

Then add an entry for that language in languages.json (see below).

Dutch is included

The mod ships with Dutch support. Use it as a reference:

  • Model: Models/vosk-model-small-nl-0.22/
  • Localisation: Localisation/dutch.txt

Copy that setup and adapt filenames and content for your language.

Localisation format

One line per command:

KEY :: word1-word2-word3

Example (Dutch):

SPELL_ARC_BLINK :: FLITS
SPELL_ARC_SWAP :: WISSEL

languages.json

Example entry:

{
  "languages": [
    {
      "id": "dutch",
      "displayName": "Nederlands (Community)",
      "systemLanguage": "Dutch",
      "modelFolder": "Models/vosk-model-small-nl-0.22",
      "localisationFile": "Localisation/dutch.txt",
      "fallback": "english"
    }
  ]
}
  • id — lowercase identifier
  • displayName — name in the in-game language menu
  • systemLanguage — Unity SystemLanguage value
  • modelFolder — path to the model folder under plugins/
  • localisationFile — path to the .txt under plugins/
  • fallback — language id used if loading fails

License

MIT — see LICENSE.