ROM Hack Extracting Kung Zhu "sound.bin" and "sfx.bin" files

FailSandwich

Active Member
OP
Newcomer
Joined
Mar 28, 2019
Messages
33
Trophies
0
Age
19
Location
B.C, Canada
XP
275
Country
Canada
I'm trying to extract the sound files from the Kung Zhu DS game, and I've run into an issue. The sound files are contained in generic .bin files, which is very annoying because it means I have no idea what tool I should use. So, what should I do next? Is it possible to check how to open it by peeking inside with a hex editor?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,795
Trophies
5
XP
28,507
Country
United Kingdom
I haven't got the game in front of me but I have seen files on the DS with that name before.
I forget which of the non SDAT formats that would be ( https://gbatemp.net/threads/the-various-audio-formats-of-the-ds.305167/ ) but that is where I would start. Not so many of those have nice extraction options like the ones available for SDAT but you might be lucky.

Also yes a peek with a hex editor at the first few dozen bytes will likely be able to tell us what the format is.

Beyond if you would have to write your own extractor then time to get busy ripping with an emulator. Do bear in mind you could help yourself a bit here -- the files might be an unknown format assuming there is no nice audio test then you could probably still swap things around inside it to have it play say the super rare boss theme in the main menu, or at least something when there is no other sound to interrupt it, by twiddling some pointers.
 

FailSandwich

Active Member
OP
Newcomer
Joined
Mar 28, 2019
Messages
33
Trophies
0
Age
19
Location
B.C, Canada
XP
275
Country
Canada
I looked inside "music.bin" with a hex editor and this is what the first 30 bytes looked like.

Code:
00000000  03 01 2F 09 40 74 0D 00 74 74 0D 00 54 EE 00 00 
00000010  C8 62 0E 00 30 6F 0E 00 8C 79 0E 00 14 8C 0E 00 
00000020  AC A0 0E 00 84 AF 0E 00 18 C2 0E 00 BC D9 0E 00

The game itself was developed by 1st Playable Productions, if that helps. Have any of their other games for the DS been analyzed more thoroughly? If so, then this game probably uses the same format as those ones.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,795
Trophies
5
XP
28,507
Country
United Kingdom
Ah should have suspected 1st Playable Productions. Was having a look at another the other week, and during that thread it turned out I had seen another before then.
https://gbatemp.net/threads/vgmtrans-not-working-with-ben-10-protector-of-earth.545879/

Some of that was raw wave files within it (import raw with audacity under various settings gives you good stuff) but afraid I don't have any nice ripping tools, or even a means to generate a list of pointers and format details to feed to audacity if you wanted to go manual. I should note as part of this that various sound channel monitors in emulators will give you settings that the file is playing back at so you could possibly get info there and use that to have some fun in audacity.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: He smells like SylverReZ too much