Headband Fix?

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

Headband Fix?

Postby Thunder Shaq on Thu Sep 24, 2020 10:45 am

Does anyone have an idea on how to fix this? For whatever reason, headbands look all torn up when the camera is even somewhat zoomed out. For whatever reason this happens to say Josh Howard and not Carmelo Anthony. It glitches for RJ Barrett, but not Jason Terry. Super weird, super inconsistent. Since this is only an issue with this year's game, I thought maybe throwing in the 2k20 clothing_resource_headband_geo would maybe solve it. No fix. I tried to edit the 2k21 file of the same name and deleted LODs at the bottom of the HEADBAND.SCNE file because that fixed the issue of wristbands disappearing when you zoom out. No fix. Any veteran modders have an idea? Of course, 2k should fix it themselves, but I don't trust them to do that :roll:


Image
Looks perfect when zoomed in
Image
Headband messed up for Barrett
Image
Perfect for Terry
Image
User avatar
Thunder Shaq
 
Posts: 1167
Joined: Thu Jul 26, 2018 1:07 pm

Re: Headband Fix?

Postby Thunder Shaq on Thu Sep 24, 2020 10:55 am

If anyone wants a video of what I am talking about, this might help

https://twitter.com/thunder_shaq/status ... 13088?s=12
User avatar
Thunder Shaq
 
Posts: 1167
Joined: Thu Jul 26, 2018 1:07 pm

Re: Headband Fix?

Postby Jeek313 on Thu Sep 24, 2020 4:03 pm

I think the problem isn't in the headband model itself, but in the player model - its LODs, to be more specific.

I've noticed there's something different about player LODs this year, maybe 2K used a different algorithm for generating them. From what I gather, last year, the LODs were consistent for all players (meaning same vertex count, same vertex order/indices, etc.), while this year, each player has completely unique LOD models. And I'm guessing that 2K forgot to ensure that all of the headband's LOD levels work with all the player model LOD levels without any clipping.

The best and cleanest solution would probably be to edit the headband LOD model in Blender, expand it outwards a little. But removing the LODs from both the player model and the headband should also work, as long as you don't mind the performance cost.
User avatar
Jeek313
 
Posts: 152
Joined: Thu Aug 27, 2020 5:12 am

Re: Headband Fix?

Postby TGsoGood on Thu Sep 24, 2020 4:25 pm

removing LODs via the hihead.scne is probably the best solution if you just want to change a few individual players.
Follow me on PATREON https://www.patreon.com/TGsoGood
Consider donating: http://cash.me/$TheJohnsonFamily or http://paypal.me/4TheGoods
Follow me on twitter @TGsoGood
Check me out on youtube https://www.youtube.com/channel/UCPydhZ ... PeRSmEVynQ

NBA 2K21 TGsoGood Mods and releases - viewtopic.php?f=267&t=110608
NBA 2K17 TGsoGood Mods and releases - viewtopic.php?f=225&t=102251#p1860681
NBA 2K14 TGsoGood Mods and releases - viewtopic.php?f=153&t=96056
User avatar
TGsoGood
Contributor
Contributor
 
Posts: 6433
Joined: Thu Jul 28, 2011 4:03 am
Location: Nashville, TN

Re: Headband Fix?

Postby cujomatty on Thu Sep 24, 2020 4:30 pm

Doesnt look like a clipping issue to me so I dont think making them bigger in blender would work.

It does seem like a LOD issue though because they look good zoomed in.

I can think of 2 things to try.

1. Copy the first LOD and replace the others with that.

2. Copy all the different LOD from a player you know works and overwrite the player who doesnt.
Raptors Basketball-Proudly Canadian
User avatar
cujomatty
 
Posts: 520
Joined: Mon Oct 15, 2012 1:07 pm

Re: Headband Fix?

Postby Thunder Shaq on Fri Sep 25, 2020 6:53 am

Yeah it is quite interesting, 2k clearly forgot something for it to look just fine zoomed in, but messed up as you zoom out. Another example is Joakim Noah’s updated face. Looks fine in edit player, looks fine in zoomed replay, but when you zoom out, it reverts back to his 2k20 render. I think that can be fixed removing the LODs at the end of his SCNE file.


Edit: I should also say that I tried create a headband.iff for Josh Howard using a headband that I know doesn’t glitch (Josh Smith). It ended up just added the Josh Smith head over the messed up default, so I’d probably have to make a ton of adjustments to even make that feasible.

So you would say this is probably just going to have to be fixed on an individual player basis or no?
User avatar
Thunder Shaq
 
Posts: 1167
Joined: Thu Jul 26, 2018 1:07 pm

Re: Headband Fix?

Postby cujomatty on Fri Sep 25, 2020 7:28 am

I thought you said you tried deleting the LOD and it didnt fix? That's why I suggested what I did. My initial thought was the same as TSOGood, deleting the LOD should work.

Messing with the actual mesh or cyber face really shouldnt do anything or it wouldn't look good zoomed in. It has to be how the mesh and texture are rendering in those LOD for distances.

I'm actually fairly curious about this now. Lol
All the cyberfaces are default 2k21 right?

Can you tell me 5 that work and 5 that look crappy? I want to take a look at something. I'm curious if the shaders are consistent in the ones that work and the ones that dont.
Raptors Basketball-Proudly Canadian
User avatar
cujomatty
 
Posts: 520
Joined: Mon Oct 15, 2012 1:07 pm

Re: Headband Fix?

Postby Thunder Shaq on Fri Sep 25, 2020 8:51 am

cujomatty wrote:I thought you said you tried deleting the LOD and it didnt fix? That's why I suggested what I did. My initial thought was the same as TSOGood, deleting the LOD should work.

Messing with the actual mesh or cyber face really shouldnt do anything or it wouldn't look good zoomed in. It has to be how the mesh and texture are rendering in those LOD for distances.

I'm actually fairly curious about this now. Lol
All the cyberfaces are default 2k21 right?

Can you tell me 5 that work and 5 that look crappy? I want to take a look at something. I'm curious if the shaders are consistent in the ones that work and the ones that dont.



I deleted the LOD from the general headband file clothing resource and it did nothing. I haven’t tried on any players. All the ones where it didn’t work were default 2K21 faces. For example, Josh Howard’s that is hidden in the files.
User avatar
Thunder Shaq
 
Posts: 1167
Joined: Thu Jul 26, 2018 1:07 pm

Re: Headband Fix?

Postby cujomatty on Fri Sep 25, 2020 9:25 am

Thunder Shaq wrote:
cujomatty wrote:I thought you said you tried deleting the LOD and it didnt fix? That's why I suggested what I did. My initial thought was the same as TSOGood, deleting the LOD should work.

Messing with the actual mesh or cyber face really shouldnt do anything or it wouldn't look good zoomed in. It has to be how the mesh and texture are rendering in those LOD for distances.

I'm actually fairly curious about this now. Lol
All the cyberfaces are default 2k21 right?

Can you tell me 5 that work and 5 that look crappy? I want to take a look at something. I'm curious if the shaders are consistent in the ones that work and the ones that dont.



I deleted the LOD from the general headband file clothing resource and it did nothing. I haven’t tried on any players. All the ones where it didn’t work were default 2K21 faces. For example, Josh Howard’s that is hidden in the files.


Ahhhhhh ok. Ya I'd do what TSOGood said. That will fix it.
Raptors Basketball-Proudly Canadian
User avatar
cujomatty
 
Posts: 520
Joined: Mon Oct 15, 2012 1:07 pm

Re: Headband Fix?

Postby Thunder Shaq on Fri Sep 25, 2020 10:57 am

Deleting the LODs from the hihead worked like a charm. Thanks all! Could turn out to be tedious depending on how many players have this glitch, but I am much happier now knowing that it can be fixed rather easily :D
User avatar
Thunder Shaq
 
Posts: 1167
Joined: Thu Jul 26, 2018 1:07 pm

Re: Headband Fix?

Postby Jeek313 on Fri Sep 25, 2020 5:04 pm

Thunder Shaq wrote:Could turn out to be tedious


I made a quick tool for disabling the LODs in a png____.iff file.

LOD Remover

Usage:
First, edit 'config.ini' in a text editor:
- Set 'NBAPath' to your game folder.
- Set 'WaiguaPath' to your Mods folder (this is where the LOD-free files will be exported to).
Note: You can ignore the other settings (they're meant for a different tool that I'm working on).

If you're removing LODs from an official cyberface:
Launch 'LODRemover.exe' and type in the Cyberface ID that you want to remove LODs from. The tool will find the cyberface in the game's archives, remove the LODs and output the result to your Mods folder.

If you're removing LODs from a custom cyberface:
Drag any .IFF files from which you want to remove LODs onto 'LODRemover.exe'

Download:
http://www.mediafire.com/file/zre0cq66i3rr9wt/LODRemover.rar/file
User avatar
Jeek313
 
Posts: 152
Joined: Thu Aug 27, 2020 5:12 am

Re: Headband Fix?

Postby TGsoGood on Fri Sep 25, 2020 10:23 pm

wow! That is really cool that you made a tool like this.
Follow me on PATREON https://www.patreon.com/TGsoGood
Consider donating: http://cash.me/$TheJohnsonFamily or http://paypal.me/4TheGoods
Follow me on twitter @TGsoGood
Check me out on youtube https://www.youtube.com/channel/UCPydhZ ... PeRSmEVynQ

NBA 2K21 TGsoGood Mods and releases - viewtopic.php?f=267&t=110608
NBA 2K17 TGsoGood Mods and releases - viewtopic.php?f=225&t=102251#p1860681
NBA 2K14 TGsoGood Mods and releases - viewtopic.php?f=153&t=96056
User avatar
TGsoGood
Contributor
Contributor
 
Posts: 6433
Joined: Thu Jul 28, 2011 4:03 am
Location: Nashville, TN

Re: Headband Fix?

Postby Thunder Shaq on Sat Sep 26, 2020 2:24 am

This is fantastic, I am going to try this out this evening
User avatar
Thunder Shaq
 
Posts: 1167
Joined: Thu Jul 26, 2018 1:07 pm

Re: Headband Fix?

Postby Thunder Shaq on Sat Sep 26, 2020 10:40 am

Jeek313 wrote:
Thunder Shaq wrote:Could turn out to be tedious


I made a quick tool for disabling the LODs in a png____.iff file.

LOD Remover

Usage:
First, edit 'config.ini' in a text editor:
- Set 'NBAPath' to your game folder.
- Set 'WaiguaPath' to your Mods folder (this is where the LOD-free files will be exported to).
Note: You can ignore the other settings (they're meant for a different tool that I'm working on).

If you're removing LODs from an official cyberface:
Launch 'LODRemover.exe' and type in the Cyberface ID that you want to remove LODs from. The tool will find the cyberface in the game's archives, remove the LODs and output the result to your Mods folder.

If you're removing LODs from a custom cyberface:
Drag any .IFF files from which you want to remove LODs onto 'LODRemover.exe'

Download:
http://www.mediafire.com/file/zre0cq66i3rr9wt/LODRemover.rar/file



Finally got to test it just now. Worked like a charm! Saves me the time to have to export all the png files and edit manually :bowdown2:
User avatar
Thunder Shaq
 
Posts: 1167
Joined: Thu Jul 26, 2018 1:07 pm

Re: Headband Fix?

Postby RAYNATION on Sat Sep 26, 2020 2:58 pm

TGsoGood wrote:removing LODs via the hihead.scne is probably the best solution if you just want to change a few individual players.


This actually doesnt work this year. I tried it yesterday the whole day fixing headbands. once the lods in hihead is deleted the game will force close.
RAYNATION
 
Posts: 78
Joined: Sun Oct 06, 2019 2:59 pm

Re: Headband Fix?

Postby Jeek313 on Sat Sep 26, 2020 3:56 pm

ISORAY0619 wrote:
TGsoGood wrote:removing LODs via the hihead.scne is probably the best solution if you just want to change a few individual players.


This actually doesnt work this year. I tried it yesterday the whole day fixing headbands. once the lods in hihead is deleted the game will force close.


Instead of removing the LODs, try replacing them with the highest level (the base model).
User avatar
Jeek313
 
Posts: 152
Joined: Thu Aug 27, 2020 5:12 am

Re: Headband Fix?

Postby cujomatty on Sat Sep 26, 2020 4:14 pm

ISORAY0619 wrote:
TGsoGood wrote:removing LODs via the hihead.scne is probably the best solution if you just want to change a few individual players.


This actually doesnt work this year. I tried it yesterday the whole day fixing headbands. once the lods in hihead is deleted the game will force close.

You aren't removing all of them right?
Raptors Basketball-Proudly Canadian
User avatar
cujomatty
 
Posts: 520
Joined: Mon Oct 15, 2012 1:07 pm

Re: Headband Fix?

Postby RAYNATION on Sat Sep 26, 2020 7:49 pm

cujomatty wrote:
ISORAY0619 wrote:
TGsoGood wrote:removing LODs via the hihead.scne is probably the best solution if you just want to change a few individual players.


This actually doesnt work this year. I tried it yesterday the whole day fixing headbands. once the lods in hihead is deleted the game will force close.

You aren't removing all of them right?


I tried removing everything like how i did in 2k20 it did not work. I was actually planning to ask the forum about it. Do i need to exclude some lodshape when deleting?if so what exact lodshape? im really new to this kind of editing btw.
RAYNATION
 
Posts: 78
Joined: Sun Oct 06, 2019 2:59 pm

Re: Headband Fix?

Postby Thunder Shaq on Sun Sep 27, 2020 1:52 am

I had no issues just removing the LODs at the bottom or using his tool. Not sure what issue you are running into?
User avatar
Thunder Shaq
 
Posts: 1167
Joined: Thu Jul 26, 2018 1:07 pm

Re: Headband Fix?

Postby RAYNATION on Sun Sep 27, 2020 5:36 pm

Thunder Shaq wrote:I had no issues just removing the LODs at the bottom or using his tool. Not sure what issue you are running into?


Well the issue is the headband is disappearing in game?once you zoom in the hb will appear perfectly fitted to the head. i will try to use the tool tomorrow to see if it will work. I'm actually using evan turner as base png for my personal cyberface it seems like i cannot equip the headband properly. i dont know if im missing simething way back in 2k20 i was just deleting lodshapes from the hihead and it will work just fine. BTW the headband file is external. evan turner's headband has its seperate iff file .
RAYNATION
 
Posts: 78
Joined: Sun Oct 06, 2019 2:59 pm


Return to NBA 2K21 Modding

Who is online

Users browsing this forum: No registered users and 6 guests