Everything I Know About iff Files (Trying to do HD Textures)

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

Everything I Know About iff Files (Trying to do HD Textures)

Postby JaoSming on Sun May 19, 2013 10:43 am

First and foremost, if anyone knows Ariel from ModdingWay, please have him contact me over this. I've tried PMing him through here and the Contact Us from the ModdingWay site multiple times.


There is no way I can properly explain this through text, so I failed to do it through video instead.
http://www.youtube.com/watch?v=LJ9zXxoHlQw
phpBB [video]


That text file, as promised,
Code: Select all
rebuild entire package at end of file?



55570 for 512x512 (40000h pixels)
155560 for 1024x1024 (100000h pixels)

size of header: f0
height & width 48h after second instance of dxt5
offset 54h after second instance

package: size1 0x4c -4bytes
package: offset 0x4c+8 -4bytes
package: size2 0x4c+12 -4bytes
reverse byte order

Package sizes:
Always at 0x4c and 0x58, 4 bytes each, reverse byte order

Texture Info:
Height: 0x48 after 2nd DXT5
Width: 0x50 after 2nd DXT5
Offset: 0x54 after 2nd DXT5

547200
349552

512x256 - 174800 bytes
512x512 -

1,3336181640625 * 512 * 512


00D78000
0080D700

Models/Packages e26c9b5d
All Textures 5c369069
Animations 60900d71



1246628096
 221787287
4140153825



78 f0
168 55570


Figure
detect all packages-----
assign textures to packages
find which texture goes to which packages
detect model offsets




hex offset - description

8 - size of entire file in non-reversed hex bytes (4 bytes)




"Header?" or "Magic Name" for all models
5D9B6CE2
only 14 (hex) bytes of data for models in the header



c0a003
008f01
4a4008
a070



nbaball

57578 text 1






single package files (NBA Ball)
-figure out what happens with the packas, models
-sizes, offsets, need to move models
-textures are happy, models are not.


Compare the headers of my "default" texture sized floor - Fixed Celtics Parquet Size and Baseline Logo
vs Mythbuster's floor that has "HD" textures from Ariel - TD Garden HD

Or look at these,
Headers.rar


and of course, from the video,
Custom Res and Location Courts.rar



More than willing to try and help get you guys to my level with this. Any help is appreciated.
You do not have the required permissions to view the files attached to this post.
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: Everything I Know About iff Files (Trying to do HD Textu

Postby Tha King on Sun May 19, 2013 9:50 pm

I think Mythbuster is using the 2k12 courts, because it is compatible to 2k13, right? I'm not sure. But i made to a conclusion like this because Ariel is not that active right now, so I'm thinking that's why they're so many different hex on the files.

I remember asking him if he can make the CF and Jersey HD for 2k13, he answered "well no because the way that 2K creates the jersesys files mixing the mipmaps" and "faces and jerseys are a messed up with mipmaps".

I will try my best to contact him, to contact you sir.
Image
You can now donate to me, to make me more motivated on patching! thank you for those who are supporting me.
User avatar
Tha King
 
Posts: 2087
Joined: Sat Aug 29, 2009 11:51 am


Return to NBA 2K13 Modding

Who is online

Users browsing this forum: No registered users and 4 guests