Zero Escape: The Nonary Games .dat file (PACK)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaKretin
Posts: 10
Joined: Mon Jan 24, 2022 8:35 am

Zero Escape: The Nonary Games .dat file (PACK)

Post by AlphaKretin »

Hi there. I'm trying to unpack the contents of Zero Escape: The Nonary Games to help compare between the Steam version and the new Xbox Game Pass version.

Firstly, when trying to use "zero_escape_nonary.bms" to unpack the Xbox version of "ze1_data.bin", I get the following error. It works fine for both "ze2_data" files, as well as all of the Steam version files of course. Since this file is large and is most of the game's content, I don't know if I can upload it here.

Code: Select all

- library MEMORY_FILE10 loaded at address 0B03C390
- function found at offset 0B03ED00

- signature of 4 bytes at offset 0x00000000 doesn't match the one
  expected by the script:

  this one: ""
  b2 9b c1 c9                                       ....

  expected: "bin."
  62 69 6e 2e                                       bin.

Secondly, for ZE2, both Steam and Xbox versions, many of the extracted files are ".dat" files that seem to be archives in themselves. Opening them in a hex editor, they seem to have a magic of "PACK", and I can see a list of filenames, but it doesn't seem to be the same format as Quake-related archives with a magic of "PACK", since I haven't had any success extracting them with relevant QuickBMS scripts. Being able to unpack these archives would be useful for looking through the files in more detail. I'll upload one as an example.

For anyone else looking into this, note that in the Xbox version some of the ".dat" files are prerendered video in MP4 format, not archives.