Sonic Colors/Colours CPK by Azu at 4:47 AM EST on November 13, 2010
It seems the CPK file in Sonic Colors is a new format. Is there a new version of the CPK unpacker?

I tired to unpack it, but it only unpacked 1 file, which was a lua file.

Edit: Nevermind, I did it.

Now I'm worried about the files in the CSB. They have a header of UTF. They don't seems to play in WINAMP using VGMStream.


http://www.mediafire.com/?bnbnr2pwicfrz3k

edited 7:19 AM EST November 13, 2010
by bxaimc at 9:29 AM EST on November 13, 2010
They're Nintendo DSP. Unsupported atm but we'll see what can be done.
by Azu at 9:42 AM EST on November 13, 2010
Okay. I'll wait.
by agu fungus at 1:44 PM EST on November 18, 2010
Wait, how did you manage to extract the music files from the game? I tried with both Wiibrowse and Wiiscrubber, and couldn't find any music.
by furrybob at 2:27 PM EST on November 18, 2010
VGM ripping tools page. utf_tab suite
by Pulstar at 5:34 AM EST on November 23, 2010
What of the DS version? Is there a 2SF update soon, or should I just get the Wii music?
by PabloACZ at 11:10 PM EST on November 24, 2010
I would rather say that the files on the "sound" folder are actually SFX, and that the ones on sound\Synth are the actual music from the game.

I was able to convert the AAX files there with VGMStream with no problems at all, using the utf_tab suite to decrypt the big CPK file (the CSB files can be decrypted with csb_extract.exe, but I don't know what to do with the resulting files).
by bxaimc at 11:40 PM EST on November 24, 2010
decrypt.....I think you meant extract.
by pepper at 2:51 PM EST on December 2, 2010
Any progress playing the UTF ones? the sfx?
by bxaimc at 9:39 AM EST on December 3, 2010
Are these files really extensionless or did part of the file name get cut off?
by hcs at 11:44 AM EST on December 3, 2010
Files don't have extensions in csb, iirc. I only add one for .aax because csb_extract recognizes the header. UTF tables (in CSB and CPK) are free of the name length restrictions of FSB and AFS, however the 'file names' (really just sample names) in CSB are generated from the source aif or wav file names and do not have a proper extension of their own.
by Azu at 9:11 PM EST on December 3, 2010
Which means?
by marcusss at 10:32 PM EST on December 3, 2010
The files inside don't have extensions.. such as example.aix

So i guess you have to make one up to be supported in vgmstream

edited 10:33 PM EST December 3, 2010
by bxaimc at 10:34 PM EST on December 3, 2010
strange.. I saw extensions but then again...maybe it was because I used quickbms...

edited 11:03 AM EST December 4, 2010
by headerless at 1:06 AM EST on December 4, 2010
*extensions
by Azu at 6:05 AM EST on December 4, 2010
ADPCM_WII.sfreq.nsmpl.nch.lpflg.data.header

I see this in the in a hex editor.
by bxaimc at 11:04 AM EST on December 4, 2010
Ok, now which one is the real ext?
by hcs at 11:32 AM EST on December 4, 2010
None of them are, those are field names (and ADPCM_WII is the name of the whole table). The dots are nulls (character 0) displayed as . by your hex editor. Did no one read my earlier post? There are no extensions.

edited 11:35 AM EST December 4, 2010
by Azu at 1:54 PM EST on December 4, 2010
So, there isn't way to make them readable by vgmstream or convert them to way?
Or does csb_extract needs to be updated?

edited 1:55 PM EST December 4, 2010
by bxaimc at 3:44 PM EST on December 5, 2010
Yes, there's a way. But I'm not sure about the ext I should use to try and support to for vgmstream. DSP? Wii?
by Azu at 3:02 AM EST on December 6, 2010
Maybe you could try both? I wonder if there the same as Graces's DSPs.
by bxaimc at 8:24 AM EST on December 6, 2010
I don't think you understand what I'm talking about ^^;
by pepper at 1:39 PM EST on December 6, 2010
what .ext ((dot)extension) thing it should be. not how to play it back. i think vgmstream is built in a way where it needs a file extension, and the UTF tab suite makes these extensionless. honestly, dont care, could be .SCW (sonic colors wii) or something else not taken.
by Azu at 1:49 PM EST on December 6, 2010
Probably not. They do have _aif or _wav at then end. Maybe they were suppose to be some type of aif of wav files? Anyway, had a though that maybe csb_extract can detect some of the files in a csb so if dump'd out extension-less files?
by hcs at 3:45 PM EST on December 6, 2010
Technically vgmstream doesn't need extensions at all. It's Winamp that uses that to decide what plugin gets at a particular file. There is another mechanism for checking more deeply, but I don't think we want to use it.

The _aif and _wav are the extensions of the original source files. csb_extract does detect AAX and adds the .aax extension, because we've seen AAX files on their own. This ADPCM_WII format, however, hasn't been seen elsewhere so we're having to come up with a new extension. It sounds like we're using the generic .dsp.
by Azu at 5:52 PM EST on December 6, 2010
Isn't DSP already supported by VGMStrea? At least, in the readme says something about DSPs.
by hcs at 9:59 PM EST on December 6, 2010
There are many different things with the same name that makes this kind of confusing. vgmstream supports a number of formats with the .dsp extension. It also has a decoder for "DSP", a type of ADPCM native to the GC and Wii. But it does not support this particular file format, which is related to AAX but contains DSP ADPCM instead of ADX ADPCM.
by Azu at 12:18 AM EST on December 7, 2010
Ah. So there are many types of ADPCM?
by Azu at 8:56 AM EST on December 16, 2010
So, the files extract from the .csb can be played using GoldWave, sort of.

Setting (Raw)
Setting (Vox)
Both these work, but the VOX has more static and is louder.

"Super Sonic!"
"Hover!"
<a href="http://www.fileden.com/files/2007/5/6/1052218//obj_slidebox_accumulation_aif.wav
">Charging SoundFX</a>
Sound FX for ???

A few of the extracted files.
Maybe something can be done...

edited 9:05 AM EST December 16, 2010
by Azu at 7:30 AM EST on January 4, 2011
What about treating it as a AAX file?
by hcs at 9:21 AM EST on January 4, 2011
I added support for these files to vgmstream in r902. It does not recognize an extension, however, so you will have to use the command line decoder (since Winamp won't pass these files along without a recognized extension).

edited 9:21 AM EST January 4, 2011
by Azu at 3:47 AM EST on January 5, 2011
Do i do it like this "test Synth_0005_phantom_6000_puzzle_000_phantom_puzzle_fall01_aif"?

or add the "-b"?

edited 3:57 AM EST January 5, 2011

J:\cpk\VGMStream>test Synth_0005_phantom_1000_laser_000_phantom_laser_charge_aif

failed opening Synth_0005_phantom_1000_laser_000_phantom_laser_charge_aif


edited 9:56 AM EST January 5, 2011
by hcs at 1:50 PM EST on January 5, 2011
Oops, didn't notice the stereo one, should work in r903.
by Azu at 3:51 PM EST on January 5, 2011
Still says it failed to open the file. Do I have to add an extension?

This the file I tried it with.
http://www.mediafire.com/?bn7ysqvz3nq9bl6

edited 3:59 PM EST January 5, 2011
by hcs at 7:49 PM EST on January 5, 2011
Works fine here. Are you using r903?
[edit]oh, windows build is broken...

edited 8:05 PM EST January 5, 2011
sorry about that, try 904

edited 8:26 PM EST January 5, 2011
by Azu at 4:37 AM EST on January 6, 2011
Awesome. It works. Thanks so much! Would it be possible to add a comman that dumps the wav file as same name as the input name and/or a batch on convert?

Edit: Nevermind, I got it play in winamp, I just added an extension at the end

edited 4:43 AM EST January 6, 2011

Some of the files have this in this:

"<NULL>.LPCM.sfreq.nsmpl.nch.lpflg.lps.lpe.data....."

http://www.mediafire.com/?ifmzbbv45pm6ykv

I added the .aax so Winamp would read them.

So, they won't convert.

edited 5:52 AM EST January 6, 2011

edited 5:54 AM EST January 6, 2011
by headerless at 5:54 AM EST on January 6, 2011
for %a in (*) do test -o "%~na.wav" "%a"
also, click here


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source