[DiscordArchive] i think addons have a way to work around it?
[DiscordArchive] i think addons have a way to work around it?
Archived author: helenah1734 • Posted: 2024-06-27T19:32:25.490000+00:00
Original source
The difference looks like it's literally what the MPQ files are literally reporting, that they're version 1 though, check this out:
My own MPQ archive:
```Header Size: 44
Archive Size: 123473642
Format Version: 1
Block Size: 3
Hash Table Offset: 123396714
Block Table Offset: 123462250
Hash Table Entries: 4096
Block Table Entries: 712```
A Blizzard MPQ archive:
```Header Size: 44
Archive Size: 1403129115
Format Version: 1
Block Size: 3
Hash Table Offset: 1402677883
Block Table Offset: 1402940027
Hash Table Entries: 16384
Block Table Entries: 11818```
The size of the numbers also seems right, like big ones for offsets and entries, small ones for things like format version, header size (headers in files and packets tend to be small).
Archived author: helenah1734 • Posted: 2024-06-27T19:34:26.095000+00:00
Original source
Also, just copying and pasting doesn't actually teach me anything, now reading that document, and getting hands on with it, actually writing code does, and it allows me to see, and get my hands more dirty.
Archived author: helenah1734 • Posted: 2024-06-27T19:39:24.267000+00:00
Original source
Okay just checked things out further, reporting format version 1 is correct however it is actually version 2, this is Blizzard behaviour so instead we'll use the header size to make a judgement.
Archived author: helenah1734 • Posted: 2024-06-27T19:42:10.585000+00:00
Original source
I just made a mistake... that version value starts at 0 so 1 was correct...