Skip to content

bukowa/twuiplug

Repository files navigation

twuiplug

Build Version Downloads

Tool for modding (UI) in Total War games. It's made to (hopefully) save you some time.

Conversion XML <-> UI

Supported by >> upstream taw/etwng:

  • Empire: 204/205 (100%) - the only failing one is definitely corrupted
  • Napoleon: 201/201 (100%)
  • Shogun 2: 285/285 (100%)
  • Rome 2: 306/306 (100%)
  • Attila: 190/190 (100%)
  • Thrones of Britannia: 205/205 (100%)
  • Warhammer 1: 270/271 (100%)
  • Warhammer 2: 348/349 (100%)
  • Troy: 393/395 (99%)
  • Three Kingdoms: 432/433 (100%)

Structure View

Note

Currently being improved for Rome 2. It may be a bit broken for other games. If you use it with other games and the structure view is broken for you - create an issue on the GitHub repository.

Usage

  1. Right-click on a file or directory (it will convert nested dirs):
  • img.png
  1. Open built-in structure view:
  1. Make sure to check these settings in structure view:
  1. Make sure you disabled grammar check for XML files (unless you like crazy CPU usage):

Some old gif

Installation

  • Using the IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "twuiplug" > Install

  • Using JetBrains Marketplace:

    Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.

    You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.

com.intellij.openapi.actionSystem.AnAction:all
com.intellij.openapi.actionSystem.AnActionEvent:all
com.intellij.openapi.actionSystem.impl.Utils:all

TODO

  • inform user if he has XML grammar enabled