NfS Shift .BFF files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
User avatar
japamd
advanced
Posts: 41
Joined: Sat Sep 19, 2009 10:26 pm
Has thanked: 3 times
Been thanked: 8 times

Re: NfS Shift .BFF files

Post by japamd »

It's done.

I have attached the utility to this message, you'll need NET Framework 2.0 in order to execute it.

** Only for full version of game. **

Download Links

http://cid-0459fc515f4928b3.skydrive.li ... _Tools.rar
http://forum.racedepartment.com/downloa ... ools-1740/

Compiler (click here for more info)
Image

Repacker
Image

Injector
Image

You just need to put all BFF extracted files in a folder (which can have sub-folders) and all files, don't add or delete extracted files before repacking (adding files to the folder will not harm anything and will be simple ignored).

That's it, enjoy :)

Edited DDS car livery texture :D
Image

Image
Last edited by japamd on Tue Oct 06, 2009 2:30 pm, edited 29 times in total.
User avatar
japamd
advanced
Posts: 41
Joined: Sat Sep 19, 2009 10:26 pm
Has thanked: 3 times
Been thanked: 8 times

Re: NfS Shift .BFF files

Post by japamd »

bugtest,

Please, can you take a look at the attached file? I'm looking for string lengths or offsets but I can't figure out what kind of mechanism they used. I would really appreciate if you can give me some hint so I can start translating the game.
language_English.rar
Thanks!
You do not have the required permissions to view the files attached to this post.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 654 times
Contact:

Re: NfS Shift .BFF files

Post by aluigi »

I see no offset or size values in these files
User avatar
japamd
advanced
Posts: 41
Joined: Sat Sep 19, 2009 10:26 pm
Has thanked: 3 times
Been thanked: 8 times

Re: NfS Shift .BFF files

Post by japamd »

Bugtest wrote:I see no offset or size values in these files
But do you see anything useful? I don't know how the strings are indexed, changing the length of a couple strings on the beginning it's sufficient to mess the entire game. :(
Simon
mega-veteran
mega-veteran
Posts: 180
Joined: Sun Sep 20, 2009 5:41 pm
Has thanked: 31 times
Been thanked: 20 times

Re: NfS Shift .BFF files

Post by Simon »

It's impossible to add a new File in the extracted Folder or change the lenght of any file?
User avatar
japamd
advanced
Posts: 41
Joined: Sat Sep 19, 2009 10:26 pm
Has thanked: 3 times
Been thanked: 8 times

Re: NfS Shift .BFF files

Post by japamd »

sommergemuese wrote:It's impossible to add a new File in the extracted Folder or change the lenght of any file?
You can't add new files 'cause the game executable will not understand it, unless I'm missing your point.

The extracted files can be changed, no problem with that.
Simon
mega-veteran
mega-veteran
Posts: 180
Joined: Sun Sep 20, 2009 5:41 pm
Has thanked: 31 times
Been thanked: 20 times

Re: NfS Shift .BFF files

Post by Simon »

Watched the PakDirInfo.dat File?

Maybe we have to edit this file too?

Edit: Did you mean no completely new BFF-File or no new File inside of BFF-Archive too?
User avatar
japamd
advanced
Posts: 41
Joined: Sat Sep 19, 2009 10:26 pm
Has thanked: 3 times
Been thanked: 8 times

Re: NfS Shift .BFF files

Post by japamd »

sommergemuese wrote:Watched the PakDirInfo.dat File?

Maybe we have to edit this file too?
I don't think we need to mess with PadDirInfo.dat file.

Can you tell what you're trying to do?
sommergemuese wrote:Edit: Did you mean no completely new BFF-File or no new File inside of BFF-Archive too?
Both are true, you can't create a brand new BFF archive neither add files to a BFF archive, the repacker will only put all files extracted together again, edited/changed or not, in uncompressed form.
Simon
mega-veteran
mega-veteran
Posts: 180
Joined: Sun Sep 20, 2009 5:41 pm
Has thanked: 31 times
Been thanked: 20 times

Re: NfS Shift .BFF files

Post by Simon »

Okay :)

Thanks

What do you think: Will it possible to create BFF-Files with new Files inside?

Edit: Maybe I'm to silly or your tool isn't working 100%

I tried to extract the RX7.BFF, edited one DDS-File and used your Packer - I got a new BFF File as expected , Size 40.835.741 Bytes but Shift won't load this file and the unpacker isn't working to says this:
You do not have the required permissions to view the files attached to this post.
User avatar
japamd
advanced
Posts: 41
Joined: Sat Sep 19, 2009 10:26 pm
Has thanked: 3 times
Been thanked: 8 times

Re: NfS Shift .BFF files

Post by japamd »

Can you upload the edited DDS file?

Edit:
Nevermind, I forgot to save the entire nametable offsets, I'll fix it ASAP.

Sorry.
User avatar
japamd
advanced
Posts: 41
Joined: Sat Sep 19, 2009 10:26 pm
Has thanked: 3 times
Been thanked: 8 times

Re: NfS Shift .BFF files

Post by japamd »

Fixed, please download it again from previous page.

Sorry.
Sqwall
ultra-n00b
Posts: 7
Joined: Sat Sep 26, 2009 9:48 am

Re: NfS Shift .BFF files

Post by Sqwall »

Still does not work. Done the same thing edited DDS and repacked. Shift comes to loading profile elements and freezes there. Then I unpacked the original BFF file repacked without changing nothing to the files and same thing game freezes when I use repacked version which is more large in size (because of 0 compression). :cry:

Thanks for the efforts and hope that there will be solution for the problem soon.

Thanks again.
YodaStar
ultra-n00b
Posts: 3
Joined: Sat Sep 26, 2009 1:01 am
Has thanked: 3 times

Re: NfS Shift .BFF files

Post by YodaStar »

Sqwall/sommergemuese that is the behavior I get if I add/delete a file in the archives structure.I believe you might have a thumb file in there with the texture that is creating this error.
Sqwall
ultra-n00b
Posts: 7
Joined: Sat Sep 26, 2009 9:48 am

Re: NfS Shift .BFF files

Post by Sqwall »

YodaStar wrote:Sqwall/sommergemuese that is the behavior I get if I add/delete a file in the archives structure.I believe you might have a thumb file in there with the texture that is creating this error.
Nice point will check.
Sqwall
ultra-n00b
Posts: 7
Joined: Sat Sep 26, 2009 9:48 am

Re: NfS Shift .BFF files

Post by Sqwall »

It does not seem that this is the problem because the file count is the same. Quick BMS gives me 1048 files and 9 directories and Repack packs 1048 files. With current Folder options I can see thumbs.db file and there is none in the folders I pack. :(
Post Reply