[HELP] "POP : The Forgotten sands" Wii's version's .BF archives format

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
RavioZHX
Posts: 1
Joined: Tue May 14, 2019 12:49 pm

[HELP] "POP : The Forgotten sands" Wii's version's .BF archives format

Post by RavioZHX »

Hello everyone !

I allow myself to create a new topic about .BF files use by the JADE ENGINE (ubisoft) as game archive. Currently I'm working on a project related to the Prince Of Persia (POP) series. To achieve it, I first extracted 3D resources (meshes) of the POP games before reworking them with other software (Blender and Unity). For the moment I managed to extract all the resources that interest me from these opus : Sand Of Time (PC), Warrior Within (PC), The Two Thrones (PC) / [JADE ENGINE with PERSIAN_RUG v2.5] and The 2008's Reboot (PC), The Forgotten Sands (PC) [ANVIL ENGINE with ARCHIVE_NEXT].

The only 3D episode that I have a problem with, is POP : THE FORGOTTEN SANDS on WII. As you probably know, the Wii version of this game offers an alternative scenario with a story and environments completely different from the PC, XBOX 360 and PS3 editions. That's why it interests me so much. Just like the trilogy of the Sands Of Time this game was created with the JADE ENGINE, it contains a .BF archive, which itself contains the .BIN files containing resources 3D (meshes), 2D (textures) and Audio.
However, no conventional tools seem to be able to properly decompress its archive file.

1 / Here are the main tools I tried first to access the content of the .BF :

-bfextractor.exe : Does not works, the .BF file’s name does not appear on the GUI for extraction.
-persianrug.exe : Can access part of the contents of the .BF file and extract some .BIN, but they are empty or corrupted because persianrug.exe cannot extract the 3D data from them.

No doubt that the structure of .BF files use by the JADE ENGINE for games on WII is different than on other support.

2 / In a second time I tried to use different SCRIPT for QUICKBMS able to access the archive, here is the list :

-bf.bms
-bge.bms
-dust.bms
-jade_wip.bms
-red_steel_2.bms
-tintin.bms
-zombiu.bms

Unfortunately none of them work properly and always give me the same
ERROR message. Only the JADE_WIP SCRIPT gives me another kind of ERROR.

SO I WOULD LIKE TO KNOW IF A *SPAM*, PERHAPS THE GOD ALUIGI ^^, WHO KNOWS, COULD HELP ME WITH THIS FILE BY CREATING A QUICKBMS SCRIPT ?

In link (mega.nz) here is the single .BF archive of the game djinn_bin_wii.bf (600mb) extracted from the .ISO with the dolphin emulator.

https://mega.nz/#!58Y2GSTY!U4TnFxDNsCNs ... 7WdpM18Dvk

Because to be totally honest, I have no idea how to create a script and I have no knowledge in hexediting. I am more specialized in 3D modeling (modeling, annimation, texture) and content creation for Unity (shader, controller, vfx).

Thank you again for your help and the time you would take to read this message ! In the attachment you will find four files (the quickbms results, the persianrug results, and the JADE_WIP.BMS script)

PS : Sorry for my bad English, it's not my mother tongue, so I hope you'll understand
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [HELP] "POP : The Forgotten sands" Wii's version's .BF archives format

Post by aluigi »

Download this new version of the script:
http://aluigi.org/bms/beyond_good_evil_hd.bms

open it with a text editor and set the first variable SEARCH_NAMES_OFF from 0 to 1.

Now you are able to extract all the files with the correct name.
alanmugiwara
Posts: 16
Joined: Fri Jun 15, 2018 2:46 pm

Re: [HELP] "POP : The Forgotten sands" Wii's version's .BF archives format

Post by alanmugiwara »

Thank you Aluigi, and RavioZHX. All here is very useful!