XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Sep 21, 2017 6:56 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 121 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next
Author Message
 Post subject: UbiSoft Audio Stream Decoder
PostPosted: Sat Sep 13, 2008 9:13 pm 
Offline
VIP member
VIP member

Joined: Sun May 04, 2008 9:11 pm
Posts: 209
Has thanked: 4 times
Have thanks: 50 times

I have been writing a program called DecUbiSnd to decode audio from UbiSoft streams. There is a command line part and a graphical part. For those of you who have been following along, this is just the next version. Most games that have been developed by UbiSoft use this codec, even for multiple platforms. Do I need to list any examples? The file extension usually has the mask *.SS plus a single digit number on the end to indicate which platform. Example: STREAM.SS0 (for PC). From looking at some old topics it seems there was quite a bit of frustration over this. Hopefully there will be no more.

For most files, it has two limitations:
    1. It can't detect the sample rate
    2. It can't detect the length of the stream but has a good guess

Without further delay, here are the current versions:
Downloads page
    DecUbiSnd-0.66.zip - Command line (including source code)
    DecUbiSndGui-0.66.zip - Graphical user interface
    DecUbiSndGui-0.66-src.zip - Graphical source code

Recent Changes:
Version 0.66
  • Fixed a very small scanning bug

Version 0.65
  • Added big-endian support for those streams
  • Fixed a scanning bug

Version 0.64
  • Added support for Splinter Cell Conviction interleaved streams

Version 0.63
  • Added support for old 4-bit mono files but there is still a bit of noise
  • Fixed a playback bug

Version 0.62
  • Added scan support for Old 6-Or-4 bit
  • Added decoding support for Old 6-Or-4 bit, except 4-bit mono

Version 0.61
  • Fixed a bug in the scanning system
  • Fixed a bug in the Ogg Vorbis checker
  • Fixed a bug in the playback system (GUI)

Notes:
I added support for PS2 SCDA streams. The graphical version is far from being 'completed', but this is just another step. There is no sound banks/maps loading yet either.

You can make the ads go away by registering


_________________
And I said, "The well has finally run dry." So then that will be my battle cry.


Last edited by Zench on Fri Apr 27, 2012 8:48 pm, edited 8 times in total.

Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Sat Sep 13, 2008 9:18 pm 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 829
Has thanked: 5 times
Have thanks: 32 times
Hmm new thread, nice.

Thx zench.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Sun Sep 28, 2008 7:00 pm 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 829
Has thanked: 5 times
Have thanks: 32 times
Hey zench i have want to add support for the xbox 1 version of graw 1, here is the ss2 file.

http://www.megaupload.com/?d=4HJP4TQF

I have looked into the file and it seems the start has extra data before the actual stream starts.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Tue Sep 30, 2008 1:14 am 
Offline
VIP member
VIP member

Joined: Sun May 04, 2008 9:11 pm
Posts: 209
Has thanked: 4 times
Have thanks: 50 times
OrangeC wrote:
Hey zench i have want to add support for the xbox 1 version of graw 1, here is the ss2 file.

http://www.megaupload.com/?d=4HJP4TQF

I have looked into the file and it seems the start has extra data before the actual stream starts.
Weird... it looks like UbiSoft ADPCM, but it doesn't decode properly.

_________________
And I said, "The well has finally run dry." So then that will be my battle cry.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Tue Sep 30, 2008 1:22 am 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 829
Has thanked: 5 times
Have thanks: 32 times
Could it be mixed with XBOX adpcm also?

I have tried also and yes it doesn't look like it decoded properly for me either, aslo i think there are multiple sounds in each ss2 file which filesizes range to the 40MB atleast.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Tue Sep 30, 2008 1:52 am 
Offline
VIP member
VIP member

Joined: Sun May 04, 2008 9:11 pm
Posts: 209
Has thanked: 4 times
Have thanks: 50 times
OrangeC wrote:
Could it be mixed with XBOX adpcm also?
It's definitely worth a try.

_________________
And I said, "The well has finally run dry." So then that will be my battle cry.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Tue Sep 30, 2008 1:55 am 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 829
Has thanked: 5 times
Have thanks: 32 times
Yeah, also all the ss2 files start with the same data chunks at the beginning then go into there regular format, except this one.

http://www.megaupload.com/?d=9NKPOEQC


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Tue Sep 30, 2008 3:07 am 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 829
Has thanked: 5 times
Have thanks: 32 times
This has got to be definatly XBOX adpcm, i have tested the file with this tool.

http://aluigi.altervista.org/papers/xbadpdec.zip

Now it managed to play bits and peices of the file before it goes into static, then it plays some music again, i have decoded the file to raw and maanged to look at the waveform, there are some decoded music peices within the static.

So im guessing there are some 1-2 second segments to extract, then decode them with that program, but that could take a loong time., still gonna test it some more, you can try to with the program.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Tue Dec 02, 2008 10:35 am 
Offline
n00b

Joined: Wed Dec 27, 2006 12:26 am
Posts: 16
Has thanked: 1 time
Have thanks: 0 time
Hi Zench,

thanks a million for the tool. It really made my day yesterday. :) However, I tried to apply it on the music from the PC version of the first Splinter Cell game and, sadly, scanning gave no results... :( Is that game not supported?

Sorry if I ask something that's been answered elsewhere, I only skimmed through the other thread.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Tue Dec 02, 2008 4:27 pm 
Offline
VIP member
VIP member

Joined: Sun May 04, 2008 9:11 pm
Posts: 209
Has thanked: 4 times
Have thanks: 50 times
clayman wrote:
However, I tried to apply it on the music from the PC version of the first Splinter Cell game and, sadly, scanning gave no results... :( Is that game not supported?
For now it isn't. Unfortunately, I haven't been able to figure out the codec used by stress/fight music in this version of the game. You can, however, extract the music in STREAM.SS0. I'm glad you found my tool useful, though.

_________________
And I said, "The well has finally run dry." So then that will be my battle cry.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Wed Dec 10, 2008 5:55 am 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 829
Has thanked: 5 times
Have thanks: 32 times
hey zench i looked at prince of persia the new one, and it uses ogg vorbis just like assassins creed but the simple streams i cannot decode them. Also i have a feeling it could use interleaved streams but again i have not found one interleave stream yet.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Thu Dec 11, 2008 11:06 pm 
Offline
VIP member
VIP member

Joined: Sun May 04, 2008 9:11 pm
Posts: 209
Has thanked: 4 times
Have thanks: 50 times
OrangeC wrote:
hey zench i looked at prince of persia the new one, and it uses ogg vorbis just like assassins creed but the simple streams i cannot decode them. Also i have a feeling it could use interleaved streams but again i have not found one interleave stream yet.
Perhaps you could post some pieces? I'd like to take a look at them.

_________________
And I said, "The well has finally run dry." So then that will be my battle cry.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Fri Dec 12, 2008 12:28 am 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 829
Has thanked: 5 times
Have thanks: 32 times
I am upping you the whole streamfile, should be much easier to understand it with the full file. 500MB.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Fri Dec 12, 2008 1:31 am 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 829
Has thanked: 5 times
Have thanks: 32 times
http://www.megaupload.com/?d=BBQKPNQQ

Okay here it is.


Top
 Profile  
 
 Post subject: Re: UbiSoft Audio Stream Decoder
PostPosted: Fri Dec 12, 2008 9:06 pm 
Offline
beginner

Joined: Thu May 24, 2007 7:21 pm
Posts: 39
Has thanked: 13 times
Have thanks: 4 times
Noooo not again!
Its very similar to assassins creed. 3 different audio types.
Multichannel wav, voxware and ogg. The new problem is that the ogg tracks uses now different Serial Numbers.
There is no more one serial number to one track.
Anyway i will study this container later too.



Last edited by Kataah on Fri Dec 12, 2008 9:49 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 121 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group