i decided to make a new topic, just to keep all the info all together in the same first post or something. Nesa has already made a topic describing pretty much how stuff works this year, so i think there is no need to get into this a second time.
I am working on an Explorer for the 2K archives, which is in a capital [WIP] state, but that does not mean that there is no progress.
Quite some time now i am working on reading the game's textures and the last 2 days i managed to find some more (the rest one will stay on the other topic, i am to lazy to bring them here):D:D
I think though that i can add more fixes and tweaks on this, because of the DX10 textures that are there on some textures. There are some more things that i can implement using opengl which i haven't right now. Basically i implement things when i find that something is not working, so i need to get into a testing cycle to see which things work and which don't and make my adjustments accordingly.
Those kind of implementations allowed me to read those normal mapsl. These greenish-like normal textures are not absolutely "correct" and i have no idea if i can fix this. What is happening in fact is that the actual image is an rgb and opengl reads it as bgr. I need to find out how to work this out. Otherwise the whole texture structure is correct and i am so glad for that . The rest of the textures look good so far. It seems that this "channel-mixing" (thats how i call it) algorithm is the same for all textures, and i am also so glad for this
Except from that, all face textures (and basically most of the player textures) are 1024x1024. I start to believe that this game has THOUSANDS of textures, which in this manner of storing it is NOT easy to explore, but anyway
Oh and another thing that i almost forgot. I think i suck a bit on making comfortable gui interfaces so if anyone has a better interface concept in mind please to propose it here, and i'll be glad to implement it. If i like it of course xD
TODO list:
- Add exporting texture support
So here we go for now
----------------------------------------------------------
Current Release : v0.285
Version: 0.285
#Features#
-Importing Capabilities
-IFF Import support (also supports iff files extracted from RED MC)
-Texture Import (png,jpg,dds image formats supported)
-Ultra HD Texture import support
-OGG/GZIP/ZIP import support
-Exporting Capabilities
-IFF Exporting
-Texture Export to DDS format
-Model Export in obj format
-Previewing Capabilities
-Texture Previewing
-OGG file player included
-3D Model previewing
-Misc
-Tons of performance fixes
-GUI changes
-Tons of bugfixes
Download
----------------------------------------------------------
NBA 2K15 Explorer v0.27
Version: 0.27
#Features#
-Importing Capabilities
-IFF Import support (also supports iff files extracted from RED MC)
-Texture Import (png,jpg,dds image formats supported)
-Ultra HD Texture import support
-Exporting Capabilities
-IFF Exporting
-Texture Export to DDS format
-Model Export in obj format
-Previewing Capabilities
-Texture Previewing
-OGG file player included
-3D Model previewing
Download
----------------------------------------------------------
NBA 2K15 Explorer v0.1
HowTo Guide:
Getting Started
Current Version: 0.1
Features:
- Archive Exploring
- Customizable Exploring based on User Preferences
- Archive Contents Extraction
- OGG Sound Player embedded for previewing game sound files
- OpenGL texture viewer for previewing game texture files
- Texture Export Support (Automatic convertion to dds legacy format)
NBA2K15 Explorer is still under development so there is always room for improvement. There could be bugs around which i haven't yet found, or there could be files which do not still open, or give out errors on the console. For this particular reason, i have intentionally left the app run under an output console, which automatically opens when you are running the tool executable. So if anyone has noticed something wrong with the tool, grab a screenshot of the console and send it over.
How it works
DO NOT try to open anything before reading this, you will save much time and you will thank me later xD. Before opening anything, open the Preferences under the Options menu. From this preferences window you can select the archives of which file you want to explore. 1C, 1L and 1K together contain nearly 200,000 subarchives when the total of subarchives is 360,000. That means that if you still want to load those files and explore their contents, you will have to WAIT. And wait patiently, because it may take up to 7-10 minutes to load everything depending on the computer of course. I advice you to explore these files separately if you want to.
Now having your preferences set, the only thing left is to click open and select the 0A file. Thats it, after a while you will see all the archives in the treeview together with each one's subarchives listed. DO NOT try opening any other file. OPEN ONLY 0A file. This one contains all the information about all the rest files.
In order to explore a subarchive, simply double click on it. By double clicking the tool will ask you to open the file that the subarchive belongs, if its not already opened. By double clicking you will see all the subarchive contents on the down left list view.
Double clicking again on this listview will attempt to open the selected file.
Note
If the file you seleted is a Zip file, its contents will appear on the Archive Explorer Tab. I have implemented a custom zip file parser, so you can again double click on any zip file subfile and the tool will try to preview it. For example if its a texture it will open in the OpenGL viewer, if its a json file it will open in the Text Editor.
File Exporting
IFF Contents
In order to export subarchive contents (or in other words (mostly) IFF contents) ,on the Archive Contents listview, make your selection with the mouse, hit rightclick and click Export. A dialog will show up with saving directory options.
Textures
If you are mostly interested in textures, the best solution for exporting is via the OpenGL previewing window. After opening a DDS file, right click on the viewport and select Save Image. This will save your image in legacy dds format wherever you select to.
TODO
- Add Import functions
- Add 3D model preview support
- Store user settings externally
- Get rid of the open file dialogs and parse the file from the game directory directly
Download