NBA2K13 - Music Tool - Song Skipping Fix Example

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

Re: NBA2K Music Format - need help

Postby nesa24 on 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
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: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Postby nesa24 on 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
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: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Postby nesa24 on Sun Jun 16, 2013 8:51 pm

anyone cares?
2 days
100 downloads
no feedback or try?
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: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Postby JaoSming on 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.
Opinions are my own.

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

Re: NBA2K Music Format - need help

Postby ConfigSys on 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?
ConfigSys
 
Posts: 254
Joined: Fri Dec 01, 2006 10:06 am

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

Postby wody on 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.
User avatar
wody
 
Posts: 1002
Joined: Fri Jul 10, 2009 12:42 pm

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

Postby nesa24 on 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
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: NBA2K13 - Music Tool - Beta 001 + need help Music Format

Postby buddaking on Mon Jun 17, 2013 4:41 am

i give it a try and it work,
buddaking
 
Posts: 602
Joined: Mon Jan 14, 2013 6:08 am

NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Postby nesa24 on 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:
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: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Postby JaoSming on Mon Jun 17, 2013 7:36 am

Opinions are my own.

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

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

Postby RedPhazon8 on Mon Jun 17, 2013 7:57 am

Nice work (Y)
User avatar
RedPhazon8
 
Posts: 639
Joined: Sat Aug 20, 2011 4:48 am

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

Postby Gigabyte on 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)

The best of the best — all in ONE roster. Check it out! (Y)

C'mon, click here: viewtopic.php?f=149&t=90375. You know you want to. :cheeky: ;)
User avatar
Gigabyte
 
Posts: 404
Joined: Wed Jan 02, 2013 10:25 pm

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

Postby jaelove on Mon Jun 17, 2013 8:14 am

Wow does NBA 2k12 share the same format?
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

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

Postby nesa24 on Mon Jun 17, 2013 8:16 am

yep
2k11/12/13
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: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Postby jaelove on Mon Jun 17, 2013 8:17 am

Wow this is Christmas in June thanks a million man

but exactly how do you replace songs?
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

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

Postby Hiteshom on 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.
User avatar
Hiteshom
 
Posts: 499
Joined: Mon Jun 25, 2012 9:47 am
Location: Salt Lake City, Utah

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

Postby nesa24 on 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
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: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Postby Lakeshow2482 on Mon Jun 17, 2013 8:31 am

Amazing. Didn't think this was ever going to happen. Thanks Nesa24
User avatar
Lakeshow2482
 
Posts: 224
Joined: Mon Jul 09, 2012 1:25 am

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

Postby buddaking on Mon Jun 17, 2013 8:54 am

Bravo (clapping hand) thank you for this.
buddaking
 
Posts: 602
Joined: Mon Jan 14, 2013 6:08 am

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

Postby JBulls on Mon Jun 17, 2013 9:51 am

Wow, brilliant work and persistence. Let's hope they don't change it up for 2K14
User avatar
JBulls
 
Posts: 685
Joined: Tue Oct 09, 2012 2:59 pm
Location: Durham, N.C.

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

Postby Spandex_ on 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.
"The best has yet to come."


Image
User avatar
Spandex_
Mamba Mentaility
 
Posts: 267
Joined: Sun May 05, 2013 11:27 am
Location: Philippines

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

Postby BrotherJRB on Mon Jun 17, 2013 11:19 am

Excellent! Can't wait to see the progress with this.
2013 is the year?
Thanks to Vl@d, Leftos and all the other patchers for their hard work.
User avatar
BrotherJRB
 
Posts: 458
Joined: Sat Sep 28, 2002 6:42 am
Location: Cleveland, Ohio

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

Postby Leftos on 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: Select all
xWMAEncode -b 32000 mysong.wav mysong.xma

You can also decode xWMA files like so:
Code: Select all
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.
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: NBA2K13 - Music Tool - Beta 002 - Solved Sound Issue

Postby ILL-Patch guy on Mon Jun 17, 2013 2:17 pm

Great job nesa24! You have done a big progress soving that issue :D
User avatar
ILL-Patch guy
 
Posts: 381
Joined: Mon Apr 04, 2011 11:24 pm
Location: Europe

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

Postby Phreezy P on Mon Jun 17, 2013 2:29 pm

ILY ILY
LA | TO | MIN
User avatar
Phreezy P
Varsity
 
Posts: 1061
Joined: Tue May 29, 2007 7:26 am
Location: Toronto

PreviousNext

Return to NBA 2K13 Modding

Who is online

Users browsing this forum: No registered users and 26 guests