You are viewing a potentially older version of this package. View all versions.
AlCool-ArabicChatFix-1.0.6 icon

ArabicChatFix

اكتب بالعربية في الدردشة وتظهر متصلة وصحيحة للجميع حتى بدون المود | Type Arabic in chat, seen connected & right-to-left by everyone, even without the mod

By AlCool
Date uploaded a month ago
Version 1.0.6
Download link AlCool-ArabicChatFix-1.0.6.zip
Downloads 24
Dependency string AlCool-ArabicChatFix-1.0.6

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100
Lavighju-espeakTTS-0.2.3 icon
Lavighju-espeakTTS

Changes the TTS to support multiple languages and adds voice customization

Preferred version: 0.2.3

README

Arabic Chat Fix

Type Arabic in R.E.P.O.'s chat and have it show up connected (proper joined letters) and in the correct right-to-left order — instead of the broken, disconnected, reversed text you normally get. It works for everyone in the lobby, even players who don't have the mod.

(النسخة العربية في الأسفل ⬇)

How it works (for players without the mod)

R.E.P.O.'s chat doesn't shape or reorder Arabic, so you get isolated, reversed letters. On send, this mod converts your Arabic into its final presentation-form glyphs in visual order, then transmits that. A client with no shaping engine (anyone without the mod) draws the "baked" text correctly, because there's nothing left to shape.

  • You type normally. While typing you'll still see raw letters (that's just the input box). On send it's fixed for everyone.
  • Players without the mod see your Arabic correctly. ✅
  • Players with the mod also see correct Arabic, and can read raw Arabic typed by players without it.

Install

Use a mod manager (Thunderstore / r2modman / Gale) and click install — it pulls in BepInEx automatically. Launch with Start modded.

Configuration (BepInEx/config/bandar.arabicrepo.cfg)

  • FixOutgoing (default true) — bake your typed Arabic on send so everyone sees it.
  • FixIncomingDisplay (default true) — locally reshape raw Arabic from players without the mod.
  • MaxLineChars (default 18) — wrap long messages so the first words stay on the top line and each line reads right-to-left. Lower it if a line still wraps oddly, raise it for fewer breaks; 0 lets the game wrap.
  • WordSeparator (default nbsp) — how words are separated so the chat reader doesn't stop at the first space (nbsp / narrow / thin / none / space).
  • CombineAllahLigature, KeepLatinAndNumbersInOrder, ReverseWordOrder.
  • SmoothFont (default true) + SmoothFontName (default Tahoma) — render Arabic from a clean system font so it looks genuine (affects only screens with the mod).

Notes

  • The live input box shows unshaped letters while you type — only the sent message is converted.
  • Voice (TTS): R.E.P.O.'s voice is generated on each listener's PC and the built-in engine can't pronounce Arabic, so the spoken voice can't be made Arabic for everyone.

Credits

Made by AlCool.


إصلاح الدردشة العربية (Arabic Chat Fix)

اكتب بالعربية داخل دردشة لعبة R.E.P.O. وستظهر الحروف متّصلة وبالاتجاه الصحيح من اليمين إلى اليسار، بدلاً من الحروف المقطّعة والمعكوسة التي تظهر عادةً. والأهم: تعمل لدى جميع اللاعبين في الغرفة، حتى من لا يملك المود.

كيف تعمل مع من لا يملك المود؟

دردشة اللعبة لا تصِل الحروف ولا ترتّب اتجاهها، لذلك تظهر العربية مقطّعة ومعكوسة. عند إرسال رسالتك، يحوّل المود النص إلى أشكال الحروف النهائية المتّصلة ويرتّبها بصرياً ثم يرسلها عبر الشبكة. النص "الجاهز" يظهر صحيحاً حتى على جهازٍ لا يعالج العربية إطلاقاً — لأنه لم يبقَ شيء ليُعالَج.

  • أنت تكتب بشكل طبيعي. أثناء الكتابة قد ترى الحروف غير متّصلة (هذا مجرد صندوق الإدخال)، وعند الإرسال تُصلَّح للجميع.
  • اللاعبون بدون المود يرون عربيتك بشكلٍ صحيح. ✅
  • اللاعبون الذين يملكون المود يرونها صحيحة أيضاً، ويمكنهم قراءة العربية الخام التي يكتبها من لا يملك المود.

التثبيت

استخدم مدير مودات (Thunderstore / r2modman / Gale) واضغط Install، وسيُثبَّت BepInEx تلقائياً. شغّل اللعبة عبر زر Start modded.

الإعدادات (BepInEx/config/bandar.arabicrepo.cfg)

  • FixOutgoing (افتراضي true) — تحويل نصّك عند الإرسال ليراه الجميع.
  • FixIncomingDisplay (افتراضي true) — إصلاح العربية الخام محلياً لقراءة رسائل من لا يملك المود.
  • MaxLineChars (افتراضي 18) — يلفّ الأسطر الطويلة بحيث تبقى بداية الجملة في الأعلى وكل سطر من اليمين لليسار. قلّل الرقم إذا انكسر السطر بشكل غير صحيح، وزِدْه لتقليل الأسطر؛ والقيمة 0 تترك اللعبة تلفّ النص.
  • WordSeparator (افتراضي nbsp) — طريقة الفصل بين الكلمات حتى لا تتوقف الدردشة عند أول كلمة (nbsp / narrow / thin / none / space).
  • CombineAllahLigature — دمج كلمة الله في الحرف ﷲ. KeepLatinAndNumbersInOrder — إبقاء الإنجليزية والأرقام بترتيبها. ReverseWordOrder — عكس ترتيب الكلمات لاتجاه صحيح.
  • SmoothFont (افتراضي true) + SmoothFontName (افتراضي Tahoma) — عرض العربية بخطّ نظامٍ نظيف لتبدو طبيعية (يؤثّر فقط على شاشتك وشاشات من يملك المود؛ جرّب مثلاً Segoe UI أو Sakkal Majalla أو Dubai).

ملاحظات

  • صندوق الكتابة يعرض الحروف غير متّصلة أثناء الكتابة؛ تُصلَّح الرسالة عند الإرسال فقط.
  • الصوت (TTS): صوت اللعبة يُولَّد على جهاز كل لاعب، والمحرّك الافتراضي لا ينطق العربية، لذا لا يمكن جعل الجميع يسمع الكلام بالعربية.

الصانع

صُنع بواسطة AlCool.


Parts of this mod were made with AI assistance — please keep the "AI Generated" category ticked when uploading. صُنِع هذا المود بمساعدة الذكاء الاصطناعي.

CHANGELOG

Changelog

1.1.0

  • Arabic chat is now spoken aloud in Arabic automatically: espeakTTS is included as a dependency, the message is un-baked right before it's spoken, and espeak's language is forced to Arabic for Arabic messages (no espeak configuration needed). The on-screen text stays readable for everyone.
  • Adds text-to-speech to all chat for everyone with the mod; set UnbakeForEspeak = false to disable. espeak's Arabic voice is Modern Standard Arabic (no dialects exist in espeak).
  • This replaces the separate Arabic TTS Bridge mod.

1.0.7

  • Fixed the Arabic section of the mod page to display right-to-left (correct direction and alignment). No gameplay changes.

1.0.6

  • Added a full Arabic translation of the mod page and the short description (bilingual). No gameplay changes from 1.0.5.

1.0.5

  • Added optional font smoothing: renders Arabic from a clean system font (default Tahoma) so letters look genuine. Local view only (you and modded friends); others still use the game font. Configurable via SmoothFont / SmoothFontName.

1.0.4

  • Added true right-to-left multi-line support. Long messages are wrapped by the mod so the first words stay on the TOP line and every line reads right-to-left (fixes the start ending up on the bottom line when the game wrapped long sentences).
  • New MaxLineChars setting (default 18) controls the wrap width; tune it to your overhead chat width.

1.0.3

  • Fixed multi-word messages showing only the first word. R.E.P.O. reads chat word-by-word and stopped at the space before an Arabic word; words are now joined with a non-breaking space so the game shows the whole phrase.
  • New WordSeparator option (nbsp / narrow / thin / none / space) to tune spacing if a separator renders oddly in the game font.

1.0.2

  • Fixed multi-word messages stalling on the first word: trailing spaces no longer become a leading empty word in R.E.P.O.'s word-by-word chat reader.
  • Added ReverseWordOrder option. true = full right-to-left order (default). false = shape each word but keep words in typed order (use if multi-word still stalls).

1.0.1

  • Fixed a startup crash (AmbiguousMatchException) when probing for the chat send method.
  • Hard-targets R.E.P.O.'s real chat methods: MessageSend + ForceSendMessage (works without config edits).
  • Added optional DebugLogging that prints the raw and converted text on each send, for troubleshooting.

1.0.0

  • Initial release.
  • Outgoing Arabic is shaped to presentation forms + reordered (visual RTL) on send, so all players — including those without the mod — see it correctly.
  • Optional local display reshaping for reading raw Arabic from non-modded players.
  • Lam-Alef ligatures, optional Allah (ﷲ) ligature, and Latin/number/email/URL run preservation.
  • Runtime reflection-based chat hook with config overrides and diagnostic logging to survive game updates.