Page 1 of 4

Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Mon Dec 19, 2011 12:48 am
by Droolie
Hey everyone.

I'm having trouble extracting the BF files from Beyond Good & Evil HD. The old BF extractors for all of the Jade Engine games don't seem to work on it anymore, so I guess a new one needs to be written for this. Don't worry though, it looks like it's similar to the previous ones so it won't be so hard to do. As the BF files were too large (1,62GB for the Xbox version's BF), I used aluigi's File Cutter script to cut out the first and last megabyte of the files.

Xbox 360 version: http://www.box.com/s/2rq10hn1lthyx3lqvhxn
PS3 version: http://www.box.com/s/0smkhalacim93g59ee2o

Thanks!
Droolie.

PS: This same format is probably also used for Prince of Persia Trilogy HD on PS3. :)

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Mon Dec 19, 2011 9:17 am
by aluigi
*EDIT* updated script

the format is very similar to the one I have seen yesterday in NCIS with some little differences:

Code: Select all

# Beyond Good & Evil HD (Xbox 360 / PS3)
# script for QuickBMS http://quickbms.aluigi.org

idstring "BIG\0"
get DUMMY long
get FILES long
math INFO_OFF = 0x44
math NAMES_OFF = 0x15ab8

        goto INFO_OFF
        get OFFSET long
        get DUMMY long
        savepos INFO_OFF
for i = 1 <= FILES
    if i == FILES
        get NEXT_OFFSET asize
    else
        goto INFO_OFF
        get NEXT_OFFSET long
        get DUMMY long
        savepos INFO_OFF
    endif

    goto NAMES_OFF
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get TSTAMP long
    getdstring NAME 0x40
    savepos NAMES_OFF

    math SIZE = NEXT_OFFSET
    math SIZE -= OFFSET
    string NAME R= "_" "/"
    log NAME OFFSET SIZE
    math OFFSET = NEXT_OFFSET
next i
I guess I will need to write a better and more universal script in future for working with any game

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Mon Dec 19, 2011 12:28 pm
by Droolie
Thanks! That works great for extracting the files with the correct sizes, although there seems to be a problem with the filenames. They all take their names from the next file in the file list. For example, the file that's supposed to be named "Stealth_StreamC.wam" is named "Stealth_StreamZ.wam". The file that's supposed to be named "Stealth_StreamZ.wam" is extracted as "intro_snake_US.wad", etc.
It's only a small issue but otherwise it's perfect. ;)

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Mon Dec 19, 2011 9:35 pm
by Evin
Somethings wrong with the PS3 version. The extracted files not contain the right data. Somehow the whole data is shifted.
The X360 files are good. (The fd40xxxx.bin should contain readable english texts somewhere at the start of the file.)

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Tue Dec 20, 2011 11:12 pm
by aluigi
ah sorry, my fault.
I mistyped the NAMES_OFFSET... I have corrected the script of the previous post.
tell me if it's ok now

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Wed Dec 21, 2011 12:39 am
by Droolie
Works perfectly for the Xbox version now, thanks a lot! That's what I needed. :)
It doesn't work for PS3 though, as evin said.

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Wed Dec 21, 2011 8:41 am
by Evin
aluigi wrote:ah sorry, my fault.
I mistyped the NAMES_OFFSET... I have corrected the script of the previous post.
tell me if it's ok now
Unfortunately, nothings changed. :(

I uploaded a bigger cut from the beginning of PS3 bf file, I hope this should help: http://dl.dropbox.com/u/4953836/Xentax/ ... _header.bf

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Wed Dec 21, 2011 8:25 pm
by aluigi
I have checked it but that's it.
I handle the files sequentially because the format sux and I don't see a number which indicates what filename matches the entry (where is contained the offset).
so if the names and the entries are not sequential I can do nothing.

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Wed Dec 21, 2011 8:32 pm
by Droolie
aluigi wrote:I have checked it but that's it.
I handle the files sequentially because the format sux and I don't see a number which indicates what filename matches the entry (where is contained the offset).
so if the names and the entries are not sequential I can do nothing.
The names and the entries are sequential for the Xbox version. It works perfectly for that.
They're probably sequential in the PS3 version as well, but the size/offset seems to be wrong there - that's all. ;)

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Thu Dec 22, 2011 10:50 am
by Evin
I found where goes wrong everything: after ff800bdd.bin
In the PS3 bf file, the ff800bdd.bin has wrong size, and after this file, some file are missing, or somehow changed the order. Or the ff800bdd.bin already not the ff800bdd.bin file.
I think, I have to unpack by hand all the 90 English language file, based on the unpacked files of correct X360 bf. :(
Unfortunately my PS3 is not works now, so I can't test if the bf file is wrong, or working the game well.

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Tue Feb 28, 2012 3:27 am
by DuderDuder
Hey hi. Just extracted this with quickbms, great tool. Just a few questions.

Do these extracted waa, wam etc files work with any current tool?

Comparing to the old PC extractions, these files from x360 are significantly smaller. Compressed somehow?

03 - Theme Home.wam (x360) 3.7megs
03 - Theme Home.wam (PC) 6.3megs

I have no idea how to make either of these into a regular wav.
Any ideas?

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Tue Feb 28, 2012 1:16 pm
by Droolie
The Xbox 360 file is XMA, you can convert it using VGMToolbox. The PC one used Ubisoft native compression, it can be converted with towav. :)

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Tue Feb 28, 2012 4:03 pm
by DuderDuder
Thanks Droolie.

Used the New Vegas preset in vgmtoolbox, only had to modify the block size to get full songs.

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Sat Jul 07, 2012 8:12 pm
by AlphaTwentyThree
BTW, my xma_process.bms also supports these files and many more XMA types: viewtopic.php?f=17&t=9023 :)

Re: Beyond Good & Evil HD *.BF files (Xbox 360 / PS3)

Posted: Sat Jan 16, 2016 2:32 am
by Escope12
What about the 3D Models, textures, and animations?