YapYapMoreLanguages
YapYapMoreLanguages is a BepInEx mod for the game YAPYAP that allows players and modders to add custom languages for voice commands.
About this mod Author’s original text
YapYapLanguageAPI
BepInEx plugin for YAPYAP that adds custom Vosk speech recognition languages and command grammars.
Installation
- Install BepInEx for YAPYAP.
- Put YapYapLanguageAPI.dll in BepInEx/plugins.
- Install or create your language addon of choice
Or use your preferred mod manager
Adding a Language
Two things are enough:
- Vosk model — Put the model folder in Models/ (e.g. Models/vosk-model-small-nl-0.22).
- 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).
example
if you need a boilerplate project you can look at this github page for an example of how to implement you own language
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.
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- 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.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- 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.
Install these first, or the mod will not work: