Ekey / NFS.BIN.Tool

Tool for extract ZZDATA archives from Need for Speed console games series
2 stars 1 forks source link

PFDATA for Carbon PS2 Demo seems incomplete #2

Closed antoniu200 closed 1 year ago

antoniu200 commented 1 year ago

Hi,

I just tried your program on the Carbon PS2 Demo and it has not extracted anything in the PFDATA folder, although the correct files exist and your FileNames.list contains quite a few posibilities for .mus and .mpf pairs. However, none of them are correct for the PS2 Demo, since the file name for the .mus and .mpf needs to be identical and Demo only has one of each.

I have downloaded my Demo from here: https://archive.org/details/NeedForSpeedCarbonUSASLUS29193

Now, I have identified the corresponding files for both .mus and .mpf: 05832668 is the .mus file 36407D66 is the .mpf file

I tried moving both to SOUND\PFDATA and renaming both to cb_mus, with the correct extension for both, and the music was openable in foobar2000 with vgmstream plugin.

My question is now: Is there any reference in any ZZDATA file? I have not identified any in ZDIR.BIN, but I may not have looked close enough. Could you please take a look for yourself and update the program as necessary?

Thank you!

Ekey commented 1 year ago

SOUND\PFDATA\CARBON_MUSIC.MUS SOUND\PFDATA\CB_MUSIC.MPF

Screenshot_1 Screenshot_2 Screenshot_3

antoniu200 commented 1 year ago
  1. That's not what happens for me, see the attached Command Prompt output
  2. Those names do not appear in ZDIR.BIN or any ZZDATA.BIN inside the ISO I linked above, so that is not nomenclature Black Box devs used, at least not for this build
  3. The nomenclature is wrong, the .MPF and .MUS must have the same name to be openable. If you know otherwise, please let me know what you are using to open the .MPF and .MUS

In any case, I believe my issue is fairly simple to reproduce. I am aware that you already tested on some Carbon PS2 Demo build, but please download the one I linked above and test that way.

If it was to matter, I am using your tool on Windows 11 22H2 22621.1485.

Command Prompt.zip

Ekey commented 1 year ago

1) As i see you are use old version of my tool -> 0.0.1.3318 with project list 8098, redownload 39920 build from release section and try again. 2) ZDIR & ZZDATA don't contain names, only their hashes 3) The names are absolutely correct. You can rename it however you need. My list contains only the names that I could find.

In any case, I believe my issue is fairly simple to reproduce. I am aware that you already tested on some Carbon PS2 Demo build, but please download the one I linked above and test that way.

I tested on your demo build :)

antoniu200 commented 1 year ago

Okay, I see you updated the latest build, thank you for that. Now the tool does extract the correct MUS file, but the MPF is wrong. MPF files have a 4 letter header: xDFP. The file extracted by the tool does not have it. I executed your script 3 times, but the file extracted is the same wrong file: it seems like something related to Autosculpt.

If it means something helpful to you, Unknown\36407D66 was the MPF file when the previous version of the script was executed. This script mixes it up with the autosculpt file and no MPF file is present in Unknown either.

antoniu200 commented 1 year ago

Update: I just checked the MUS file too. That one is also wrong now. It was correct in the older script: __Unknown\05832668. What is strange is that both wrong files are the correct size.

Ekey commented 1 year ago

Now the tool does extract the correct MUS file, but the MPF is wrong. MPF files have a 4 letter header: xDFP. The file extracted by the tool does not have it. I executed your script 3 times, but the file extracted is the same wrong file: it seems like something related to Autosculpt.

Fixed (0.2.25804)

antoniu200 commented 1 year ago

Tested, working