GGeery-ReppoModHU icon

ReppoModHU

Hungarian for REPO mods: translates hard-coded/IMGUI mod texts (EnemyTTS lines, HUD UI REPO WORLD, Map Selector...) and adds Hungarian pronunciation to the built-in robot TTS voice.

By GGeery
Last updated an hour ago
Total downloads 8
Total rating 0 
Categories Mods AI Generated
Dependency string GGeery-ReppoModHU-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

README

ReppoModHU

Hungarian language pack for R.E.P.O. mods. Two plugins:

ReppoModHU – mod texts

Hungarian translation for mod texts that XUnity.AutoTranslator cannot reach: strings drawn with IMGUI or hard-coded in a mod's code (for example the spoken lines of EnemyTTS monsters).

At load time it replaces the English string literals in the listed mods' methods with the Hungarian ones from ReppoModHU.txt (next to the DLL). Rules only touch the named assemblies and methods; missing mods are skipped, so it is safe to keep installed when a mod is removed. Literals that feed config entries are never changed.

Covered now: EnemyTTS (all monster lines), HUD UI REPO WORLD (HUD, map panel, teammate/cart/truck labels, in-game settings panel), Map Selector (map picker screen), plus AlwaysMap, ImprovedShop, LateJoinNow and BoomboxCartUpgrade when installed.

Rule file format: [AssemblyName] (a trailing * matches a prefix), then:

  • @methods <regex on "Namespace.Type::Method">: methods whose string literals are replaced by the english=magyar lines below (escapes: \=, \n, \\; leading and trailing spaces count);
  • @names <Type::Method>: the method's returned string is looked up in the XUnity Hungarian dictionary;
  • @tailnames <Type::Method> "<separator>": only the part after the last separator is looked up (e.g. level names);
  • @args <Type::Method> 0,1: the listed string parameters are looked up before the method runs (labels shared with config values stay untouched where they are stored);
  • @statics <Type::Field>: a static string / string[] / list field is translated once at start.

ReppoTTSHU – Hungarian robot voice

Adds Hungarian pronunciation to the game's built-in text-to-speech voice (the one that reads chat aloud). The game ships pronunciation rules for many languages but not Hungarian, so Hungarian text was read with English rules. This plugin adds:

  • Hungarian letter-to-sound rules (cs, sz, zs, gy, ny, ty, ly, dzs, long vowels, ö/ő/ü/ű, first-syllable stress);
  • Hungarian numbers, decimals ("három egész öt"), times, dates, units and currencies;
  • readings for common chat abbreviations (pl, kb, stb, xd, h, v, sztem...).

Config (ggeery.reppottshu.cfg, section Voice):

  • HungarianChat (default on): your chat messages are sent tagged as Hungarian. Start a message with [en] to have it read in English.
  • HungarianModSpeech (default on): mod speech without a language (EnemyTTS monster lines) is read in Hungarian.

Players without the mod hear Hungarian-tagged messages with English pronunciation, as before.

The rest of the Hungarian translation (game and mod UI) lives in XUnity.AutoTranslator files in the profile config.

Changelog

  • 1.0.0: first Thunderstore release (EnemyTTS lines, HUD UI REPO WORLD, Map Selector; Hungarian robot voice; new rule directives @tailnames, @args, @statics).