michaeltmurrayuk Posted December 13, 2008 Share Posted December 13, 2008 [NOTE: FM2011 REQUIRES NO CHANGES TO THE MAKING OF CONFIG FILES FROM FM2010] To get most graphics you have created to display in game you need to also create a config file for them. A config file basically tells the game what the graphic is and where to display it. There are a couple of ways to create a config file: 1.Use a program that will create the file for you such as FM Graphics Configurator or fmxml. 2.Edit an existing config.xml file. 3.Create the file from scratch. How to create a config file from scratch. First thing you need to do is to create a blank file, the easiest way to do this is to open a new file with notepad, (or any other text or webpage editor) when you have opened a new file with notepad paste in the following code: <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"> </list> </record> This is the basic code that needs to be in every config file and you shouldn’t ever change any of the above code (well you can remove the commented lines if you want). The bit that you change depending on what you are creating is located between <list id="maps"> and </list> that is currently blank. Now what we are going to do is create a config file to display the normal logo for Manchester United, the code for this is: <record from="680" to="graphics/pictures/club/680/logo"/> So a config file just displaying this logo would 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"> <record from="680" to="graphics/pictures/club/680/logo"/> </list> </record> Now when you have pasted this code into notepad, you can save the file, goto File -> Save As and name the file config.xml – you need to ensure notepad saves the file as config.xml and not config.xml.txt. You have now created a config file, you now need to place this config file in the same folder as your Man Utd logo (in the above example the logo graphic would be called 680). Coding Examples The below codes show what you need to put into the config file to display certain graphics. In the below code: FILE_NAME – is the name of your graphic, in my example above it was 680 (note the lack of a file extension in the name). UNIQUE_ID – is the unique ID of the object, obtainable from the editor or in game. Club Logos: Normal Logo <record from="FILE_NAME" to="graphics/pictures/club/UNIQUE_ID/logo"/> Huge Logo <record from="FILE_NAME" to="graphics/pictures/club/UNIQUE_ID/logo/huge"/> Small Logo (or Small Flag for the case of countries) <record from="FILE_NAME" to="graphics/pictures/club/UNIQUE_ID/icon"/> Background Right Logo <record from="FILE_NAME" to="graphics/pictures/club/UNIQUE_ID/logo/background/right"/> Background Left Logo <record from="FILE_NAME" to="graphics/pictures/club/UNIQUE_ID/logo/background/left"/> For Nations replace club with nation For Competitions replace club with comp For Continents replace club with continent Also for Nations to replace the large flag (wizard and match screen) you need this code: <record from="FILE_NAME" to="graphics/pictures/nation/UNIQUE_ID/flag"/> 3D Kits To change the kits on the 3D match screen you need to add the following to the config file Home Kit <record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kit_textures/home"/> Away Kit <record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kit_textures/away"/> Third Kt <record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kit_textures/third"/> 2D Kits To display the 2D kits in the club information screen (like previous versions) you need the following code (provided you have applied the fix from radestock) Home Kit <record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kits/home"/> Away Kit <record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kits/away"/> Third Kit <record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kits/third"/> Now if after using the above codes for the kits one still doesn’t show you may need to edit the code, as the team may have a special kit they are using for a season, so to enable the kit to show for future seasons you need to add an extra line to the config file, you basically add the year to the end of the line: <record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kit_textures/third/2010"/> If 2010 doesn’t work try 2008 or 2009 etc... Player Faces Normal Face <record from="FILE_NAME" to="graphics/pictures/person/UNIQUE_ID/portrait"/> Small Face <record from="FILE_NAME" to="graphics/pictures/person/UNIQUE_ID/icon"/> UPDATE FOR FM2010 (This also applies to FM2011): ***** In FM2010 the way the editor creates players has changed and in some cases the unique id may change from game to game (especially if you add more than one editor file to your game) fortantley there is an alternative method to get player faces into the game without needing to know their unique id: Normal Face <record from="FILE_NAME" to="graphics/pictures/person/{FIRSTNAME} {SURNAME} {BIRTHDAY_DD}-{BIRTH_MONTH_MM}/portrait"/> Small Face <record from="FILE_NAME" to="graphics/pictures/person/{FIRSTNAME} {SURNAME} {BIRTHDAY_DD}-{BIRTH_MONTH_MM}/icon"/> So for example if your players name was John Smith and he was born 30th March (year doesn't matter) and the filename of your graphic was johnsmith the line for the normal face would look like: <record from="johnsmith" to="graphics/pictures/person/john smith 30-03/portrait"/> ***** The above examples all depend on the config.xml file being put into the same folder as the graphic file, now you can have the config file in the parent folder to the graphic(s) (This is how SI do it, but I don’t really like it) and if you are doing that you need to adjust the code to look like this: <record from="FOLDER/FILE_NAME" to="graphics/pictures/person/UNIQUE_ID/portrait"/> In the above example you have the config file and a folder called FOLDER in the same folder, but with the graphic in the folder called FOLDER. Editing an Existing Config File This is just a case of copying the file you want to edit to the location you want, then opening the file in notepad and changing either the filename or Unique ID to match your graphic/team. Using FMGraphics Configurator With programs like these, the best option is to name your graphics by unique ID, put all the graphics of the same type in one folder, load the program select the correct options and then drag the folder of graphics you want a config creating for into the program, and it will create the config file for you. FMGraphics Configurator Download Link Other tools may also be around, check out the various fansites or do a web search for them, links to the other programs were dead and thus removed. Finally when you are done, load the game to check that the graphics actually show and no error messages occur. Link to post Share on other sites More sharing options...
Tottiseiya Posted December 14, 2008 Share Posted December 14, 2008 Nice thread! Link to post Share on other sites More sharing options...
Sampa Posted December 14, 2008 Share Posted December 14, 2008 How do I do one for balls? Link to post Share on other sites More sharing options...
lfc_rule (and u kno it) Posted December 15, 2008 Share Posted December 15, 2008 great thread mate very helpfull Link to post Share on other sites More sharing options...
doc_ Posted December 18, 2008 Share Posted December 18, 2008 Hey guys, I'm having trouble changing the colour in the back of the 3d kits, it's always white. Any way of changing it? Thanks in advance, Cheers. Link to post Share on other sites More sharing options...
doc_ Posted December 18, 2008 Share Posted December 18, 2008 I mean, is there a config that let's you do that? (Just dodged a bullet there! Only after I wrote the other message did I realize this is a config file Thread...) Cheerio Link to post Share on other sites More sharing options...
DanGLiverpool Posted March 5, 2009 Share Posted March 5, 2009 Ok, I have made the config of a huge logo through fmxml, but how do I make it show up in my game, and more importantly, after I have created the config (Which is in the same file as the original picture, would it being JPeg while the pictures on the game are made as PNG make any difference?) is there anything else I need to do? Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted March 5, 2009 Author Share Posted March 5, 2009 Huge logos only show up on the news screen (possibly in the wizard aswell), as long as the config file is correct (it doesn't need the file extension) the logo will show. Link to post Share on other sites More sharing options...
DanGLiverpool Posted March 6, 2009 Share Posted March 6, 2009 Huge logos only show up on the news screen (possibly in the wizard aswell), as long as the config file is correct (it doesn't need the file extension) the logo will show. Ah ok, then my Staines Town badge will show somewhere. Link to post Share on other sites More sharing options...
Bananinha Posted May 17, 2009 Share Posted May 17, 2009 Now if after using the above codes for the kits one still doesn’t show you may need to edit the code, as the team may have a special kit they are using for a season, so to enable the kit to show for future seasons you need to add an extra line to the config file, you basically add the year to the end of the line:<record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kit_textures/third/2010"/> If 2010 doesn’t work try 2008 or 2009 etc... I can't fix this issue about future season kits. Does it work only with 2d kits? Or can i make this with 3d kits too? The kits i made for future seasons doesn't show up. Instead, they show the default kit. Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted May 17, 2009 Author Share Posted May 17, 2009 It works with both you just need to enter the correct year, the best method is to create 10 lines for each kit that won't show and do 10 years worth of entries, including at least the year before the one you are in. Link to post Share on other sites More sharing options...
mcleod_69_69_69 Posted May 30, 2009 Share Posted May 30, 2009 I am having trouble get my kits to work. I have created two kits for cork city, followed the code and made the config.xml file. but I can't seem to get in the game. Where do I put the 2d and 3d files, I can't seem to reference the original kit files. Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted May 30, 2009 Author Share Posted May 30, 2009 They go into your User Data folder which by default is \My Documents\Sports Interactive\Football Manager 2009\ You'll need to create a Graphics folder within that location if you don't already have one and then put the kits and config file within the same folder within the Graphics folder. (The name of the subfolders don't matter as long as they are in the graphics folder.) Link to post Share on other sites More sharing options...
mcleod_69_69_69 Posted May 30, 2009 Share Posted May 30, 2009 okay, thank, i'll give it ago Link to post Share on other sites More sharing options...
mcleod_69_69_69 Posted May 30, 2009 Share Posted May 30, 2009 I am having real problems, I am following your instructions exactly and i'm not having any luck. i am on a mac if that makes any difference?? Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted May 30, 2009 Author Share Posted May 30, 2009 This thread will give you instructions for a mac: http://community.sigames.com/showthread.php?t=37980 Link to post Share on other sites More sharing options...
mcleod_69_69_69 Posted May 30, 2009 Share Posted May 30, 2009 thanks alot Link to post Share on other sites More sharing options...
Leo751751 Posted June 6, 2009 Share Posted June 6, 2009 What sizes do the graphics have to be? Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted June 6, 2009 Author Share Posted June 6, 2009 Background logos 300x100 Normal/Huge Logos 180x180 Small Logos 25x18 Link to post Share on other sites More sharing options...
Leo751751 Posted June 8, 2009 Share Posted June 8, 2009 What about player faces etc? Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted June 8, 2009 Author Share Posted June 8, 2009 180x180 aswell Link to post Share on other sites More sharing options...
sk8ingperson1 Posted December 1, 2009 Share Posted December 1, 2009 ive followed every step in your posts to make new logos, and to apply them to a newly created team, but the badges don't show for my new team, but still do for the origional teams, for example, i add my team to premier league, all other league teams (except wigan, who i took out too add my team) show up with logos on both new manager screen and in-game. the unique ID is correct and i haven't mistyped the xml config file, and i know the correct boxes are ticked on preferences because the other teams' logos are showing up. so any ideas n what i've done wrong? or can u tell me who i could send the badge too and they could make it work. i've been trying to fix it for a whole day and still no joy Link to post Share on other sites More sharing options...
davieg Posted March 18, 2010 Share Posted March 18, 2010 Don't get it doh! Link to post Share on other sites More sharing options...
Dizzyfuzz Posted November 15, 2010 Share Posted November 15, 2010 Can anyone help with this. Im just trying to add individual pictures into players who I have within my squad. Im trying to load a player called Pape Sarr - his unique player ID is "106432" I have unticked the box staying - "use skin cache" and have the box ticked "reload skin on confirm" Here is a jpeg of my config.xml file and the picture im trying to use. http://img688.imageshack.us/img688/3328/footballthing.png I cant see where ive gone wrong.... ??? Link to post Share on other sites More sharing options...
Dizzyfuzz Posted November 15, 2010 Share Posted November 15, 2010 BUMP!! Anyone? Link to post Share on other sites More sharing options...
flogside Posted November 15, 2010 Share Posted November 15, 2010 michaeltmurrayuk you absolute beauty!! Im not sure what i did with one of those programs but all my facepacks are working again!! Had no luck on these forums so really appreciate this thread mate!! Thanks again!! Link to post Share on other sites More sharing options...
Dizzyfuzz Posted November 16, 2010 Share Posted November 16, 2010 Can anyone help with this.Im just trying to add individual pictures into players who I have within my squad. Im trying to load a player called Pape Sarr - his unique player ID is "106432" I have unticked the box staying - "use skin cache" and have the box ticked "reload skin on confirm" Here is a jpeg of my config.xml file and the picture im trying to use. http://img688.imageshack.us/img688/3328/footballthing.png I cant see where ive gone wrong.... ??? Can anyone help me with this, as Ive done everything this thread has asked and yet this picture wont work... Link to post Share on other sites More sharing options...
afterware Posted November 16, 2010 Share Posted November 16, 2010 Can anyone help me with this, as Ive done everything this thread has asked and yet this picture wont work... Does the name of the picture is 106432.png or 106432.PNG ? Sometimes it cannot load pictures with UPPERCASE in extension. Link to post Share on other sites More sharing options...
Dizzyfuzz Posted November 16, 2010 Share Posted November 16, 2010 Its definately lower case, but still doesnt work... really confused now, as everything appears to be correct. Could anyone help me out on this?? Link to post Share on other sites More sharing options...
Mr. Zeebuzer Posted November 17, 2010 Share Posted November 17, 2010 any program to create config file for Mac? Link to post Share on other sites More sharing options...
afterware Posted November 17, 2010 Share Posted November 17, 2010 Search if you have 106432 in some config.xml file in another folder. If so delete the entire line. Link to post Share on other sites More sharing options...
Mr. Zeebuzer Posted November 18, 2010 Share Posted November 18, 2010 any program to create config file for Mac? Link to post Share on other sites More sharing options...
radestock Posted November 18, 2010 Share Posted November 18, 2010 Not that I know of, but it's just as easy to create one by hand Link to post Share on other sites More sharing options...
amazin89 Posted January 2, 2011 Share Posted January 2, 2011 i have a config file that i want to turn off, is this possible. basically i'm using a mega logo pack, but i don't like the national flags used in it, can i turn them off without moving or deleting the folder. Link to post Share on other sites More sharing options...
jose77 Posted January 28, 2011 Share Posted January 28, 2011 UPDATE FOR FM2010 (This also applies to FM2011):***** In FM2010 the way the editor creates players has changed and in some cases the unique id may change from game to game (especially if you add more than one editor file to your game) fortantley there is an alternative method to get player faces into the game without needing to know their unique id: Normal Face <record from="FILE_NAME" to="graphics/pictures/person/{FIRSTNAME} {SURNAME} {BIRTHDAY_DD}-{BIRTH_MONTH_MM}/portrait"/> Small Face <record from="FILE_NAME" to="graphics/pictures/person/{FIRSTNAME} {SURNAME} {BIRTHDAY_DD}-{BIRTH_MONTH_MM}/icon"/> So for example if your players name was John Smith and he was born 30th March (year doesn't matter) and the filename of your graphic was johnsmith the line for the normal face would look like: <record from="johnsmith" to="graphics/pictures/person/john smith 30-03/portrait"/> ***** Not working ... Has anyone tried and it worked? Link to post Share on other sites More sharing options...
Fidney Posted March 10, 2011 Share Posted March 10, 2011 Not working ...Has anyone tried and it worked? I've got same problem. Works fine if I use the ID, but when I put /fred bloggs 31-01/ I just get the default faces. Has the syntax changed for 2011? Link to post Share on other sites More sharing options...
hammybhiy Posted April 4, 2011 Share Posted April 4, 2011 How do you get a config for adboards? Link to post Share on other sites More sharing options...
ILFANDY Posted May 24, 2011 Share Posted May 24, 2011 anybody ( I really hope this thread still alive), can I, FOR EXAMPLE, create a team and then take man utd's red (as my home kit), chelsea's blue (as my away kit), and liverpool's black (as my 3rd kit)? if this is possible, pliz guide me step by step. btw, I got the kits pack already. and one more thing, how can I take arsenal's logo as my team logo. Link to post Share on other sites More sharing options...
zenekkenez Posted May 16, 2013 Share Posted May 16, 2013 Who knows ? Please... HELP!!!!! Link to post Share on other sites More sharing options...
Cenationsoldier1 Posted June 25, 2013 Share Posted June 25, 2013 What about if you're trying to add multiple kits? I'm trying to make one for all Tahitian clubs? Link to post Share on other sites More sharing options...
CMdan44 Posted July 23, 2013 Share Posted July 23, 2013 UPDATE FOR FM2010 (This also applies to FM2011):***** In FM2010 the way the editor creates players has changed and in some cases the unique id may change from game to game (especially if you add more than one editor file to your game) fortantley there is an alternative method to get player faces into the game without needing to know their unique id: Normal Face <record from="FILE_NAME" to="graphics/pictures/person/{FIRSTNAME} {SURNAME} {BIRTHDAY_DD}-{BIRTH_MONTH_MM}/portrait"/> Small Face <record from="FILE_NAME" to="graphics/pictures/person/{FIRSTNAME} {SURNAME} {BIRTHDAY_DD}-{BIRTH_MONTH_MM}/icon"/> So for example if your players name was John Smith and he was born 30th March (year doesn't matter) and the filename of your graphic was johnsmith the line for the normal face would look like: <record from="johnsmith" to="graphics/pictures/person/john smith 30-03/portrait"/> ***** is there a similar thing for clubs and competitions? I've got a number of created clubs and competitions for which I would like to add a logo but their unique ID numbers will be the same as other created clubs and competitions because I'm using multiple editor files. On FM2012 by the way. Link to post Share on other sites More sharing options...
nine_iron Posted November 22, 2016 Share Posted November 22, 2016 In my old files I use graphics/pictures/clubs instead of /graphics/pictures/teams Is this an issue? Should I change my files even though they work? Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted November 23, 2016 Author Share Posted November 23, 2016 It depends on the graphics you are adding for example logos don't like it if you use the wrong one, whilst backgrounds require both club and team lines to show on each page. If they are working and showing on every page they should then its not a problem. (though you could always use the find and replace all command to update the config files). Link to post Share on other sites More sharing options...
GreyedOutMan Posted November 5, 2017 Share Posted November 5, 2017 I'm having trouble getting my custom kits into the game. The kits are stored in the folder shown here This is the xml code I've got in the folder...can anyone see what I've done wrong? <?xml version="1.0"?> -<record> <!-- resource manager options --> <!-- dont preload anything in this folder --> <boolean value="false" id="preload"/> <!-- turn off auto mapping --> <boolean value="false" id="amap"/> <!-- 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"> <record to="graphics/pictures/team/1548/kit_textures/home" from="1548h"/> <record to="graphics/pictures/team/1548/kit_textures/away" from="1548a"/> <record to="graphics/pictures/team/1548/kit_textures/third" from="1548t"/> <record to="graphics/pictures/team/1548/kits/home" from="1548h"/> <record to="graphics/pictures/team/1548/kits/away" from="1548a"/> <record to="graphics/pictures/team/1548/kits/third" from="1548t"/> </list> </record> Link to post Share on other sites More sharing options...
wkdsoul Posted November 5, 2017 Share Posted November 5, 2017 They arent 3d images for a start so the textures line wont work. Do any kits appear on the club overview or club general pages? Link to post Share on other sites More sharing options...
GreyedOutMan Posted November 5, 2017 Share Posted November 5, 2017 6 minutes ago, wkdsoul said: They arent 3d images for a start so the textures line wont work. Do any kits appear on the club overview or club general pages? None. So what needs to change? Link to post Share on other sites More sharing options...
wkdsoul Posted November 5, 2017 Share Posted November 5, 2017 This is clyde correct? Are they 160x160 size .png files try mine. clear cache and reload, move yours somewhere else for now. config.xml Link to post Share on other sites More sharing options...
GreyedOutMan Posted November 5, 2017 Share Posted November 5, 2017 7 minutes ago, wkdsoul said: This is clyde correct? Are they 160x160 size .png files try mine. clear cache and reload, move yours somewhere else for now. config.xml So literally just overwrite your file over mine? Link to post Share on other sites More sharing options...
wkdsoul Posted November 5, 2017 Share Posted November 5, 2017 4 minutes ago, GreyedOutMan said: So literally just overwrite your file over mine? No move yours somewhere else for now Link to post Share on other sites More sharing options...
GreyedOutMan Posted November 5, 2017 Share Posted November 5, 2017 Just now, wkdsoul said: No move yours somewhere else for now Yes, I've copied that already. Just put that file without touching it into the folder? Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.