ScoreHero
Home | Forum | Wiki
Inbox [ Login ]Inbox [ Login ]
SearchSearch MemberlistMemberlist
ProfileProfile Log inLog in
XMA Multichannel Packet Offset

 
Post new topic   Reply to topic    ScoreHero Forum Index -> Software
View previous topic :: View next topic  
Author Message
marlborox  





Joined: 29 Oct 2008
Posts: 9

PostPosted: Thu Nov 05, 2009 8:05 pm    Post subject: XMA Multichannel Packet Offset Reply with quote

i know there's the xmaextract tool by bnw33, but it doesn't interleave the audio file's correctly, thus the separate file's are all of different speed's & tempo's when separating from the fsb's (although i know it's a "buggy beta" so it's not been finalized), does anyone have any information on the packet offset as can't find any info out there & have been looking ever since xmaextract was made as would be great to be able to make this tool, or is anyone else working on one at present?
Back to top
View user's profile Send private message
mxrmxr  





Joined: 22 Oct 2009
Posts: 6

PostPosted: Fri Nov 06, 2009 8:44 am    Post subject: Reply with quote

Yeah same problem here. It would be really great if that could be sorted out.
Back to top
View user's profile Send private message
bnw33  





Joined: 29 Mar 2008
Posts: 42

PostPosted: Fri Nov 06, 2009 8:23 pm    Post subject: Reply with quote

Maybe I can help,

What is the packet offset you speak of? Is that the start of the audio (eg: Where the first xma packet is in the fsb4 file)? There is a field (DWORD) in the fsb4header, i think its 0x0A (i'm probably totally wrong, but its in the first 32 bytes). It should tell you the length of the sample headers, so if you add the length of the actual fsb4 header ( usually 32 bits), you will get the offset of where the first packet is.

xmaextract uses this field to find the first packet offset, and then from there, deinterleaving follows the specifications in the xma documentation (this deinterleaving process is not very difficult, take a look at the source for xmaextract, it'll give you some clues).

However, if this field does not exist, of the size of the fsb4 header is larger/smaller than what is in place (or the fsb4 file is invalid), xmaextract will happily deinterleave garbage, giving you no warnings (haha, i haven't added any error checking really).

What files are you trying to deinterleave? Maybe this could help me expand the tool, if I ever find some time to work on it.
Back to top
View user's profile Send private message
marlborox  





Joined: 29 Oct 2008
Posts: 9

PostPosted: Wed Nov 11, 2009 4:06 pm    Post subject: Reply with quote

bnw33 wrote:
What files are you trying to deinterleave? Maybe this could help me expand the tool, if I ever find some time to work on it.
Thanks for the quick reply & sorry for the late response, got kicked off internet & just got back on!!!

The file's i've looked at are:

jump_1.fsb (GH:VH)
jump_2.fsb (GH:VH)
jump_3.fsb (GH:VH)
kungfufighting_1.fsb (BH)
kungfufighting_1.fsb (BH)
kungfufighting_1.fsb (BH)
sympathyforthedevil_1.fsb (GH5)
sympathyforthedevil_2.fsb (GH5)
sympathyforthedevil_3.fsb (GH5)

I have most if not close to all the files decrypted inc dlc (about 95% i'd say) so if you need any file's lmk, it would be awesome to be able to get these working, any pointers as to where to change the java source would be appreciated

Many Thanks

MHX
Back to top
View user's profile Send private message
marlborox  





Joined: 29 Oct 2008
Posts: 9

PostPosted: Wed Nov 25, 2009 5:55 pm    Post subject: Reply with quote

edited
Back to top
View user's profile Send private message
ccfman2004  





Joined: 09 Jan 2008
Posts: 152
Location: New York, USA

PostPosted: Thu Jan 07, 2010 5:00 pm    Post subject: Reply with quote

How do I use xmaextract? I am not familiar with java. I am used to .exe files.
_________________
Back to top
View user's profile Send private message XBL Gamertag: chuckthetekkie PSN Name: chuckthetekkie
marlborox  





Joined: 29 Oct 2008
Posts: 9

PostPosted: Thu Jan 07, 2010 11:58 pm    Post subject: Reply with quote

install the java files & required then from the dos command

java xmaextract songname.fsb
Back to top
View user's profile Send private message
Event2020  





Joined: 28 Dec 2010
Posts: 6

PostPosted: Wed Dec 29, 2010 11:05 pm    Post subject: I know this is prolly old now but.... Reply with quote

Hi

Found this topic and I know its old but.....


Following the instructions in the thread I have now got all of the multi's out of a .fsb as single channel .xma's.

As a test, I put one xma in the ToWav directory.

I open a cmd box, go to the ToWav dir and run the following command line:

towav (filename).xma

towav reads the file but does not output anything.

I then tried

towav (filename).xma (filename).wav

again towav seems to read the file (well it gives no errors) but nothing is outputted and no wav is created?

What am I doing wrong please?

Thanks in advance
Back to top
View user's profile Send private message
bnw33  





Joined: 29 Mar 2008
Posts: 42

PostPosted: Thu Dec 30, 2010 6:55 am    Post subject: Reply with quote

towav and xmaextract are quite picky about the header files associated with xma. Xmaextract does not bother with the xma header, and rather uses the fsb file header to make demuxing decisions. Some fsb->xma files do not have proper towav/xmaextract compliant xma headers.

To remedy this, hcs created some header recreation tools on his site, check it out here:
http://hcs64.com/vgm_ripping.html under xma_parse

Thanks to hcs!
Back to top
View user's profile Send private message
Event2020  





Joined: 28 Dec 2010
Posts: 6

PostPosted: Fri Dec 31, 2010 12:27 am    Post subject: Reply with quote

bnw33 wrote:
towav and xmaextract are quite picky about the header files associated with xma. Xmaextract does not bother with the xma header, and rather uses the fsb file header to make demuxing decisions. Some fsb->xma files do not have proper towav/xmaextract compliant xma headers.

To remedy this, hcs created some header recreation tools on his site, check it out here:
http://hcs64.com/vgm_ripping.html under xma_parse

Thanks to hcs!


Thanks for the reply and the suggestion.

I am trying out hcs's tools as I type this. Thanks to him indeed.

Happy new year mate.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ScoreHero Forum Index -> Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Copyright © 2006-2025 ScoreHero, LLC
Terms of Use | Privacy Policy


Powered by phpBB