Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

A hub for everything related to NBA 2K19 modding. Releases, previews, requests, and other modding discussion belongs here.
Post a reply

Can someone help w/ modding question? .iff related

Mon Jun 24, 2019 5:16 am

Hey guys, I am trying to find out how to fix my issue that I'm having. Long story short, I edited a player png.iff file for my Cam Reddish head, exported it, imported it back into the png.iff, and all is well. However, when I put it in my waigui folder as png1963.iff, the hair & goatee won't show up. So I have:

png1963.iff
png1963_facialhair_01_tangentspace.iff
png1963_hair_01.iff

The problem is, the hair and goatee won't show up. I'm using Kyle Lowry's facial hair and hair, or attempting to.

https://www.mediafire.com/view/rf3taiwg ... M.png/file

However, when I rename my png1963.iff to png1357.iff (Kyle Lowry's actual .iff file), and load up Lowry in game, it shows just fine, even with me using the edited Ben Mclemore headshape, renaming it to png1357.iff. So I can start a game with the Raptors, and my Reddish shows up in game as Kyle Lowry, just as I want him to look, facial hair, hair and all... but if I rename the facialhair_01_tangentspace to 1963, then it won't show up for Reddish. Can somoene help?

https://www.mediafire.com/view/zcktu2u1 ... M.png/file

Re: Can someone help w/ modding question? .iff related

Mon Jun 24, 2019 5:23 am

wtferrell wrote:Hey guys, I am trying to find out how to fix my issue that I'm having. Long story short, I edited a player png.iff file for my Cam Reddish head, exported it, imported it back into the png.iff, and all is well. However, when I put it in my waigui folder as png1963.iff, the hair & goatee won't show up. So I have:

png1963.iff
png1963_facialhair_01_tangentspace.iff
png1963_hair_01.iff

The problem is, the hair and goatee won't show up. I'm using Kyle Lowry's facial hair and hair, or attempting to.

https://www.mediafire.com/view/rf3taiwg ... M.png/file

However, when I rename my png1963.iff to png1357.iff (Kyle Lowry's actual .iff file), and load up Lowry in game, it shows just fine, even with me using the edited Ben Mclemore headshape, renaming it to png1357.iff. So I can start a game with the Raptors, and my Reddish shows up in game as Kyle Lowry, just as I want him to look, facial hair, hair and all... but if I rename the facialhair_01_tangentspace to 1963, then it won't show up for Reddish. Can somoene help?

https://www.mediafire.com/view/zcktu2u1 ... M.png/file


Make sure you’re using an ID that has both facial hair and hair. If the model png1963.iff doesn’t have those two aspects in the game then it won’t recognize them in the mod. Use an ID where both are present.

Re: Can someone help w/ modding question? .iff related

Mon Jun 24, 2019 5:30 am

Interesting. So, since png1963 isn't a "normal" file that's included with NBA 2k, how will I know if it has those two aspects in game? Would I need to use Limono's tool or something to figure out which files work with it? So if it works with Lowry's iff, shoudln't I just be able to rename them all to png1963 and it work, since the actual png1963 works if I rename it to png1357? It's the actual file of png2693, which I'm using.

So right now, I'm using

png2693.iff (renamed to png1357.iff)
png1357_facialhair_01_tangentspace.iff
png1357_hair_01.iff

and my files show up fine as Kyle Lowry.

The Ben Mclemore file has both a facial hair and hair, so it recognizes it. So could I rename it all to png7000.if, png7000_facialhair_01_tangentspace.iff and png7000_hair_01.iff and it work?

Re: Can someone help w/ modding question? .iff related

Mon Jun 24, 2019 8:17 am

wtferrell wrote:Interesting. So, since png1963 isn't a "normal" file that's included with NBA 2k, how will I know if it has those two aspects in game? Would I need to use Limono's tool or something to figure out which files work with it? So if it works with Lowry's iff, shoudln't I just be able to rename them all to png1963 and it work, since the actual png1963 works if I rename it to png1357? It's the actual file of png2693, which I'm using.

So right now, I'm using

png2693.iff (renamed to png1357.iff)
png1357_facialhair_01_tangentspace.iff
png1357_hair_01.iff

and my files show up fine as Kyle Lowry.

The Ben Mclemore file has both a facial hair and hair, so it recognizes it. So could I rename it all to png7000.if, png7000_facialhair_01_tangentspace.iff and png7000_hair_01.iff and it work?


Sorry, I hope I’m understanding your issue right.

So basically if you’re trying to use a hair and facial hair file in addition to a png file, you need to replace the ID of an individual in the game that has both 3D hair and facial hair. 2k needs to be able to recognize that that ID has hair and facial hair associated with it. You’re able to replace Lowry because in 2k he has hair and facial hair. You wouldn’t for example, be able to replace Luka Doncic because he only has hair. This the hair would show but the facial hair wouldn’t.

TLDR: the ID you use needs to be a player with both facial hair and hair.

Re: Can someone help w/ modding question? .iff related

Mon Jun 24, 2019 9:36 am

Just change this in the appearance_info.RDAT file

"has_facialhair": true,
"has_facialhair_shell": false,
"has_hair": true,
"has_hair_shell": false,
"hair_in_seperate_iff": false, (If false, you must put all the hair & beard files in the pngXXXX.iff; if true, you keep them in separate files, I prefer the first option)
"has_ts_hair": false,
"has_ts_beard": true

TS or shell beard and hair options don't matter.
Post a reply