Skip to content

Conversation

@HelloKitty
Copy link

So, took alittle awhile to find out why MPQs had an additional 8mb of
garbage data at the end of them compared to Ladik's editor. I thought
maybe there was a more siginificant fault related to writing the MPQ. In
was just a result of SFileCreateArchive in Stormsharplib always passing
int.MaxValue even if you provided your own count.

This fix address this.

Special thanks to Sundays for walking me through some of the MPQ format stuff to help narrow down the scope of what could be causing this massive chunk of garbage data.

So, took alittle awhile to find out why MPQs had an additional 8mb of
garbage data at the end of them compared to Ladik's editor. I thought
maybe there was a more siginificant fault related to writing the MPQ. In
was just a result of SFileCreateArchive in Stormsharplib always passing
int.MaxValue even if you provided your own count.

This fix address this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant