Kccitystar Posted April 14, 2021 Share Posted April 14, 2021 I will split this tutorial into three sections: 1) Decompressing the portraits.iff file 2) Downloading the portraits you want and making sure they are in the right folder structure 3) Installing the portraits properly You will need the following: NBA 2K12 Decompressor MLB Portrait Installer 1.2 (make sure it is MLB-Portrait-Installer-1.2.7z) A stock portrait.iff/cdf file Notes: Quote 1) Please install the MLB Portrait Installer to a folder on your desktop if possible. The default installation path in the installer used to work fine on Windows XP, but I've run into problems with the tool if I left the install path the way it is on Windows 10. 2) If you don't have a stock portrait.iff/cdf file, do not ask for original files on this site. KC's #1 rule to modding anything for this game, especially if you don't know what you are doing or if you are unfamiliar with what you are working on is to back up your entire MLB 2K12 folder before you install mods, so you don't run problems and you can restore your stock files in the event you break something. 3) if you have, it's likely your portrait.iff file is already decompressed, so you can skip all the way to Step 2 into importing using the portrait utility. First things first, we will need to make sure that our portrait.iff file is decompressed. This will allow one of the utilities to write back into the portrait file. We will be using the NBA 2K12 Decompressor for that, primarily because Krawhitham's tool uses Nba2KX_ModTool to do so and it uses Java, whereas the one in this tutorial does not. This makes the utility far more compatible across any OS. Java will not be necessary in this tutorial. 1) Decompressing the portraits file a) Download and install the NBA 2K12 Decompressor. The default install path is C:\NBA 2K12 Decompressor. b) Launch the NBA 2K12 Decompressor. c) Click the browse for iff folder icon: d) Point this to portrait.iff in your MLB 2K12 directory, and click UNZLIB after you select portrait.iff. It will begin to decompress the file. e) When it is done you will see a message box that says "READY". You will find the two decompressed files (portrait.cdf and portrait.iff) in the directory where NBA 2K12 Decompressor is installed: f) Copy and paste this into your MLB 2K12 directory and overwrite the two existing files. Now we are ready to install some photos. 2) Installing the portraits a) What we want to do is launch the MLB 2K12 Portrait Installer. I've installed this in this path: C:\Kraw's Tools\MLB 2K12 Portrait Installer. b) The utility is going to ask you to find your MLB 2K12 directory. The way that it will do this is by asking you where your mlb2k12.exe is located. Once you locate the mlb2k12.exe, you'll see this This means the utility is configured to know where your MLB2K12 directory is, and it knows you have a decompressed portrait.iff/cdf file. Now, with this step completed, we are now able to download some portraits. c) In this example, I'll download the portraits uploaded by @Alejandro C Opening this .ZIP file shows me that there is a folder inside it with the .DDS files I need to install inside them. I also know that there are two players on this list without an ID, so I can't just select the .ZIP file with the Portrait Utility and import it like this (which is the reason why I just do it import portraits from a folder vs a file). d) Extracting the folder in this .ZIP file will give me the folder and the .DDS files inside them to import with the Portrait Utility. I don't need to import Ryan Thompson or Yoshi Tsutsugo (because they don't have IDs yet) so I will delete them from this folder. With everyone included with their IDs in this folder, we're officially ready to import. Now, this is very important: Every DDS file must have a numerical ID in order for the game to successfully read it. 3) Installing the portraits. a) Let's go ahead and click on FOLDER here in the Portrait Utility: b) What we're going to do is select the "New Portraits TB 2K21" folder that I showed you in the screenshot above: Then we'll click OK. The utility now knows that you're going to install .dds files from this specific folder. Let's say you want to install portraits as a FILE instead. You got a zip file, you want to just install it as you downloaded it. Well, the modder has to set up the proper structure to make it happen: When a modder creates a portrait pack, the correct structure that the portrait utility can understand if you choose FILE to install portraits is to have the DDS files in the zip/7z file in the package itself and not in a folder within the zip/7z file, so what that means is that you want the portrait pack to look like this when you open the zip file: instead of a folder within the .zip/7z file, like this: There's no "best method" here though. I'm just showing you a method of installing portraits that is proven to work 10/10 times. c) Let's go ahead and click "install". You will see some windows pop up, and then you will get to this message here: If you got here, congratulations, your portraits have been installed! If you haven't, restore your original portraits.iff/cdf and start from the top again. Link to comment Share on other sites More sharing options...
Bostonnico Posted April 14, 2021 Share Posted April 14, 2021 This is very useful information, thanks for the tutorials, as usual, they are very explanatory. until now I installed them differently with TiT MLB2k10 😅😅 Link to comment Share on other sites More sharing options...
LouisvilleLipp Posted April 14, 2021 Share Posted April 14, 2021 Thanks for the tutorial KC, much props. However, I have a question. After clicking on ZLIB got a msg that this file is not compressed or it is already decompressed. What does this mean and what is my next step? Link to comment Share on other sites More sharing options...
Kccitystar Posted April 14, 2021 Author Share Posted April 14, 2021 47 minutes ago, LouisvilleLipp said: Thanks for the tutorial KC, much props. However, I have a question. After clicking on ZLIB got a msg that this file is not compressed or it is already decompressed. What does this mean and what is my next step? The tutorial is meant for users who have never installed portraits before. However, if you have, it's likely your portrait.iff file is already decompressed, so you can skip all the way to importing using the portrait utility. I should note this in the tutorial among other notes. I want this to be completely fail proof. Link to comment Share on other sites More sharing options...
NYYWSC96 Posted April 15, 2021 Share Posted April 15, 2021 dumb questions will this update the rosters as well? Link to comment Share on other sites More sharing options...
Jim825 Posted April 15, 2021 Share Posted April 15, 2021 6 hours ago, NYYWSC96 said: dumb questions will this update the rosters as well? Based upon the title of the thread, I would guess it will not. Link to comment Share on other sites More sharing options...
LouisvilleLipp Posted July 27, 2021 Share Posted July 27, 2021 Hey KC, I'm getting a error msg that says Run-time error"9" ; Subscript out of range. every time I try to click UNZLIB to decompress the file. What does this mean? I always have trouble with these sorts of things. Nothing is cut and dried. Update: I got it to work, saw the done, goodbye msg after installation. But the new portraits still aren't showing up in game. For ex.. Nelson Cruz has a Texas Ranger cap, instead of a TB cap. I don't know if this means anything but I'm using HeadTrip's roster. His is the most up to date. I also used the original Portrait.iff and Portrait.cdf files that came with the game. Link to comment Share on other sites More sharing options...
Kccitystar Posted July 31, 2021 Author Share Posted July 31, 2021 On 7/27/2021 at 5:13 PM, LouisvilleLipp said: Hey KC, I'm getting a error msg that says Run-time error"9" ; Subscript out of range. every time I try to click UNZLIB to decompress the file. What does this mean? I always have trouble with these sorts of things. Nothing is cut and dried. Update: I got it to work, saw the done, goodbye msg after installation. But the new portraits still aren't showing up in game. For ex.. Nelson Cruz has a Texas Ranger cap, instead of a TB cap. I don't know if this means anything but I'm using HeadTrip's roster. His is the most up to date. I also used the original Portrait.iff and Portrait.cdf files that came with the game. Does this error happen with a stock portrait.iff file? Link to comment Share on other sites More sharing options...
LouisvilleLipp Posted August 1, 2021 Share Posted August 1, 2021 Yes. I'm using the default portrait.iff and .cdf that came with the game. In fact, both are dated 2012. None of my new portraits are showing up. I damn near installed all of them. That's 2 hr's of my life I can't get back. 😅 Link to comment Share on other sites More sharing options...
Kccitystar Posted August 1, 2021 Author Share Posted August 1, 2021 17 hours ago, LouisvilleLipp said: Yes. I'm using the default portrait.iff and .cdf that came with the game. In fact, both are dated 2012. None of my new portraits are showing up. I damn near installed all of them. That's 2 hr's of my life I can't get back. 😅 You will need to make sure that the portrait IDs in headtrip's roster line up with what player IDs are in the portrait packs you're importing. There is an official list that would give you a definitive ID for each player if none of them line up. Link to comment Share on other sites More sharing options...
LouisvilleLipp Posted August 4, 2021 Share Posted August 4, 2021 Thanks for the reply. I didn't think this would be that complicated. Do you have the list that corresponds with Headtrip's roster? Link to comment Share on other sites More sharing options...
LouisvilleLipp Posted September 1, 2021 Share Posted September 1, 2021 How is the 2K12 roster coming along or is it dead in the water? Haven't heard any progress on this mod at all. Link to comment Share on other sites More sharing options...
eldis Posted September 28, 2021 Share Posted September 28, 2021 hello, I did everything as you said, but for some reason I do not load all the portraids, and when I check with MLB2K12 Roster Editor, I see that some IDs do not match, my question is if I can correct it manually, and if so, q program could use, thank you very much, very good tutorial On 8/1/2021 at 2:52 PM, Kccitystar said: You will need to make sure that the portrait IDs in headtrip's roster line up with what player IDs are in the portrait packs you're importing. There is an official list that would give you a definitive ID for each player if none of them line up. ok, can you please tell me where can i find that list, sorry mi english, i am from cuba Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.