When adding Korea to my Imjin mod I needed to edit the campaign_detail_mask.dds. Here is an explanation regarding how this file works.

The campaign_detail_mask.dds and campaign_detail_mask_low.dds (for less powerful computers) is located in the "campaign_maps\sho_japan\display\Detail" folder. This folder also has 4 folders relating to each of the 4 seasons (autumn, sipring, summer, and winter). Each of the channels in the campaign_detail_mask.dds controls which file in the season folder TWS2 uses.

The red channel tells TWS2 to use the campaign_detail_r.dds. This is usually used for impassable coasts (cliffs).

The green channel tells TWS2 to use the campaign_detail_g.dds. This is usually used for fertile areas (where crops are grown).

The blue channel tells TWS2 to use the campaign_detail_b.dds. This is usually used for mountains.

The alpha channel tells TWS2 to use the campaign_detail_a.dds. This is usually used for passable coasts (beaches).

Anything that's black tells TWS2 to use the campaign_detail_base.dds. This is usually used for grassy fields.

If these colours are blurred then TWS2 blurs two textures.


If you're planning to make a fantasy mod you can use these channels to create 5 different ground types. Though by blurring them you can have more variety.