[Tool] NBA 2K Audio Editor (Leftos & nesa24)

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

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby melomanu20 on Tue Jun 18, 2013 2:48 pm

Image

im gettin this message everytime i try installing this
melomanu20
 
Posts: 98
Joined: Tue Aug 14, 2012 10:11 pm
Location: Chicago, IL

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby melomanu20 on Tue Jun 18, 2013 2:56 pm

jaelove wrote:Wow does NBA 2k12 share the same format?


nesa24 wrote:yep
2k11/12/13


i thought this meant its compatible with 2k12 too??

Or is it just that the tool is only compatible with 2k13?? If that's the case im hoping there's a tool in the works for 2k12 :cheeky:

2k12 isnt completely dead as many of us still play it do to the great UBR.. im sure hawk would love to change some 2k12 songs :mrgreen: (Y)
melomanu20
 
Posts: 98
Joined: Tue Aug 14, 2012 10:11 pm
Location: Chicago, IL

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby NIB on Tue Jun 18, 2013 2:57 pm

1st) Leftos,

2K Sports acquire a dedicate professional with knowledge and experience round this NLSC Forum. A smart, fast and splendid worker, whom always seek for help users developing their own experiences, i sincerely hope you stay with us for the coffee break and give us shots throughout the 2K experience period.

Thank you. And as racers say: "I HOPE YOU BREAK A LEG!" - So God helps you and good luck man! :applaud:

2nd) Nesa,

NLSC have great, maybe the best patchers world ever known, BUT UNDENYABLE, YOU ARE ONE OF THE BESTS EVER! :bowdown: :crazyeyes: :bowdown2:

Thank you for your hard working philosophy. A remarkable achievement!

Let's get ready to RUUUUMBLEEEEEEEEE!!!! :mrgreen:
ATECUBANOS...
Yesterday... Carried the Piano - Today, Right Now... Playing the Piano - Tomorrow... Will Listen the Piano.

Working Here, Working There... Working Everywhere!

"Michael, you're not doing today! You ain't go doing today!!" - Dennis Rodman
User avatar
NIB
 
Posts: 560
Joined: Wed Aug 15, 2012 2:36 am
Location: Rio - Brasil / Gabriela, Eu te Amo meu Amor!

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Leftos on Tue Jun 18, 2013 3:09 pm

melomanu20, the tool won't work on Windows XP. I'm starting to make use of technologies in .NET Framework 4.5, and I guess that doesn't support Windows XP. I'm sorry for that. You'll need Windows Vista, 7 or 8 to run any of my tools that use these technologies, and most of them will be migrated to them soon (NBA Stats Tracker has already switched, for example, and others will follow).

As for 2K11/2K12 compatibility and compatibility with other audio .bin files, I'll work on that today. I think I've found the magic strings I need to detect chunks and files, so I'll see if I can automate this.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Hiteshom on Tue Jun 18, 2013 3:29 pm

I've begun and it works PERFECTLY!
User avatar
Hiteshom
 
Posts: 499
Joined: Mon Jun 25, 2012 9:47 am
Location: Salt Lake City, Utah

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby jaelove on Tue Jun 18, 2013 3:31 pm

Oh how I pray you can get the 2k12 chunks broken down for the ingame and pre game music
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby nesa24 on Tue Jun 18, 2013 4:05 pm

jaelove wrote:Oh how I pray you can get the 2k12 chunks broken down for the ingame and pre game music



i have broken them down
at my topic post from 15/05/2013

UPDATE

2k12/2k13 sections are same
69A1BED202000000CD0500000A00000044AC
2k11 isnt
69A1BED202000000CF050000020000002256
All men dream: but not equally.
Those who dream by night in the dusty recesses of their minds wake in the day to find that it was vanity: but the dreamers of the day are dangerous men, for they may act their dreams with open eyes, to make it possible.
This I did.
User avatar
nesa24
 
Posts: 313
Joined: Sun Mar 04, 2012 3:43 am

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby melomanu20 on Tue Jun 18, 2013 4:34 pm

wow that sucks for me :|

so how do i go about getting windows vista, 7, and or 8??

and about how much will it cost me??
melomanu20
 
Posts: 98
Joined: Tue Aug 14, 2012 10:11 pm
Location: Chicago, IL

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Leftos on Tue Jun 18, 2013 5:04 pm

melomanu20, unfortunately I can't help you with that. You'll have to ask your local computer stores.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Leftos on Tue Jun 18, 2013 5:07 pm

Sometimes it just takes a good night's sleep before you're back, kicking. And kick I did.

v0.2 has been released!

- Addition: All NBA 2K BIN Audio files that are of similar format are now compatible
- Addition: Ability to save and load descriptions for audio segments
- Addition: Added button to clear song cache
- Improvement: Various minor improvements and fixes

How about ALL NBA 2K BIN AUDIO FILES being editable? Not just jukeboxmusic.bin, ALL BIN FILES. The tool will now automatically detect files and chunks inside any NBA 2K BIN Audio file you give it, as long as it uses the format we've researched. My tests show that it can open all NBA 2K12 and 2K13 audio files, and I replaced one of 2K12's songs with one of my own already.

So have at it, and have fun!
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Leftos on Tue Jun 18, 2013 5:52 pm

v0.3 has been released!

- Addition: Ability to export audio segments from BIN files (for backup purposes, or to copy/move a segment to another part of the file)
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby vadimibr1 on Tue Jun 18, 2013 5:55 pm

This is really awesome! Oh my God!!!! Thank you Leftos and nesa24!!!! :bowdown: :bowdown: :bowdown: :bowdown: :bowdown:
vadimibr1
 
Posts: 47
Joined: Thu Feb 28, 2013 6:36 pm

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby ILL-Patch guy on Tue Jun 18, 2013 7:31 pm

Awesome work! Is there anyway to export a song in an mp3 format from the .bin file?
User avatar
ILL-Patch guy
 
Posts: 381
Joined: Mon Apr 04, 2011 11:24 pm
Location: Europe

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby nhalt42 on Tue Jun 18, 2013 8:13 pm

There are 3 .bin files that (I believe) are used in blacktop mode? Which one is used for music? I would think one of them is used for the announcer.

aistreet.bin
aostreet.bin
asstreet.bin
nhalt42
 
Posts: 34
Joined: Wed Dec 14, 2011 3:33 pm

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby JaoSming on Tue Jun 18, 2013 9:23 pm

Leftos wrote:v0.3 has been released!

- Addition: Ability to export audio segments from BIN files (for backup purposes, or to copy/move a segment to another part of the file)

BOOM

anyway you could take it one step further and make it a playable audio file, even an export all? Then we could know which commentary/environment segment we are editing/replacing, rather than trial and error.
Opinions are my own.

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

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Lean on Tue Jun 18, 2013 9:30 pm

Nice job you guys. Now I can add more Jay-Z songs in the game.

Can I get a wha-wha-wha-wha-what?
User avatar
Lean
The Artist Formerly Known as Crappystuff
NLSC Team Member
 
Posts: 7775
Joined: Mon Nov 13, 2006 8:49 pm
Location: Pilipinas

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby nesa24 on Tue Jun 18, 2013 9:32 pm

also since its asf type you can use
wmplib to play http://www.youtube.com/watch?v=2hGsv4Cths8
and WindowsMediaEncoder lib to cut/edit songs
http://www.experts-exchange.com/Microso ... 02347.html

For anyone intersted, here's how you do it.

Go to microsoft and download the Windows Media Encoder SDK.
Add a reference to WMEncoderLib.dll

WMEncBasicEdit BasicEdit = new WMEncBasicEdit();
BasicEdit.MediaFile = "source.wma";
BasicEdit.OutputFile = "destination.wma";
BasicEdit.MarkIn = 1200 // time in miliseconds
BasicEdit.MarkOut = 18000 //time in miliseconds
BasicEdit.Start();

That's it. It's that simple.



create a basic header :cheeky:
insert dat at end
play/copy/cut...
All men dream: but not equally.
Those who dream by night in the dusty recesses of their minds wake in the day to find that it was vanity: but the dreamers of the day are dangerous men, for they may act their dreams with open eyes, to make it possible.
This I did.
User avatar
nesa24
 
Posts: 313
Joined: Sun Mar 04, 2012 3:43 am

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Leftos on Tue Jun 18, 2013 10:03 pm

nesa24, I don't think it works that way. There's no "basic header" for those files AFAIK, because every file after being encoded with xWMAEncode has a different header, specifically their dpds section which takes care of seeking are different both in length and content. I'll try, but I have my doubts.

Have you managed to get any .DAT file to play by inserting a basic xWMA header?

JaoSming, what I said above is what's stopping me from making the exported files playable. I'll see if I can whip up a header that works on all segments.

EDIT: In order for those files to be playable/convertable, we need to rebuild their dpds table. I studied two xWMAencode'd files in Hex On Steroids and I saw that the dpds table consists of 32-bit integers, each denoting how much data will have been decoded after each xWMA data packet has been processed. Unfortunately, these are non-standard, and there's no way for me to be able to predict them. The other way would be to figure out how the game plays them, which would probably take a managed wrapper of XAudio2 or something... and, yeah, that seems like a lot.

In any case, I'll do Export All.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Magic Tmac1 on Tue Jun 18, 2013 10:07 pm

Thank you very much Leftos and Nesa for creating this tool! Now I'll try to create an italian customized commentary with other friends... Thanks again!
From Italy, Romagna rulez!!!
User avatar
Magic Tmac1
 
Posts: 42
Joined: Tue Aug 02, 2011 7:23 pm
Location: Romagna, Italy

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby nesa24 on Tue Jun 18, 2013 10:41 pm

Leftos wrote:nesa24, I don't think it works that way. There's no "basic header" for those files AFAIK, because every file after being encoded with xWMAEncode has a different header, specifically their dpds section which takes care of seeking are different both in length and content. I'll try, but I have my doubts.


trust me it will work
generic header + .dat ( striped data )
when i have time i will explain

it worked for me yesterday on my home pc
when i get home and find some hexing time i will demonstrate how i did it (hex + c# code for writing/playing)
All men dream: but not equally.
Those who dream by night in the dusty recesses of their minds wake in the day to find that it was vanity: but the dreamers of the day are dangerous men, for they may act their dreams with open eyes, to make it possible.
This I did.
User avatar
nesa24
 
Posts: 313
Joined: Sun Mar 04, 2012 3:43 am

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby yeltrah123 on Tue Jun 18, 2013 10:58 pm

Hey Lefos, and JaoSming I go the tool and imported the default jukebox nba2k13 media sounds and it look like this:C:\Program Files (x86)\2K Sports\NBA 2K13\jukeboxmusic.bin. Then I hit the browse tab next to song file and renamed it to 0.mp3 and got error when i loaded it..? Can you help me? How do you make the backup so i can overwite the file?
User avatar
yeltrah123
 
Posts: 324
Joined: Tue Jun 18, 2013 10:55 pm

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Leftos on Tue Jun 18, 2013 11:03 pm

yeltrah123, can't help you if you don't tell me what error you got.

nesa24, okay, when figure out how to build a generic header, let me know. I'll code it into the tool ASAP.

EDIT: Done with export all and some other enhancements, such as improved loading speed and the ability to load huge files like lines*.bin fast. I'm waiting for nesa24 to help me in order to make the exported files playable and even play segments from inside the tool, and I'll release the new version.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby likwidsneyk on Wed Jun 19, 2013 1:20 am

working! thanks for this Leftos and Nesa24! Mabuhay!
likwidsneyk
 
Posts: 43
Joined: Mon Jul 11, 2011 1:05 am

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby Angelo on Wed Jun 19, 2013 1:31 am

Holy smokes this is a great breakthrough for 2k patching hats off to both of you Leftos and nesa24 (Y)
Image
User avatar
Angelo
Holy Tits
NLSC Team Member
 
Posts: 5895
Joined: Fri Nov 03, 2006 1:40 am
Location: Philippines

Re: [Tool] NBA 2K Audio Editor (Leftos & nesa24)

Postby mr24yoso on Wed Jun 19, 2013 1:33 am

sir what is this error. every time i click the apply in the nba 2k aduio editor it goes with this error. any solutions for this stuff. thanks in advance.
You do not have the required permissions to view the files attached to this post.
User avatar
mr24yoso
 
Posts: 2
Joined: Wed Jun 19, 2013 1:22 am

PreviousNext

Return to NBA 2K13 Modding

Who is online

Users browsing this forum: No registered users and 17 guests