Skip to content
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

Better V53/V52 Support #30

Merged
merged 47 commits into from
Jan 4, 2023
Merged

Conversation

IJARika
Copy link
Contributor

@IJARika IJARika commented Aug 11, 2022

Fixes the header, bone, and ikchain structs for V53 MDLs. This fixes the following issues:
-jointcontents not exporting right
-bone flags being broken
-jiggle bones actually exporting (see above)
-lods writing in qc
-bone table by name working
-source bone transforms working
-linear bone table working
-pose parameters working
-ikchains actually exporting and writing in qc
-physics smds no longer clumping around origin

For V52 only the bone and header struct were adjusted to be more accurate.

There is probably some pretty messy code bits in here but all seems to function at least on my end.

Unrelated but this also makes the $worldalign command work shrug

Limitations:
-Animation scale tracks will not export as source does not support that
-Vertex color cannot be extracted and saved in source formats
-Secondary UV layer also cannot be extracted for above reasons

@IJARika IJARika marked this pull request as draft August 29, 2022 04:19
@IJARika IJARika marked this pull request as ready for review October 31, 2022 16:20
@IJARika IJARika changed the title Better V53 Support + Better V52 Header & Bone Better V53/V52 Support Nov 14, 2022
@ZeqMacaw ZeqMacaw merged commit ce3ef3c into ZeqMacaw:Version0.73 Jan 4, 2023
@IJARika IJARika deleted the respawn-mdl branch December 13, 2023 23:20
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.

2 participants