Difference between revisions of "Juiced DAT"

From XentaxWiki
Jump to: navigation, search
(Compatible Programs)
(See Also)
Line 59: Line 59:
  
 
* [https://discord.gg/pu2jdxR Juiced Modding Discord]
 
* [https://discord.gg/pu2jdxR Juiced Modding Discord]
 +
* [https://github.com/Ekey/JCED.DAT.Tool/blob/main/JCED.Unpacker/JCED.Unpacker/Projects/FileNames.list Filenames for Juiced DAT archives]
  
 
==Gallery==
 
==Gallery==

Revision as of 22:11, 3 December 2021

Choose archive extension:

DAT


Format Specifications

uint32 {4}   - Number Of Files
uint32 {4}   - Directory Offset

// File Data

// for each file
// for each file part
uint32 {4}   - File Part Offset
uint32 {4}   - File Part Length


// for each file part
byte {X}     - File Part Data


// Directory

// for each file
uint32 {4}   - File Hash
uint32 {4}   - File Offset
uint32 {4}   - Number of File Parts
uint32 {4}   - Compressed File Size
uint32 {4}   - Decompressed File Size


MultiEx BMS Script

Not written yet

Notes and Comments

  • Files are compressed with ZLIB.
  • The files in the archive are in a different order to the files in the directory. eg File 1 in the directory may be File 523 in the archive.
  • Files are stored in sorted order of their original filenames, then in the directory entries are listed sorted by their file hash.
  • Each file can have multiple compressed parts. Each part is described at each file offset. To determine how many parts there are in a file, go to the file offset and read the first field (firstPartOffset). Then do (firstPartOffset-fileOffset)/8 and you have the number of parts. (or you can just read the field in the directory!)
  • Directory Entries which have NULLs after File Offset appear to be folders.



Compatible Programs


See Also

Gallery