-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework chunk creatin for model, animrig, animseqs
For models, the name and guid refs are always stored in 1 chunk, so we only ever create 1 CPU chunk for it now. For animrigs, the name, rmdl data and guid refs are always stored in 1 chunk, but only the guid refs are aligned to 8 bytes. We now also only ever create 1 CPU chunk for this. For animseqs, name and rmdl data reside in a single CPU chunk, that is aligned to 1 byte. Previously this was 64, but this is incorrect. The resulting pak file is slightly smaller, while also more stable in-game now.
- Loading branch information
Showing
3 changed files
with
136 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters