ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Oct 21, 2018 9:07 am

All times are UTC




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: NFSMW 2005 XBox 360
PostPosted: Sat Aug 04, 2018 1:40 am 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 39
Hello,

I was wondering if its possible to extract textures from the NFS Most Wanted xbox 360 version of the game due to being twice the resolution in comparison to the PC version.
I uploaded the smallest sample the game has with its directory naming, I think for the game assets, the textures seem to be inside .tpk archives with in those BIN files, so far found no results to be able to extract them.

Luigi maybe you can take a look at it please?

https://mega.nz/#F!ussFETJB!6phYtdY-naUuSaCbqJEJYw


Top
   
 Post subject: Re: NFSMW 2005 XBox 360
PostPosted: Sat Aug 04, 2018 10:10 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9071
Isn't the same format used in http://aluigi.org/bms/nfsu_bun.bms ?
ZDIR.BIN + ZZDATA*.BIN
I download just zdir.bin and the fields and endianess looked correct.
Let me know.


Top
   
 Post subject: Re: NFSMW 2005 XBox 360
PostPosted: Thu Aug 09, 2018 2:09 am 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 39
aluigi wrote:
Let me know.

Sorry for the delay.
So far some archives looks like this.
Code:
QuickBMS generic files extractor and reimporter 0.8.3
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Jan 21 2018 - 15:18:31)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                               @zenhax  Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
  where are available various options like folder scanning, filters and so on

- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file O:\NFS\ZZDATA0.BIN
- open script C:\quickBMS\nfsu_bun.bms
- set output folder O:\NFS\ZZDATA0

  offset   filesize   filename
--------------------------------------
  00000008 1712314    /00000000.dat

Error: incomplete input file 0: O:\NFS\ZZDATA0.BIN
       Can't read 4 bytes from offset a4ce8901.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0     0%   1719482    381569024  . offset a4ce8901

Last script line before the error or that produced the error:
  110 get BLOCK_TYPE long

Press ENTER or close the window to quit


I read you said many times you only take care of the extraction of archives, but it seems it omits file names, extensions and folder structure, is it possible for the script to be updated to do all of that, because it seems they are all there, textures seem to be headerless/swizzled though, it only extracts some archives but all raw, hashed names and dat extension :( it is literally a mess, if you could take a closer look, that'd be awesome :)


Top
   
 Post subject: Re: NFSMW 2005 XBox 360
PostPosted: Thu Aug 09, 2018 4:07 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9071
Currently I can't work on that. the format of nfsu bun is complex and I will no longer touch the script.
Maybe I will return on this game another day, bump it after one month in case I forget it.


Top
   
 Post subject: Re: NFSMW 2005 XBox 360
PostPosted: Fri Sep 14, 2018 5:15 pm 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 39
Greetings again Luigi,
aluigi wrote:
bump it after one month in case I forget it.

some time has passed :), and here I am again, wondering if who knows maybe there is something after all that can be done to get the files out of the archives inside those BIN files, or I should just forget about it all together?


Top
   
 Post subject: Re: NFSMW 2005 XBox 360
PostPosted: Fri Sep 14, 2018 6:12 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9071
I was checking it just now and here everything works perfectly but I understand why you got that error.
The reason is that you must select zdir.bin and not the *data.bin files, try and it will automatically extract all the files from the data archives.


Top
   
 Post subject: Re: NFSMW 2005 XBox 360
PostPosted: Sat Sep 15, 2018 4:27 am 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 39
aluigi wrote:
you must select zdir.bin and not the *data.bin files

That I did and it always worked nicely to extract the files, but what I was saying in above message a month ago, how come it does not pertain the original file names and folder structure? it is a mess with the files, that's why I was wondering if will there ever be a way for the script to do that, because all names are there when looking at the dumped files in hex.

And also, I just noticed on two more tries from Undercover on PS3 and ProStreet on X360 the extraction works if all files are like this:
Code:
O:\NFSCPS3\NFS\ZDIR.BIN
O:\NFSCPS3\NFS\ZZDATA0.BIN
O:\NFSCPS3\NFS\ZZDATA1.BIN
O:\NFSCPS3\NFS\ZZDATA2.BIN
O:\NFSCPS3\NFS\ZZDATA3.BIN
O:\NFSCPS3\NFS\ZZDATA4.BIN
O:\NFSCPS3\NFS\ZZDATA5.BIN
O:\NFSCPS3\NFS\ZZDATA6.BIN
O:\NFSCPS3\NFS\ZZDATA7.BIN
O:\NFSCPS3\NFS\ZZDATA8.BIN
O:\NFSCPS3\NFS\ZZDATA9.BIN
O:\NFSCPS3\NFS\ZZDATA10.BIN
O:\NFSCPS3\NFS\ZZDATA11.BIN
O:\NFSCPS3\NFS\ZZDATA12.BIN
O:\NFSCPS3\NFS\ZZDATA13.BIN
O:\NFSCPS3\NFS\ZZDATA14.BIN

BUT, they're files are named like this:
Code:
O:\NFSUPS3\NFS\00GLOBAL.BIN
O:\NFSUPS3\NFS\01TRACKS.BIN
O:\NFSUPS3\NFS\02TRACKS.BIN
O:\NFSUPS3\NFS\03SOUND.BIN
O:\NFSUPS3\NFS\04SOUND.BIN
O:\NFSUPS3\NFS\05SOUND.BIN
O:\NFSUPS3\NFS\06SOUND.BIN
O:\NFSUPS3\NFS\07SOUND.BIN
O:\NFSUPS3\NFS\08SOUND.BIN
O:\NFSUPS3\NFS\09NIS.BIN
O:\NFSUPS3\NFS\10SOUND.BIN
O:\NFSUPS3\NFS\11SOUND.BIN
O:\NFSUPS3\NFS\12MOVIES.BIN
O:\NFSUPS3\NFS\13MOVIES.BIN
O:\NFSUPS3\NFS\14MOVIES.BIN
O:\NFSUPS3\NFS\15MOVIES.BIN
O:\NFSUPS3\NFS\16MOVIES.BIN
O:\NFSUPS3\NFS\17MOVIES.BIN
O:\NFSUPS3\NFS\18CARS.BIN
O:\NFSUPS3\NFS\19CARS.BIN
O:\NFSUPS3\NFS\20CARS.BIN
O:\NFSUPS3\NFS\21CARS.BIN
O:\NFSUPS3\NFS\22CARS.BIN
O:\NFSUPS3\NFS\ZDIR.BIN

result:
Code:
QuickBMS generic files extractor and reimporter 0.8.3
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Jan 21 2018 - 15:18:31)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                               @zenhax  Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
  where are available various options like folder scanning, filters and so on

- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file O:\NFSUPS3\NFS\ZDIR.BIN
- open script C:\Users\User\Desktop\quickBMS\nfsu_bun.bms
- set output folder O:\NFSUPS3\NFS

  offset   filesize   filename
--------------------------------------
- enter in folder O:\NFSUPS3\NFS
- open input file O:\NFSUPS3\NFS\ZDIR.BIN
- enter in folder O:\NFSUPS3\NFS
  coverage file 0     0%   0          40104      . offset 00000000
- open input file O:\NFSUPS3\NFS\ZZDATA.BIN
- enter in folder O:\NFSUPS3\NFS
- open input file O:\NFSUPS3\NFS\ZZDATA0.BIN

- error in src\file.c line 465: fdnum_open()
Error: No such file or directory

Last script line before the error or that produced the error:
  30  open FDSE "ZZDATA0.BIN"

Press ENTER or close the window to quit

I've included both zdir.bin files if you can please take a look.
Attachment:
ZDIR.zip [59.03 KiB]
Downloaded 8 times


Top
   
 Post subject: Re: NFSMW 2005 XBox 360
PostPosted: Sat Sep 15, 2018 4:52 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9071
There are no names like "22CARS" inside these ZDIR.BIN so it means the names of the data files are hardcoded in the exe for example data 0 is 00GLOBAL.BIN (instead of ZZDATA0.BIN) and so on.
Basically you would need the exact sequence of data filenames and editing the script.

The script already does its best with the names of the extracted files so if you got no names (the sequential hexadecimal names with guessed extension) it means there are no names stored in the archives.


Top
   
 Post subject: Re: NFSMW 2005 XBox 360
PostPosted: Thu Sep 27, 2018 12:59 am 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 39
To all the Need for Speed series fans from the EAGL engine, who search for ways to dump/extract the game files finally there is a proper solution, so I want to include it here as well just in case you guys get stuck as I used to.

The tool is called Disculator and finally has been updated properly to support console games extraction of the files.

Quote:
Supported games:

•NFS Hot Pursuit 2
•NFS Underground
•NFS Underground 2
•NFS Most Wanted
•NFS Carbon
•NFS Pro Street
•NFS Undercover


Supported platforms:

•PlayStation 2
•PlayStation 3
•Xbox
•Xbox 360


>>>Disculator<<<


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited