Dragon Mania Legends PAK: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
// | // 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; | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 29: | Line 48: | ||
=== Compatible Programs === | === Compatible Programs === | ||
* [https://gist.github.com/barncastle/02eb58226ae5cc7cb699806ddde85793 DragonManiaLegendsPAK.cs] | |||
<br/><br> | <br/><br> | ||
[[Category:Complete Complete|Dragon Mania Legends PAK]] | [[Category:Complete Complete|Dragon Mania Legends PAK]] | ||
[[Category:Platform | [[Category:Platform Android|Dragon Mania Legends PAK]] | ||
[[Category:CE Compressed|Dragon Mania Legends PAK]] | [[Category:CE Compressed|Dragon Mania Legends PAK]] | ||
[[Category:Format_Archive | Type: Archive]] | [[Category:Format_Archive | Type: Archive]] | ||
[[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]] | ||
Latest 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