KenshiFixer

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

Author: wherethesunnoshine

Last revision: 6 Jun at 17:20 UTC

File size: 2.72 MB

On Steam Workshop

Description:
🛠️ Kenshi Fixer

What is Kenshi Fixer?

Kenshi Fixer is a Windows utility designed to help you diagnose and fix common mod issues in Kenshi based on your active load order.
Fix your load order automatically and eliminate most load-order-related warnings with a single click.
Generate a fix mod that repairs common modding mistakes before they turn into crashes, broken squads, or corrupted saves.


How to use

1 – Download this mod and place it at the bottom of your load order (make sure all the mods you’ll use in your playthrough are also enabled).

2 – Subscribe to KenshiPatcher then navigate to Steamsteamappsworkshopcontent2338603618459884 and open KenshiFixer.exe (I recommend creating a desktop shortcut to this).

3 – Sort your mods and create a Fixer mod (this mod should always be after all mods but before any KenshiPatcher patches)

sorting is done by:

  • Creator mods first orders mods by the number of new records they define
  • Optimize for minimum conflict reduces overwrite clashes between mods editing the same records
  • Sort in terms of identified dependency attempts to place record creators before mods that modify them
  • Sort in terms of explicit dependency orders mods according to declared dependencies in their mod metadata (the one which appears when hovering over the mod)

This sorting system removes most "yellow text" warnings caused by load-order resolution issues, though some may still appear due to missing dependencies or Kenshi Launcher limitations with long dependency lists (including KenshiPatcher patches).


🧪 Current Features
  • 🛠️ Auto-generate a stable fix mod that repairs specific crash-prone references
  • 🛠️ Restores back filepaths that are present in one mod, but deleted on the next one.

Automatic fix generation currently supports the following ExtraData fields:

  • SQUAD_TEMPLATE → faction → FACTION
  • SQUAD_TEMPLATE → leader → CHARACTER
  • SQUAD_TEMPLATE → squad → CHARACTER
  • SQUAD_TEMPLATE → squad2 → CHARACTER
  • SQUAD_TEMPLATE → animals → ANIMAL_CHARACTER
  • SQUAD_TEMPLATE → animals2 → ANIMAL_CHARACTER

If an invalid reference is found, the fixer:

  • Marks the broken reference as deleted in the generated fix mod
  • Injects a fallback record instead
  • Names the fallback clearly (e.g. restored_<stringid>_fallback) for easy inspection

If you know more ExtraData fields which if missing can cause crashes, let me know!


🛠️ Requirements


🔗 Kenshi Tools Collection
Looking for more Kenshi tools? Check out the tools collection:
📦 Kenshi Tools Collection


🔗 External Links

💬 Suggestions or bug reports? Leave a comment or even better, visit mydiscord[discord.com]. I actively maintain this tool.