I created Windows app for faster generating of FM Editor data.

This has always been an obstacle - especially when it comes to a huge amount of data. I know this from personal experience because I also added 1500 clubs - one by one. Never again!

With this program you can add that in just 1 minut.

Of course you need to have that data stored somewhere.

For my own data i use Excel - because its easy to work with lot of data and you can use numerous Excel formulas.


https://i.imgur.com/ATof82V.png https://i.imgur.com/nJcLMGF.png
https://i.imgur.com/ROI4kEj.png https://i.imgur.com/yXvqM8u.png
https://i.imgur.com/ev6ol6R.png https://i.imgur.com/sJ2akF8.png




I have plans to expand this to some people types (player, non-player, player/non player and official), awards, media sources. Also i want to create option to add club league history and club kits. For this i will need more time of course.

In the next few days, I will try to make a better tutorial - if necessary. The app is easy to use and there should be no problem with that. The only problem can be creating an input file because everyone who wants to do it will have to understand what it must look like and in what form the individual data must be.



In order to use this app you need to install Python to your Windows.

When you do that you can download my app. Download link is at the bottom of this post.

Extract zip file somewhere on disc D. I had some problems running this app on disc C probably because it uses batch script and Windows 10 wont work always with batch - who knows why.

You have shortcut in main folder so you can send it to your desktop in order to use it easier.

Same thing you can do with Input-Output folder.



Bellow you have a brief explanation of how adding 5 clubs works with data for the full name of the club, city and stadium.

Lets say you have 5 clubs in your excel sheet with added full name of the club, city and stadium. Remember all data that are record types in editor like cities, stadiums, clubs, competitions, nations... must be added to your excel in uid form. You cant set city of your club only with name of that city. Editor will recognize UID - not name.

https://i.imgur.com/mb3eVSm.png

As you can see i added same city uid and same stadion uid - not important because this is only example.

This is how your sheet should look like before you copy data to input.txt file.

https://i.imgur.com/T1sXMd7.png

Why do I have 2 UID columns at the beginning? Because i need first column for "Add club" option in my APP. Just like when you click in editor to ADD club.

Editor will add empty club with UID only.

I added an uid column in front of each data column you want to add.

This is important now - every other data need to have UID column and value column. So lets say we want to add clubs name. We need clubs UID so editor can recognize club - and we need clubs name.

Same for every other data.

Now we can create input.txt file.


Copy your columns from excel

https://i.imgur.com/HE3hUTK.png

to input.txt file. Its located in Input-Output folder. BTW this is only folder you need.

This is how input.txt looks like - same data like you have in excel.

When you copy your data from excel to txt file data columns are delimited with TAB - this is needed in order to generate data in proper way.

https://i.imgur.com/0K7mU57.png

Save input.txt and we are ready to use FM21 Editor Generator!!!



If you installed Python start my APP.

You will get this window. Its set by default to clubs but you can change tab if you want to add different kind of data.


https://i.imgur.com/ATof82V.png


So we decided to add clubs name, city and stadium. Thats why we will mark those 3 options in program.


https://i.imgur.com/J5BhLVL.png


Mark "Input.txt file is ready" and click on "Generate Script". You must mark this checkbox because script will not be created in proper way without this. Thats why i added this in order to remind you to check your input file.

You will see blinking of the python scripts for 4-5 seconds and at the end you will get popup message:


https://i.imgur.com/QidB99P.png


Click OK - in my case "U redu" - i use Serbian language Windows 😀

This means your script is ready to use.

Click on "Generate Output File" and your output file with generated clubs is created.

You will get popup message about that.


https://i.imgur.com/CbxWiFT.png


Again click OK.



Now when you check in Input-Output folder you will have Club_Output.txt file.

https://i.imgur.com/UqmqmUA.png

In that file you will have generated clubs in XML mode.

All you need is to copy content of this file to your lower league xml file and to load it in editor.

I will explain this also for users who doesnt know how to copy this to xml.

After this you should click on "Delete Created Script" in order to reset script file.

Its used for generating of all record types here so it will not work if you keep old data in it.

You have checkbox called "auto delete created script" if you are not sure you will remember to delete it.

Thats all for now. I hope you will enjoy using this program and save a lot of time and nerves 🙂

If you find any error please let me know so i can fix it asap.

If you have any question - feel free to ask.



I want to thank @emersonjr for pointing me in the right direction. Thanks buddy!!!



EDIT 6.2.2021.

Application is updated to version 1.1 because i had some issues with generating script - whoever had same issues - please download new version.

I added new option to generate XML from output file (click this button after you generate output file) so you can load XML in editor without any editing.




Comments
kingrobbo
14 years ago
57 minutes ago
11,305

Brilliant work my friend and thanks for sharing

kingrobbo
14 years ago
57 minutes ago
11,305

I will pin this topic too👍

Krlenjushka
10 years ago
2 years ago
46

Application is updated to version 1.1 because i had some issues with generating script  - whoever had same issues - please download new version.

I added new option to generate XML from output file (click this button after you generate output file)  so you can load XML in editor without any editing.

 

xNemesisx
5 years ago
2 years ago
54

Does this allow also adding new players via excel or what is your recommended methodology to add muliple players to the editor?

Krlenjushka
10 years ago
2 years ago
46
By xNemesisx 13 February 2021 - 16:08 PM UTC 

Does this allow also adding new players via excel or what is your recommended methodology to add muliple players to the editor?

 

I have plans to add this feature to next version. Players have so many data so i will have to sort some most important for that next version. I guess, first name, second name, CA, PA…

Krlenjushka
10 years ago
2 years ago
46

I created text file with explanation about form of input data. You can download this file from post #1 or here.

 

 

kingrobbo
14 years ago
57 minutes ago
11,305

this is great

 

I added new option to generate XML from output file (click this button after you generate output file) so you can load XML in editor without any editing.
 

Steinerized
13 years ago
8 months ago
122
Premium

Thx Jushka, this is one hell of an adding for editors out here! Hope somebody will take the humongous task converting it for the Mac system…

By now, i hope that win user will use it for the best!

Krlenjushka
10 years ago
2 years ago
46
By Steinerized 10 March 2021 - 09:07 AM UTC 

Thx Jushka, this is one hell of an adding for editors out here! Hope somebody will take the humongous task converting it for the Mac system…

By now, i hope that win user will use it for the best!

 

Its not possible because i use some script that works only on windows. Maybe in the future if i found some way to create it in different way. Anyway - its not problem for Mac users - you guys can ask someone with windows to generate file for you after you create input file.

Giacomo Bigoni
10 years ago
1 month ago
41

Hi, the free mirror is not working anymore. can you update it? Thank you 🙂

 

Abhi Pkh
2 years ago
7 months ago
8

Hi, thank you for creating this. Will it also work for FM20? Or do you have any that works for FM20?

Abhi Pkh
2 years ago
7 months ago
8

thank you for creating this. I did all the steps but do not know where to copy the output file, I need help please

xbenjaminx
10 months ago
10 hours ago
81
Premium

Hi,

 

This looks like a really good app. My question is that I need something that can input a very large amount of languages into the PGE. For clarity, I am referring to in-game languages that are spoken by staff and players. Would I be able to accomplish this using your program?

 

Kind regards

Bog Kołodziej
7 months ago
6 months ago
1

hey, you added shortcut file (to location:  D : \ R a d n i   F o l d e r \ F M 2 1   E d i t o r   G e n e r a t o r   v e r   1 . 1 )  instead of exe file in your FM21 Editor Generator ver 1.1.zip

Andrea Cassar
11 years ago
4 hours ago
1

first of all great app, was there an update on the player, player/nonplayer, nonplayer and official automation please?

You'll need to Login to comment