QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Strange sound format in Mahjong Fight Club

This is a discussion on Strange sound format in Mahjong Fight Club within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; So I was digging through the files for Mahjong Fight Club, looking for the music files. They appear to all ...

Reply
 
LinkBack Thread Tools
Old 03-17-2007, 08:05 PM   #1
 
Join Date: Mar 2007
Posts: 1
Trader Feedback: 0
Default Strange sound format in Mahjong Fight Club

So I was digging through the files for Mahjong Fight Club, looking for the music files. They appear to all be packed in a file called strbgm.bin. Fortunatly, this doesn't appear to be a compressed file, just a bunch of wave files concatenated together, and using a hex editor I can manually separate them. However, the resulting file is unplayable in any media player, and the file itself seems to have a strange header.

A normal wave header looks like:
Code:
52 49 46 46 22 27 00 00 57 41 56 45 66 6D 74 20 : RIFF"'  WAVEfmt 
10 00 00 00 01 00 01 00 11 2B 00 00 11 2B 00 00 :      +  +   
01 00 08 00 64 61 74 61 FD 26 00 00             :  dataý&
But all the files in MFC have this header:
Code:
52 49 46 46 C4 8B 00 00 57 41 56 45 66 6D 74 20 : RIFFÄ‹  WAVEfmt 
20 00 00 00 70 02 02 00 44 AC 00 00 9A 40 00 00 :     p D¬  š@  
80 01 00 00 0E 00 01 00 00 10 00 00 00 00 00 00 : €           
01 00 00 00 66 61 63 74 08 00 00 00 DF 6B 01 00 :    fact   ßk 
00 04 00 00 64 61 74 61 80 8B 00 00             :    data€‹
The most important part (I think) is the 6 bytes after WAVEfmt, which include the header size (4 bytes) and the audio format (2 bytes). Normal wave files have a header size of 16 bytes (0x10) and code 1 for PCM format.

However, a 32 byte header (0x20) and code 624 (0x0270, little endian) is completely foreign to me and google isn't helping.

Has anyone here run into this or other strange formats before and had success playing/converting them? Am I completely off base and/or retarded?

I can send a small sample file if requested, since I doubt very many people here have a copy of Mahjong Fight Club laying around.
MrDeadMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
club , fight , format , mahjong , sound , strange

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 11:26 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us