Dragon Mania Legends PAK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 58: Line 58:
[[Category:Extension_pak | Extension: pak]]
[[Category:Extension_pak | Extension: pak]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:ZSTD compression]]
[[Category:File Format]]
[[Category:File Format]]

Revision as of 11:07, 13 August 2022

Back to index | Edit this page

PAK

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : BUD


Format Specifications

// Dragon Mania Legends PAK file format (by barncastle)

struct Archive
{
   char Magic[4];                  // "BUD\0"
   uint FileTableCompressedSize;
   uint FileTableDecompressedSize;
   
   byte CompressedFileTable[FileTableCompressedSize];
   
   byte CompressedFileDatas[x][y]; // x = num of FileTable entries, y = entry.CompressedSize
}

struct FileTableEntry
{
   uint NameLen;
   char Name[NameLen];
   uint CompressedSize;
   uint DecompressedSize;
}

Notes and Comments

  • This archive file format uses ZSTD (zstandard) compression.

Games

List of games using this file format:

  • Dragon Mania Legends (Android) (*.PAK)

QuickBMS Script

Not written yet.

Compatible Programs