Hair conversion trouble

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

Hair conversion trouble

Postby zetsuboushta on Mon Nov 14, 2022 10:16 am

Hello! I tried to convert myth25 Kevin Porter with a short haircut, but something went wrong. I used myth25 hair.iff file and put dds and txtr files from it to my png (it usually works with another faces). Can anyone tell me what I did wrong and what can be done about it?
Myth25 face: https://www.2kspecialist.net/2022/05/nb ... rface.html
My result: https://i.imgur.com/s4PoK0r.jpg
https://i.imgur.com/keFvyzB.png
User avatar
zetsuboushta
 
Posts: 455
Joined: Thu Dec 01, 2016 8:51 am

Re: Hair conversion trouble

Postby Shuajota on Mon Nov 14, 2022 10:40 am

zetsuboushta wrote:Hello! I tried to convert myth25 Kevin Porter with a short haircut, but something went wrong. I used myth25 hair.iff file and put dds and txtr files from it to my png (it usually works with another faces). Can anyone tell me what I did wrong and what can be done about it?
Myth25 face: https://www.2kspecialist.net/2022/05/nb ... rface.html
My result: https://i.imgur.com/s4PoK0r.jpg
https://i.imgur.com/keFvyzB.png

2K23 uses a new file format for hair textures: facexxxx_item_hair_01.iff, that´s why the texture is not loading there, because you put the files directly into the png.
Anyway, try to replace these values in your appearance file from "RIGVERSION": "2",:


"RIGVERSION": "2",
"has_facialhair": true,
"has_hair": true,
"hair_in_seperate_iff": true,
"has_ts_hair": true,
"has_ts_beard": true,
"accessory_items": {
"items": [
{
"auto_added": true,
"type": "headband",
"name": "headband",
"mesh": "headbandShape",
"shader": "headband_shader",
"unused": true
}, {
"auto_added": true,
"type": "headband_fury",
"name": "headband_fury",
"mesh": "headband_furyShape",
"shader": "headband_fury_shader",
"unused": true
}, {
"auto_added": true,
"type": "hair",
"name": "hair_01",
"mesh": "hair_01Shape",
"shader": "hair_shader",
"texture": "hair",
"tangentspace": "both",
"meshlo": "hair_01_loShape"
}, {
"auto_added": true,
"type": "facialhair",
"name": "facialHair_01",
"mesh": "facialHair_01Shape",
"shader": "facialHair_shader",
"texture": "facialhair",
"tangentspace": "both",
"meshlo": "facialHair_01_loShape"
}
],
"configurations": [
{
"name": "DEFAULT",
"auto_added": true,
"items": [ "hair_01", "facialHair_01" ]
}
],
"default_config": "DEFAULT"
}
}
User avatar
Shuajota
NBA2K Mods: www.shuajota.com
 
Posts: 9486
Joined: Mon Dec 12, 2016 2:51 am
Location: Spain

Re: Hair conversion trouble

Postby zetsuboushta on Mon Nov 14, 2022 5:49 pm

Shuajota wrote:
zetsuboushta wrote:Hello! I tried to convert myth25 Kevin Porter with a short haircut, but something went wrong. I used myth25 hair.iff file and put dds and txtr files from it to my png (it usually works with another faces). Can anyone tell me what I did wrong and what can be done about it?
Myth25 face: https://www.2kspecialist.net/2022/05/nb ... rface.html
My result: https://i.imgur.com/s4PoK0r.jpg
https://i.imgur.com/keFvyzB.png

2K23 uses a new file format for hair textures: facexxxx_item_hair_01.iff, that´s why the texture is not loading there, because you put the files directly into the png.
Anyway, try to replace these values in your appearance file from "RIGVERSION": "2",:

Didn't work for me. I also put textures in face_hair_01.iff, no luck too.

UPDATE: got it. I just took out textures from default png file (took 2k23 KPJ png and changed nothing), put my 2k22 hair_01 into folder and created face_hair_01 without changing anything and it worked... I didn't understand how, though.
User avatar
zetsuboushta
 
Posts: 455
Joined: Thu Dec 01, 2016 8:51 am

Re: Hair conversion trouble

Postby Shuajota on Tue May 30, 2023 8:55 pm

zetsuboushta wrote:
Shuajota wrote:
zetsuboushta wrote:Hello! I tried to convert myth25 Kevin Porter with a short haircut, but something went wrong. I used myth25 hair.iff file and put dds and txtr files from it to my png (it usually works with another faces). Can anyone tell me what I did wrong and what can be done about it?
Myth25 face: https://www.2kspecialist.net/2022/05/nb ... rface.html
My result: https://i.imgur.com/s4PoK0r.jpg
https://i.imgur.com/keFvyzB.png

2K23 uses a new file format for hair textures: facexxxx_item_hair_01.iff, that´s why the texture is not loading there, because you put the files directly into the png.
Anyway, try to replace these values in your appearance file from "RIGVERSION": "2",:

Didn't work for me. I also put textures in face_hair_01.iff, no luck too.

UPDATE: got it. I just took out textures from default png file (took 2k23 KPJ png and changed nothing), put my 2k22 hair_01 into folder and created face_hair_01 without changing anything and it worked... I didn't understand how, though.

(Y)
User avatar
Shuajota
NBA2K Mods: www.shuajota.com
 
Posts: 9486
Joined: Mon Dec 12, 2016 2:51 am
Location: Spain


Return to NBA 2K23 Modding

Who is online

Users browsing this forum: No registered users and 10 guests