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 Patr1ck on Tue May 21, 2013 5:04 am

Even if he could, he probably wouldn't be allowed to.
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: NBA2K Music Format - need help

Postby NIB on Tue May 21, 2013 5:26 am

But he (Leftos) let the window open for you Nesa, get in touch with him, maybe "INDIRECTLY" you can find some clue about it.

No one doesn't necessarily have to break the rules to get it. So keep working my friend, and you gotta find your answers. :D
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: NBA2K Music Format - need help

Postby JaoSming on Fri May 24, 2013 10:44 pm

The header on these seems to be possibly around 90-94 bytes as there is ever repeating similarities, possibly basic header followed by an decoding table(?) thus the 00s prior to main data that is very dense.

It would be doubtful this is adpcm if such small filesizes vs lenght, in any case, file is 44khz stereo according to header which means PCM output bitrate of 1411kbps and that in adpcm is 352kbps, so filesize should be more than 320kbps mp3 encoded of a song.

If microsoft xaudio2 system is used to handle all audio literally, it outlines formats available to MS ADPCM,XMA (only xbox360),wma,xwma (?)

WMA is possible for being used in the lower sizes than adpcm is capable of, either way, looks very custom job atleast header wise and can't say more as not so familiar with wma and its variants.

Should record the song and find its encoded version and encode with various fixed kbps ratio (say mp3) to find closest match to the filesize to suggest the level of compression/codec used.
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 Patr1ck on Sat May 25, 2013 2:20 am

That's what I did,essentially. Instead of multiple bitrate encodes, I just did one then used math.
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: NBA2K Music Format - need help

Postby nesa24 on Sat May 25, 2013 3:03 am

xaudio2 is used
every song section (3sec part) starts at +0x00000060 offset of section start (discovered 2 days ago)

if i do something tonight
if not i am making break for 10days since i have other issue to deal with

And please big thanks to Apollo
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: NBA2K Music Format - need help

Postby nesa24 on Sat May 25, 2013 8:41 am

well i cant get it to work
7-8 days of break since i wont have time
damn so close and so far :crazyeyes:
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: NBA2K Music Format - need help

Postby Amroth on Sat May 25, 2013 4:32 pm

nesa24 wrote:well i cant get it to work
7-8 days of break since i wont have time
damn so close and so far :crazyeyes:


:(
Amroth
 
Posts: 119
Joined: Thu Nov 15, 2012 5:47 am

Re: NBA2K Music Format - need help

Postby zyco187 on Wed May 29, 2013 5:26 pm

hope they bring in the Arena Music Manager like in the xbox 360 for custom playlist next year 2k14 PC. I have 151 playlists just sitting there now that I dont play the xbox version anymore
User avatar
zyco187
 
Posts: 61
Joined: Fri May 24, 2013 7:04 pm

Re: NBA2K Music Format - need help

Postby ConfigSys on Sun Jun 02, 2013 11:53 pm

zyco187 wrote:hope they bring in the Arena Music Manager like in the xbox 360 for custom playlist next year 2k14 PC. I have 151 playlists just sitting there now that I dont play the xbox version anymore


+1

"This is one small step for man, and a big step for mankind"
:bowdown:
ConfigSys
 
Posts: 254
Joined: Fri Dec 01, 2006 10:06 am

Re: NBA2K Music Format - need help

Postby nesa24 on Tue Jun 04, 2013 6:54 am

in 2 days i am back on this
i have mailed to many devs but got no 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: NBA2K Music Format - need help

Postby nesa24 on Tue Jun 04, 2013 6:42 pm

i have contacted ADPCM expert and he writes to me that it isnt ADPCM
even there are memory points for ADPCM decompression it isnt one

so back to lab
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: NBA2K Music Format - need help

Postby Amroth on Tue Jun 04, 2013 7:27 pm

So we havn't a solution yet...
:-(
Plz don't give up nesa!!!
Amroth
 
Posts: 119
Joined: Thu Nov 15, 2012 5:47 am

Re: NBA2K Music Format - need help

Postby nesa24 on Thu Jun 06, 2013 7:08 am

i dont have time to mess with this
my mother has bloodpressure issue so i am not into music and game

Info from my friend

Code: Select all
thanks for your message. Unfortunately, I won't have time to put
research into a file format right now. Just some observations from a
quick glance at the sample file on the XeNTaX forum:

- Regular ADPCM-compressed data shows a very distinct pattern in a
byte-wise histogram. An analysis of the sample file, however, indicates
no presence of ADPCM data.
- The header of each of the 4K chunks starts with the sequence 69 a1 be
d2. Interpreted as a little endian value, this is actually the CRC32
checksum of the string "WMA". This might indicate that further research
into WMA decompression should be in order.


and second one

Code: Select all
No problem, I did really not explain it further: The file is organized
in blocks (or "chunks") of 4 kilobytes size, where only part of the 4
kilobytes seem to actually be used for audio data. The rest is just
padded. That's essentially the same observation the guy named PDub made
in the third post here: http://forum.xentax.com/viewtopic.php?f=17&t=5234

His observations about file sizes and compression ratios in the thread
on forums.nba-live.com also support the theory that the data is not just
regular ADPCM.

As I said, don't rule out the possibility that the data might be encoded
in some WMA variation. I'm no expert in that department, however. The
CRC32 finding I mentioned in my last email is a bit too interesting to
be a coincidence in my eyes ...



hope that someone can make it right
I dont have time
sry
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: NBA2K Music Format - need help

Postby Amroth on Thu Jun 06, 2013 7:47 am

nesa24 wrote:i dont have time to mess with this
my mother has bloodpressure issue so i am not into music and game


:-(
I'm really sorry for this!
Good Luck in real Life so!
:-)
Amroth
 
Posts: 119
Joined: Thu Nov 15, 2012 5:47 am

Re: NBA2K Music Format - need help

Postby Patr1ck on Thu Jun 06, 2013 1:58 pm

"WMA variation" can also mean xma or xma2, also known as Xaudio/Xaudio2.

EDIT - Think I figured it out. It should be xWMA, possibly 32000 bitrate.
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: NBA2K Music Format - need help

Postby nesa24 on Fri Jun 07, 2013 4:26 am

Pdub wrote:EDIT - Think I figured it out. It should be xWMA, possibly 32000 bitrate.


:bowdown: :cheeky: :bowdown2:
good luck
i helped as much as i could
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: NBA2K Music Format - need help

Postby Patr1ck on Fri Jun 07, 2013 1:30 pm

Apparently not. It may actually by Xaudio2. But the bitrate has to be correct.
Patr1ck
Administrator
Administrator
 
Posts: 13323
Joined: Thu May 19, 2005 5:54 pm
Location: Pasadena, California, US

Re: NBA2K Music Format - need help

Postby nesa24 on Wed Jun 12, 2013 6:04 am

i have made some progress and have some sound in game
hope that by the end of week i will have something to share
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: NBA2K Music Format - need help

Postby ConfigSys on Wed Jun 12, 2013 6:17 am

nesa24 wrote:i have made some progress and have some sound in game
hope that by the end of week i will have something to share


Amazing! :applaud:

can't wait..........
ConfigSys
 
Posts: 254
Joined: Fri Dec 01, 2006 10:06 am

Re: NBA2K Music Format - need help

Postby wody on Wed Jun 12, 2013 10:17 am

ConfigSys wrote:
nesa24 wrote:i have made some progress and have some sound in game
hope that by the end of week i will have something to share


Amazing! :applaud:

can't wait..........

:applaud: :applaud: :applaud:
User avatar
wody
 
Posts: 1002
Joined: Fri Jul 10, 2009 12:42 pm

Re: NBA2K Music Format - need help

Postby Amroth on Thu Jun 13, 2013 7:57 am

:bowdown: :bowdown2: :bowdown: :bowdown2:
Amroth
 
Posts: 119
Joined: Thu Nov 15, 2012 5:47 am

Re: NBA2K Music Format - need help

Postby nesa24 on Fri Jun 14, 2013 4:37 am

Well it apears that it isnt ADPCM
It looks like its ASF WMAv2 32kbps 44100 Stereo
Only that sound ingame isnt clear
Maybe its Endianness order

And team chants seem to be stored in teams.bin

More info when i have time/progress
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: NBA2K Music Format - need help

Postby ConfigSys on Fri Jun 14, 2013 4:58 pm

nesa24 wrote:Well it apears that it isnt ADPCM
It looks like its ASF WMAv2 32kbps 44100 Stereo
Only that sound ingame isnt clear
Maybe its Endianness order

And team chants seem to be stored in teams.bin

More info when i have time/progress


plz share with us something
i'm wait for this more than 2k14 (Y)
ConfigSys
 
Posts: 254
Joined: Fri Dec 01, 2006 10:06 am

Re: NBA2K Music Format - need help

Postby nesa24 on Fri Jun 14, 2013 6:40 pm

ConfigSys wrote:plz share with us something
i'm wait for this more than 2k14 (Y)


More info when i have time/progress
I cant devote more than 30mins for this during day
once i can i will share...
Time please
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: NBA2K Music Format - need help

Postby ConfigSys on Fri Jun 14, 2013 10:47 pm

nesa24 wrote:
ConfigSys wrote:plz share with us something
i'm wait for this more than 2k14 (Y)


More info when i have time/progress
I cant devote more than 30mins for this during day
once i can i will share...
Time please


ok pal
take your time as necessary.
ConfigSys
 
Posts: 254
Joined: Fri Dec 01, 2006 10:06 am

PreviousNext

Return to NBA 2K13 Modding

Who is online

Users browsing this forum: No registered users and 3 guests