Repository navigation
LT1 ABC v6 Support for Models - #8
Merged
Merged
Conversation
Every KISS Psycho Circus model has a sixth chunk after v6's five, TransformInfo: 8 bytes, two uint32s, (0, 0) in 445 of its 447 models and (1, 0) in the other two. lithtech/abc6.py refused any chunk not one of the five, so none of KISS's models imported into Blender (the C++ reader skips such chunks, so LithRez Studio drew them). A chunk v6 doesn't define is now kept as stored (Model.extra_chunks) and written back in its place; the importer keeps it on the armature (lt_v6_extra_chunks_json) for export_abc6 to write back, which also puts an AnimDims it adds after Animation rather than last. All 447 KISS models read and write back byte-identical, as Blood 2's still do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/roundtrip_abc6.py reads, converts and writes back every v6 .abc under the folders it is given, without Blender. On the shipped games, Blood 2 (EU, with The Nightmare Levels) and KISS Psycho Circus (EU), all 1,645 models come back byte-identical, 447 of them with KISS's TransformInfo; abc6_verify reads all 1,645 too. The demos were all the docs had results for. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Nice one! |
This file contains hidden or 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
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.
No description provided.