this is from the FAQ in the stickys hope it helps
__________________________________________________ __
Adding pictures, logos, and kits to FM:
Any graphical enhancements to FM need to be formatted in a layered png format. It needs to have a transparent background, and the image needs to be in a floating layer. The easiest way to achieve this is to open a new canvas of the desired size in Photoshop, while having 'Background contents' set to 'transparent', and paste the image in there. It will then put the image in a floating layer. After that 'save as' and select '*.png' from the dropdown menu.
Different images require different sizes too, here's a quick list:
- Player/staff pictures can be 95 pixels wide x 95 high, maximum.
- Logos for clubs, competitions, or nations have a height of 50 pixels, but also keep the width low, as the logos might overlap the club or competition names.
- Kit sizes would be 52x40.
To have these images appear in FM, you need to save them in a new subfolder of "\data\graphics\pictures", and in that subfolder create a file called 'config.xml'. That file is basically a standard text-file, made with for instance Notepad, which tells FM to link images to certain data. It tells FM to load a picture in the profile of a player, a logo in the title bar for a club/nation, competition, and kits for the club information screen and match overview screen. FM uses unique ID numbers to recognise people, clubs/nations, and competitions. You need to know these numbers for every person, club, nation, or competition you want to add an image to. Upon checking "Show Unique IDs" in the "Options" or "Game Preferences" screen, and confirming, FM will show the ID under the item's name in the title bar. For logos and kits you need the club/nation ID.
The contents of the 'config.xml' will need to include the following to be recognised by FM:
Code:
<record> <boolean id="preload" value="false"/> <boolean id="amap" value="false"/> <list id="maps"> </list> </record>
And you also need to put a list of strings, telling FM where the images need to be shown, between "<list id="maps">" and "</list>".
A person string would look like this:
Code:
<record from="(image name without .png)" to="graphics/pictures/person/(UNIQUE PERSON ID)/portrait"/>
Club and nation strings would respectively look like these:
Code:
<record from="(image name without .png)" to="graphics/pictures/club/(UNIQUE CLUB ID)/logo"/> <record from="(image name without .png)" to="graphics/pictures/nation/(UNIQUE NATION ID)/logo"/>
A kit string would be any of these, for respectively home, away, and third kits:
Code:
<record from="(image name without .png)" to="graphics/pictures/team/(UNIQUE CLUB/NATION ID)/kits/home"/> <record from="(image name without .png)" to="graphics/pictures/team/(UNIQUE CLUB/NATION ID)/kits/away"/> <record from="(image name without .png)" to="graphics/pictures/team/(UNIQUE CLUB/NATION ID)/kits/third"/>
Mixing these in one 'config.xml' file is no problem, so the file could have the following content:
Code:
<record> <boolean id="preload" value="false"/> <boolean id="amap" value="false"/> <list id="maps"> <record from="player1" to="graphics/pictures/person/00000001/portrait"/> <record from="player2" to="graphics/pictures/person/00000002/portrait"/> <record from="player3" to="graphics/pictures/person/00000003/portrait"/> <record from="random club" to="graphics/pictures/club/001/logo"/> <record from="random club_home" to="graphics/pictures/team/001/kits/home"/> <record from="random club_away" to="graphics/pictures/team/001/kits/away"/> <record from="random club_third" to="graphics/pictures/team/001/kits/third"/> </list> </record>
__________________________________________________ __