First, you need to find the game's ID of the thing you want to add.
How to find ID?
First what you have to do, is go to Preferences, then Interface. Once there, tick the "Show screens IDs in Title Bar to assist skinning".

Now, after we ticked it, we will go to the thing we want to change. If it kits or logo, you will need the club's id. If it's a face you will need the player ID. For example, let's assume that we are looking for Barca's ID. We will go to Barca and see it in the title.

Now that we got the ID, let's start with the config file. Download this empty config file:
http://www.mediafire.com/view/?trefqve1rdn2h89
Put all the pictures that you want to add and the config file in a folder, and move the folder to Documents\Sports Interactive\Football Manager 2013\graphics.
Now that you have done that it's time to edit the XML file so the game will know where to read the pictures from. Open the file with Notepad or any XML editor. Leave everything that's already inside. What you need to do is to add lines between
<list id="maps"> and </list>. For any type of graphics there is a different line to add.
Home Kit : "<record from="PICTURE" to="graphics/pictures/team/ID/kits/home"/>"
Awat Kit : "<record from="PICTURE" to="graphics/pictures/team/ID/kits/away"/>"
Third Kit : "<record from="PICTURE" to="graphics/pictures/team/ID/kits/third"/>"
Third Kit : "<record from="PICTURE" to="graphics/pictures/team/ID/kits/third"/>"
Club's Logo : "<record from="PICTURE" to="graphics/pictures/club/ID/logo"/>"
Club's Icon : "<record from="PICTURE" to="graphics/pictures/club/ID/icon"/>"
Nation's Logo : "<record from="PICTURE" to="graphics/pictures/nation/ID/logo"/>"
Nation's Icon : "<record from="PICTURE" to="graphics/pictures/nation/ID/icon"/>"
Competition's Logo : "<record from="PICTURE" to="graphics/pictures/comp/ID/logo"/>"
Competition's Icon : "<record from="PICTURE" to="graphics/pictures/comp/ID/icon"/>"
Continent's Logo : "<record from="PICTURE" to="graphics/pictures/continent/ID/logo"/>"
Continent's Big Logo : "<record from="PICTURE" to="graphics/pictures/continent/ID/huge"/>"
Player's Face : "<record from="PICTURE" to="graphics/pictures/person/ID/portrait"/>"
Player's Icon : "<record from="PICTURE" to="graphics/pictures/person/ID/icon"/>"
Change PICTURE to your picture name, and ID to the ID. So now for example, if we want to add Barca's logo the config file will look like this:
<record> <!-- resource manager options --> <!-- dont preload anything in this folder --> <boolean id="preload" value="false"/> <!-- turn off auto mapping --> <boolean id="amap" value="false"/> <!-- logo mappings --> <!-- the following XML maps pictures inside this folder into other positions in the resource system, which allows this folder to be dropped into any place in the graphics folder and still have the game pick up the graphics files from the correct places --> <list id="maps"> <!-- Auto generated by fmXML --> <record from="logo" to="graphics/pictures/club/1708/logo"/> </list> </record>
That's it guys. Just save the changes to the file and reload skin.
Notes:
- Pictures must be .PNG
- Normal picture size is 180x180
- Icon size is 25x25
Discussion: FM Graphics - How to make XML config files
6 comments have been posted so far.
stucamps the number goes where it says "ID". erase ID and replace it with the number. you are also missing " /kits/home"/> " after the ID number
Can you find the code to replace goalie kits? would it be " /kits/goalkeeper"/> "?
I've tried the above and it's not worked.
This is the file I've created. Is it ok?
For reference I've used the old Ireland pre 1922
Please help, this is the only thing missing now from my Falkland Islands nation.
<record>
<!-- resource manager options -->
<!-- dont preload anything in this folder -->
<boolean id="preload" value="false"/>
<!-- turn off auto mapping -->
<boolean id="amap" value="false"/>
<!-- logo mappings -->
<!-- the following XML maps pictures inside this folder into other positions
in the resource system, which allows this folder to be dropped into any
place in the graphics folder and still have the game pick up the graphics
files from the correct places
-->
<list id="maps">
<!-- Auto generated by fmXML -->
"<record from="52024163" to="graphics/pictures/nation/ID/52024163"/>"
</list>
</record>