Need for Speed Undercover BUN

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Scar7752
Posts: 3
Joined: Tue Jan 30, 2018 5:43 am

Re: Need for Speed Undercover BUN

Post by Scar7752 »

Gonna give this thread a huge bump (sorry)

I'm trying to open NFS World's textures with this script, but all I get are ~25 32kb DAT files and a MCA file. Am I doing something wrong, or did the script break?

https://drive.google.com/open?id=1BN1pZ ... 24EipfpSCt
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Need for Speed Undercover BUN

Post by aluigi »

That's probably correct because the BUN files are not simple archives containing known file formats, so you get lot of data, often useless small files without a known format.
It's already a win the existence of a script able to extract something from them :)

What's important at the end of the extraction is the "coverage" field shown by quickbms, it should be over 90% for file 0
Not Available
Posts: 9
Joined: Fri Nov 13, 2015 6:09 pm

Re: Need for Speed Undercover BUN

Post by Not Available »

aluigi wrote:That's probably correct because the BUN files are not simple archives containing known file formats, so you get lot of data, often useless small files without a known format.

Some chunks are tables storing header/collection data (storing image size, compression, etc)
Some contain pieces of image data streams.
NFSW has a weird habit of putting the first slice of a image data stream at the end of the image data stream.

Once you get the names, number, and the image data stream, you have to splice it to a usable texture format.

Some (like licence plates in NFSW) the main data isn't even stored in the bin file and are instead referred to a separate folder.

Even string handling is different across different EAGL generations. NFS6 uses fixed with strings, somewhere in the middle, they used n%32-bit strings, later they moved to true c-strings.

(Hey again Aluigi btw)
Nameless32
Posts: 35
Joined: Sun Dec 21, 2014 7:43 pm

Re: Need for Speed Undercover BUN

Post by Nameless32 »

i'm trying to extract some files from NFS Pro Street PS3 but this script don't have support, can you add ?


https://drive.google.com/open?id=14cKG9Dp2R6GXNP-f5KPdK9SpmKNLq-9h
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Need for Speed Undercover BUN

Post by aluigi »

@Not Available
Does exist any alternative tool or are you referring to the files extracted by the script?
Nameless32
Posts: 35
Joined: Sun Dec 21, 2014 7:43 pm

Re: Need for Speed Undercover BUN

Post by Nameless32 »

I never found anything, not for PS3.