Skip to content

LT1 ABC v6 Support for Models - #8

Merged
nolffan merged 3 commits into
nolffan:masterfrom
branung:master
Nov 12, 2026
Merged

nolffan merged 3 commits into
nolffan:masterfrom
branung:master

Conversation

@branung

@branung branung commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

branung and others added 3 commits November 12, 2026 23:26
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>
@nolffan

nolffan commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Nice one!

@nolffan
nolffan merged commit 36948cb into nolffan:master Nov 12, 2026
6 checks passed
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