Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

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

Re: NBA2K Music Format - need help

Sat Jun 15, 2013 6:02 am

NBA2K13 - Music Tool - Beta 001
DOWNLOAD



So its time to start with coding of tool with hope that we will get it right (codec)
So.. Download (7zip file)
Read the ReadMe
And Please make backup
Selected filename has to be jukeboxmusic.bin

NOTE: Tool only changes first 2-3 secs of MERCY song (1st block)




Since its same type of codec for music/chants-crowd/commentary - getting one thing right we will get all right
Please test and please ask audio devs for help



Thanks in advance
nesa24

Re: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Sat Jun 15, 2013 6:14 pm

and to add that format is 100% WMA
69A1BED2 is D2BEA169 little endian
D2BEA169 is CRC for WMA http://rulus.com/tool/hash/WMA

so my friend is right about WMA

Re: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Sun Jun 16, 2013 8:51 pm

anyone cares?
2 days
100 downloads
no feedback or try?

Re: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Sun Jun 16, 2013 10:57 pm

I havent had time the past couple weeks to do anything modding related. It looks like you did great work though, havent had time to experiment with it.

Re: NBA2K Music Format - need help

Mon Jun 17, 2013 12:18 am

nesa24 wrote:
NBA2K13 - Music Tool - Beta 001
DOWNLOAD



So its time to start with coding of tool with hope that we will get it right (codec)
So.. Download (7zip file)
Read the ReadMe
And Please make backup
Selected filename has to be jukeboxmusic.bin

NOTE: Tool only changes first 2-3 secs of MERCY song (1st block)




Since its same type of codec for music/chants-crowd/commentary - getting one thing right we will get all right
Please test and please ask audio devs for help



Thanks in advance
nesa24


Great work dude (Y)
any chance to change the arena music,maybe in the future?

Re: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Mon Jun 17, 2013 12:32 am

sorry to dont reply to this,but you can be sure that I am waiting for this so bad...I dont know how to patch this things...but I am a DJ and maybe I can recommend a new playlist...I was thinking to that if we change the game music...in the presentation of the games when they show parts of a jay z video for example... it is going to sound with a diferent song than the video,but anyway I dont care at least if we can change all the arenas music it is going to be great.

Re: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Mon Jun 17, 2013 1:26 am

JaoSming wrote:I havent had time the past couple weeks to do anything modding related. It looks like you did great work though, havent had time to experiment with it.


please post on xentax (bump topic) about tool and .dat files
maybe thay can help

Re: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Mon Jun 17, 2013 4:41 am

i give it a try and it work,

NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 7:26 am

Well issue is SOLVED!
DOWNLOAD Beta 0.0.2


It contains BETA001 with replaced test3.dat
Run tool
Select jukeboxmusic.bin
Click Read Temp3
Click Write

Play song mercy
At start of song you will hear my voice saying PES :cheeky:

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 7:36 am

great work man (Y) (Y)

http://www.nba-live.com/music-format-fo ... by-nesa24/

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 7:57 am

Nice work (Y)

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 7:59 am

Yo, dude, that's one small step for modder, one giant leap for modderkind. :cheeky: Congrats on this one mate! (Y)

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 8:14 am

Wow does NBA 2k12 share the same format?

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 8:16 am

yep
2k11/12/13

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 8:17 am

Wow this is Christmas in June thanks a million man

but exactly how do you replace songs?

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 8:26 am

"but exactly how do you replace songs?"
I know right? Tutorial? Anyone? JaoSming?

Thanks soooo much. This can make custom mods soo much better, like the College Hoops one, we thank you from there.
Last edited by Hiteshom on Mon Jun 17, 2013 8:31 am, edited 1 time in total.

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 8:27 am

jaelove wrote:Wow the is Christmas in June thanks a million man

but exactly how do you replace songs?


Well i got clear sound for game to play it and its a first step
Now i have to work with binarywriters and media converters

Its pure mess since game sound is splitup but i will find a way when i have time

Again i have to make 2-3 days brake
Only time is what it takes and i lack it

Sound format is
WMAv2 / Bitrate 31kbps / Stereo / 44.1 KHz / 16bit

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 8:31 am

Amazing. Didn't think this was ever going to happen. Thanks Nesa24

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 8:54 am

Bravo (clapping hand) thank you for this.

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 9:51 am

Wow, brilliant work and persistence. Let's hope they don't change it up for 2K14

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 9:55 am

nesa24 wrote:
jaelove wrote:Wow the is Christmas in June thanks a million man

but exactly how do you replace songs?


Well i got clear sound for game to play it and its a first step
Now i have to work with binarywriters and media converters

Its pure mess since game sound is splitup but i will find a way when i have time

Again i have to make 2-3 days brake
Only time is what it takes and i lack it

Sound format is
WMAv2 / Bitrate 31kbps / Stereo / 44.1 KHz / 16bit



Sir, YOU are the best. In behalf of all Filipinos, MARAMING SALAMAT PO!. Thank you sir. I'll try and get you some help.
Last edited by Spandex_ on Mon Jun 17, 2013 3:00 pm, edited 1 time in total.

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 11:19 am

Excellent! Can't wait to see the progress with this.

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 11:36 am

nesa24, well done. It's nice to see programmers around the forum. You should be releasing the source code of your tools, maybe someone could help you directly. Since you're using .NET, I was able to take a look at what you're doing through your decompiled source code, and from the information you've given, I was able to replace the first seconds of Mercy with the first seconds of any song on my computer, just like you did. Now if you can figure out how the different chunks are placed inside the .bin file, you could be making a song import/export tool in no time. I don't understand if you've already figured that out from your posts, but I hope you have.

To everyone else...
Like nesa24 said, the files are in WMAv2, 32kbps, Stereo, 44.1 KHz, 16bit. To get any song on your PC to that format, you use xWMAEncode. xWMAEncode is part of Microsoft's DirectX SDK, and can be found here: http://www.mediafire.com/download/zccl8 ... Encode.exe. You run it by putting it anywhere and running it through the command line like this:
Code:
xWMAEncode -b 32000 mysong.wav mysong.xma

You can also decode xWMA files like so:
Code:
xWMAEncode mysong.xma mysong.wav


Once you encode a file to xWMA, open it in any hex-editor, and find the "data" header. After the ASCII codes for "data" is the size of the rest of the file in 4 bytes, and then the actual song data. So, what nesa24 has done so far is grab a chunk of that song data and throw it right into jukeboxmusic.bin at decimal offset 96 to replace the start of Mercy.

Problem is, we need to figure out the size of those chunks (is it 4K? 8K? Something else?) and their offsets inside the .bin files. Once we do, we can replace the songs. As for the chunk size, I'd say 8192 bytes (8KB) is a candidate, since that number is what's inside bytes 92-95 in jukeboxmusic.bin. Could be wrong though.

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 2:17 pm

Great job nesa24! You have done a big progress soving that issue :D

Re: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Mon Jun 17, 2013 2:29 pm

ILY ILY
Post a reply