You've got a typo issue that keeps creeping back into the Koutoubia.xml file. I'm pretty sure one of the files I sent you with corrections had this taken care of but you must have missed the correction somewhere along the line. You have:
Code:
<Buildings>
<Row>
<Type>BUILDING_KOUT[B][COLOR="Red"]O[/COLOR][/B]BIA_MOSQUE</Type>
<BuildingClass>BUILDINGCLASS_KOUT[B][COLOR="red"]O[/COLOR][/B]BIA_MOSQUE</BuildingClass>
but to make these two lines match properly (and it is necessary to have everything match up) with everything elsewhere in the file you need:
Code:
<Type>BUILDING_KOUT[B][COLOR="Blue"]OU[/COLOR][/B]BIA_MOSQUE</Type>
<BuildingClass>BUILDINGCLASS_KOUT[B][COLOR="blue"]OU[/COLOR][/B]BIA_MOSQUE</BuildingClass>
Plus the <IconAtlas> line needs to be:
Code:
<IconAtlas>Mosque</IconAtlas>
I also changed these lines in the IconAtlas.xml file since you only have one image in each of the icon files.:
All these changes to the xml are in the attached version of the mod that I built on my end.
There was still something wrong with the wonder splash image, but I was able to fix that by opening the file in GIMP, saving it as GIMP's xcf format, and then exporting
that into a dds file. I did the same with the Icon files. I had no idea what settings to make so I simply did a convert using GIMP's default values from one format to the other.
Everything seems to be getting inserted properly into the game, but the Icon Sizes are still a little big in that they're overlapping the surrounding areas a little.
I've attached the built version of the mod I made in modbuddy so you can copy the wonder image file into the mod, and look at what the icon files are giving in-game with the changes I made. I think your basic problem (besides the sizes aren't quite right yet) is a setting incorrect in photoshop when you convert to dds format. But don't ask me what the wrong setting is: I'm very much in unknown territory here and feel like the Priestess from one of those old-time Star Trek episodes who has no idea whatsoever why she is pressing the big red button, but that's what she's been told to do when the star men come looking for spock's brain.
You can copy these files into your modbuddy project but 1st delete the ones you have in the project. When I do this I start modbuddy, then open the 'project' for the mod, then I delete within modbuddy the file I want to replace.
Then I do an "Add > Existing Item" as if there had never been a file with that name as part of the mod before. Other people may use slightly different methods, but this one has always worked for me for art files that I've, err...(borrowed ?) from other mod-makers.
I would make back-ups of your currrent versions of the dds files, though, in case you have trouble getting the version made by GIMP to open in photoshop.