Skip to content

NicoriciN89/TLD_Skill-Adjustment-RU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skill-Adjustment (Russian localization fork)

A fork of Skill-Adjustment by Ezinw with added Russian language support.


Original mod

Author Ezinw
Source https://github.com/Ezinw/TLD_Skill-Adjustment
Version 1.2.4

All gameplay logic, skill values, and settings structure are taken directly from the original mod without changes.


Changes made in this fork

Russian localization (src/RuLocalization.cs)

The original mod displays all setting labels in English only. This fork adds Russian translations for every setting label and section header.

How it works:

The game (The Long Dark, Il2Cpp build) does not expose the classic NGUI Localization.dictionary API. Instead, this fork uses a Harmony Postfix patch on Il2Cpp.Localization.Get(string key):

[HarmonyPatch(typeof(Localization), nameof(Localization.Get))]
static void Postfix(string key, ref string __result)
{
    if (!key.StartsWith("SA.")) return;

    if (Localization.Language == "Russian")
        __result = s_ru[key]; // Russian label
    else
        __result = s_en[key]; // English label (fallback)
}

All SA.* localization keys defined in Settings.cs have both English and Russian entries.


Requirements

  • The Long Dark v2.51+
  • MelonLoader v0.7.2+
  • ModSettings v1.9.0 (bundled via NuGet)

Installation

  1. Copy Skill-Adjustment.dll to <TLD folder>\Mods\
  2. Launch the game — settings appear in the Mod Settings menu

Building from source

cd SkillAdjMod_Dev
.\build.ps1

Requires .NET 6 SDK. The build script copies the DLL to Mods\ automatically.


License

This project inherits the license terms of the original mod. All additions in this fork are released under the same conditions.

About

Fork of Skill-Adjustment by Ezinw with Russian localization (The Long Dark mod)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors