Skip to content

WDR format differs in WDD #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
spicybung opened this issue May 22, 2025 · 0 comments
Open

WDR format differs in WDD #3

spicybung opened this issue May 22, 2025 · 0 comments

Comments

@spicybung
Copy link
Owner

gtaDrawables seem to differ when they're in a gtaDictionary. To that degree, the ModelCollection section is missing in gtaDrawables that come from dictionaries, so this means several more pointers to the Model section, instead. Furthermore, we must account for the adjusted offset for a gtaDrawable in a gtaDictionary when we slice them into buffers - as well as the physical size - at certain points.

So:

Adjust for missing ModelCollection section by removing it's reading logic for dictionary WDRs, and add logic directing pointers to the Model section instead, while adjusting for offsets in our sliced buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant