Skip to content

Genpretz/Kensh_IME_Support_Plugin

Repository files navigation

IME Input Support for Kenshi

This mod adds Japanese IME (Input Method Editor) input support to Kenshi, allowing players using Japanese input methods such as Microsoft IME to type Japanese characters directly into in-game text fields. Without this mod, Japanese text input is not functional in Kenshi, forcing users to type in an external application like Notepad and copy-paste the result.

What it does

When you type using a Japanese IME, the mod intercepts the composition input, waits for you to confirm your selection, and then injects the finalized characters directly into the active MyGUI text field. Standard Latin keyboard input is completely unaffected.

Compatibility

This should work with the current version of Microsoft IME, but if you're having issues, set Microsoft IME to the previous version for compatibility.

This should also work with other languages that use IMEs, like Chinese and Korean, though this has not been personally tested.

Compilation

To compile this mod, you will need the following dependencies:

  • Microsoft Visual C++ 2010 Build Tools
  • KenshiLib

Notes

This mod was made in response to feedback from Japanese-speaking players who were unable to type native characters into the game, and I'd like to thank user @Momayo for helping facilitate communication with Kenshi's Japanese-speaking community.

About

Adds Input Method Editor (IME) support to Kenshi, enabling proper text input by hooking into the game’s input handling and window procedure.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages