klammvs-STRAFCHAT icon

STRAFCHAT

Translate STRAFTAT chat and voice chat locally. Offline and private.

Last updated a day ago
Total downloads 21
Total rating 0 
Categories Mods Vanilla compatible AI Generated
Dependency string klammvs-STRAFCHAT-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305
kestrel-Mod_Menu-1.2.0 icon
kestrel-Mod_Menu

Configure your mods ingame!

Preferred version: 1.2.0

README

STRAFCHAT

Translate STRAFTAT chat and voice chat locally on your PC. Offline, private, open-source.

  • Chat: translates incoming and outgoing messages.
  • Voice captions: shows and translates what players say in voice chat.
  • Needs 1-5GB of disk space and 1-3GB of RAM or VRAM, depending on the model.
  • Translations can be inaccurate or sometimes skipped.

What

  • 44 languages: English, French, Russian, Spanish, Chinese, Arabic, Bulgarian, Cantonese, Catalan, Chinese (Traditional), Croatian, Czech, Danish, Dutch, Filipino, Finnish, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Kazakh, Latvian, Malay, Marathi, Mongolian, Norwegian, Persian, Polish, Portuguese, Romanian, Serbian, Slovak, Slovenian, Swedish, Thai, Turkish, Ukrainian, Urdu, Uyghur, Vietnamese.
  • + 21 languages translated but not displayed: Amharic, Armenian, Assamese, Bengali, Burmese, Dhivehi, Georgian, Gujarati, Kannada, Khmer, Korean, Lao, Malayalam, Odia, Punjabi, Sinhala, Tamil, Telugu, Tibetan, Tigrinya and Western Armenian, because the game has no font for them. If someone writes in Korean or Bengali, you still get a translation in your language but original text is not displayed.
  • Voice captions: captions next to the game's voice chat indicator, with the spoken language and a translation.
  • Automatically picks the language from what players write and say, their names and the lobby name.
  • Keeps map and weapon names. Respects in-game profanity filters. Tries to handle slang and abbreviations.
  • If translating is slow, the original is sent after the timeout (1.5s).
  • Can hide the translations other STRAFCHAT mod users send, so you see only what they originally typed.

How

  • Downloads the model (from Hugging Face) and llama.cpp (from GitHub).
  • AI models are taken as is, with no fine-tuning. They are free and open-source.
  • Runs a small AI model locally on GPU or CPU. No chat or data is sent anywhere. Only with 'Share my language' on, the mod sends a hidden hint with your language, so other STRAFCHAT mod users in the lobby can automatically translate their messages for you.

Setup

  1. Install BepInEx 5 and Mod Menu 1.2.0 (or MONOLITH). We recommend using MONOLITH for richer features.
  2. Pick your language in Mod Menu. The first start downloads the model.

Models

Model Pick it for Disk GPU CPU only
Gemma 4 E2B (default) Balanced 3.1 GB 1.5 GB VRAM + 1.8 GB RAM 3.4 GB RAM
Gemma 4 E4B Best quality, slow 5.0 GB 3.1 GB VRAM + 2.2 GB RAM 5.6 GB RAM
Tencent Hy-MT2-1.8B Slightly faster 1.1 GB 1.3 GB VRAM + 0.2 GB RAM 1.3 GB RAM

Voice captions add 1 GB of disk and 1.1 GB of VRAM on GPU, or RAM on CPU.

Downloaded models can be deleted in the Downloaded models section of the mod settings, or manually:

  • Windows: %USERPROFILE%\AppData\LocalLow\LemaitreBros\STRAFTAT\STRAFCHAT
  • macOS: ~/Library/Application Support/LemaitreBros/STRAFTAT/STRAFCHAT
  • Linux: ~/.config/unity3d/LemaitreBros/STRAFTAT/STRAFCHAT
  • Linux (Proton): ~/.steam/steam/steamapps/compatdata/2386720/pfx/drive_c/users/steamuser/AppData/LocalLow/LemaitreBros/STRAFTAT/STRAFCHAT

Credits

  • toast - mod icon from STRAFTAT montage.
  • veits, RETROSPEC - testing and feedback.

License

MIT. The models and llama.cpp are downloaded from their publishers under their own licenses (Apache 2.0 and MIT). See THIRD-PARTY-NOTICES.md.