Prince Of Persia Warrior Within Sound.BF file from the PS3

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

Hey Everybody
I managed to rip (sound.big, soundlocal.big) from prince of persia warrior within & the two thrones
and (dataps3_streamedsounds.forge) from prince of persia 2008 by using [DecUbiSnd] you can download the
latest version from here https://bitbucket.org/Zenchreal/decubisnd/downloads/ ... But now I need help to extract
''Sound.bf'' from the PS3 Game, please help me, I need this so bad :cry:
When i open it in HxD the header is [ GEAR BigFile ] but the script in quickbms.com didn't work
If there's a program that can extract it then please tell me.. or If anyone knows how to write a script for it, I'll appreciate it very much

The file size is 841 MB, I'll upload it if anyone wants to test it <3
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by aluigi »

Try this script, it matches the magic string you provided:
http://aluigi.org/bms/yeti_gear.bms

edit: ok I have seen your "didn't work".
Upload the first 10 megabytes of that archive.
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

How do i upload only 10 megabytes of it?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by aluigi »

Use this script:
http://aluigi.org/bms/filecutter.bms

You can edit it with notepad and setting the first MEGABYTES variable to 10 so it will create 2 files of 10 megabytes that you can upload on any filesharing website to link here.
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

Here's the link
http://jmp.sh/uoXrSBq
I used the scipt filecutter.bms, I set it to 10 and it gave me 2 files 10 mb each
I put them in .rar and uploaded them

Thanks for your replies, Please try your best <3
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by aluigi »

Very good, I have rewritten the script and I have finally found what was the meaning of a byte (compressed files).
Script 0.2 :D
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

So now you have written a new script? :O
Will it extract the full sound.bf 841mb file?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by aluigi »

anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

What is this? :(
https://image.ibb.co/gi6opv/sound.png
What do I do with the .dat files now?
and it gave me only 435mb and 108mb files
the sound.bf file is 841mb
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by aluigi »

You are clearly using the old version of the script. As I said the current one is 0.2.

Ah a note, probably all the extracted files will have a dat extension because there are no known format in the cutted files I checked.
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

# Yeti Engine (GEAR BigFile)
# script for QuickBMS http://quickbms.aluigi.org

idstring "[ GEAR BigFile ]"
get DUMMY long
get DUMMY long
get FILES long
get DUMMY long

savepos OFFSET_OFF
for i = 0 < FILES
get DUMMY long
get DUMMY long
next i

savepos SIZE_OFF
for i = 0 < FILES
get DUMMY long
next i

savepos CRC_OFF # crc of the filenames?
for i = 0 < FILES
get DUMMY long
next i

savepos DUMMY_OFF
for i = 0 < FILES
get DUMMY string # or byte?
next i

for i = 0 < FILES
goto OFFSET_OFF
get OFFSET long
get OFFSET64 long
savepos OFFSET_OFF

goto SIZE_OFF
get SIZE long
savepos SIZE_OFF

goto CRC_OFF
get CRC long
savepos CRC_OFF

log "" OFFSET SIZE # or sequential names: log "" OFFSET SIZE
next i


This is the script, right?
Please help me... How can i extract the sounds from the dat files :cry:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by aluigi »

You are viewing the cache of your browser.
Press CTRL-F5 to refresh it.
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

I refreshed it, but i still get the same script
can you please copy and paste the new script here

Edit : I cleared my cache, now I see the new script :D

https://image.ibb.co/hkSypv/Soundbf.png

Now the folder size is complete 991 MB :O
Thank you very much, But now we need a way
To extract these .dat files <3
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

This is one .dat file if you want to test it
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by aluigi »

Ubisoft audio?
That's for sure audio and for sure a codec (not pcm), but that's all I can say since this is not my field.
I would suggest you to post in the Audio section but I have already seen you resurrected that 2015 topic which is probably related (don't know if it's same game and format).
Anyway continue in that section.
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

I opened it with DecUbiSndGui
https://bitbucket.org/Zenchreal/decubisnd/downloads/
It's working now, Thank you very much for the script
But there's clicks at the end of each track and voice, do you know how to remove them?
Because every soundtrack is splitted into 35-40 file... when i choose splice to wav it merges them but I have these annoying click
anaskhalil71
Posts: 18
Joined: Wed Aug 09, 2017 5:32 am

Re: Prince Of Persia Warrior Within Sound.BF file from the PS3

Post by anaskhalil71 »

Can you make a youtube video of how you write a script for archives?
I want to learn how... It's so difficult when reading about it
Videos are better and easier to explain :)