UTF Tabled files within UTF Tabled Archives by Pyrii at 8:22 AM EST on January 20, 2009
I'm working on NiGHTS: JoD's csb files and using utf_tab I'm able to extract the files, but each one is also encased in it's own table which I can't extract
----
S:\NiGHTS\hugeData\audio>utf_view SE_B0.csb > SE_B0.csb.txt

S:\NiGHTS\hugeData\audio\unpack>csb_extract SE_B0.csb > SE_B0_extract.csb.txt

S:\NiGHTS\hugeData\audio\unpack>utf_view Synth_B0_NEW_B0_011A_FX_Dualize_ED_22ST
_aif
utf_view 0.1

{
ADPCM_WII[0] = {
00000000 54 sfreq = 22050
00000004 54 nsmpl = 59535
00000008 50 nch = 2
00000009 50 lpflg = 0
0000000a 5b data = [0x00000000] (size 0x000109cd)
{
not a @UTF table at 00000090
}
00000012 5b header = [0x000109d0] (size 0x000000c0)
{
not a @UTF table at 00010a60
}
}
}

S:\NiGHTS\hugeData\audio\unpack>cpk_unpack Synth_B0_NEW_B0_011A_FX_Dualize_ED_22
ST_aif
cpk_unpack 0.1

cpk_unpack.c:41:analyze_CPK: CPK signature not found

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

S:\NiGHTS\hugeData\audio\unpack>csb_extract Synth_B0_NEW_B0_011A_FX_Dualize_ED_2
2ST_aif
csb_extract 0.0

csb_extract.c:58:analyze_CSB: first table in file is not TBLCSB

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
-------------

Yeah, the apps crash and burn if they don't like something for some reason in vista/windows7.

So each file is encapsulated in another UTF table. Which the tools won't touch, I've included sample files. If I'm missing something obvious I will promptly kick myself afterwards.

edited 8:34 AM EST January 20, 2009
by hcs at 8:56 AM EST on January 20, 2009
They terminate that way because I use abort() on errors, it makes it easier to trace. I really should change that to a plain ol' exit() on non-debug builds.
This is a cute way that CRI has chosen to wrap up GC/Wii DSP ADPCM in their magical mystery tables. It should be easy to add support to vgmstream via a modification of the aax thingy. Not sure when I'll get to it. I happen to have the files in question, it looks like they're all sound effects so I'm not super-motivated to fix 'em.
by Pyrii at 9:36 AM EST on January 20, 2009
CRI are driving me mad, the new sofdec MPEG2 streams are making me bang my head against the wall, I swear they've encrypted video streams aswell as adx streams now. If only degod worked on mpeg2 lol.

Take your time, just thought it was weird, does the data need to stay in the table to be read?
by hcs at 1:51 PM EST on January 20, 2009
It does not need to stay in the table, if you want you can extract the data (since it tells you where the chunks are) and rewrite it into some other DSP-bearing format.
by Pyrii at 2:20 PM EST on January 20, 2009
Oh, so it's not just a matter of extracting the data, I guess that's why that didn't work when I tried it.
by BBSlash at 5:02 AM EDT on May 31, 2010
Hate to drag up an old thread, but has there been an update on this?

I'm in the exact same scenario while in the process of ripping sfx for use in other games. I even downloaded the latest vgmstream (revision 795) and not much seems to happen
by hcs at 12:35 PM EDT on May 31, 2010
nope
by BBSlash at 3:38 PM EDT on May 31, 2010
Ok. Can't tell if you're interested in working on it or not, but if not, how would I go about extracting/rewriting the data?


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