Dark UI (& variants) + Shidan’s T&F text patch

If you liked this item, please rate it up on Steam Workshop page.

Authors: (金)Leafeye, Nagarjuna

Last revision: 8 Jul, 2022 at 11:41 UTC

File size: 84.99 KB

On Steam Workshop

Description:

日本語もあります。

概要 (Summary)

Makes tool-tip colors for ‘Specialist’ and ‘Edge’ tier items and weapons orange to differentiate them from ‘Masterwork’ and ‘Meitou’ tiers when using Dark UI and its variants (Transparent UI, etc.). This concept is a feature of Shidan’s Tweaks & Fixes, where credit is due.

This will also overwrite the file that controls text color, in case there’s something in your load order that is overwriting Dark UI’s text colors.

* Much to my surprise, this doesn’t depend on Shidan’s T&F to enable the orange item-grade effect.


Dark UIや派生版のMOD(Transparent UI など)を使用する際に、装備等級の「熟練」と「Edge」のゲーム内表示をオレンジ色にして「傑作」や「メイトウ」のゲーム内表示と色で区別できるようにしました。
このコンセプトは、元々はShidan’s Tweaks & FixesというMODの特徴であり、認められるべき功績です。

また、Dark UIのテキストカラーを上書きするようなロードオーダーがあった場合、テキストカラーを制御するファイルを上書きします。

* このMODはShidan’s Tweaks & Fixes MODの有無に依存せずに、「熟練」と「Edge」のゲーム内表示をオレンジ色にすることが出来るらしいですよ。これはびっくり。

仕様 (Specifics)

The kenshi_colours.xml file in Shidan’s Tweaks & Fixes uses Vanilla text colors, some of which are illegible in Dark UI—meanwhile Dark UI doesn’t have the .xml edits to color item tiers orange like Shidan’s T&F does. One of these two issues will appear depending on load order when these two mods are active.

Since the FCS tool doesn’t control text color values, it can’t edit those values or add new fields the same way many other aspects of the game can be edited. Instead, text color values are inside an XML file, so even a single change requires replacing the whole file along with any previous file’s edits (which isn’t convenient, but oh well).

This patch contains edits of Dark UI‘s kenshi_colours.xml in the same way Shidan edited vanilla Kenshi‘s kenshi_colours.xml (by adding "ItemGrade5", giving it ItemGrade4’s hex color code, and then giving ItemGrade4 a new code).

This way all in-game text is legible in Dark UI and the expected text color change works while using Shidan’s T&F at the same time, regardless of which load-order they are placed in (since both are overwritten), while above this patch.

* The Dark UI background color in the main description-image is meant to showcase the good and bad points of each listed category, in case anyone missed that.


Shidan’s Tweaks & Fixesのkenshi_colours.xmlファイルは、バニラのKenshiのテキスト色を使っており、その一部はDark UIでは読み込まれません。
一方、Dark UIにはShidan’s Tweaks & Fixesのように装備等級をオレンジにするXMLファイルは存在しないので、「熟練」「Edge」と「傑作」「メイトウ」は色で区別されません。
この2つのMODが同時に有効な場合、ロード順によって上述したどちらかの問題が発生します。

FCSツールはkenshiの多くの部分を編集することが出来ますが、テキストの色値の制御はしないので、値を編集したり新しい値を追加したりすることは出来ません。その代わり、テキスト色の値はXMLファイルの中にあるので、一つの変更でも以前のファイルの編集と一緒にファイル全体を置き換える必要があります(これは便利ではありませんが、まぁいいでしょう)。

このパッチでは、Dark UIのkenshi_colours.xmlを、Shidan’s Tweaks & FixesがバニラのKenshiのkenshi_colours.xmlを編集する方法と同じ方法で編集します(ItemGrade5を追加してItemGrade4のhexカラーコードを与え、さらにItemGrade4を新しいhexカラーコードに変えています)。

この方法なら、全てのゲーム内のテキストはDark UIにより読みやすくなり、かつ期待される装備等級のテキスト色の変更も行えます。
Dark UIとShidan’s Tweaks & Fixesがどのロード順序で配置されているかに関わらず、このパッチより上にあれば(両方とも上書きされるので)期待通りの動作をします。

* メイン画像の背景色をDark UIにしたのは、各カテゴリーの良い点、悪い点をアピールするためです。

互換性 (Compatibility)

>> It won’t "break" anything, but it will indiscriminately replace any other kenshi_colours.xml loaded before it, which are most often included in GUI mods.

>> This patch is also recommended for GE0DZ’s Unoffical Kenshi Patches mod, since it includes Shidan’s Tweaks & Fixes.

>> You could technically place this below any gui mod, but the colors are straight out of specifically set for the Dark UI mod (& variants).


>> このパッチが何かを「壊す」ことはありませんが、それ以前に読み込まれた他のkenshi_colours.xml(GUI MODによく含まれるもの)を無差別に置き換えます。

>> このパッチはGE0DZ’s Unoffical Kenshi Patches modにも推奨されます(ShidanのTweaks & Fixesが含まれているからです)。

>> 技術的にはどのGUI MODの下にも置くことができます。しかし、色はDark UI(と派生版のMOD)のために特別に設定されたものをそのまま使用しています。

パーミッション (Permissions)

Just in case: nothing here is mine anyway.


念のため: ここにあるものは私のものではありません。

kenshi_colours.xmlのロケーション (Locations)

vanilla Kenshi
…steamappscommonKenshidataguicolourskenshi_colours.xml

Dark UI
…steamappsworkshopcontent2338601200632417guicolourskenshi_colours.xml

Shidan’s Tweaks & Fixes
…steamappsworkshopcontent233860913241774guicolourskenshi_colours.xml

Unofficial Kenshi Patches
…steamappsworkshopcontent2338602714086775guicolourskenshi_colours.xml

Dark UI + Shidan’s T&F patch
…steamappsworkshopcontent2338602832204543guicolourskenshi_colours.xml

*Must be subscribed to Steam mods you want to see files for.
ファイルの中身が見たいなら、Steam MODをサブスクライブしている必要があります。

Special Thanks

お疲れ様ですNagarjunaさん、and thank you for your translation—especially when given those excessive details.