Page 2 of 9

Re: Splinter Cell 2 .SS0 Music

Posted: Mon May 19, 2008 11:27 pm
by Mirrodin
Wow thanks for the post on the new compiled version of your program. Will give it a test run asap! I've been having a lot of trouble trying to even play Double Agent as my Alienware laptop has an NEC dvd drive which really sucks. Can't read half of the discs I put in it.

Re: Splinter Cell 2 .SS0 Music

Posted: Tue May 20, 2008 8:05 pm
by Zench
I looked at that file from Beowulf. My program cannot decode it yet. It looks like it uses an interleaved format, but different from that in SC DA.

Re: Splinter Cell 2 .SS0 Music

Posted: Tue May 20, 2008 8:24 pm
by OrangeC
okay thanks.

Re: Splinter Cell 2 .SS0 Music

Posted: Sun May 25, 2008 10:15 pm
by Zench
I now have added support for SC DA-type interleaved streams. Also, Beowulf uses a similar format. I did not upload the latest version of my program, but it can decode that file from Beowulf that you posted, OrangeC. I don't want to overrun the topic with versions. Support for Ogg Vorbis streams is coming.

Re: Splinter Cell 2 .SS0 Music

Posted: Mon May 26, 2008 6:51 am
by Mirrodin
Great news! I think the folks here at xentax are patient to begin with so I for one don't mind but if you want someone else to help test you know there will be people here that will be happy to!

Re: Splinter Cell 2 .SS0 Music

Posted: Mon May 26, 2008 4:48 pm
by OrangeC
Yes, cant wait to try it out!!

Re: Splinter Cell 2 .SS0 Music

Posted: Tue May 27, 2008 11:55 pm
by OrangeC
I have also tested your second version of the progam on red steels ss7 files and it seems to decode the streams, but the audio plays a bit choppy and seems rather loud, i guess some testings of later versions might seem to touch up on these, but it seems like a simple stream.

Re: Splinter Cell 2 .SS0 Music

Posted: Wed May 28, 2008 12:34 am
by Zench
Well, here it is. I also added support for SC1/SC2 ambient streams.

I decoded some interleaved audio from SC DA and mixed the layers together, and this is what I came up with:
http://files.openomy.com/public/Zench/SCDALayers.mp3

Also, I decoded that Beowulf file that was posted (it had 2 layers), and I think I have the wrong sample rate (it would sound speeded up or slowed down), but here is the result:
http://files.openomy.com/public/Zench/BeowulfLayers.mp3

Enjoy!

Re: Splinter Cell 2 .SS0 Music

Posted: Wed May 28, 2008 1:47 am
by Zench
A few more things...

I should explain that my program doesn't even attempt to mix together the layers in an interleaved stream. It outputs the layer, and then you can mix them together (easily) with an audio editor. I added the command line switch -l or --layer {Layer Number} to specify which layer you want to decode. A great thing about the interleaved streams is you don't need to specify the size, it's included in a header in the file. (If you didn't specify the size and it was a simple stream it would just decode until the end of the file.)

About the .SS7 files from Red Steels: post a little of them. I think I might know what's wrong -- it's happened to me many, many times when I was debugging my program. It could be that my program doesn't start decoding at the right position, or that it messed up when it read the header, or a few other things.

Re: Splinter Cell 2 .SS0 Music

Posted: Wed May 28, 2008 2:28 am
by OrangeC
Well i think i figured out red steels ss7 files, inside the ss7 files there are segments that have to be extracted then decoded with your program, problem is there are alot of segments and that can take a long time.

But here is one.
http://www.megaupload.com/?d=9KF83UV4

Re: Splinter Cell 2 .SS0 Music

Posted: Wed May 28, 2008 9:13 pm
by OrangeC
Hmm when i try to decode the beowulf layers it gives me an error: unknown sub-type 2, and ive tried forcing it to use decoder 3,5 and 8 and i even did the layer input and it doesn't decode, it also lets me know that i failed to initialize the header.

Re: Splinter Cell 2 .SS0 Music

Posted: Fri May 30, 2008 9:54 pm
by Zench
Well, it wasn't you who did anything wrong when it says "failed to initialize header". It just couldn't do it. Did you know that the audio (that my program can decode) in the file you posted and probably the rest of Beowulf doesn't start at offset 0? I forgot exactly where it begins in the file you posted, but you can use the scan feature to find it. It may not decode every single file in Beowulf even at the correct offset, because I made some false assumptions and haven't gotten around to fixing it yet.

I'm not sure if I explained the scan feature; it looks in the file you specify for UbiSoft audio chunks and outputs the offsets and sizes of where they are. This command line (with the new version of my program below) will extract all those chunks from the Red Steels .SS7 file and output a single wave file containing the one after another:

Code: Select all

DecUbiSnd -S zikstore814jpopfpp.ss7 > Segments.seg
DecUbiSnd zikstore814jpopfpp.ss7 -g Segments.seg --stereo -w -o zikstore814jpopfpp.wav
I'm sorry for the message saying this feature is experimental. I forgot to remove it; it should work just fine, but I still want many people to test it and tell me if it works or not.

Ogg Vorbis and better layers support are coming.

Re: Splinter Cell 2 .SS0 Music

Posted: Fri May 30, 2008 10:02 pm
by OrangeC
Thanks

Will check it out.

EDIT: okay tried it on a red steel file and so far seems to work. I looked at the other beowulf files more and some have the type with layers, the type with segments i believe and the raw type which needs no decoding.

I will send you all three types later for further analyses if you want.

Re: Splinter Cell 2 .SS0 Music

Posted: Sat May 31, 2008 1:48 am
by OrangeC
Okay a little more on beowulf

This seems to use three types of files

The files that have RAW unencrypted codecs> program not needed, just convert them to wav with an audio editor

The files that have segments just like in red steel> some don't want to convert though, like when i scan them it displays as zero segments and it doesn't want to convert to wav.

Then there are layer files> i tried to decode them but it only does 1 layer, and it ignores the second one and it ignores the -l command and still gives me this sub-type 2 thing.

is it possible to add a layer scan?

Re: Splinter Cell 2 .SS0 Music

Posted: Sun Jun 01, 2008 11:17 pm
by Zench
OrangeC wrote:The files that have segments just like in red steel> some don't want to convert though, like when i scan them it displays as zero segments and it doesn't want to convert to wav.
You were using an old version of my program. I know because it happened to me. :wink:
OrangeC wrote:Then there are layer files> i tried to decode them but it only does 1 layer, and it ignores the second one and it ignores the -l command and still gives me this sub-type 2 thing.
Layers decoding is a bit messed up still, so let's just wait until I can get it to work properly before we worry about that. It probably won't decode many files.
OrangeC wrote:is it possible to add a layer scan?
Do you mean something that scans for all of the layers together, or scan for each of the layers seperately? It can already (I think) scan for all of the layers together i.e. the stream. I like to call it an 'interleaved stream'. I should probably add something that tells you how many layers there are in the file.