Medieval Arts – Prosperous Kaifeng Compatch
This patch fixes the compatibility issue between Medieval Arts ( 3.5.3 "Marches" update) and Prosperous Kaifeng (Update 5). Load it after both mods in your mod list.
The issue is that the game can only use one set of locator files at a time. The locator files from the mod that loads last will overwrite those from any mods loaded before it.
To fix this, I merged the locator entries from both Medieval Arts and Prosperous Kaifeng into a single set of files. Note that this fix needs to be redone whenever either mod updates its locator files.In case I stop updating this small fix, here is how you can do it yourself:
– Open the latest version of Medieval Arts. In the mod library, click the three dots next to Medieval Arts and select “Show in folder.” Inside that folder, go to gfxmapmap_object_data and copy building_locators.txt and special_building_locators.txt.
-Do the same for Prosperous Kaifeng: open its folder from the mod library and find its building_locators.txt and special_building_locators.txt. These files contain locator entries by province ID. You need the entry for Kaifeng. In game, enable debug mode and hover over Kaifeng to see its province ID, which should be 9822. In both Prosperous Kaifeng locator files, search for id=9822 and copy the entire locator block, for example:
{
id=9822
position={ 6571.000000 0.000000 2268.000000 }
rotation={ -0.000000 -0.945654 -0.000000 0.325174
}scale={ 1.000000 1.000000 1.000000 }
}
– Open the Medieval Arts locator files you copied earlier. In each of them, find the locator block for id=9822 and replace it with the block you copied from Prosperous Kaifeng. Save the files.
– Create a new personal mod and reproduce the same folder structure (gfxmapmap_object_data), then paste the updated Medieval Arts locator files into that folder. Make sure this new mod loads after Medieval Arts and Prosperous Kaifeng in your mod list so that its locator files overwrite theirs.
Required items:
Click the title to search on this site.
Medieval Arts — Steam Workshop
Prosperous Kaifeng — Steam Workshop
Revisions:
Old revisions of this mod are available below. Click the link to download.
