Jump to content
Blue Purple Red Orange Gold Green Teal Chocolate Charcoal
Blue Purple Red Orange Gold Green Teal Chocolate Charcoal


  • Content Count

  • Joined

  • Last visited

  • Days Won


About DYosua

  • Rank

Profile Information

  • Location
    Cape Elizabeth, ME
  • Interests
    Video editing/production, Florida Marlins and New York Yankees

Contact Methods

  • Website URL

Recent Profile Visitors

5,721 profile views
  1. DYosua

    Audio Editor?

    It's in the "Audio Success" thread in the Mod Previews forum... I haven't submitted it to the site officially yet. The direct download is here.
  2. I can't say for sure whether I've seen it in Texas, but I've definitely seen it in Arizona when playing on my laptop. For whatever reason as the shading in the park changes as the game progresses, the dirt shadow is replaced by the same pink color shown in the screenshot. I have the ATI Mobility Radeon HD 4650. It doesn't affect the playability of the game but I've always found it a bit curious.
  3. You may want to try sorting the audio files by the "Length" column in the editor (sorting by duration wouldn't work perfectly because the duration is converted to a string). That will group the files that are close in duration together, so if 2K spread the presentation music in multiple files (but is approximately the same length) they may be easier to find.
  4. DYosua

    Audio Success!

    6/21/2014 Update After some experimentation, I was able to implement listening to some of the files through the editor. Currently, you cannot listen to/replace the speech files (as it seems to be a different combination of sample rate/bitrate/channels), but the jukebox, pa music, and most chants are listenable. You will know when a selection is finished when you hear a soft "hiss," after which you can hit the "Stop" button. Download v0.2.0.0 here.
  5. To open other .bin files, change the filter in the bottom right hand corner of the open screen. By default, it just looks for "jukebox.bin" but if you select the "MLB 2K Audio Files" option it will show all .bin files. I imagine that the pre-game music is in loadingmusic.bin, and my guess is that all other presentation music would be in the pamusic.bin (at least that is how they split it up in prior versions of the game we could open the audio for). Unfortunately, until I can figure out a way to implement the music preview within the program, most discoveries are going to be made through trial and error.
  6. DYosua

    Audio Success!

    6/7/2014 Update After some experimentation, I believe I was able to modify the NBA Audio Editor tool (which is open source) to be able to import tracks into 2K11/2K12 bin files. There were a few assumptions that I made about the audio format which resulted in one or two "hard-coded" changes I would have rather had a programmatic solution for, but so far in my testing all has gone well. A few facts about the format: The header format is similar to the NBA files, but are shorter because MLB files have fewer packets per audio "chunk" Each chunk is made up of no more than 5 packets Each packet is 1,487 bytes in size Each chunk has a filler at the end of it, the size of which is 8,192 - (56 + (4*PacketCount) - (1,487 * PacketCount)) bytes long I believe the filler is primarily why the existing NBA tool did not work with these files, as it threw off some of the offsets the program was calculating (as well as other properties like file durations). Since this has been addressed, NBA files can no longer be used in this tool. You should be able to feed the program any wav or MP3 file (whether it is the correct sample rate or not) and it should convert it into the correct format. From there, the program will filter the list of slots to only ones that are longer than the song you are trying to add. For best results, the duration of the new file you are replacing should be close to the original duration. All that said, I want to release the preliminary version of the modified program so people can experiment with it. It is by no means finished, but it is hopefully a good first step. While the program can successfully import files, exporting files still results in something unrecognizable, even though I made analogous changes to the exporting code. So unfortunately for now, I have disabled the ability to export .xma/.wav files. This means that there is really no way to preview which files you are replacing. I have stuck to editing jukeboxmusic.bin so far, and the order in the file is the same as it appears in the 2K Beats section of the game. Anyway, a huge thanks goes to Leftos and nesa24 from the NLSC forums for their initial work on this - not being well versed in .NET C# programming, I would not have been able to build something like this from scratch. The program comes in a .zip file with a folder. Simply extract the folder and open the "MLBAudioEditor.exe" file and start changing music! As always, backup your original file first! MLB Audio Editor v0.1.0.0
  7. DYosua

    Audio Success!

    I used Adobe Audition for my test file, but a freeware alternative such as Audacity should also be able to convert and save a file into the proper wave format. From there you can run xWMAEncode using the -b 32000 parameter as outlined in the NBA threads. That should yield an XMA file that is in the proper format, at which time it can be broken up and placed within the existing chunks of the jukebox file.
  8. DYosua

    Audio Success!

    I don't have any of the NBA games, but I agree on the MLB format based on my experiments. As for the hex offsets, I believe there is a way to figure out where songs start. As part of the header for each chunk, I think there is a counter that increments in each chunk. In the attached image, I have highlighted them. The first four are from the beginning of the file. Obviously, I skipped most of the chunks between the third and the fourth. The bottom one in the image has the counter reset, which I think signals the beginning of the next song (which I think I saw mentioned in the NBA threads). One thing I didn't notice until now is that position the audio portion starts at does not always appear to be the same. I have highlighted what I believe those starting positions are in yellow. I determined their starting positions by noticing that there are hex values that are repeated before other values start. These were (in the pictures): Chunk 1: A4 01 00 Chunk 2: 5C 02 00 Chunk 3: 70 02 00 Chunk 4: 70 02 00 Chunk 5: 70 01 00 I don't know what the significance is of these values, but changing the data after it appears to work so far (although I haven't gotten as far as the fourth chunk to see if the offset is different).
  9. First off, this experiment is in it's very early stages, and I don't suspect that this will result in an easy to use utility for awhile, but I wanted to share this since we have been trying since 2011 to decode the newer 2K audio format. Given today's holiday, I had time to do a little experimenting and after reading the discussions on the NLSC web site about the NBA format (example here), I was able to successfully replace a bit of the first Jukebox song. A brief videoclip is below - I replaced the start of "Holdin' On To Black Metal" with a stinger from the YES Network. Like the "NBA" format, the "MLB" format is in WMAv2. The files can be converted from WAV using Microsoft's xWMAEncode command line program. I found that wave files saved as 22050 kHz, 8 Bit Stereo converted to the correct format. Unfortunately, this is not all that is needed since 2K breaks up the files into many chunks. Through a hex editor, I found similarities to the NBA format in terms of chunk headers, but the header length is different. In the MLB format, the header begins with "69 A1 BE D2 02..." and the audio data of each "chunk" begins at offset 4C (decimal 76). Also, I believe the audio data continues to the next header in the NBA format, while in the MLB format it does not. There is a long stretch of "AA" values before the next header in the MLB format, which is not audio. The length of each audio chunk ends up being 1D0B bytes long. As an example, here are the starting and ending positions of the audio portion of the first 9 chunks in jukeboxmusic.bin: 4C - 1D57 204C - 3D57 404C - 5D57 604C - 7D57 804C - 9D57 A04C - BD57 C04C - DD57 E04C - FD57 1A04C - 11D57 At this point I believe don't believe we can change the duration of the tracks themselves (much like the early days of MVP audio modding) but we can replace audio with the same/shorter durations. Also, I have not looked at any other .bin files to see if the audio is compatible but I suspect they probably are. Again, at this point this is a very manual process, so I don't have any expectations as to when a utility can be created to automate this. I have very limited programming experience in .NET languages, but since the NBA utility is open source I may be able to learn how to perform the file modifications programmatically. I just wanted to share some initial findings, and finally some success on the audio front! MusicSuccess.wmv
  10. Great work! Does a tutorial exist that explains how to go about modifying the overlays? It would be interesting to play around with it and see what can be changed.
  11. There are some discussions about this issue as well as a workaround in this thread: http://www.mvpmods.c...opic=54520&st=0
  12. Unforunately 2K changed their sound file compression method for both the NBA and MLB franchises (as of 2011) and as of now nobody has been able to open or edit the files successfully. All you would need to edit the 2K9 or 2K10 files would be a program like Cool Edit/Adobe Audition, or the free program Audacity (which also works I believe if the files are imported correctly).
  13. Yes, much of the 2K10 sound is editable. For general crowd ambience you would probably want to look at eventresponse.bin (external ambient sounds such as planes, cars, etc. can be found in env_amb.bin). Crowd chants can be found in chants.bin and chants2.bin. Rally/organ/walk up and theme music (6+ hours worth!) can be found in pamusic.bin. These files will all be editable using the procedure outlined above. Unfortunately, PA announcements and other speech such as PBP and umpires are in a format that was never decoded.
  14. Unfortunately, no one has been able to decode the audio formats for MLB 2K12 (or 2K11) so for the moment this is not possible.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.