FIFA 23 Minifaces for FIFA 05-10

EfekanP

Club Supporter

15.11.2022 UPDATE

I upscaled the minifaces from 100x85 to 200x170. Also, I added sofifa.com and futbin.com as sources. I fixed the pixelization issue too.

The number of players in the FIFA 23 Initial Database is 18532 (Women players excluded, generic players included)
The number of minifaces in this patch is 16680
The coverage: 90%

Example minifaces:

In-game screenshots:

Download link:

Log File: https://drive.google.com/file/d/1SWSns0ApFLhqQLpNXq6_dte7h_nC4Iw9/view?usp=sharing

__________________________________________________

Hi everyone,

As I mentioned in another topic, I converted minifaces for the players of FIFA 23 initial database from FIFA 23 (for missing minifaces between FIFA 16 and FIFA 22) by retrieving source files from futhead.com.

The number of players in the FIFA 23 Initial Database is 18532 (Women players excluded, generic players included)
The number of minifaces in my patch is 16316
The coverage: 88%

Example minifaces:


In-game screenshots:

You can find which miniface converted from which FIFA game.

Download link:

Instructions for FIFA 07-08:
Just extract the data folder in the zip file into your game folder. All minifaces are based on the players' IDs. So you make sure your players have the correct FIFA IDs.

I am not sure about the other games (but probably the same). If the locations of the minifaces are the same as "/GAME FOLDER/data/gui/asssets/heads/", you can use the same instruction that I mentioned above.
 
Last edited:

Dmitri

Reserves
Are you planning to keep default level of quality or increasing it also an option?
Because these photos will look much better if you increase the resolution. Original resolution is 75x75 if I'm not mistaken.
 

EfekanP

Club Supporter
Are you planning to keep default level of quality or increasing it also an option?
Because these photos will look much better if you increase the resolution. Original resolution is 75x75 if I'm not mistaken.
I do not know how to increase actually :D. If there is a way I could try. The original resolution is something like 100x84, but I am resizing source files to 83x83.
Are there minilogos link too?
I have some problems with logos I am trying to solve. After that, I will publish them.
 

Dmitri

Reserves
I do not know how to increase actually :D. If there is a way I could try. The original resolution is something like 100x84, but I am resizing source files to 83x83.

I have some problems with logos I am trying to solve. After that, I will publish them.
Original size is 100x85, and fsh texture size is 128x128.
So you need to make it 200x170 and 256x256 in fsh.
s_20801.png


Also, because of resolution increase, you may want to decrease the total size of facepack. So you may try 16-bit colors or dxt compression.
Size of 1 face:
32-bit (8888): 260 KB
16-bit (4444): 132 KB
dxt5: 68 KB
The difference is hardly visible ingame (8888, 4444, dxt5).
8888.png
4444.png
dxt5.png
 

Attachments

  • test_face_256.zip
    663.9 KB · Views: 38
Last edited:

EfekanP

Club Supporter
@Dmitri Thanks for the idea and all explanations. I have a question: how are .apt, .const, and .o files working and how are you creating them? I copied those files from an existing file. If I inserted upscaled fshs with existing files, it doesn't work. But I extracted them from your big files and then I packed them with upscaled fshs it worked. I am asking this because I want to upscale other GUIs (banners, logos, and mini kits).

Upscaled minifaces results:
 

Dmitri

Reserves
Photos look pixelated a bit. How do you downscale them (to 170x170)? If you need to resize images in batch, I'd recommend to use ImageMagick (with "Lanczos" filter).
I have a question: how are .apt, .const, and .o files working and how are you creating them?
It's the same approach which I used here http://www.soccergaming.com/index.php?threads/fifa-07-remastered-edition.6469250/page-2#post-6637294
I scaled the texture matrix in .o twice. You can find the texture matrix here (offset 0x28)
1667818059833.png

1667818091381.png
 
Last edited:

EfekanP

Club Supporter
Photos look pixelated a bit. How do you downscale them (to 170x170)? If you need to resize images in batch, I'd recommend to use ImageMagick (with "Hermite" filter).
I am actually resizing them before downloading them. I have developed a Python application to retrieve images and resize them. In Python, I tried different resampling methods to eliminate the pixelization issue. I used OpenCV, Pillow and etc. Eventually, I changed the way how I resize them by using an array solution.

1668296760622.png
I also checked futbin.com and sofifa.com so the source minifaces may be changed.

 

EfekanP

Club Supporter

15.11.2022 UPDATE

I upscaled the minifaces from 100x85 to 200x170. Also, I added sofifa.com and futbin.com as sources. I fixed the pixelization issue too.

The number of players in the FIFA 23 Initial Database is 18532 (Women players excluded, generic players included)
The number of minifaces in this patch is 16680
The coverage: 90%

Example minifaces:

In-game screenshots:

Download link:

Log File: https://drive.google.com/file/d/1SWSns0ApFLhqQLpNXq6_dte7h_nC4Iw9/view?usp=sharing
 

EfekanP

Club Supporter
I scaled the texture matrix in .o twice. You can find the texture matrix here (offset 0x28)
1667818059833.png

1667818091381.png
Hi @Dmitri ,

I searched a lot but could not find anything about the .o files. I opened with a Hex Editor but could not catch the matrix you mentioned. I want to upscale mini kits as well.

Can you help me with either how to open .o files or prepare an upscaled .o file for mini kits
 

Dmitri

Reserves
Use any hex editor (I'm using 010 editor).
My mistake about 0x28 offset. This is a local offset inside the .data section in the .o file.
The global offset is 0x68.
Here's the matrix:
1669670199146.png

You need to replace 1.0 (0x3F800000) by 2.0 (0x40000000) in first 3 rows of the matrix (don't touch the 4th row).
 


Top