Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Guides/Tips Hexer's Workshop: It's all about Hex (FMM21 and beyond)


Recommended Posts

17 hours ago, Manv said:

I remember you did a national team save some time ago...the national team u21 had a manager.

I'm curious on how did you do it! 

I've since retired, but that part was easy, and long-winded at the same time. Recommend you doing that with the national team you are in control only.

Link to comment
Share on other sites
6 hours ago, NguyenDucAnh said:

I've since retired, but that part was easy, and long-winded at the same time. Recommend you doing that with the national team you are in control only.

I see, thanks

Not sure where to edit though. my u21 are shite...any help on which values to change will be appreciated

 

Link to comment
Share on other sites
On 17/07/2022 at 19:15, Manv said:

Your player is English

Search for his UID????????????????????????????????????????+nation code.

In your case  c13d0000????????????????????????????????????????8b00

 

 

Got it.. Thanks

Link to comment
Share on other sites
On 26/09/2022 at 22:48, Kassian said:

How can i add new languages for players guys?

You can't outright add a new language, you have to take it from another person.

Link to comment
Share on other sites

hello how can i transfer clubs around the league i want to play in sky bet championship with st.johnston in scotland. 

you don't need to do it for me, just a pointers on what do i need to find and what to change when i found it. thank you have a good day everyone. 

Link to comment
Share on other sites
19 hours ago, shinegima032020 said:

Hello, how can I transfer clubs around the league I want to play in sky bet championship with St. Johnston in Scotland. 

you don't need to do it for me, just a pointers on what do I need to find and what to change when I found it. thank you have a good day everyone. 

You need to have the database first, and need to know which club and leagues. Which I will upload soon, extracting it was really a pain this year...

Link to comment
Share on other sites

Hello and thanks for great work for years.

 

I am trying to change human manager team through hex.

I searched for club string and find the club UId before it ( I got the it from sortitout and converted to hex and little endian) and I have the uid for the new club

I scrolled down to 080000ffffffffffff and located the manager uid 669b0000

I searched for the manager uid and got his page which contain club uid and birth date (but i can't detect the first and last name)

I changed the club UId with the new one and tried to load the save to find my self unemployed 

any tips to help me through the way

**Update1

 

** update 2

i finally get my way to edit the manager name, nationality, birth date and club 😍🤩

Edited by hossamallam
New info
Link to comment
Share on other sites
On 23/04/2022 at 02:23, Sumar said:

It ain't much but it does the strict minimum, if you just want to see Current ability and Potential ability it's enough.
sent you a link to download it @sahil7
When you open the exe, it will ask you to select a save (hidden.fms or fm_save1.fms for example)
this is how it looks tP4oA9H.png

Does it work on FMM23? If so, please send me the link.

Link to comment
Share on other sites

Can I create a new Cup and is it hard to do so if you don’t have any experience? I want to create a league cup in Germany.

Also, can I change an existing Cup/leagues format, for ex. making a playoff round for winning the Bundesliga?

I would appreciate an answer 🙏

Link to comment
Share on other sites

so I just changed my team B to the main team in the English 2 league, actually this is just a coincidence because I want to change team b dortmund to my team B but I got the wrong number and boom it's like this, my question is how do I find out this code? 63fe is the code to make stockport my b team I don't even know what this code is (63fe) I tried looking for it in the save file and couldn't find it.

Screenshot_20221214-233940_HEX Editor.jpg

Screenshot_20221214-233923_FM23 Mobile.jpg

Link to comment
Share on other sites

Hi everyone,

I decided to make a program that makes it easy to edit FM database files, I've managed to make a program to add and edit the name used by regen, now I want to make a program that can simplify the process of switching clubs, so everyone can make their league.

But I have a little problem reading club data, below are the chunk of Chelsea club data, 

BF 01 00 00           -> ID
76 02 00 00           -> UID
07 00 00 00           -> Fullname length
43 68 65 6C 73 65 61  -> Fullname
00                    -> Separator
07 00 00 00           -> Name length
43 68 65 6C 73 65 61  -> Name
00                    -> Separator 
05 00 00 00           -> Code Length
43 68 65 6C 73        -> Club Code Length
8B 00                 -> Based
8B 00                 -> National

After that, there is 154 bytes that I do not know, then there is 2 bytes that indicate league id, then again there is a vary number of bytes before next club, can someone point it to me, how to read the unknown bytes. I need to predict club bytes length to be able to list all club.

Here is the full bytes:

Quote

76 02 00 00 07 00 00 00 43 68 65 6C 73 65 61 00 
07 00 00 00 43 68 65 6C 73 65 61 00 05 00 00 00 
43 68 65 6C 73 8B 00 8B 00 FF 7F F5 14 21 04 C0 
7F FE 7F 4E 05 0A 00 80 7B 17 15 17 15 FE 7F FE 
7F 17 15 17 15 F7 14 FE 7F FE 7F 0E 00 21 04 C0 
7F 45 08 21 04 21 04 C0 7F 21 04 C0 7F 21 04 21 
04 0A 02 A5 7D 4E 05 4E 05 A5 7D FE 7F 4E 05 21 
04 4E 05 21 04 A5 7D 05 02 9C 73 5A 6B 5A 6B 21 
04 00 00 5A 6B 5A 6B 5A 6B 9C 73 21 04 05 02 93 
37 06 02 4E 23 21 04 00 00 06 02 4E 23 06 02 93 
37 21 04 0A 00 21 04 00 7D 21 04 21 04 21 04 00 
7D 21 04 00 7D 00 7D 21 04 01 14 14 D8 0F C4 09 
70 17 02 05 00 FF FF 00 14 00 05 00 08 00 00 00 
FF FF FF FF FF FF FF 00 04 2E 22 65 90 00 00 88 
EE 00 00 3C A5 00 00 FF FF FF FF FF FF FF FF 01 
00 04 40 00 00 BF 01 00 00 08 03 00 00 DF 00 DA 
07 01 00 6C 07 FF 34 00 C9 56 00 00 A3 21 01 00 
BC 31 01 00 D1 22 01 00 9B 72 00 00 11 7E 00 00 
3C A5 00 00 84 31 00 00 9F 7E 00 00 CC 2B 01 00 
27 85 00 00 10 33 01 00 DC 74 00 00 61 32 01 00 
4A F1 00 00 A4 9D 00 00 88 EE 00 00 29 7F 00 00 
12 7E 00 00 99 F3 00 00 25 F0 00 00 A0 7E 00 00 
92 7B 00 00 E5 64 00 00 AF 22 01 00 67 7C 00 00 
E3 7F 00 00 67 59 00 00 31 B7 00 00 78 65 00 00 
DE 0B 01 00 24 DE 00 00 DA 87 00 00 30 34 00 00 
E1 7F 00 00 61 7A 00 00 9B 59 00 00 15 81 00 00 
5E 80 00 00 E6 7F 00 00 86 7D 00 00 9E 7E 00 00 
0D 7E 00 00 C3 9F 00 00 E0 7F 00 00 85 40 01 00 
9C 7E 00 00 84 40 01 00 D6 CD 00 00 89 6F 01 00 
F8 40 01 00 71 6B 01 00 B4 04 00 00 23 22 00 00 
94 2E 00 00 91 31 01 00 FF FF FF FF C2 7A 00 00 
31 7F 00 00 26 2E 00 00 26 86 01 00 5C 24 00 00 
EB 22 00 00 FF FF FF FF 00 00 00 00 FF 00 00 FF 
00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 
00 FF 00 00 FF 00 00 FF 00 00 FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF

 

Edited by nyongrand
typo
Link to comment
Share on other sites

I tried comparing that with Chelsea Reserves as I assume they would be largely identical in colour and location, but weirdly I couldn't find a lot of matches. Would "50 46" relate to colour? I assume it's some kind of hex reference to blue as it appears in both Chelsea and Chelsea Reserves a lot. Would you have a program that compares the two?

Edited by Pete123
Link to comment
Share on other sites

There is a few program to compare binary files in GitHub, like this https://github.com/8051Enthusiast/biodiff/releases

I think I found a way to determine the start of club data, every club data will end with this 

00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

Edited by nyongrand
Edit info
Link to comment
Share on other sites

I started doing a program to load databases back at the launch of FM23, that I abandoned some time ago, but I've got lots of info about those files, namely:

  • version_info.dat
  • continent.dat
  • nation.dat
  • stadium.dat
  • regions.dat
  • city.dat
  • currencies.dat
  • languages.dat
  • competition.dat
  • club.dat

Could you confirm the version you are using (last two bytes of version_info)?  It seems the version I was using (2304) is different from yours as mine has another name field before nation codes. I also have some info on FM21 and FM22 database formats if thats what you are using.

Link to comment
Share on other sites
11 hours ago, MrCaseiro said:

I started doing a program to load databases back at the launch of FM23, that I abandoned some time ago, but I've got lots of info about those files, namely:

  • version_info.dat
  • continent.dat
  • nation.dat
  • stadium.dat
  • regions.dat
  • city.dat
  • currencies.dat
  • languages.dat
  • competition.dat
  • club.dat

Could you confirm the version you are using (last two bytes of version_info)?  It seems the version I was using (2304) is different from yours as mine has another name field before nation codes. I also have some info on FM21 and FM22 database formats if thats what you are using.

I use database downloaded from Pete123 FM22 Super League, this is the version_info byte: 03 01 74 61 64 2E 01 00 C2 08

Do you mind sharing the code, for now I need code to read these files:

  • nation.dat
  • competition.dat
  • club.dat
Edited by nyongrand
Link to comment
Share on other sites

I made a new European Super League database. I have based it on the Northern Ireland League and I have increased the reputation of the competitions in the usual way. It all seems to be working fine except budgets, which are much too low. This wasn't a problem in my other leagues so I guess it has something to do with the nation.dat and the reputation of Northern Ireland. However, I can't find anything that looks like a reputation variable. Can anyone help? Thanks!

Link to comment
Share on other sites
1 hour ago, nyongrand said:

I use database downloaded from Pete123 FM22 Super League, this is the version_info byte: 03 01 74 61 64 2E 01 00 C2 08

Do you mind sharing the code, for now I need code to read these files:

  • nation.dat
  • competition.dat
  • club.dat

The database format changes slightly with every new FMM, I have python scripts for both FMM21 and FMM23, but I don't have them for FMM22, if you are interested I can send you both, but keep in mind it will be something in the middle of them. 

Link to comment
Share on other sites
44 minutes ago, Pete123 said:

I made a new European Super League database. I have based it on the Northern Ireland League and I have increased the reputation of the competitions in the usual way. It all seems to be working fine except budgets, which are much too low. This wasn't a problem in my other leagues so I guess it has something to do with the nation.dat and the reputation of Northern Ireland. However, I can't find anything that looks like a reputation variable. Can anyone help? Thanks!

I have no idea how budgets are decided, but the closest thing to reputation in nations.dat that I could find was 22 bytes after the end of country code name, with the top ones being

18: Spain & England
17: Italy & Germany
16: Portugal & France

But it looks like country attractivity and not related to finances as some rich countries have a low value

Edited by MrCaseiro
Link to comment
Share on other sites
24 minutes ago, MrCaseiro said:

I have no idea how budgets are decided, but the closest thing to reputation in nations.dat that I could find was 22 bytes after the end of country code name, with the top ones being

18: Spain & England
17: Italy & Germany
16: Portugal & France

But it looks like country attractivity and not related to finances as some rich countries have a low value

Thanks! Will try to set Northern Ireland to the same as France and see what happens. 

Link to comment
Share on other sites
8 hours ago, MrCaseiro said:

The database format changes slightly with every new FMM, I have python scripts for both FMM21 and FMM23, but I don't have them for FMM22, if you are interested I can send you both, but keep in mind it will be something in the middle of them. 

Definitely interested! I'd love to have those scripts and learn from them. I'm always looking for new ways to improve my programming skills, so this would be a great opportunity for me. I totally get that the FMM22 scripts might not be available, but having the ones for FMM21 and FMM23 would still be super helpful. Thanks so much for offering!

Link to comment
Share on other sites
On 11/02/2023 at 19:35, nyongrand said:

Hi everyone,

I decided to make a program that makes it easy to edit FM database files, I've managed to make a program to add and edit the name used by regen, now I want to make a program that can simplify the process of switching clubs, so everyone can make their league.

But I have a little problem reading club data, below are the chunk of Chelsea club data, 

BF 01 00 00           -> ID
76 02 00 00           -> UID
07 00 00 00           -> Fullname length
43 68 65 6C 73 65 61  -> Fullname
00                    -> Separator
07 00 00 00           -> Name length
43 68 65 6C 73 65 61  -> Name
00                    -> Separator 
05 00 00 00           -> Code Length
43 68 65 6C 73        -> Club Code Length
8B 00                 -> Based
8B 00                 -> National

After that, there is 154 bytes that I do not know, then there is 2 bytes that indicate league id, then again there is a vary number of bytes before next club, can someone point it to me, how to read the unknown bytes. I need to predict club bytes length to be able to list all club.

Here is the full bytes:

 

Most of the chunk behind are for kits, which I sadly don't know how to properly edit. 158 bytes after the abbreviated name should be the league ID of the club, 7 bytes before that should be the youth and training facilities (14 is max), and 3 values after the league ID should be the ID of the league that the club was in before being in the current league. Right after that is the stadium ID.

15 hours ago, MrCaseiro said:

The database format changes slightly with every new FMM, I have python scripts for both FMM21 and FMM23, but I don't have them for FMM22, if you are interested I can send you both, but keep in mind it will be something in the middle of them. 

That's something I'd love to try too. Even though I kinda busy at the moment, some experiments with FMM might be a good way to blow some steam for me.

Link to comment
Share on other sites
On 11/02/2023 at 18:35, nyongrand said:

 need to predict club bytes length to be able to list all club.

Hi. I tried to remember the good old days and decipher the structure for you. I hope this will help you.
After the nationality code come the values that are responsible for the color of the away form, home form, third form, font color, icon color, background color, and form type. I didn't figure them out 100%, but I assume that the field I marked in red (144 bytes) in the screenshot is all responsible for the colors.

Next:

- Purple (01) is the value responsible for team status. 00 is the national team. 01 is the professional status of the club. 02 is semi-professional status for the club, and 03 is amateur.

- The green color is the training base of the club. The first value 14 is for training facilities, the second 14 is for youth facilities.
14 is the maximum value, if converted to decimal it is 20.

- Yellow is the attendance at the stadium. The first "c5 0e" is average attendance, the second "c4 09" is minimum attendance, "70 17" is maximum attendance.

- White is unknown. National teams have 00 there, clubs usually have 02 or 01.

- Orange (05 00) is the league code.

- Turquoise (14 00) is stadium code

- Blue (05 00) - last season's league code.

 

Below is also the reputation of the club and the ID numbers of the manager, staff and players

 

 

Screenshot_2023-02-14-14-52-49-763_com.myprog.hexedit.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...