RimWorld

RimWorld

Faction Control (1.4-1.6)
Mantaleau 9 Oct, 2023 @ 12:12am
Correct Field Width
Correct Field Width

An essential correction for french speakers, and likely for other languages too !

The faction names are now readable. (In the french traduction, only the word "communauté" is visible.)

Before and after screenshots :

https://imgur.com/bRqFWLj.png

File `Settings.cs`, line 132 to 136.

Before:
foreach (var fd in FactionDensities) { Widgets.Label(new Rect(0, lastY, 150, 28), fd.Faction.LabelCap); if (Widgets.ButtonText(new Rect(160, lastY, 75, 28), fd.Enabled ? "On".Translate() : "Off".Translate())) fd.Enabled = !fd.Enabled;
After:
foreach (var fd in FactionDensities) { Widgets.Label(new Rect(0, lastY, 270, 28), fd.Faction.LabelCap); if (Widgets.ButtonText(new Rect(280, lastY, 110, 28), fd.Enabled ? "On".Translate() : "Off".Translate())) fd.Enabled = !fd.Enabled;

  • Changed 150 to 270.
  • Changed 160 to 280.
  • Changed 75 to 110.

If someone reading this post cannot compile from the source, use dnSpy to edit IL instructions, and save the file in place.

I will maybe give instructions to edit the dll file in a hex editor directly ?

My english is not perfect, please excuse any mistake.
< >
Showing 1-4 of 4 comments
Mantaleau 9 Oct, 2023 @ 12:31am 
You can't just download the patch I specified.

I don't know what I'm going to do. I will try to contact TheRealLemon about this fix. Best would be to update the mod directly. If that doesn't work, maybe I'll try creating a mod, with the updated "FactionControl.dll" file. Or just instructions, in this thread or elsewhere, for patching and compiling the mod.

If someone is interested by this patch, please write a message in this thread, thanks.
Mantaleau 9 Oct, 2023 @ 3:29am 
hex patch:

00 00 04 22 00 00 16 43 22 00 00 => 00 00 04 22 00 00 87 43 22 00 00 00 00 0a 22 00 00 20 43 02 7b => 00 00 0a 22 00 00 8c 43 02 7b 00 00 04 22 00 00 96 42 22 00 00 => 00 00 04 22 00 00 dc 42 22 00 00
TheRealLemon  [developer] 1 Apr, 2024 @ 11:10am 
will update this with 1.5
TheRealLemon  [developer] 14 Apr, 2024 @ 9:44am 
Should be in the update coming today
< >
Showing 1-4 of 4 comments
Per page: 1530 50