Jump to content

How to link Player Profile to Photo?


Recommended Posts

<record>

	<boolean id="preload" value="false"/>

	<boolean id="amap" value="false"/>


	<list id="maps">
      <record from="<filename>" to="graphics/pictures/person/<uniqueID>/portrait"/>
      <record from="<filename>" to="graphics/pictures/person/<uniqueID>/portrait"/>
      <record from="<filename>" to="graphics/pictures/person/<uniqueID>/portrait"/>
      <!-- etc, as many lines as you want. Change <filename> the name of the png of the image you want to use and change <uniqueID> for the players unique ID
      	</list>
</record>

I have a list of players added to a team in my saves where I added their images to a folder (and named them <uniqueID>.png and then added the above file as config.xml

EMVPvwD.png

For examples here are a few lines from my file:

		<record from="53107605" to="graphics/pictures/person/53107605/portrait"/>
		<record from="53177984" to="graphics/pictures/person/53177984/portrait"/>
		<record from="53010252" to="graphics/pictures/person/53010252/portrait"/>
		<record from="53176221" to="graphics/pictures/person/53176221/portrait"/>

 

Edited by XaW
Link to post
Share on other sites

8 hours ago, XaW said:
<record>

	<boolean id="preload" value="false"/>

	<boolean id="amap" value="false"/>


	<list id="maps">
      <record from="<filename>" to="graphics/pictures/person/<uniqueID>/portrait"/>
      <record from="<filename>" to="graphics/pictures/person/<uniqueID>/portrait"/>
      <record from="<filename>" to="graphics/pictures/person/<uniqueID>/portrait"/>
      <!-- etc, as many lines as you want. Change <filename> the name of the png of the image you want to use and change <uniqueID> for the players unique ID
      	</list>
</record>

I have a list of players added to a team in my saves where I added their images to a folder (and named them <uniqueID>.png and then added the above file as config.xml

EMVPvwD.png

For examples here are a few lines from my file:

		<record from="53107605" to="graphics/pictures/person/53107605/portrait"/>
		<record from="53177984" to="graphics/pictures/person/53177984/portrait"/>
		<record from="53010252" to="graphics/pictures/person/53010252/portrait"/>
		<record from="53176221" to="graphics/pictures/person/53176221/portrait"/>

 

This is interesting. Would you please share more details (or instructions) on how to link a player profile to a photo I may have stored in my faces folder? Many thanks.

Edited by phd_angel
Link to post
Share on other sites

2 hours ago, phd_angel said:

This is interesting. Would you please share more details (or instructions) on how to link a player profile to a photo I may have stored in my faces folder? Many thanks.

What are wondering about? Those are the instructions. To recap:

1. Find the uniqueID of the player in question, can be done through the game by activating it in preferences)

image.png.6ad2555db101653128b9ca060f03ed36.png

image.png.e7cd0ac5ff205338d63a70ae1fb7445b.png

(The ID will show on the player screen below the player name)

2. Rename the file of the player to <uniqueID>.png
3. Open  and add the line

<record from="53177984" to="graphics/pictures/person/53177984/portrait"/>

Except you change "53177984" to the uniqueID both places in that line.

If you don't have a config.xml, the you need to add the whole file I linked above and call it config.xml

4. Make sure the folder with the image and XML are somewhere inside /Documents/Football Manager 2024/graphics
5. Go into the game and untick "use skin cache" and tick the "reload skin when confirming.." then click Confirm

image.png.49fbc373a67bb5c1f88cae1427ec88e5.png

image.png.979e7533f2de43a32e176f3353e0b60c.png

6. The skin will now reload, as well as loading in any player faces or logos or the like, and it will show on the player.

Link to post
Share on other sites

14 hours ago, Gingerdilligaf said:

I do similar but I use fmxml it saves having to create your own xml. 

Try this, makes a picture for every newgen in the game (although not for Kosovars for some reason, and you're free to use whatever newgen face pack you like, there's a cut out one at Sortitoutsi which is great):

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...