IFFset ~ iff Extractor & Importer

Resources for NBA 2K9.

Re: IFFset ~ iff Extractor & Importer

Postby Eich on Tue Jan 06, 2009 12:17 am

Great then why everyone is saying just install "C++"...
ok great, I'll wait when its available on Vista.
User avatar
Eich
 
Posts: 479
Joined: Fri Aug 10, 2007 5:16 am
Location: Latvia

Re: IFFset ~ iff Extractor & Importer

Postby MacGyver666 on Wed Jan 07, 2009 9:26 am

So, anybody had success extracting the "global.iff"?? More than that, anybody had success repacking a file into global.iff??? Here it always crashes, and always says "invalid iff file" when repacking... Smaller files works perfectly.

Any idea?
cheers
Image
User avatar
MacGyver666
 
Posts: 205
Joined: Wed Aug 20, 2008 10:54 am
Location: Brazil

Re: IFFset ~ iff Extractor & Importer

Postby deepinto on Thu Jan 08, 2009 5:02 am

any idea on how the fonts + colour and size (including numbers) are implemented ?
deepinto
 
Posts: 82
Joined: Mon Nov 10, 2008 5:20 am

Re: IFFset ~ iff Extractor & Importer

Postby 1veritas4 on Fri Jan 09, 2009 7:21 am

When i extract court IFF files using IFFSet only the floor alpha texture and other non image files extract before an error occurs...anyone have any ideas about how to fix this?
Image
i have xp so it shouldn't be C++ problem
1veritas4
 
Posts: 21
Joined: Tue Nov 18, 2008 10:30 am

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Fri Jan 09, 2009 8:37 am

iffset cant edit the courts/stadiums
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby crippknottick on Fri Jan 09, 2009 9:41 am

It crashes with all .iff files for me. I am using Windows 2000 Professional w/SP4 and every other update MS and a few third parties had available. I have installed the Visual C++ runtime package.

If it worked on Windows XP (NT 5.1) then it should work on Windows 2000 Pro (NT 5.0), right? Most every other XP-only application runs fine on 2000, so I hope this utility doesn't rely on the use of one of XP's obscure services. The difference of Win2K & WinXP is like the difference of Win98 to WinME. There is hardly a difference. They run the same engine underneath the hood.

Hopefully, this isn't the reason why I can't get this nifty little app to work. It has so much potential, but I am powerless to tap into it.
User avatar
crippknottick
 
Posts: 34
Joined: Fri Jan 09, 2009 9:23 am
Location: Orlando, FL

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Fri Jan 09, 2009 10:20 am

no idea, but it looks like youre proof that anything besides XP won't work.
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby crippknottick on Fri Jan 09, 2009 10:44 am

JaoSming wrote:no idea, but it looks like youre proof that anything besides XP won't work.

My intentions was not to present the situation as proof. I apologize if it was. I am just curious to find out if maybe IFFset was coded to specifically use one of XP's proprietary services or features to do the function it performs. If it's a for sure yes, then I won't have a problem installing XP on another partition.

The problem is that I don't have XP. And before I drop $100.00 USD in buying another OS for one program I would like to know if it is an absolute necessity.

To sum up what I am trying to explain: The difference between Win98 and Win2000 is a difference of DOS (16-bit) and NT(32-bit). Programs that run on DOS generally don't run on NT and vise-versa. The difference between 2000 and XP is just a minor revision and some auxiliary features, nothing big enough to effect the running status of a program built for one of the two.

If I had the source code then I wouldn't be bothering for help. Once again, I apologize if it appeared that I came off as rude. From the what I've seen on these boards you must be used to rude treatment.
User avatar
crippknottick
 
Posts: 34
Joined: Fri Jan 09, 2009 9:23 am
Location: Orlando, FL

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Fri Jan 09, 2009 11:03 am

Im sick, sorry if it was rude, was not my intention at all


Dont buy XP for this. Hopefully another program will come out.

What do you mean by if you had the source code?
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby crippknottick on Fri Jan 09, 2009 11:13 am

The source code is the inner workings of the program in a readable text format. That code can be compiled into an application (.exe, .com .dll, etc..) through use of an Integrated Development Environment (IDE), such as Microsoft Visual Studio/Basic (super expensive, $1200 or more to buy), Bloodshed DevC++ (freeware) and other IDE's specific to the type of code (C, C++, Java, Basic, etc...) they can compile.

With the code I can:
1. Fix problems with IFFset.
2. Improve on IFFset's functionality like being able to import/extract new data we have not tapped into yet.
3. Maybe even add a GUI (graphical user interface) with shiny buttons and everything to make modding smoother and more reliable.

It's up to Santa to release the source code.
User avatar
crippknottick
 
Posts: 34
Joined: Fri Jan 09, 2009 9:23 am
Location: Orlando, FL

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Fri Jan 09, 2009 11:25 am

My guess is that santa just leaked it and doesnt have the source code.


Do you think you could do anything with this?

viewtopic.php?p=996980#p996980

Code: Select all
TITLE: Structure of NBA2K9 IFF
AUTHOR: hades
DATE: 2008-12-19,22:36
LINK: http://hades.net.cn/post/nba2k9_iff_format.html

typedef struct {
IFF_HEADER iffHeader;
IFF_MAINDATA iffHadesData[dwDataFileCount];
} IFF_FILE;

typedef struct {
DWORD dwMagic;
DWORD dwSize;
DWORD dwFileLen;
DWORD dwReserve;
DWORD dwDataFileCount;
DWORD dwUnknow1;
DWORD dwSubFileCount;
DWORD dwUnknow2;
IFF_HEADER_DATA ihdData[dwDataFileCount];
DWORD dwSubFile[dwSubFileCount];
IFF_HEADER_SUB ihdSub[dwSubFileCount];
} IFF_HEADER;

typedef struct {
DWORD dwName;
DWORD dwType;
DWORD dwUnknow1;
DWORD dwUnCompressLen;
DWORD dwUnknow2;
DWORD dwStartOffset;
DWORD dwCompressLen;
DWORD dwReserve;
} IFF_HEADER_DATA;

typedef struct {
DWORD dwName;
DWORD dwType;
DWORD dwSubCount;
DWORD dwOffset[dwSubCount];
} IFF_HEADER_SUB;

typedef struct {
DWORD dwFlag;
DWORD dwUnCompressLen; //reverse
DWORD dwCompressLen; //reverse
DWORD dwUnknow1;
DWORD dwHades;
BYTE btData[dwCompressLen-20];//compressed
} IFF_MAINDATA;

by hades(hades.net.cn)
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby crippknottick on Sat Jan 10, 2009 4:38 am

It's a start.

My wireless connection was not very stable last night so I am sorry it took me this long to reply. I was getting frustrated trying to figure out what iffHadesData was. With the internet not available I was not able to check that link you gave, which explained it was just a variable.

I've twiddled with the code for few hours but have not come up with anything yet. I'll have to dedicate some more time to work on it after work. See ya soon, hopefully I will have some kind of results.
User avatar
crippknottick
 
Posts: 34
Joined: Fri Jan 09, 2009 9:23 am
Location: Orlando, FL

Re: IFFset ~ iff Extractor & Importer

Postby bigball12 on Sat Jan 10, 2009 2:25 pm

Hey I'm new to this. what is so much better about these iff's then the tpf's? What's the main difference?
Image
User avatar
bigball12
 
Posts: 230
Joined: Fri Nov 25, 2005 4:21 am

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Sat Jan 10, 2009 2:48 pm

with the iff files, we are modifying the actual game files and not intercepting + replacing them. Improves performance and wont produce the glitches that texmod can provide when you use it with a lot of patches
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby bigball12 on Sun Jan 11, 2009 12:41 am

^ Oh I see. But won't that replace the actual files themselves? the thing that I like about texmod is that tit isn't permanent. Because when that Euroleague 2k9 patch comes out, I won't want it to be European teams forever.
Image
User avatar
bigball12
 
Posts: 230
Joined: Fri Nov 25, 2005 4:21 am

Re: IFFset ~ iff Extractor & Importer

Postby bazelos13 on Mon Jan 12, 2009 2:39 am

is this one still doesnt work on vista
User avatar
bazelos13
 
Posts: 491
Joined: Tue Dec 04, 2007 7:18 am
Location: Greece

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Mon Jan 12, 2009 2:41 am

right, this one doesnt work with vista, im sure once it does someone will post it
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby Pdub on Mon Jan 12, 2009 5:28 am

Anybody try compatability mode in Vista for XP?
Pdub
Administrator
Administrator
 
Posts: 13213
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: IFFset ~ iff Extractor & Importer

Postby M1GHTY M4VS on Mon Jan 12, 2009 7:42 am

Pdub wrote:Anybody try compatability mode in Vista for XP?

No Luck for me
Image
User avatar
M1GHTY M4VS
 
Posts: 124
Joined: Mon Dec 01, 2008 1:44 am

Re: IFFset ~ iff Extractor & Importer

Postby LiLwAyNe on Mon Jan 12, 2009 8:55 am

MAN , i cant wait for it to be realesed on vista ill be patching shoes and players (mj :mrgreen: )
( i changed my user from RayAllen20 to LiLwAyNe )
User avatar
LiLwAyNe
 
Posts: 115
Joined: Wed Nov 12, 2008 12:34 am
Location: Waynes World , Carter-Fornia

Re: IFFset ~ iff Extractor & Importer

Postby tdking on Sat Jan 17, 2009 2:33 am

when i import it's crash,can you fix?
tdking
 
Posts: 12
Joined: Fri Dec 05, 2008 10:54 pm

Re: IFFset ~ iff Extractor & Importer

Postby retroman on Sat Jan 17, 2009 11:42 pm

can't convert the iff file after making my edit, i type iffset -p XXXX.iff AE2D486A_DXT5.dds and it doesn't make the change ?
retroman
 
Posts: 938
Joined: Fri Apr 30, 2004 1:34 am
Location: USA

Re: IFFset ~ iff Extractor & Importer

Postby Pdub on Sun Jan 18, 2009 5:51 am

Are you sure XXXX.iff is the correct name of the iff file? :lame:

Is the DDS file in the same directory as iffset? Did you make sure to save it with the DXT5 format with all generated mipmaps and of the same resolution?
Pdub
Administrator
Administrator
 
Posts: 13213
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: IFFset ~ iff Extractor & Importer

Postby retroman on Sun Jan 18, 2009 11:01 am

yes, i believe the the right one!

start with say kobe bryant's face is png195.iff

type: iffset -x png195.iff ENTER

Results: a folder of png195 with it contents in the folder, i make my edit of the face files AE2D486A_DXT5.dds
then i save them by just SAVE button. everythings OK, next is too convert it back type: iffset -p png195.iff AE2D486A_DXT5.dds is there something
missing in what i'm doing ?
retroman
 
Posts: 938
Joined: Fri Apr 30, 2004 1:34 am
Location: USA

Re: IFFset ~ iff Extractor & Importer

Postby Pdub on Sun Jan 18, 2009 11:39 am

As long as you saved the DDS file in DXT5 format with all mipmaps generated, you should be fine. Do you get any errors?

Try putting iffset, the dds file, and the iff file in the same directory as the extracted files. I thought somebody said they did that and it worked.
Pdub
Administrator
Administrator
 
Posts: 13213
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: IFFset ~ iff Extractor & Importer

Postby retroman on Sun Jan 18, 2009 12:01 pm

missing png195.iff file is the error i get
retroman
 
Posts: 938
Joined: Fri Apr 30, 2004 1:34 am
Location: USA

Re: IFFset ~ iff Extractor & Importer

Postby Pdub on Mon Jan 19, 2009 12:07 am

You are sure the DDS file is in the same directory as iffset?
Pdub
Administrator
Administrator
 
Posts: 13213
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: IFFset ~ iff Extractor & Importer

Postby retroman on Mon Jan 19, 2009 2:19 am

Pdub THANKS for ur help, but i mess around this morning got it to work with all files in the png folder THANKS again!
retroman
 
Posts: 938
Joined: Fri Apr 30, 2004 1:34 am
Location: USA

Re: IFFset ~ iff Extractor & Importer

Postby chinoy316 on Mon Jan 19, 2009 2:23 am

Something weird's happening. Whenever I use the iffset extractor my computer shuts down. An error message pops up and it automatically shuts down my computer. What the hell's happening? This only happened to me today!
Image
Kobe: Sorry Lebron, maybe next year?
chinoy316
 
Posts: 836
Joined: Tue Dec 16, 2008 9:48 pm

Re: IFFset ~ iff Extractor & Importer

Postby Pdub on Mon Jan 19, 2009 10:09 am

retroman wrote:Pdub THANKS for ur help, but i mess around this morning got it to work with all files in the png folder THANKS again!


Try putting iffset, the dds file, and the iff file in the same directory as the extracted files. I thought somebody said they did that and it worked.
:wink:
Pdub
Administrator
Administrator
 
Posts: 13213
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: IFFset ~ iff Extractor & Importer

Postby chinoy316 on Mon Jan 19, 2009 1:08 pm

chinoy316 wrote:Something weird's happening. Whenever I use the iffset extractor my computer shuts down. An error message pops up and it automatically shuts down my computer. What the hell's happening? This only happened to me today!


Anybody?? "A system shutdown in progress" message appears everytime I use iffset. Happened only yesterday. I already tried reinstalling C++ and redownloading Ifftool.
Image
Kobe: Sorry Lebron, maybe next year?
chinoy316
 
Posts: 836
Joined: Tue Dec 16, 2008 9:48 pm

Re: IFFset ~ iff Extractor & Importer

Postby Pdub on Sun Feb 01, 2009 5:09 am

Stickied this thread for convenience.
Pdub
Administrator
Administrator
 
Posts: 13213
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: IFFset ~ iff Extractor & Importer

Postby Hugo-JMC on Tue Feb 03, 2009 2:50 am

Maybe Santa can bring us the Arenas and stadiums editor?
Image
User avatar
Hugo-JMC
 
Posts: 273
Joined: Wed Aug 06, 2008 8:24 pm
Location: Vilnius/Warsaw; Lithuania/Poland

Re: IFFset ~ iff Extractor & Importer

Postby chinoy316 on Sat Feb 07, 2009 7:38 pm

Anybody know how to change leg textures? I don't want to edit it I just want to change the leg texture assigned to Al Jefferson the same as probably Diop's because the color is just wrong.
Image
Kobe: Sorry Lebron, maybe next year?
chinoy316
 
Posts: 836
Joined: Tue Dec 16, 2008 9:48 pm

Re: IFFset ~ iff Extractor & Importer

Postby MeteoRzzy on Tue Feb 10, 2009 12:40 pm

SkyLine03LT wrote:nope, I didn't miss it :) . Anyway I got rid of the problem. If you're extracting a file that's too huge for the program to handle, an error pops up, and a .txt file generates in your folder. Just delete that .txt and it's all working again ;)

some more detail?
MeteoRzzy
 
Posts: 84
Joined: Sun Jan 04, 2009 1:49 pm
Location: Singapore

Re: IFFset ~ iff Extractor & Importer

Postby dejan_mitrovic on Mon Feb 16, 2009 12:00 am

how do you edit the corts when you extract them


sorry for my bad english
dejan_mitrovic
 
Posts: 12
Joined: Sun Feb 15, 2009 7:58 am

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Mon Feb 16, 2009 12:31 am

we cant edit courts with iffset
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby chinoy316 on Mon Feb 16, 2009 12:33 am

You managed to extract them???
Anyway. Do you guys know the iff assigments of rookies from association mode?
Image
Kobe: Sorry Lebron, maybe next year?
chinoy316
 
Posts: 836
Joined: Tue Dec 16, 2008 9:48 pm

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Mon Feb 16, 2009 12:38 am

you can extract them, hell, you can even uncompress them with iffset as well, but you only get 1 texture to work with and its just the alpha layer for the wood courts.
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby dejan_mitrovic on Mon Feb 16, 2009 10:09 am

do you know some program that can edit courts
dejan_mitrovic
 
Posts: 12
Joined: Sun Feb 15, 2009 7:58 am

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Mon Feb 16, 2009 12:38 pm

the 2kcn chinese community has released court patches, im assuming they have a private tool they arent sharing

there was a huge issue with all this crap about 2 months ago and nothing has really come of it besides the leak of this program
Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby cbooz on Sat Feb 21, 2009 8:59 pm

how can i create isomotions guys??please help
cbooz
 
Posts: 65
Joined: Wed Feb 04, 2009 10:04 pm

Re: IFFset ~ iff Extractor & Importer

Postby J-SMOOVE 5 on Sun Feb 22, 2009 3:00 am

cbooz wrote:how can i create isomotions guys??please help

Grab a ball, go outside and make some crossovers and spins and you might get a bit dizzy but keep trying and do not forget your candy camera to tape it. After that convert avi to iff :arrow: simple as that :cheeky:
:lol: :lol: :lol: :lol: :lol:
Image
http://www.youtube.com/watch?v=yYexfzWjRDI
User avatar
J-SMOOVE 5
 
Posts: 665
Joined: Thu Jan 15, 2009 2:15 pm
Location: In your momma's cunt ... heh heh

Re: IFFset ~ iff Extractor & Importer

Postby chinoy316 on Sun Feb 22, 2009 3:21 am

cbooz wrote:how can i create isomotions guys??please help


Are you talking about this (viewtopic.php?f=86&t=63602) or actually creating isomotions? Cause that's impossible.
Image
Kobe: Sorry Lebron, maybe next year?
chinoy316
 
Posts: 836
Joined: Tue Dec 16, 2008 9:48 pm

Re: IFFset ~ iff Extractor & Importer

Postby cbooz on Sun Feb 22, 2009 3:52 am

where can i find 2k9 mini editor and ultra edit?easy to work?
cbooz
 
Posts: 65
Joined: Wed Feb 04, 2009 10:04 pm

Re: IFFset ~ iff Extractor & Importer

Postby Angelo on Sun Feb 22, 2009 10:17 am

just find it in the internet bro
Image
User avatar
Angelo
Holy Tits
NLSC Team Member
 
Posts: 5904
Joined: Fri Nov 03, 2006 1:40 am
Location: Philippines

Re: IFFset ~ iff Extractor & Importer

Postby Angelo on Tue Feb 24, 2009 4:02 pm

sorry for the double post but does this also work in 64 bit edition of xp?
Image
User avatar
Angelo
Holy Tits
NLSC Team Member
 
Posts: 5904
Joined: Fri Nov 03, 2006 1:40 am
Location: Philippines

Re: IFFset ~ iff Extractor & Importer

Postby joejam999 on Wed Feb 25, 2009 4:09 am

Can anyone tell me what iff's are the jazz jerseys?
User avatar
joejam999
 
Posts: 1290
Joined: Thu Jan 27, 2005 7:40 am
Location: Utah

Re: IFFset ~ iff Extractor & Importer

Postby JaoSming on Wed Feb 25, 2009 4:37 am

Opinions are my own.
Right Click Loop
phpBB [video]

https://www.youtube.com/playlist?list=PL8ozxhwwmz4LJzpGAj22T5qa0ZVFBJ3yw

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

Re: IFFset ~ iff Extractor & Importer

Postby Showfom on Thu Feb 26, 2009 8:54 am

The number of the jersey and the courts have rules

for example, s00.iff is the 76ers' courts. ua000.iff/uh000.iff are alse 76ers.

So you know, when you get into the game, the first team is 76ers.

Then Blazers,Bobcats,Bucks.

Yes, it is ordered by the first letter.
Welcome to NBA-2K.COM. Follow us on Twitter @NBA2K
User avatar
Showfom
 
Posts: 285
Joined: Fri Aug 31, 2007 11:38 am
Location: China

PreviousNext

Return to NBA 2K9 Tutorials & FAQs

Who is online

Users browsing this forum: No registered users and 1 guest