-
Notifications
You must be signed in to change notification settings - Fork 65
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
Conversation
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
limited by crowbar itself only writing one link.
this fixes the physics smd decompiling with all parts clumped around the origin.
fix ikchains and add bone flag for later use
… the writing of log for some anim data.
Merge into pre merger
reads per tri collision header and maya strings now, nothing done with them for now but it's less unread bytes.
Changed IKRule structure and made progress on anim sections.
Pre merger
easy fix tbh dunno how I didn't see this sooner.
IJARika
changed the title
Better V53 Support + Better V52 Header & Bone
Better V53/V52 Support
Nov 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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