ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat May 25, 2019 6:49 am

All times are UTC




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Jan 07, 2019 5:38 pm 

Joined: Mon Oct 29, 2018 6:19 pm
Posts: 13
Hello ZenHAX users!

I have been attempting to extract an archive with .wav files in it, however when I extracted it I found it is sped up (even with correct bits and freq) and covered up with static, so I came to the conclusion it is compressed. I first checked the quickbms algo identifying page, however, I didnt find any reference to the bytes at the start of the file. Theres two files (one with extension .ss0 and one with .sl0, but both serve the same purpose) with the first 4 bytes being the same so I am assuming that the comtype for them is the same, there is also no uncompressed size for these files.

These first four bytes are essentially 0x05 or 05 00 00 00 (little endianness)

If this is a very simple thing than I'm sorry however I couldn't find it anywhere else. :D


Top
   
PostPosted: Thu Jan 10, 2019 4:23 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10267
I suggest you to provide a sample file and moreover the name of this game/software.


Top
   
PostPosted: Thu Jan 10, 2019 8:22 pm 

Joined: Mon Oct 29, 2018 6:19 pm
Posts: 13
The game is Prince of Persia: Warrior Within. The file structure (offset, size, etc.) is stored in a separate .sb0 file. Sample file and mentioned .sb0 stored below, their original extension is in the file name. (The orignal stream.ls0 was 108Mb, so I just cut a big chunk of it leaving a 5Mb one.)


Attachments:
stream(.ls0).zip [4.77 MiB]
Downloaded 33 times
locstrm(.sb0).zip [176.35 KiB]
Downloaded 23 times
Top
   
PostPosted: Fri May 03, 2019 5:11 pm 

Joined: Mon Oct 29, 2018 6:19 pm
Posts: 13
Bump.


Top
   
PostPosted: Fri May 03, 2019 5:47 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10267
Nothing that rings any bell in my mind.
I can see the compressed size (0x15a43) of the first file in SB0 but still no idea about the algorithm or where the raw compressed data should really start (offset 0x30?).


Top
   
PostPosted: Sat May 04, 2019 1:08 pm 

Joined: Mon Nov 06, 2017 8:24 pm
Posts: 10
You can play those files with vgmstream: https://hcs64.com/vgmstream.html

Open the .sb0 with foobar+vgmstream plugin for instance, and all subsongs will be unpacked and playable.


Top
   
PostPosted: Sat May 04, 2019 2:24 pm 

Joined: Mon Oct 29, 2018 6:19 pm
Posts: 13
Well yes, but the main reason I wanna extract them with QBMS is so I can repack them again.


Top
   
PostPosted: Sat May 04, 2019 8:35 pm 

Joined: Mon Oct 29, 2018 6:19 pm
Posts: 13
While DecUbiSnd provides valuable insight into the different formats of Ubisoft, im having a very hard time actually reading the source code into how the program decompresses it.
However if it helps the .ls0 file is a Version 5 type of format.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited