Andrew Haines - Comments

Comments
#285045 FMC/FMT Stadium Superpack for FM17 [New pack released for FM17]
Andrew Haines
14 years ago
2 months ago
2
Premium
The way I do it is to use Excel functions.

If I have the team name in cell A1, the team ID in cell B2 and stadium code in cell C3 a fairly straightforward bit of coding gives the output for the config file.

Team Screens
=CONCATENATE("<record from=",CHAR(34),A1,"-team",CHAR(34)," to=",CHAR(34),"graphics/pictures/team/",B1,"/background",CHAR(34),"/>"
outputs as for example
<record from="arsenal-team" to="graphics/pictures/team/602/background"/>

[/b]Stadium Screens[/b]
CONCATENATE("<record from=",CHAR(34),A1,"-stad",CHAR(34)," to=",CHAR(34),"graphics/pictures/stadium/",C2,"/stadium",CHAR(34),"/>"
outputs as for example
<record from="arsenal-stad" to="graphics/pictures/stadium/5114336/stadium"/>

It's just a matter of filling in the team names and ID numbers and copying the formula down. The code is fairly similar for saving to other club/stadium/international screens.


..the smiley at the end of my code is supposed to be a speak mark and a closing bracket.
#285044 FMC/FMT Stadium Superpack for FM17 [New pack released for FM17]
Andrew Haines
14 years ago
2 months ago
2
Premium
As far as I know, there is no tool which allows you to automatically create a config file for these stadium images.

The way I do it is to "cheat" a bit

I use fmXML to create a config for player faces and then open the resulting config file with Notepad. I then replace all instances of /person and /portrait with /stadium


The way I do it is to use Excel functions.

If I have the team name in cell A1, the team ID in cell B2 and stadium code in cell C3 a fairly straightforward bit of coding gives the output for the config file.

Team Screens
=CONCATENATE("<record from=",CHAR(34),A1,"-team",CHAR(34)," to=",CHAR(34),"graphics/pictures/team/",B1,"/background",CHAR(34),"/>"
outputs as for example
<record from="arsenal-team" to="graphics/pictures/team/602/background"/>

[/b]Stadium Screens[/b]
CONCATENATE("<record from=",CHAR(34),A1,"-stad",CHAR(34)," to=",CHAR(34),"graphics/pictures/stadium/",C2,"/stadium",CHAR(34),"/>"
outputs as for example
<record from="arsenal-stad" to="graphics/pictures/stadium/5114336/stadium"/>

It's just a matter of filling in the team names and ID numbers and copying the formula down. The code is fairly similar for saving to other club/stadium/international screens.