Help with Headshots and Portraits

A hub for everything related to NBA 2K25 modding. Releases, previews, requests, and other modding discussion belongs here.

Help with Headshots and Portraits

Postby Zoran+ on Tue May 27, 2025 10:20 pm

Hello. Do anyone knows how can I use my old Headshots and Portraits from previous 2K's but into 2K25?

I tried the usual way with just copy pasting old iff files into mod folder and using Cheat Engine to add Team Address and player ID but it does not work. I can tho set any existing picture in game to any player in any roster via CE. I tried opening iff files with WinRAR and Paint.net and notepad, for all the files inside, so that I can compare the old and new iff file but I cannot really find the difference. I mixed and matched a bit but nothing worked. If someone can point me to some tutorial or give me an advice that would be great.

I use to make my own Portraits and Headshots in 2K23. I remember it was pretty simple. But I just cannot figure out this one.
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Wed May 28, 2025 12:38 am

Just save in the same format as the existing one you are copying over, paying attention to the size, format and mips in the TXTR file.
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Wed May 28, 2025 1:16 am

bikerjimuk wrote:Just save in the same format as the existing one you are copying over, paying attention to the size, format and mips in the TXTR file.


First is Kyle Kuzmas RTXT file from 2K25 and second is Bernard Kings RTXT file from 2K23. What exactly am I supposed to do, pls? :) This problem is driving me crazy. I do not remember this being this hard.

https://imgur.com/a/BJYvja6

Before editing RTXT file I use Kuzmas pic as template and replace it with Kings by removing 1st layer (Kuzmas) and save it.
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Wed May 28, 2025 1:25 am

then make sure the file sizes match the TXTR
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Wed May 28, 2025 4:09 am

bikerjimuk wrote:then make sure the file sizes match the TXTR


I tried resizing and I tried every possible BC method but it is not changing. I am pretty sure the answer is hiding in that picture I posted in my previous comment. Eventually I used NBA2K file Explorer to check exact size, format and text in RTXT file of original NBA2K25 pictures and I did my own pictures in the same manner but nothing changes. I am out of ideas.
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Wed May 28, 2025 8:08 am

No idea what you are doing wrong, it works fine for me. Are you putting the file in the correct folder?
Image

looking at your pic the Kuzma headshot is not that size in the 2k25 default pic
"chr_g7535": {
"Width": 512,
"Height": 512,
"Mips": 10,
"Format": "BC7_UNORM",
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby kidhybrid89 on Wed May 28, 2025 2:50 pm

Zoran+ wrote:
bikerjimuk wrote:then make sure the file sizes match the TXTR


I tried resizing and I tried every possible BC method but it is not changing. I am pretty sure the answer is hiding in that picture I posted in my previous comment. Eventually I used NBA2K file Explorer to check exact size, format and text in RTXT file of original NBA2K25 pictures and I did my own pictures in the same manner but nothing changes. I am out of ideas.


Did you make sure its generating mipmaps when you export into DDS format?
kidhybrid89
 
Posts: 333
Joined: Thu Sep 05, 2019 9:46 am

Re: Help with Headshots and Portraits

Postby Zoran+ on Wed May 28, 2025 4:46 pm

kidhybrid89 wrote:
Zoran+ wrote:
bikerjimuk wrote:then make sure the file sizes match the TXTR


I tried resizing and I tried every possible BC method but it is not changing. I am pretty sure the answer is hiding in that picture I posted in my previous comment. Eventually I used NBA2K file Explorer to check exact size, format and text in RTXT file of original NBA2K25 pictures and I did my own pictures in the same manner but nothing changes. I am out of ideas.


Did you make sure its generating mipmaps when you export into DDS format?


I do. I am sure that problem is with RTXT file because original one and the old one are not the same when I open them with notepad. I resize pic, if needed, to the size of original RTXT file and save it in BC7 method as original and generate mip maps. And ofc I don't forget the little things like Team Addresses in CE and stuff like that. As I said, I believe my RTXT file is a problem. Rather, my inability to understand it and edit it when I out new picture.
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Wed May 28, 2025 5:02 pm

There is no need to understand it, just make sure your pic is the size and format that I posted. Use nvidia texture explorer to check you have saved correctly and\or post your iff here so we can check it?
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Wed May 28, 2025 5:38 pm

bikerjimuk wrote:There is no need to understand it, just make sure your pic is the size and format that I posted. Use nvidia texture explorer to check you have saved correctly and\or post your iff here so we can check it?


You are right. I ll just give you my modded file and you see what I am doing wrong, because I clearly cannot lol. It will either work for you or you will notice what is wrong. Thanks a bunch, mate!

This is my file that I with Bernard King:

https://limewire.com/d/wuex1#BwPJJo5ETT
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Wed May 28, 2025 8:02 pm

You have to have the files with the same names as we can't add files.
Image
There is no 2889 portrait but if I rename it to chr_g7535.a03242eba87bc63a.dds it worked
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Thu May 29, 2025 12:38 am

bikerjimuk wrote:You have to have the files with the same names as we can't add files.
[ Image ]
There is no 2889 portrait but if I rename it to chr_g7535.a03242eba87bc63a.dds it worked


You got me even more confused now. We cannot add new numbers like we could in 2K23? It must be ID that already exist in the game? I need to then put, for example, Kings picture in a IFF file that already have picture in the game and basically remove Kuzmas, for example, picture and make it be Kings and then in CE set King portrait to be Kuzmas portrait ID? If thats true thats a real boomer. The reason I used 2889 ID for Kings portrait is because 2889 is his name ID. I cannot do that then? Sorry for my terrible English mate, but I am very grateful for your help. Can you send me back the file so I can see where did you rename it and so I can compare it to my bad file and finally see where I did wrong and stop bothering you?

Thx a bunch again!
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Thu May 29, 2025 1:09 am

Yes, we can't add files as there is no hook, there is no chr_g2889 in game so you can't add one.
Just open the Kuzma file from 25 and you'll see the filename of chr_g7535.a03242eba87bc63a.dds.
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Thu May 29, 2025 2:47 am

bikerjimuk wrote:Yes, we can't add files as there is no hook, there is no chr_g2889 in game so you can't add one.
Just open the Kuzma file from 25 and you'll see the filename of chr_g7535.a03242eba87bc63a.dds.


Man, I cannot believe why is this so hard. I rename Kings dds picture to be like Kuzmas dds picture and just delete Kuzmas and put Kings picture in IFF file but now with the name of Kuzmas ''chr_g7535.a03242eba87bc63a.dds'' but when I change Kings headshot ID to be Kuzmas 7535 King completely lose his headshot, just empty space, as you can see in picture:

https://imgur.com/a/B7TWeAQ

I make sure that size is the same and save it BC7. I am really embarrassed but, what am I doing wrong? Can you upload your working King IFF file so I can compare what the heck am i missing? It drives me crazy. Thx


EDIT: After a lot of experimenting I found out my problem. I cannot edit Portrait Team Addresses. When I leave it at 000000000 it works. Finally. Thank you a lot, mate!
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby Zoran+ on Thu May 29, 2025 4:48 am

I give up. I managed to do King and for the life of me I cannot manage to do anyone else while using the same method as I did for King, with other player ofc not Kuzma lol. It always comes out empty picture in game.
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Thu May 29, 2025 5:26 am

Ok
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Fri May 30, 2025 5:13 am

bikerjimuk wrote:Ok


I revisited this today and I managed to did few teams except some pics I have from previous NBA2K that just won't show in game no matter what I do. Other than that it is pretty simple as you explained, just rename files. I will post one of the files that do not work for me and are not showing in game and if you have time download it and try to make it and tell me what the heck am I missing. Take this one of World B. Free file. Thx in advance.

https://limewire.com/d/8umyw#C1DxI6PM7b
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Fri May 30, 2025 6:25 am

Again, neither of those filenames exist in game
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Fri May 30, 2025 6:32 am

bikerjimuk wrote:Again, neither of those filenames exist in game


No no, maybe I didnt explained correctly. I use existing filename with existing picture. I take it out with nba2K File Explorer. Then I just rename every place that have, for example, World B. Free (non in game non existing file) and rename them with existing file I just took out with 2k Explorer. Than in CE I give World B. Free portrait of that real player I used but actually in it is B. Frees picture. This method works for me. I did over 100 players so far like this. I remember you said that because we dont have Hook we must use existing files and just rename them. My question is why some of these pics show empty in game when on first look they are the same like other, 512x512, BC3, etc...
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Fri May 30, 2025 6:43 am

Yes but in the file you sent you have done none of that! Neither set of IDs are in the game that I can see
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Fri May 30, 2025 7:02 am

bikerjimuk wrote:Yes but in the file you sent you have done none of that! Neither set of IDs are in the game that I can see


I thought you were going to do it like you did it previously with Kuzma and King. That's why I gave you untouched file from 2K23. Sorry, my English is not great. I even made some pictures by myself from scratch from net than cutting and and other works and finally putting them in existing IFF file and it works marvelously but I have few (from 2k23), like the one I gave you last, that no matter what I do they always show empty in game. No bother mate, if you have time you can check. If not, no worries. I am grateful anyway.

But sure, here is my modded World B. Free IFF file that I did in existing file like I did with all other previous ones that worked.

https://limewire.com/d/xhCRy#t8ipF6xX2e

EDIT: I just find other pictures on net and try with them. I already did few that didn't worked. Thx
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Fri May 30, 2025 7:50 am

No, because I told you what to do and you said you had made lots now you know what to do. Also the files should be BC7 NOT BC3.
Also the pic is 500x500 NOT 512x512
Image

From the TXTR
"chr_g10117": {
"Width": 512,
"Height": 512,
"Mips": 10,
"Format": "BC3_UNORM",
"Min": [ 0.0, 0.0, 0.0, 0.0 ],
"Max": [ 1.0, 1.0, 1.0, 1.0 ],
"Mask": 4294967295,
"HeaderSize": 128,
"Binary": "chr_g10117.c0ff314ada27be80.dds"
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Fri May 30, 2025 8:13 am

bikerjimuk wrote:No, because I told you what to do and you said you had made lots now you know what to do. Also the files should be BC7 NOT BC3.
Also the pic is 500x500 NOT 512x512
[ Image ]

From the TXTR
"chr_g10117": {
"Width": 512,
"Height": 512,
"Mips": 10,
"Format": "BC3_UNORM",
"Min": [ 0.0, 0.0, 0.0, 0.0 ],
"Max": [ 1.0, 1.0, 1.0, 1.0 ],
"Mask": 4294967295,
"HeaderSize": 128,
"Binary": "chr_g10117.c0ff314ada27be80.dds"


Yes yes, you helped me greatly yesterday. Maybe thats why its empty because its not correct size. I swear I double checked.

I know it should be BC7 and 500x500 but the reason I am using BC3 and 512 is because when I save it in BC7 and 512 I always 100% get empty picture ingame. Ofc I edit RTXT file to be BC7 and 512 but it never seems to work and BC3 and 512 works great so I stuck with it. Other reason is that if I use BC7 I will have to use NBA2K25 RTXT file instead of my NBA2K23 files and 2K25 RTXT file is much longer and detailed and I don't understand the half of it while my 2K23 RTXTX files are short and on point, just size and method. But anyhow, I got it now. If any of my old NBA2K23 pic show empty in game I just make my own from scratch from internet. Like this Walker I just made:

https://imgur.com/uNxAI8B
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Re: Help with Headshots and Portraits

Postby bikerjimuk on Fri May 30, 2025 9:34 am

No, that file you sent was 500x500 which was why it didn't work but glad you sorted it
User avatar
bikerjimuk
 
Posts: 1260
Joined: Fri Nov 27, 2020 10:42 pm

Re: Help with Headshots and Portraits

Postby Zoran+ on Fri May 30, 2025 11:03 am

bikerjimuk wrote:No, that file you sent was 500x500 which was why it didn't work but glad you sorted it


Yeah yeah, thats what I meant. 512. I got confused with all the calculations :D
Zoran+
 
Posts: 19
Joined: Thu Oct 17, 2024 3:36 am

Next

Return to NBA 2K25 Modding

Who is online

Users browsing this forum: No registered users and 1 guest