Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Need for Speed: The Disculator (ZDIR & ZZDATA)

Featured Replies

  • Author
  • Localization

xan1242, posted Mon Aug 22, 2016 3:52 am (16734)


I know that there have been a few threads on this, but recently I discovered that the Wii release of Carbon actually has debug symbols inside. This unveiled a lot of things, among which one of them is a constructor/function named DisculatorDriver, which indeed handles the ZDIR filesystem (hence the name Disculator and discu:).

Note that this is still in assembly language, but it still might be useful for figuring out the format. From what I can see, it is indeed a filesystem with hashed filenames. I do not know exactly how the game resolves those hashes, which is why I think the code should be handed to someone who can understand PPC assembly.

It also seems that the development builds have the writer function built in to the game's executable. Now I'm not sure if this relates to debug builds or some other dev builds. There is one accessible to everybody in ProStreet PS2, but I'm not sure about that one having a writer function.

Extracting the files properly would be very useful, especially for modding the console versions.

IDB (x64)
  • Author
  • Localization

Ekey, posted Wed Dec 15, 2021 5:27 pm (68268)


My old stuff. Tool for extract ZZDATA archives (I could find about 90% of the filenames) :)

Binaries: here
Sources: here
  • Author
  • Localization

Teancum, posted Thu Dec 16, 2021 3:14 pm (68295)


Does this by chance re-pack the archives too? I always wanted to mod the EAGL-era NFS games on consoles.
  • Author
  • Localization

Ekey, posted Thu Dec 16, 2021 5:03 pm (68299)


Teancum wrote:
Does this by chance re-pack the archives too? I always wanted to mod the EAGL-era NFS games on consoles.

The format is not complicated, but there is a problem, I do not know how ExtraOffset is calculated. For files that are in the archive #0, the value is always equal to the file offset, and in others it is completely different. I can make a packer and specify ExtraOffset as the file offset in all archives, but there are absolutely no guarantees that the game will works properly.
  • Author
  • Localization

djamelzouaber19, posted Sun Mar 26, 2023 7:04 pm (76071)


Ekey wrote:
Teancum wrote:
Does this by chance re-pack the archives too? I always wanted to mod the EAGL-era NFS games on consoles.

The format is not complicated, but there is a problem, I do not know how ExtraOffset is calculated. For files that are in the archive #0, the value is always equal to the file offset, and in others it is completely different. I can make a packer and specify ExtraOffset as the file offset in all archives, but there are absolutely no guarantees that the game will works properly.


What programs did you use to deal with those executables?
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.