From c31c3ae7b6082a3a7709942222cfa7ee0c7d94d8 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 11:26:41 +0700 Subject: [PATCH 001/112] Trying to fix flying rigidbodies and improve the performance by passing position + rotation quaternion --- blazerod/render/main/physics/PhysicsScene.kt | 16 +++-- blazerod/render/main/physics/PhysicsWorld.cpp | 59 ++++++++++++++++--- blazerod/render/main/physics/PhysicsWorld.kt | 36 ++++++++--- rule/tiny_remapper_worker/BUILD.bazel | 2 +- 4 files changed, 92 insertions(+), 21 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsScene.kt b/blazerod/render/main/physics/PhysicsScene.kt index 6468b765..8c00826f 100644 --- a/blazerod/render/main/physics/PhysicsScene.kt +++ b/blazerod/render/main/physics/PhysicsScene.kt @@ -2,6 +2,7 @@ package top.fifthlight.blazerod.physics import org.joml.Vector3fc import top.fifthlight.blazerod.model.RigidBody +import top.fifthlight.blazerod.model.util.MMD_SCALE import top.fifthlight.blazerod.runtime.resource.RenderPhysicsJoint import java.lang.ref.Reference import java.nio.ByteBuffer @@ -27,6 +28,11 @@ class PhysicsScene( .putFloat(offset + 4, vector.y()) .putFloat(offset + 8, vector.z()) + fun ByteBuffer.putVector3fScaled(offset: Int, vector: Vector3fc) = this + .putFloat(offset + 0, vector.x() * MMD_SCALE) + .putFloat(offset + 4, vector.y() * MMD_SCALE) + .putFloat(offset + 8, vector.z() * MMD_SCALE) + val rigidBodyItemSize = 72 val rigidBodiesBuffer = ByteBuffer.allocateDirect(rigidBodyItemSize * rigidBodies.size) .order(ByteOrder.nativeOrder()) @@ -36,8 +42,8 @@ class PhysicsScene( rigidBodiesBuffer.putInt(offset + 4, rigidBody.collisionMask) rigidBodiesBuffer.putInt(offset + 8, rigidBody.shape.ordinal) rigidBodiesBuffer.putInt(offset + 12, rigidBody.physicsMode.ordinal) - rigidBodiesBuffer.putVector3f(offset + 16, rigidBody.shapeSize) - rigidBodiesBuffer.putVector3f(offset + 28, rigidBody.shapePosition) + rigidBodiesBuffer.putVector3fScaled(offset + 16, rigidBody.shapeSize) + rigidBodiesBuffer.putVector3fScaled(offset + 28, rigidBody.shapePosition) rigidBodiesBuffer.putVector3f(offset + 40, rigidBody.shapeRotation) rigidBodiesBuffer.putFloat(offset + 52, rigidBody.mass) rigidBodiesBuffer.putFloat(offset + 56, rigidBody.moveAttenuation) @@ -54,10 +60,10 @@ class PhysicsScene( jointsBuffer.putInt(offset + 0, joint.type.ordinal) jointsBuffer.putInt(offset + 4, joint.rigidBodyAIndex) jointsBuffer.putInt(offset + 8, joint.rigidBodyBIndex) - jointsBuffer.putVector3f(offset + 12, joint.position) + jointsBuffer.putVector3fScaled(offset + 12, joint.position) jointsBuffer.putVector3f(offset + 24, joint.rotation) - jointsBuffer.putVector3f(offset + 36, joint.positionMin) - jointsBuffer.putVector3f(offset + 48, joint.positionMax) + jointsBuffer.putVector3fScaled(offset + 36, joint.positionMin) + jointsBuffer.putVector3fScaled(offset + 48, joint.positionMax) jointsBuffer.putVector3f(offset + 60, joint.rotationMin) jointsBuffer.putVector3f(offset + 72, joint.rotationMax) jointsBuffer.putVector3f(offset + 84, joint.positionSpring) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 4a561429..bf61b178 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -48,7 +48,9 @@ class FollowBoneObjectMotionState : public PhysicsMotionState { void GetFromWorld(const PhysicsWorld* world, size_t rigidbody_index) override { btTransform node_transform; - node_transform.setFromOpenGLMatrix(&world->GetTransformBuffer()[rigidbody_index * 16]); + float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; + node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); + node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); this->transform.mult(node_transform, this->from_node_to_world); } @@ -64,7 +66,9 @@ class PhysicsObjectMotionState : public PhysicsMotionState { void GetFromWorld(const PhysicsWorld* world, size_t rigidbody_index) override { btTransform node_transform; - node_transform.setFromOpenGLMatrix(&world->GetTransformBuffer()[rigidbody_index * 16]); + float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; + node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); + node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); this->transform.mult(node_transform, this->from_node_to_world); } @@ -72,7 +76,17 @@ class PhysicsObjectMotionState : public PhysicsMotionState { this->isDirty = false; btTransform node_transform; node_transform.mult(this->transform, this->from_world_to_node); - node_transform.getOpenGLMatrix(&world->GetTransformBuffer()[rigidbody_index * 16]); + + float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; + btVector3 pos = node_transform.getOrigin(); + btQuaternion rot = node_transform.getRotation(); + buffer[0] = pos.x(); + buffer[1] = pos.y(); + buffer[2] = pos.z(); + buffer[3] = rot.x(); + buffer[4] = rot.y(); + buffer[5] = rot.z(); + buffer[6] = rot.w(); } }; @@ -86,7 +100,9 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { void GetFromWorld(const PhysicsWorld* world, size_t rigidbody_index) override { btTransform node_transform; - node_transform.setFromOpenGLMatrix(&world->GetTransformBuffer()[rigidbody_index * 16]); + float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; + node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); + node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); this->transform.mult(node_transform, this->from_node_to_world); this->origin = transform.getOrigin(); } @@ -97,7 +113,17 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { world_transform.setOrigin(this->origin); btTransform node_transform; node_transform.mult(world_transform, this->from_world_to_node); - node_transform.getOpenGLMatrix(&world->GetTransformBuffer()[rigidbody_index * 16]); + + float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; + btVector3 pos = node_transform.getOrigin(); + btQuaternion rot = node_transform.getRotation(); + buffer[0] = pos.x(); + buffer[1] = pos.y(); + buffer[2] = pos.z(); + buffer[3] = rot.x(); + buffer[4] = rot.y(); + buffer[5] = rot.z(); + buffer[6] = rot.w(); } }; @@ -127,8 +153,27 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c if (initial_transform_count != rigidbodies.size() * 16) { throw std::invalid_argument("Initial transform count must match rigidbody count"); } - transform_buffer = std::make_unique(initial_transform_count); - memcpy(transform_buffer.get(), initial_transform, initial_transform_count * sizeof(float)); + + size_t num_rigidbodies = rigidbodies.size(); + transform_buffer = std::make_unique(num_rigidbodies * 7); + + // Convert initial matrix transforms to pos+rot format + for (size_t i = 0; i < num_rigidbodies; i++) { + btTransform transform; + transform.setFromOpenGLMatrix(&initial_transform[i * 16]); + + btVector3 pos = transform.getOrigin(); + btQuaternion rot = transform.getRotation(); + + transform_buffer[i * 7 + 0] = pos.x(); + transform_buffer[i * 7 + 1] = pos.y(); + transform_buffer[i * 7 + 2] = pos.z(); + transform_buffer[i * 7 + 3] = rot.x(); + transform_buffer[i * 7 + 4] = rot.y(); + transform_buffer[i * 7 + 5] = rot.z(); + transform_buffer[i * 7 + 6] = rot.w(); + } + this->rigidbodies.reserve(rigidbodies.size()); size_t rigidbody_count = 0; diff --git a/blazerod/render/main/physics/PhysicsWorld.kt b/blazerod/render/main/physics/PhysicsWorld.kt index 15889465..82e74fea 100644 --- a/blazerod/render/main/physics/PhysicsWorld.kt +++ b/blazerod/render/main/physics/PhysicsWorld.kt @@ -1,6 +1,8 @@ package top.fifthlight.blazerod.physics import org.joml.Matrix4f +import org.joml.Quaternionf +import org.joml.Vector3f import java.lang.AutoCloseable import java.lang.ref.Reference import java.nio.ByteBuffer @@ -25,10 +27,10 @@ class PhysicsWorld( } finally { Reference.reachabilityFence(initialTransform) } - transformBuffer = ByteBuffer.allocateDirect(initialTransform.capacity()).order(ByteOrder.nativeOrder())//PhysicsLibrary.getTransformBuffer(pointer).order(ByteOrder.nativeOrder()) - transformBuffer.put(initialTransform) - transformBuffer.clear() - initialTransform.clear() + transformBuffer = PhysicsLibrary.getTransformBuffer(pointer).order(ByteOrder.nativeOrder()) + // transformBuffer.put(initialTransform) // Buffer formats are different now + // transformBuffer.clear() + // initialTransform.clear() } private inline fun requireNotClosed(crossinline block: () -> T): T { @@ -38,15 +40,33 @@ class PhysicsWorld( fun getTransform(rigidBodyIndex: Int, dst: Matrix4f): Matrix4f = requireNotClosed { Objects.checkIndex(rigidBodyIndex, rigidBodyCount) - dst.apply { - set(rigidBodyIndex * 64, transformBuffer) - } + val offset = rigidBodyIndex * 28 // 7 floats * 4 bytes + val px = transformBuffer.getFloat(offset + 0) + val py = transformBuffer.getFloat(offset + 4) + val pz = transformBuffer.getFloat(offset + 8) + val qx = transformBuffer.getFloat(offset + 12) + val qy = transformBuffer.getFloat(offset + 16) + val qz = transformBuffer.getFloat(offset + 20) + val qw = transformBuffer.getFloat(offset + 24) + dst.translationRotate(px, py, pz, qx, qy, qz, qw) } fun setTransform(rigidBodyIndex: Int, transform: Matrix4f) { Objects.checkIndex(rigidBodyIndex, rigidBodyCount) requireNotClosed { - transform.get(rigidBodyIndex * 64, transformBuffer) + val offset = rigidBodyIndex * 28 // 7 floats * 4 bytes + val pos = Vector3f() + transform.getTranslation(pos) + val rot = Quaternionf() + transform.getUnnormalizedRotation(rot) + + transformBuffer.putFloat(offset + 0, pos.x) + transformBuffer.putFloat(offset + 4, pos.y) + transformBuffer.putFloat(offset + 8, pos.z) + transformBuffer.putFloat(offset + 12, rot.x) + transformBuffer.putFloat(offset + 16, rot.y) + transformBuffer.putFloat(offset + 20, rot.z) + transformBuffer.putFloat(offset + 24, rot.w) } } diff --git a/rule/tiny_remapper_worker/BUILD.bazel b/rule/tiny_remapper_worker/BUILD.bazel index dd758893..96232f14 100644 --- a/rule/tiny_remapper_worker/BUILD.bazel +++ b/rule/tiny_remapper_worker/BUILD.bazel @@ -3,7 +3,7 @@ load("@rules_java//java:defs.bzl", "java_binary") java_binary( name = "tiny_remapper_worker", srcs = glob(["*.java"]), - jvm_flags = ["-Xmx1G"], + jvm_flags = ["-Xmx4G"], main_class = "top.fifthlight.fabazel.remapper.TinyRemapperWorker", visibility = ["//visibility:public"], deps = [ From 48fe73c9b5b953ef70d70b0ea61c37bf8a205f6b Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 11:55:06 +0700 Subject: [PATCH 002/112] Bump mod version to 0.0.9 and change the JNI shared bufer mathces the 7-float format --- blazerod/render/main/physics/PhysicsWorld.h | 2 +- properties.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.h b/blazerod/render/main/physics/PhysicsWorld.h index 1abbe448..d09e1a85 100644 --- a/blazerod/render/main/physics/PhysicsWorld.h +++ b/blazerod/render/main/physics/PhysicsWorld.h @@ -60,7 +60,7 @@ class PhysicsWorld { ~PhysicsWorld(); float* GetTransformBuffer() const { return transform_buffer.get(); } - size_t GetTransformBufferSize() { return rigidbodies.size() * 16 * sizeof(float); } + size_t GetTransformBufferSize() { return rigidbodies.size() * 7 * sizeof(float); } void Step(float delta_time, int max_sub_steps, float fixed_time_step); }; } // namespace blazerod::physics diff --git a/properties.bzl b/properties.bzl index 77cdae17..47f41780 100644 --- a/properties.bzl +++ b/properties.bzl @@ -1,6 +1,6 @@ # Remember to keep sync with MODULE.bazel blazerod_version = "0.0.8" -mod_version = "0.0.8" +mod_version = "0.0.9" game_version = "1.21.8" fabric_api_version_modrinth = "X2hTodix" fabric_language_kotlin_version_modrinth = "Y91MRWtG" From f4a1ef2720282e37ba63e2d34e197e77c743e9e6 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 14:08:39 +0700 Subject: [PATCH 003/112] Bump mod version to 0.0.10 and reduce the worker heap size --- properties.bzl | 2 +- rule/tiny_remapper_worker/BUILD.bazel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/properties.bzl b/properties.bzl index 47f41780..2fb26016 100644 --- a/properties.bzl +++ b/properties.bzl @@ -1,6 +1,6 @@ # Remember to keep sync with MODULE.bazel blazerod_version = "0.0.8" -mod_version = "0.0.9" +mod_version = "0.0.10" game_version = "1.21.8" fabric_api_version_modrinth = "X2hTodix" fabric_language_kotlin_version_modrinth = "Y91MRWtG" diff --git a/rule/tiny_remapper_worker/BUILD.bazel b/rule/tiny_remapper_worker/BUILD.bazel index 96232f14..c4307bd9 100644 --- a/rule/tiny_remapper_worker/BUILD.bazel +++ b/rule/tiny_remapper_worker/BUILD.bazel @@ -3,7 +3,7 @@ load("@rules_java//java:defs.bzl", "java_binary") java_binary( name = "tiny_remapper_worker", srcs = glob(["*.java"]), - jvm_flags = ["-Xmx4G"], + jvm_flags = ["-Xmx2500M"], main_class = "top.fifthlight.fabazel.remapper.TinyRemapperWorker", visibility = ["//visibility:public"], deps = [ From 8ee31165dd56cc39c3c75b3792322f4fed49078b Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 14:20:56 +0700 Subject: [PATCH 004/112] Try pushing into a new branch cuz new-physics brand is weird --- properties.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/properties.bzl b/properties.bzl index 2fb26016..77cdae17 100644 --- a/properties.bzl +++ b/properties.bzl @@ -1,6 +1,6 @@ # Remember to keep sync with MODULE.bazel blazerod_version = "0.0.8" -mod_version = "0.0.10" +mod_version = "0.0.8" game_version = "1.21.8" fabric_api_version_modrinth = "X2hTodix" fabric_language_kotlin_version_modrinth = "Y91MRWtG" From 7bc0dfd8f0c6fc7c7b811b6cbd4cd8f711cc6d3c Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 14:46:57 +0700 Subject: [PATCH 005/112] A desperate attempt to figure out why the zip is missing many jars --- properties.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/properties.bzl b/properties.bzl index 77cdae17..6086f08a 100644 --- a/properties.bzl +++ b/properties.bzl @@ -1,6 +1,6 @@ # Remember to keep sync with MODULE.bazel -blazerod_version = "0.0.8" -mod_version = "0.0.8" +blazerod_version = "0.0.9" +mod_version = "0.0.9" game_version = "1.21.8" fabric_api_version_modrinth = "X2hTodix" fabric_language_kotlin_version_modrinth = "Y91MRWtG" From 587c60675ee72147aad6aee8ef631bc599548b13 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 14:54:36 +0700 Subject: [PATCH 006/112] A desperate attempt to figure out why the zip is missing many jars - 2 --- rule/remap_jar.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rule/remap_jar.bzl b/rule/remap_jar.bzl index afee6a34..9e8f9c85 100644 --- a/rule/remap_jar.bzl +++ b/rule/remap_jar.bzl @@ -1,3 +1,5 @@ +# Force rebuild 2025-11-29 v2 + load("@rules_java//java:defs.bzl", "java_common") load("@rules_java//java/common:java_info.bzl", "JavaInfo") From 9b5ef345cb84acc228bcd08eb829d325a826500e Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 15:00:13 +0700 Subject: [PATCH 007/112] Send help --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72419f62..cb5311c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - uses: bazel-contrib/setup-bazel@0.14.0 with: bazelisk-cache: true - disk-cache: ${{ github.workflow }} + disk-cache: false repository-cache: true - name: build run: | From a42d3b0bd30bbdac57f321e7305064bfa868c3d1 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 15:29:34 +0700 Subject: [PATCH 008/112] Send help 2 --- .github/workflows/build.yml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb5311c3..2f752aea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,20 +39,24 @@ jobs: --verbose_failures \ //blazerod/model:test \ //blazerod/render:test + - name: collect artifacts + run: | + mkdir -p artifacts + BAZEL_BIN=$(bazel info bazel-bin --config opt) + cp "$BAZEL_BIN/mod/mod_fabric.jar" artifacts/ + cp "$BAZEL_BIN/mod/mod_neoforge.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/blazerod_fabric.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/blazerod_neoforge.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/model/model-base/model-base.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/model/model-formats/model-formats.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/model/model-gltf/model-gltf.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/model/model-pmd/model-pmd.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/model/model-pmx/model-pmx.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/model/model-vmd/model-vmd.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/model/model-assimp/model-assimp-merged.jar" artifacts/ + cp "$BAZEL_BIN/blazerod/example/ball_block/ball_block.jar" artifacts/ - name: capture build artifacts uses: actions/upload-artifact@v4 with: name: artifacts-bazel - path: | - bazel-bin/mod/mod_fabric.jar - bazel-bin/mod/mod_neoforge.jar - bazel-bin/blazerod/blazerod_fabric.jar - bazel-bin/blazerod/blazerod_neoforge.jar - bazel-bin/blazerod/model/model-base/model-base.jar - bazel-bin/blazerod/model/model-formats/model-formats.jar - bazel-bin/blazerod/model/model-gltf/model-gltf.jar - bazel-bin/blazerod/model/model-pmd/model-pmd.jar - bazel-bin/blazerod/model/model-pmx/model-pmx.jar - bazel-bin/blazerod/model/model-vmd/model-vmd.jar - bazel-bin/blazerod/model/model-assimp/model-assimp-merged.jar - bazel-bin/blazerod/example/ball_block/ball_block.jar + path: artifacts/ From 1353fdd83738e21fa657ba9d118edb882256d8d6 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 16:07:56 +0700 Subject: [PATCH 009/112] Correcting the math: NewState = OldState * WorldInv * Physics --- blazerod/render/main/physics/PhysicsWorld.cpp | 2 +- blazerod/render/main/physics/PhysicsWorld.kt | 19 ++++++++++ .../render/main/runtime/ModelInstanceImpl.kt | 5 +++ .../render/main/runtime/RenderSceneImpl.kt | 2 + .../node/component/RigidBodyComponent.kt | 37 +++++++++++++++++-- 5 files changed, 60 insertions(+), 5 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index bf61b178..009b318a 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -346,7 +346,7 @@ void PhysicsWorld::Step(float delta_time, int max_sub_steps, float fixed_time_st for (auto& rigidbody : this->rigidbodies) { rigidbody.motion_state->GetFromWorld(this, rigidbody_index++); } - // this->world->stepSimulation(delta_time, max_sub_steps, fixed_time_step); + this->world->stepSimulation(delta_time, max_sub_steps, fixed_time_step); rigidbody_index = 0; for (auto& rigidbody : this->rigidbodies) { if (!rigidbody.motion_state->IsDirty()) { diff --git a/blazerod/render/main/physics/PhysicsWorld.kt b/blazerod/render/main/physics/PhysicsWorld.kt index 82e74fea..0efdf1e3 100644 --- a/blazerod/render/main/physics/PhysicsWorld.kt +++ b/blazerod/render/main/physics/PhysicsWorld.kt @@ -7,6 +7,7 @@ import java.lang.AutoCloseable import java.lang.ref.Reference import java.nio.ByteBuffer import java.nio.ByteOrder +import java.nio.FloatBuffer import java.util.* class PhysicsWorld( @@ -17,6 +18,7 @@ class PhysicsWorld( private var closed = false internal val rigidBodyCount = scene.rigidBodyCount private val transformBuffer: ByteBuffer + private val transformValues: FloatBuffer init { if (!PhysicsLibrary.isPhysicsAvailable()) { @@ -28,6 +30,7 @@ class PhysicsWorld( Reference.reachabilityFence(initialTransform) } transformBuffer = PhysicsLibrary.getTransformBuffer(pointer).order(ByteOrder.nativeOrder()) + transformValues = transformBuffer.asFloatBuffer() // transformBuffer.put(initialTransform) // Buffer formats are different now // transformBuffer.clear() // initialTransform.clear() @@ -70,6 +73,22 @@ class PhysicsWorld( } } + fun pullTransforms(dst: FloatArray) { + requireNotClosed { + require(dst.size >= rigidBodyCount * 7) + transformValues.clear() + transformValues.get(dst, 0, rigidBodyCount * 7) + } + } + + fun pushTransforms(src: FloatArray) { + requireNotClosed { + require(src.size >= rigidBodyCount * 7) + transformValues.clear() + transformValues.put(src, 0, rigidBodyCount * 7) + } + } + fun step(deltaTime: Float, maxSubSteps: Int, fixedTimeStep: Float) { PhysicsLibrary.stepPhysicsWorld(pointer, deltaTime, maxSubSteps, fixedTimeStep) } diff --git a/blazerod/render/main/runtime/ModelInstanceImpl.kt b/blazerod/render/main/runtime/ModelInstanceImpl.kt index 6133525d..6a42c9fa 100644 --- a/blazerod/render/main/runtime/ModelInstanceImpl.kt +++ b/blazerod/render/main/runtime/ModelInstanceImpl.kt @@ -62,6 +62,8 @@ class ModelInstanceImpl( private var _world: PhysicsWorld? = null val world: PhysicsWorld get() = _world ?: error("PhysicsWorld is not initialized") + lateinit var transformArray: FloatArray + private set fun initialize() { if (_world != null) { @@ -74,6 +76,9 @@ class ModelInstanceImpl( nodeWorldTransform.get(component.rigidBodyIndex * 64, initialTransform) } _world = PhysicsWorld(physicsScene, initialTransform) + transformArray = FloatArray(scene.rigidBodyComponents.size * 7) + // Initial pull to populate array + _world!!.pullTransforms(transformArray) } } diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 009e9339..cc28fc86 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -158,11 +158,13 @@ class RenderSceneImpl( data.lastPhysicsTime = time executePhase(instance, UpdatePhase.PhysicsUpdatePre) + data.world.pushTransforms(data.transformArray) measureTime { data.world.step(timeStep, PHYSICS_MAX_SUB_STEP_COUNT, PHYSICS_TIME_STEP) }.let { println("Physics step time: $it, timeStep: $timeStep") } + data.world.pullTransforms(data.transformArray) executePhase(instance, UpdatePhase.PhysicsUpdatePost) executePhase(instance, UpdatePhase.GlobalTransformPropagation) } diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index 36026b4c..cba0bfb9 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -2,6 +2,7 @@ package top.fifthlight.blazerod.runtime.node.component import net.minecraft.util.Colors import org.joml.Matrix4f +import org.joml.Quaternionf import org.joml.Vector3f import top.fifthlight.blazerod.model.RigidBody import top.fifthlight.blazerod.model.TransformId @@ -30,6 +31,9 @@ class RigidBodyComponent( private val physicsMatrix = Matrix4f() private val inverseNodeWorldMatrix = Matrix4f() + private val tempPos = Vector3f() + private val tempRot = Quaternionf() + override fun update( phase: UpdatePhase, node: RenderNodeImpl, @@ -41,7 +45,18 @@ class RigidBodyComponent( when (rigidBodyData.physicsMode) { RigidBody.PhysicsMode.FOLLOW_BONE, RigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> { val nodeTransformMatrix = instance.getWorldTransform(node) - physicsData.world.setTransform(rigidBodyIndex, nodeTransformMatrix) + nodeTransformMatrix.getTranslation(tempPos) + nodeTransformMatrix.getUnnormalizedRotation(tempRot) + + val offset = rigidBodyIndex * 7 + val array = physicsData.transformArray + array[offset + 0] = tempPos.x + array[offset + 1] = tempPos.y + array[offset + 2] = tempPos.z + array[offset + 3] = tempRot.x + array[offset + 4] = tempRot.y + array[offset + 5] = tempRot.z + array[offset + 6] = tempRot.w } RigidBody.PhysicsMode.PHYSICS -> { @@ -53,11 +68,25 @@ class RigidBodyComponent( is UpdatePhase.PhysicsUpdatePost -> { when (rigidBodyData.physicsMode) { RigidBody.PhysicsMode.PHYSICS, RigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> { - val physicsMatrix = physicsData.world.getTransform(rigidBodyIndex, physicsMatrix) + val offset = rigidBodyIndex * 7 + val array = physicsData.transformArray + val px = array[offset + 0] + val py = array[offset + 1] + val pz = array[offset + 2] + val qx = array[offset + 3] + val qy = array[offset + 4] + val qz = array[offset + 5] + val qw = array[offset + 6] + + physicsMatrix.translationRotate(px, py, pz, qx, qy, qz, qw) + val inverseNodeWorldMatrix = instance.getWorldTransform(node).invert(inverseNodeWorldMatrix) - val deltaTransformMatrix = physicsMatrix.mul(inverseNodeWorldMatrix) + instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { - matrix.mul(deltaTransformMatrix) + // Correct math: NewLayer = OldLayer * W^-1 * P + // 'this' is OldLayer + this.mul(inverseNodeWorldMatrix) // OldLayer * W^-1 + this.mul(physicsMatrix) // OldLayer * W^-1 * P } } From 962268d77e2d11f04367f3c7336802075446d822 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 16:43:44 +0700 Subject: [PATCH 010/112] Fixed Compilation error --- .../render/main/runtime/node/component/RigidBodyComponent.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index cba0bfb9..277b5e67 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -85,8 +85,8 @@ class RigidBodyComponent( instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { // Correct math: NewLayer = OldLayer * W^-1 * P // 'this' is OldLayer - this.mul(inverseNodeWorldMatrix) // OldLayer * W^-1 - this.mul(physicsMatrix) // OldLayer * W^-1 * P + this.matrix.mul(inverseNodeWorldMatrix) // OldLayer * W^-1 + this.matrix.mul(physicsMatrix) // OldLayer * W^-1 * P } } From 79862abc3da876ce5b38251d22e7c4a9e83a484c Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 29 Nov 2025 17:57:13 +0700 Subject: [PATCH 011/112] Switch the coordinate sytem from Right to Left --- blazerod/render/main/physics/PhysicsWorld.cpp | 51 +++++++++++++++---- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 009b318a..1cca8f28 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -7,6 +7,28 @@ namespace blazerod::physics { +static btTransform InvZ(const btTransform& t) { + btMatrix3x3 basis = t.getBasis(); + btVector3 origin = t.getOrigin(); + + btVector3 row0 = basis.getRow(0); + btVector3 row1 = basis.getRow(1); + btVector3 row2 = basis.getRow(2); + + row0.setZ(-row0.z()); + row1.setZ(-row1.z()); + row2.setX(-row2.x()); + row2.setY(-row2.y()); + + basis.setValue(row0.x(), row0.y(), row0.z(), + row1.x(), row1.y(), row1.z(), + row2.x(), row2.y(), row2.z()); + + origin.setZ(-origin.z()); + + return btTransform(basis, origin); +} + struct PhysicsFilterCallback : public btOverlapFilterCallback { btBroadphaseProxy* ground_proxy; @@ -37,7 +59,8 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec rigidbody_transform.setOrigin(pos); rigidbody_transform.setBasis(rotation_matrix); - from_node_to_world.mult(rigidbody_transform, initial_transform.inverse()); + btTransform initial_lh = InvZ(initial_transform); + from_node_to_world.mult(initial_lh.inverse(), rigidbody_transform); from_world_to_node = from_node_to_world.inverse(); } @@ -51,7 +74,9 @@ class FollowBoneObjectMotionState : public PhysicsMotionState { float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); - this->transform.mult(node_transform, this->from_node_to_world); + + btTransform node_lh = InvZ(node_transform); + this->transform.mult(node_lh, this->from_node_to_world); } void setWorldTransform(const btTransform& world_transform) override {} @@ -69,13 +94,17 @@ class PhysicsObjectMotionState : public PhysicsMotionState { float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); - this->transform.mult(node_transform, this->from_node_to_world); + + btTransform node_lh = InvZ(node_transform); + this->transform.mult(node_lh, this->from_node_to_world); } void SetToWorld(PhysicsWorld* world, size_t rigidbody_index) override { this->isDirty = false; - btTransform node_transform; - node_transform.mult(this->transform, this->from_world_to_node); + btTransform node_transform_lh; + node_transform_lh.mult(this->transform, this->from_world_to_node); + + btTransform node_transform = InvZ(node_transform_lh); float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; btVector3 pos = node_transform.getOrigin(); @@ -103,7 +132,9 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); - this->transform.mult(node_transform, this->from_node_to_world); + + btTransform node_lh = InvZ(node_transform); + this->transform.mult(node_lh, this->from_node_to_world); this->origin = transform.getOrigin(); } @@ -111,8 +142,10 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { this->isDirty = false; btTransform world_transform = this->transform; world_transform.setOrigin(this->origin); - btTransform node_transform; - node_transform.mult(world_transform, this->from_world_to_node); + btTransform node_transform_lh; + node_transform_lh.mult(world_transform, this->from_world_to_node); + + btTransform node_transform = InvZ(node_transform_lh); float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; btVector3 pos = node_transform.getOrigin(); @@ -134,7 +167,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c this->solver = std::make_unique(); this->world = std::make_unique(this->dispatcher.get(), this->broadphase.get(), this->solver.get(), this->collision_config.get()); - this->world->setGravity(btVector3(0, -9.81, 0)); + this->world->setGravity(btVector3(0, -98.0f, 0)); this->ground_shape = std::make_unique(btVector3(0, 1, 0), 0.0f); btTransform ground_transform; From 39aaafd7b448afae03d69ec992a9fb447cef0362 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 08:20:28 +0700 Subject: [PATCH 012/112] Fixed double scalling in PhysicsScene --- blazerod/render/main/physics/PhysicsScene.kt | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsScene.kt b/blazerod/render/main/physics/PhysicsScene.kt index 8c00826f..6681c471 100644 --- a/blazerod/render/main/physics/PhysicsScene.kt +++ b/blazerod/render/main/physics/PhysicsScene.kt @@ -28,11 +28,6 @@ class PhysicsScene( .putFloat(offset + 4, vector.y()) .putFloat(offset + 8, vector.z()) - fun ByteBuffer.putVector3fScaled(offset: Int, vector: Vector3fc) = this - .putFloat(offset + 0, vector.x() * MMD_SCALE) - .putFloat(offset + 4, vector.y() * MMD_SCALE) - .putFloat(offset + 8, vector.z() * MMD_SCALE) - val rigidBodyItemSize = 72 val rigidBodiesBuffer = ByteBuffer.allocateDirect(rigidBodyItemSize * rigidBodies.size) .order(ByteOrder.nativeOrder()) @@ -42,8 +37,8 @@ class PhysicsScene( rigidBodiesBuffer.putInt(offset + 4, rigidBody.collisionMask) rigidBodiesBuffer.putInt(offset + 8, rigidBody.shape.ordinal) rigidBodiesBuffer.putInt(offset + 12, rigidBody.physicsMode.ordinal) - rigidBodiesBuffer.putVector3fScaled(offset + 16, rigidBody.shapeSize) - rigidBodiesBuffer.putVector3fScaled(offset + 28, rigidBody.shapePosition) + rigidBodiesBuffer.putVector3f(offset + 16, rigidBody.shapeSize) + rigidBodiesBuffer.putVector3f(offset + 28, rigidBody.shapePosition) rigidBodiesBuffer.putVector3f(offset + 40, rigidBody.shapeRotation) rigidBodiesBuffer.putFloat(offset + 52, rigidBody.mass) rigidBodiesBuffer.putFloat(offset + 56, rigidBody.moveAttenuation) @@ -60,10 +55,10 @@ class PhysicsScene( jointsBuffer.putInt(offset + 0, joint.type.ordinal) jointsBuffer.putInt(offset + 4, joint.rigidBodyAIndex) jointsBuffer.putInt(offset + 8, joint.rigidBodyBIndex) - jointsBuffer.putVector3fScaled(offset + 12, joint.position) + jointsBuffer.putVector3f(offset + 12, joint.position) jointsBuffer.putVector3f(offset + 24, joint.rotation) - jointsBuffer.putVector3fScaled(offset + 36, joint.positionMin) - jointsBuffer.putVector3fScaled(offset + 48, joint.positionMax) + jointsBuffer.putVector3f(offset + 36, joint.positionMin) + jointsBuffer.putVector3f(offset + 48, joint.positionMax) jointsBuffer.putVector3f(offset + 60, joint.rotationMin) jointsBuffer.putVector3f(offset + 72, joint.rotationMax) jointsBuffer.putVector3f(offset + 84, joint.positionSpring) From 7c3b74af499bb03adee44394ea573c67f89c604d Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 08:59:04 +0700 Subject: [PATCH 013/112] Apply C InvZ --- blazerod/render/main/physics/PhysicsWorld.cpp | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 1cca8f28..ef6a6259 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -59,6 +59,8 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec rigidbody_transform.setOrigin(pos); rigidbody_transform.setBasis(rotation_matrix); + rigidbody_transform = InvZ(rigidbody_transform); + btTransform initial_lh = InvZ(initial_transform); from_node_to_world.mult(initial_lh.inverse(), rigidbody_transform); from_world_to_node = from_node_to_world.inverse(); @@ -303,6 +305,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c transform.setIdentity(); transform.setOrigin(btVector3(joint_item.position.x, joint_item.position.y, joint_item.position.z)); transform.setBasis(rotation_matrix); + transform = InvZ(transform); size_t rigidbody_a_index = joint_item.rigidbody_a_index; if (rigidbody_a_index >= this->rigidbodies.size()) { @@ -315,12 +318,16 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c } const auto& rigidbody_b = this->rigidbodies[joint_item.rigidbody_b_index]; - btTransform inverse_a; - btTransform inverse_b; - inverse_a.setFromOpenGLMatrix(initial_transform + rigidbody_a_index * 16); - inverse_b.setFromOpenGLMatrix(initial_transform + rigidbody_b_index * 16); - inverse_a = inverse_a.inverse() * transform; - inverse_b = inverse_b.inverse() * transform; + btTransform body_a_transform; + body_a_transform.setFromOpenGLMatrix(initial_transform + rigidbody_a_index * 16); + body_a_transform = InvZ(body_a_transform); + + btTransform body_b_transform; + body_b_transform.setFromOpenGLMatrix(initial_transform + rigidbody_b_index * 16); + body_b_transform = InvZ(body_b_transform); + + btTransform inverse_a = body_a_transform.inverse() * transform; + btTransform inverse_b = body_b_transform.inverse() * transform; auto constraint = std::make_unique( *rigidbody_a.rigidbody, *rigidbody_b.rigidbody, inverse_a, inverse_b, true); From 3f0d9c3830614990305a25aac7f81a7df6678688 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 09:26:08 +0700 Subject: [PATCH 014/112] Invert Ignore Mask and removed InvZ from PhysicsWorld --- blazerod/model/model-pmx/PmxLoader.kt | 14 ------ blazerod/render/main/physics/PhysicsWorld.cpp | 46 ++++--------------- 2 files changed, 9 insertions(+), 51 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 317e2de1..c12adcb8 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1166,20 +1166,6 @@ class PmxLoader : ModelFileLoader { ) ) } - boneToRigidBodyMap[index]?.forEach { index -> - add( - NodeComponent.RigidBodyComponent( - rigidBodyId = RigidBodyId(modelId, index), - rigidBody = rigidBodies[index].let { rigidBody -> - RigidBody( - name = rigidBody.nameLocal.takeIf(String::isNotBlank), - collisionGroup = rigidBody.groupId, - collisionMask = rigidBody.nonCollisionGroup, - shape = when (rigidBody.shape) { - PmxRigidBody.ShapeType.SPHERE -> RigidBody.ShapeType.SPHERE - PmxRigidBody.ShapeType.BOX -> RigidBody.ShapeType.BOX - PmxRigidBody.ShapeType.CAPSULE -> RigidBody.ShapeType.CAPSULE - }, shapeSize = rigidBody.shapeSize, shapePosition = rigidBody.shapePosition, shapeRotation = rigidBody.shapeRotation, diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index ef6a6259..6da92311 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -7,28 +7,6 @@ namespace blazerod::physics { -static btTransform InvZ(const btTransform& t) { - btMatrix3x3 basis = t.getBasis(); - btVector3 origin = t.getOrigin(); - - btVector3 row0 = basis.getRow(0); - btVector3 row1 = basis.getRow(1); - btVector3 row2 = basis.getRow(2); - - row0.setZ(-row0.z()); - row1.setZ(-row1.z()); - row2.setX(-row2.x()); - row2.setY(-row2.y()); - - basis.setValue(row0.x(), row0.y(), row0.z(), - row1.x(), row1.y(), row1.z(), - row2.x(), row2.y(), row2.z()); - - origin.setZ(-origin.z()); - - return btTransform(basis, origin); -} - struct PhysicsFilterCallback : public btOverlapFilterCallback { btBroadphaseProxy* ground_proxy; @@ -56,13 +34,10 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec btVector3 pos(position.x, position.y, position.z); btTransform rigidbody_transform; rigidbody_transform.setIdentity(); - rigidbody_transform.setOrigin(pos); rigidbody_transform.setBasis(rotation_matrix); - rigidbody_transform = InvZ(rigidbody_transform); - - btTransform initial_lh = InvZ(initial_transform); - from_node_to_world.mult(initial_lh.inverse(), rigidbody_transform); + btTransform initial_lh = initial_transform; + from_node_to_world.mult(initial_lh, rigidbody_transform); from_world_to_node = from_node_to_world.inverse(); } @@ -77,7 +52,7 @@ class FollowBoneObjectMotionState : public PhysicsMotionState { node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); - btTransform node_lh = InvZ(node_transform); + btTransform node_lh = node_transform; this->transform.mult(node_lh, this->from_node_to_world); } @@ -97,7 +72,7 @@ class PhysicsObjectMotionState : public PhysicsMotionState { node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); - btTransform node_lh = InvZ(node_transform); + btTransform node_lh = node_transform; this->transform.mult(node_lh, this->from_node_to_world); } @@ -106,7 +81,7 @@ class PhysicsObjectMotionState : public PhysicsMotionState { btTransform node_transform_lh; node_transform_lh.mult(this->transform, this->from_world_to_node); - btTransform node_transform = InvZ(node_transform_lh); + btTransform node_transform = node_transform_lh; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; btVector3 pos = node_transform.getOrigin(); @@ -135,7 +110,7 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); - btTransform node_lh = InvZ(node_transform); + btTransform node_lh = node_transform; this->transform.mult(node_lh, this->from_node_to_world); this->origin = transform.getOrigin(); } @@ -147,7 +122,7 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { btTransform node_transform_lh; node_transform_lh.mult(world_transform, this->from_world_to_node); - btTransform node_transform = InvZ(node_transform_lh); + btTransform node_transform = node_transform_lh; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; btVector3 pos = node_transform.getOrigin(); @@ -280,7 +255,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c rigidbody_info.m_additionalDamping = true; auto rigidbody = std::make_unique(rigidbody_info); - this->world->addRigidBody(rigidbody.get()); + this->world->addRigidBody(rigidbody.get(), rigidbody_item.collision_group, rigidbody_item.collision_mask); rigidbody->setActivationState(DISABLE_DEACTIVATION); if (rigidbody_item.physics_mode == PhysicsMode::FOLLOW_BONE) { rigidbody->setCollisionFlags(rigidbody->getCollisionFlags() | btCollisionObject::CF_KINEMATIC_OBJECT); @@ -305,7 +280,6 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c transform.setIdentity(); transform.setOrigin(btVector3(joint_item.position.x, joint_item.position.y, joint_item.position.z)); transform.setBasis(rotation_matrix); - transform = InvZ(transform); size_t rigidbody_a_index = joint_item.rigidbody_a_index; if (rigidbody_a_index >= this->rigidbodies.size()) { @@ -320,11 +294,9 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c btTransform body_a_transform; body_a_transform.setFromOpenGLMatrix(initial_transform + rigidbody_a_index * 16); - body_a_transform = InvZ(body_a_transform); btTransform body_b_transform; body_b_transform.setFromOpenGLMatrix(initial_transform + rigidbody_b_index * 16); - body_b_transform = InvZ(body_b_transform); btTransform inverse_a = body_a_transform.inverse() * transform; btTransform inverse_b = body_b_transform.inverse() * transform; @@ -351,7 +323,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c } if (joint_item.position_spring.z != 0.0f) { constraint->enableSpring(2, true); - constraint->setStiffness(2, -joint_item.position_spring.z); + constraint->setStiffness(2, joint_item.position_spring.z); } if (joint_item.rotation_spring.x != 0.0f) { constraint->enableSpring(3, true); From 12b4319522ecd656094af9fa4386c9b5bb28e922 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 09:56:54 +0700 Subject: [PATCH 015/112] Reverted deleting some chunks --- blazerod/model/model-pmx/PmxLoader.kt | 14 + logs_51071426239/0_build-with-bazel.txt | 2834 +++++++++++++++++ ...t Run bazel-contrib_setup-bazel@0.14.0.txt | 1 + .../14_Post checkout repository.txt | 14 + .../build-with-bazel/15_Complete job.txt | 2 + .../build-with-bazel/1_Set up job.txt | 44 + .../2_checkout repository.txt | 71 + ...3_Run bazel-contrib_setup-bazel@0.14.0.txt | 91 + logs_51071426239/build-with-bazel/4_build.txt | 2611 +++++++++++++++ logs_51071426239/build-with-bazel/system.txt | 5 + 10 files changed, 5687 insertions(+) create mode 100644 logs_51071426239/0_build-with-bazel.txt create mode 100644 logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt create mode 100644 logs_51071426239/build-with-bazel/14_Post checkout repository.txt create mode 100644 logs_51071426239/build-with-bazel/15_Complete job.txt create mode 100644 logs_51071426239/build-with-bazel/1_Set up job.txt create mode 100644 logs_51071426239/build-with-bazel/2_checkout repository.txt create mode 100644 logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt create mode 100644 logs_51071426239/build-with-bazel/4_build.txt create mode 100644 logs_51071426239/build-with-bazel/system.txt diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index c12adcb8..7b6cbd93 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1166,6 +1166,20 @@ class PmxLoader : ModelFileLoader { ) ) } + boneToRigidBodyMap[index]?.forEach { index -> + add( + NodeComponent.RigidBodyComponent( + rigidBodyId = RigidBodyId(modelId, index), + rigidBody = rigidBodies[index].let { rigidBody -> + RigidBody( + name = rigidBody.nameLocal.takeIf(String::isNotBlank), + collisionGroup = 1 shl rigidBody.groupId, + collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF, + shape = when (rigidBody.shape) { + PmxRigidBody.ShapeType.SPHERE -> RigidBody.ShapeType.SPHERE + PmxRigidBody.ShapeType.BOX -> RigidBody.ShapeType.BOX + PmxRigidBody.ShapeType.CAPSULE -> RigidBody.ShapeType.CAPSULE + }, shapeSize = rigidBody.shapeSize, shapePosition = rigidBody.shapePosition, shapeRotation = rigidBody.shapeRotation, diff --git a/logs_51071426239/0_build-with-bazel.txt b/logs_51071426239/0_build-with-bazel.txt new file mode 100644 index 00000000..60fb1284 --- /dev/null +++ b/logs_51071426239/0_build-with-bazel.txt @@ -0,0 +1,2834 @@ +2025-11-30T02:26:19.2751822Z Current runner version: '2.329.0' +2025-11-30T02:26:19.2777375Z ##[group]Runner Image Provisioner +2025-11-30T02:26:19.2778484Z Hosted Compute Agent +2025-11-30T02:26:19.2779430Z Version: 20251016.436 +2025-11-30T02:26:19.2780363Z Commit: 8ab8ac8bfd662a3739dab9fe09456aba92132568 +2025-11-30T02:26:19.2781427Z Build Date: 2025-10-15T20:44:12Z +2025-11-30T02:26:19.2782588Z ##[endgroup] +2025-11-30T02:26:19.2783485Z ##[group]Operating System +2025-11-30T02:26:19.2784429Z Ubuntu +2025-11-30T02:26:19.2785212Z 24.04.3 +2025-11-30T02:26:19.2786018Z LTS +2025-11-30T02:26:19.2786933Z ##[endgroup] +2025-11-30T02:26:19.2787893Z ##[group]Runner Image +2025-11-30T02:26:19.2788914Z Image: ubuntu-24.04 +2025-11-30T02:26:19.2789696Z Version: 20251112.124.1 +2025-11-30T02:26:19.2791452Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20251112.124/images/ubuntu/Ubuntu2404-Readme.md +2025-11-30T02:26:19.2793992Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20251112.124 +2025-11-30T02:26:19.2795807Z ##[endgroup] +2025-11-30T02:26:19.2800468Z ##[group]GITHUB_TOKEN Permissions +2025-11-30T02:26:19.2803435Z Actions: write +2025-11-30T02:26:19.2804366Z ArtifactMetadata: write +2025-11-30T02:26:19.2805332Z Attestations: write +2025-11-30T02:26:19.2806246Z Checks: write +2025-11-30T02:26:19.2807387Z Contents: write +2025-11-30T02:26:19.2808190Z Deployments: write +2025-11-30T02:26:19.2809156Z Discussions: write +2025-11-30T02:26:19.2810002Z Issues: write +2025-11-30T02:26:19.2810839Z Metadata: read +2025-11-30T02:26:19.2811537Z Models: read +2025-11-30T02:26:19.2812451Z Packages: write +2025-11-30T02:26:19.2813160Z Pages: write +2025-11-30T02:26:19.2813957Z PullRequests: write +2025-11-30T02:26:19.2815016Z RepositoryProjects: write +2025-11-30T02:26:19.2816103Z SecurityEvents: write +2025-11-30T02:26:19.2817200Z Statuses: write +2025-11-30T02:26:19.2818191Z ##[endgroup] +2025-11-30T02:26:19.2821078Z Secret source: Actions +2025-11-30T02:26:19.2822125Z Prepare workflow directory +2025-11-30T02:26:19.3263606Z Prepare all required actions +2025-11-30T02:26:19.3318780Z Getting action download info +2025-11-30T02:26:19.6583612Z Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5) +2025-11-30T02:26:19.9373728Z Download action repository 'bazel-contrib/setup-bazel@0.14.0' (SHA:e8776f58fb6a6e9055cbaf1b38c52ccc5247e9c4) +2025-11-30T02:26:20.7293768Z Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) +2025-11-30T02:26:20.9238531Z Complete job name: build-with-bazel +2025-11-30T02:26:20.9931468Z ##[group]Run actions/checkout@v4 +2025-11-30T02:26:20.9932333Z with: +2025-11-30T02:26:20.9932766Z repository: Sylsatra/ArmorStand +2025-11-30T02:26:20.9933448Z token: *** +2025-11-30T02:26:20.9934095Z ssh-strict: true +2025-11-30T02:26:20.9934824Z ssh-user: git +2025-11-30T02:26:20.9935515Z persist-credentials: true +2025-11-30T02:26:20.9936259Z clean: true +2025-11-30T02:26:20.9937256Z sparse-checkout-cone-mode: true +2025-11-30T02:26:20.9938208Z fetch-depth: 1 +2025-11-30T02:26:20.9938993Z fetch-tags: false +2025-11-30T02:26:20.9939786Z show-progress: true +2025-11-30T02:26:20.9940573Z lfs: false +2025-11-30T02:26:20.9941243Z submodules: false +2025-11-30T02:26:20.9941779Z set-safe-directory: true +2025-11-30T02:26:20.9942642Z ##[endgroup] +2025-11-30T02:26:21.1039267Z Syncing repository: Sylsatra/ArmorStand +2025-11-30T02:26:21.1041244Z ##[group]Getting Git version info +2025-11-30T02:26:21.1042029Z Working directory is '/home/runner/work/ArmorStand/ArmorStand' +2025-11-30T02:26:21.1043149Z [command]/usr/bin/git version +2025-11-30T02:26:21.1102761Z git version 2.51.2 +2025-11-30T02:26:21.1129381Z ##[endgroup] +2025-11-30T02:26:21.1142383Z Temporarily overriding HOME='/home/runner/work/_temp/6d2baab3-6bfd-4167-be5a-0a2cae9bfb19' before making global git config changes +2025-11-30T02:26:21.1143961Z Adding repository directory to the temporary git global config as a safe directory +2025-11-30T02:26:21.1154486Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand +2025-11-30T02:26:21.1190426Z Deleting the contents of '/home/runner/work/ArmorStand/ArmorStand' +2025-11-30T02:26:21.1193904Z ##[group]Initializing the repository +2025-11-30T02:26:21.1197804Z [command]/usr/bin/git init /home/runner/work/ArmorStand/ArmorStand +2025-11-30T02:26:21.1311527Z hint: Using 'master' as the name for the initial branch. This default branch name +2025-11-30T02:26:21.1312679Z hint: is subject to change. To configure the initial branch name to use in all +2025-11-30T02:26:21.1313686Z hint: of your new repositories, which will suppress this warning, call: +2025-11-30T02:26:21.1314423Z hint: +2025-11-30T02:26:21.1315075Z hint: git config --global init.defaultBranch +2025-11-30T02:26:21.1315698Z hint: +2025-11-30T02:26:21.1316276Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and +2025-11-30T02:26:21.1317379Z hint: 'development'. The just-created branch can be renamed via this command: +2025-11-30T02:26:21.1318417Z hint: +2025-11-30T02:26:21.1319113Z hint: git branch -m +2025-11-30T02:26:21.1319669Z hint: +2025-11-30T02:26:21.1320294Z hint: Disable this message with "git config set advice.defaultBranchName false" +2025-11-30T02:26:21.1321378Z Initialized empty Git repository in /home/runner/work/ArmorStand/ArmorStand/.git/ +2025-11-30T02:26:21.1329811Z [command]/usr/bin/git remote add origin https://github.com/Sylsatra/ArmorStand +2025-11-30T02:26:21.1376983Z ##[endgroup] +2025-11-30T02:26:21.1377795Z ##[group]Disabling automatic garbage collection +2025-11-30T02:26:21.1381104Z [command]/usr/bin/git config --local gc.auto 0 +2025-11-30T02:26:21.1412490Z ##[endgroup] +2025-11-30T02:26:21.1413869Z ##[group]Setting up auth +2025-11-30T02:26:21.1420021Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand +2025-11-30T02:26:21.1451219Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" +2025-11-30T02:26:21.1795938Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader +2025-11-30T02:26:21.1825811Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" +2025-11-30T02:26:21.2040220Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: +2025-11-30T02:26:21.2070448Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url +2025-11-30T02:26:21.2295801Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** +2025-11-30T02:26:21.2328873Z ##[endgroup] +2025-11-30T02:26:21.2330289Z ##[group]Fetching the repository +2025-11-30T02:26:21.2339008Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +3f0d9c3830614990305a25aac7f81a7df6678688:refs/remotes/origin/my-physics +2025-11-30T02:26:21.8875840Z From https://github.com/Sylsatra/ArmorStand +2025-11-30T02:26:21.8878177Z * [new ref] 3f0d9c3830614990305a25aac7f81a7df6678688 -> origin/my-physics +2025-11-30T02:26:21.8910578Z ##[endgroup] +2025-11-30T02:26:21.8912308Z ##[group]Determining the checkout info +2025-11-30T02:26:21.8914185Z ##[endgroup] +2025-11-30T02:26:21.8918809Z [command]/usr/bin/git sparse-checkout disable +2025-11-30T02:26:21.8958929Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig +2025-11-30T02:26:21.8984878Z ##[group]Checking out the ref +2025-11-30T02:26:21.8989301Z [command]/usr/bin/git checkout --progress --force -B my-physics refs/remotes/origin/my-physics +2025-11-30T02:26:22.0744505Z Switched to a new branch 'my-physics' +2025-11-30T02:26:22.0747171Z branch 'my-physics' set up to track 'origin/my-physics'. +2025-11-30T02:26:22.0760474Z ##[endgroup] +2025-11-30T02:26:22.0797543Z [command]/usr/bin/git log -1 --format=%H +2025-11-30T02:26:22.0818985Z 3f0d9c3830614990305a25aac7f81a7df6678688 +2025-11-30T02:26:22.1106827Z ##[group]Run bazel-contrib/setup-bazel@0.14.0 +2025-11-30T02:26:22.1108001Z with: +2025-11-30T02:26:22.1108709Z bazelisk-cache: true +2025-11-30T02:26:22.1109558Z disk-cache: false +2025-11-30T02:26:22.1110372Z repository-cache: true +2025-11-30T02:26:22.1111250Z cache-version: 1 +2025-11-30T02:26:22.1112039Z module-root: . +2025-11-30T02:26:22.1113065Z token: *** +2025-11-30T02:26:22.1113788Z ##[endgroup] +2025-11-30T02:26:22.2879076Z ##[group]Configure Bazel +2025-11-30T02:26:22.2880888Z Configuration: +2025-11-30T02:26:22.2882422Z { +2025-11-30T02:26:22.2884056Z "baseCacheKey": "setup-bazel-1-linux", +2025-11-30T02:26:22.2885848Z "bazeliskCache": { +2025-11-30T02:26:22.2887351Z "enabled": true, +2025-11-30T02:26:22.2888571Z "files": [ +2025-11-30T02:26:22.2889704Z "./.bazelversion" +2025-11-30T02:26:22.2890936Z ], +2025-11-30T02:26:22.2891991Z "name": "bazelisk", +2025-11-30T02:26:22.2893296Z "paths": [ +2025-11-30T02:26:22.2896011Z "/home/runner/.cache/bazelisk" +2025-11-30T02:26:22.2897782Z ] +2025-11-30T02:26:22.2898793Z }, +2025-11-30T02:26:22.2899836Z "bazeliskVersion": "", +2025-11-30T02:26:22.2901228Z "bazelrc": [ +2025-11-30T02:26:22.2903032Z "common --repository_cache=/home/runner/.cache/bazel-repo" +2025-11-30T02:26:22.2905427Z ], +2025-11-30T02:26:22.2906569Z "diskCache": { +2025-11-30T02:26:22.2907790Z "enabled": false, +2025-11-30T02:26:22.2909170Z "files": [ +2025-11-30T02:26:22.2921794Z "./MODULE.bazel", +2025-11-30T02:26:22.2923230Z "./WORKSPACE.bazel", +2025-11-30T02:26:22.2924705Z "./WORKSPACE.bzlmod", +2025-11-30T02:26:22.2926138Z "./WORKSPACE", +2025-11-30T02:26:22.2927646Z "./**/BUILD.bazel", +2025-11-30T02:26:22.2928988Z "./**/BUILD" +2025-11-30T02:26:22.2930086Z ], +2025-11-30T02:26:22.2930878Z "name": "disk", +2025-11-30T02:26:22.2932100Z "paths": [ +2025-11-30T02:26:22.2933358Z "/home/runner/.cache/bazel-disk" +2025-11-30T02:26:22.2935043Z ] +2025-11-30T02:26:22.2936093Z }, +2025-11-30T02:26:22.2937579Z "externalCache": {}, +2025-11-30T02:26:22.2939083Z "paths": { +2025-11-30T02:26:22.2940525Z "bazelExternal": "/home/runner/.bazel/external", +2025-11-30T02:26:22.2942495Z "bazelOutputBase": "/home/runner/.bazel", +2025-11-30T02:26:22.2944331Z "bazelrc": [ +2025-11-30T02:26:22.2945567Z "/home/runner/.bazelrc" +2025-11-30T02:26:22.2947369Z ] +2025-11-30T02:26:22.2948454Z }, +2025-11-30T02:26:22.2949462Z "os": { +2025-11-30T02:26:22.2950517Z "arch": "x64", +2025-11-30T02:26:22.2951767Z "platform": "linux" +2025-11-30T02:26:22.2953034Z }, +2025-11-30T02:26:22.2954146Z "repositoryCache": { +2025-11-30T02:26:22.2955484Z "enabled": true, +2025-11-30T02:26:22.2956876Z "files": [ +2025-11-30T02:26:22.2958132Z "./MODULE.bazel", +2025-11-30T02:26:22.2959462Z "./WORKSPACE.bazel", +2025-11-30T02:26:22.2961010Z "./WORKSPACE.bzlmod", +2025-11-30T02:26:22.2962411Z "./WORKSPACE" +2025-11-30T02:26:22.2963580Z ], +2025-11-30T02:26:22.2964700Z "name": "repository", +2025-11-30T02:26:22.2966075Z "paths": [ +2025-11-30T02:26:22.2967529Z "/home/runner/.cache/bazel-repo" +2025-11-30T02:26:22.2969229Z ] +2025-11-30T02:26:22.2970362Z } +2025-11-30T02:26:22.2971546Z } +2025-11-30T02:26:22.2973960Z ##[endgroup] +2025-11-30T02:26:22.2976327Z ##[group]Restore cache for bazelisk +2025-11-30T02:26:22.4571450Z Cache hit for: setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e +2025-11-30T02:26:22.9230715Z Received 57708694 of 57708694 (100.0%), 131.7 MBs/sec +2025-11-30T02:26:22.9260884Z Cache Size: ~55 MB (57708694 B) +2025-11-30T02:26:22.9262278Z [command]/usr/bin/tar -xf /home/runner/work/_temp/b3e15b1e-c1eb-4152-aaef-d9b65a2a8117/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd +2025-11-30T02:26:23.0176105Z Cache restored successfully +2025-11-30T02:26:23.0288687Z Successfully restored cache from setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e +2025-11-30T02:26:23.0290886Z ##[endgroup] +2025-11-30T02:26:23.0291918Z ##[group]Restore cache for repository +2025-11-30T02:26:23.0534581Z Cache hit for: setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e +2025-11-30T02:26:24.1170573Z Received 205520896 of 1349025797 (15.2%), 194.3 MBs/sec +2025-11-30T02:26:25.1159778Z Received 402653184 of 1349025797 (29.8%), 191.1 MBs/sec +2025-11-30T02:26:26.1172484Z Received 637534208 of 1349025797 (47.3%), 202.0 MBs/sec +2025-11-30T02:26:27.1205089Z Received 859832320 of 1349025797 (63.7%), 204.3 MBs/sec +2025-11-30T02:26:28.1196295Z Received 1073741824 of 1349025797 (79.6%), 204.3 MBs/sec +2025-11-30T02:26:29.1209674Z Received 1333788672 of 1349025797 (98.9%), 211.5 MBs/sec +2025-11-30T02:26:29.3337437Z Received 1349025797 of 1349025797 (100.0%), 206.6 MBs/sec +2025-11-30T02:26:29.3338445Z Cache Size: ~1287 MB (1349025797 B) +2025-11-30T02:26:29.3469178Z [command]/usr/bin/tar -xf /home/runner/work/_temp/42c2a257-3281-4f12-bdbd-3691fcbaf72d/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd +2025-11-30T02:26:31.2149646Z Cache restored successfully +2025-11-30T02:26:31.4668571Z Successfully restored cache from setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e +2025-11-30T02:26:31.4675002Z ##[endgroup] +2025-11-30T02:26:31.4910436Z ##[group]Run bazel build --config opt \ +2025-11-30T02:26:31.4910831Z bazel build --config opt \ +2025-11-30T02:26:31.4911128Z  --verbose_failures \ +2025-11-30T02:26:31.4911369Z  //mod:mod_fabric \ +2025-11-30T02:26:31.4911573Z  //mod:mod_neoforge \ +2025-11-30T02:26:31.4911800Z  //blazerod:blazerod_fabric \ +2025-11-30T02:26:31.4912054Z  //blazerod:blazerod_neoforge \ +2025-11-30T02:26:31.4912306Z  //blazerod/model/model-base \ +2025-11-30T02:26:31.4912574Z  //blazerod/model/model-formats \ +2025-11-30T02:26:31.4912844Z  //blazerod/model/model-gltf \ +2025-11-30T02:26:31.4913115Z  //blazerod/model/model-pmd \ +2025-11-30T02:26:31.4913353Z  //blazerod/model/model-pmx \ +2025-11-30T02:26:31.4913590Z  //blazerod/model/model-vmd \ +2025-11-30T02:26:31.4913901Z  //blazerod/model/model-assimp:model-assimp-merged \ +2025-11-30T02:26:31.4914247Z  //blazerod/example/ball_block +2025-11-30T02:26:31.4951978Z shell: /usr/bin/bash -e {0} +2025-11-30T02:26:31.4952216Z env: +2025-11-30T02:26:31.4952707Z BAZELISK_GITHUB_TOKEN: *** +2025-11-30T02:26:31.4952922Z ##[endgroup] +2025-11-30T02:26:34.9648246Z Extracting Bazel installation... +2025-11-30T02:26:36.1350419Z Starting local Bazel server (8.4.2) and connecting to it... +2025-11-30T02:26:37.5805449Z Computing main repo mapping: +2025-11-30T02:26:38.4491170Z Loading: +2025-11-30T02:26:38.4513683Z Loading: 0 packages loaded +2025-11-30T02:26:39.4737882Z Loading: 0 packages loaded +2025-11-30T02:26:40.5015388Z Analyzing: 12 targets (10 packages loaded) +2025-11-30T02:26:40.6840440Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) +2025-11-30T02:26:40.7097795Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) +2025-11-30T02:26:40.7098247Z +2025-11-30T02:26:41.3523381Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions: +2025-11-30T02:26:41.3529327Z com.google.code.gson:gson (versions: 2.10.1, 2.8.9) +2025-11-30T02:26:41.3533725Z com.google.errorprone:error_prone_annotations (versions: 2.23.0, 2.5.1) +2025-11-30T02:26:41.3538328Z com.google.guava:guava (versions: 32.0.1-jre, 33.0.0-jre) +2025-11-30T02:26:41.3616357Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:200:14: The maven repository 'maven' has contributions from multiple bzlmod modules, and will be resolved together: ["armorstand", "bazel_worker_java", "protobuf"]. +2025-11-30T02:26:41.3626625Z See https://github.com/bazel-contrib/rules_jvm_external/blob/master/docs/bzlmod.md#module-dependency-layering for more information. +2025-11-30T02:26:41.3628543Z To suppress this warning review the contributions from the other modules and add the following attribute in the root MODULE.bazel file: +2025-11-30T02:26:41.3629749Z maven.install( +2025-11-30T02:26:41.3630462Z known_contributing_modules = ["armorstand", "bazel_worker_java", "protobuf"], +2025-11-30T02:26:41.3631288Z ... +2025-11-30T02:26:41.3631778Z ) +2025-11-30T02:26:41.7257197Z Analyzing: 12 targets (50 packages loaded, 18 targets configured) +2025-11-30T02:26:41.7261478Z +2025-11-30T02:26:42.1938801Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/rules/coursier.bzl:777:18: Found duplicate artifact versions +2025-11-30T02:26:42.1940340Z com.google.code.gson:gson has multiple versions 2.8.9, 2.10.1 +2025-11-30T02:26:42.1941486Z com.google.errorprone:error_prone_annotations has multiple versions 2.5.1, 2.23.0 +2025-11-30T02:26:42.1943002Z com.google.guava:guava has multiple versions 32.0.1-jre, 33.0.0-jre +2025-11-30T02:26:42.1944246Z Please remove duplicate artifacts from the artifact list so you do not get unexpected artifact versions +2025-11-30T02:26:42.7343720Z Analyzing: 12 targets (95 packages loaded, 21 targets configured) +2025-11-30T02:26:42.7348423Z +2025-11-30T02:26:43.8255126Z Analyzing: 12 targets (174 packages loaded, 123 targets configured) +2025-11-30T02:26:43.8255993Z +2025-11-30T02:26:44.8638029Z Analyzing: 12 targets (199 packages loaded, 506 targets configured) +2025-11-30T02:26:44.8640128Z +2025-11-30T02:26:46.5827633Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:26:46.5828302Z +2025-11-30T02:26:52.0792144Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:26:52.0795487Z +2025-11-30T02:26:59.0377745Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:26:59.0378538Z +2025-11-30T02:27:00.5849632Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:27:00.5851005Z +2025-11-30T02:27:06.0490470Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:27:06.0490954Z +2025-11-30T02:27:07.0578673Z Analyzing: 12 targets (220 packages loaded, 3333 targets configured) +2025-11-30T02:27:07.0636900Z +2025-11-30T02:27:08.0614198Z Analyzing: 12 targets (394 packages loaded, 3922 targets configured) +2025-11-30T02:27:08.0614715Z +2025-11-30T02:27:09.0600181Z Analyzing: 12 targets (558 packages loaded, 9117 targets configured) +2025-11-30T02:27:09.0601041Z +2025-11-30T02:27:10.5329212Z Analyzing: 12 targets (584 packages loaded, 9209 targets configured) +2025-11-30T02:27:10.5329986Z +2025-11-30T02:27:11.5937838Z Analyzing: 12 targets (607 packages loaded, 12113 targets configured) +2025-11-30T02:27:11.5938733Z +2025-11-30T02:27:12.5922309Z Analyzing: 12 targets (610 packages loaded, 20072 targets configured) +2025-11-30T02:27:12.5922855Z +2025-11-30T02:27:14.0003413Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) +2025-11-30T02:27:14.0003901Z +2025-11-30T02:27:16.3762902Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) +2025-11-30T02:27:16.3763598Z +2025-11-30T02:27:17.3833523Z Analyzing: 12 targets (624 packages loaded, 35680 targets configured) +2025-11-30T02:27:17.3838798Z [4 / 77] Creating runfiles tree bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/jdeps_merger.runfiles [for tool]; 0s local ... (2 actions, 1 running) +2025-11-30T02:27:17.9095122Z INFO: Analyzed 12 targets (624 packages loaded, 35744 targets configured). +2025-11-30T02:27:18.3953559Z [156 / 1,333] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 0s processwrapper-sandbox ... (4 actions, 3 running) +2025-11-30T02:27:19.4080345Z [211 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) +2025-11-30T02:27:20.5312065Z [225 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 2s processwrapper-sandbox ... (4 actions, 3 running) +2025-11-30T02:27:21.5674285Z [247 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) +2025-11-30T02:27:22.5648529Z [268 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 2s processwrapper-sandbox ... (4 actions running) +2025-11-30T02:27:23.6043867Z [279 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 3s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:24.6034158Z [346 / 1,419] Extracting interface for jar file/com/google/guava/guava/33.3.1-jre/guava-33.3.1-jre.jar; 0s processwrapper-sandbox ... (3 actions, 2 running) +2025-11-30T02:27:25.8893252Z [391 / 1,419] Building repo/neoforge/rule/manifest_remover/manifest_remover.jar (1 source file) [for tool]; 1s multiplex-worker ... (3 actions, 2 running) +2025-11-30T02:27:27.0161706Z [408 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 0s worker ... (2 actions, 1 running) +2025-11-30T02:27:28.3243891Z [415 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 1s worker ... (2 actions, 1 running) +2025-11-30T02:27:29.4860296Z [416 / 1,427] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 2s worker ... (3 actions, 2 running) +2025-11-30T02:27:30.6060058Z [422 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) +2025-11-30T02:27:31.6067816Z [423 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 4s worker ... (3 actions running) +2025-11-30T02:27:32.6093524Z [424 / 1,604] Stamping the manifest of @maven//:it_unimi_dsi_fastutil [for tool]; 3s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:33.6101733Z [430 / 1,771] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:34.6154039Z [437 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:35.6181179Z [439 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:36.6180950Z [440 / 1,936] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 1s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:37.6228003Z [444 / 1,938] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 2s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:38.6257555Z [450 / 2,101] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 3s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:39.6260912Z [453 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 4s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:40.6281257Z [456 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 5s processwrapper-sandbox ... (4 actions running) +2025-11-30T02:27:41.6312020Z [460 / 2,263] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 6s processwrapper-sandbox ... (4 actions running) +2025-11-30T02:27:42.6351141Z [469 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:com_h2database_h2; 0s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:43.6353238Z [482 / 2,265] Stamping the manifest of @maven//:net_fabricmc_sponge_mixin; 0s processwrapper-sandbox +2025-11-30T02:27:44.9239762Z [487 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava +2025-11-30T02:27:45.9503367Z [494 / 2,265] [Prepa] Stamping the manifest of @maven//:org_jetbrains_kotlinx_atomicfu_jvm +2025-11-30T02:27:46.9897690Z [510 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_fabric_api_fabric_content_registries_v0 +2025-11-30T02:27:48.2391953Z [525 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_intermediary_v2 +2025-11-30T02:27:49.2809634Z [539 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:net_fabricmc_fabric_api_fabric_resource_loader_v0 +2025-11-30T02:27:50.3323974Z [556 / 2,265] [Prepa] Stamping the manifest of @maven//:com_fasterxml_jackson_core_jackson_core [for tool] +2025-11-30T02:27:51.5858029Z [563 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava [for tool] +2025-11-30T02:27:52.5947704Z [570 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:org_jetbrains_kotlinx_kotlinx_serialization_core_jvm [for tool]; 0s processwrapper-sandbox ... (2 actions, 1 running) +2025-11-30T02:27:53.6057509Z [577 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 0s processwrapper-sandbox ... (3 actions, 2 running) +2025-11-30T02:27:54.6386289Z [583 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 1s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:55.6427395Z [588 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 2s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:56.6431771Z [590 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 1s worker ... (3 actions running) +2025-11-30T02:27:58.4013733Z [592 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 3s worker ... (3 actions, 2 running) +2025-11-30T02:27:59.4873989Z [593 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 4s worker ... (3 actions, 2 running) +2025-11-30T02:28:00.6275008Z [597 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:it_unimi_dsi_fastutil; 4s processwrapper-sandbox ... (3 actions, 2 running) +2025-11-30T02:28:01.6520553Z [601 / 2,265] KotlinCompile //blazerod/render/main/util/iterator:iterator { kt: 2, java: 0, srcjars: 0 } for k8; 0s worker ... (3 actions running) +2025-11-30T02:28:02.6446303Z [606 / 2,265] Stamping the manifest of @maven//:org_lwjgl_lwjgl_assimp_natives_windows; 0s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:28:03.6488866Z [609 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 1s worker ... (3 actions running) +2025-11-30T02:28:04.6477490Z [613 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 2s worker ... (2 actions running) +2025-11-30T02:28:05.6573443Z [614 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) +2025-11-30T02:28:06.6569120Z [620 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 4s worker ... (4 actions running) +2025-11-30T02:28:07.8132473Z [626 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 5s worker ... (4 actions, 3 running) +2025-11-30T02:28:08.9142367Z [635 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 6s worker ... (4 actions, 3 running) +2025-11-30T02:28:09.9626627Z [650 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 7s worker ... (4 actions, 3 running) +2025-11-30T02:28:11.0765912Z [662 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 9s worker ... (4 actions, 3 running) +2025-11-30T02:28:12.1079223Z [668 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 10s worker ... (4 actions, 3 running) +2025-11-30T02:28:13.1404524Z [673 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 11s worker ... (4 actions, 3 running) +2025-11-30T02:28:14.2978006Z [679 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 12s worker ... (4 actions, 3 running) +2025-11-30T02:28:15.6614442Z [680 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 13s worker ... (4 actions running) +2025-11-30T02:28:16.6623783Z [688 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 14s worker ... (4 actions, 3 running) +2025-11-30T02:28:17.6628456Z [698 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 15s worker ... (4 actions running) +2025-11-30T02:28:18.6639555Z [713 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 16s worker ... (4 actions running) +2025-11-30T02:28:19.6656724Z [725 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 17s worker ... (4 actions running) +2025-11-30T02:28:20.6659687Z [759 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 18s worker ... (4 actions running) +2025-11-30T02:28:21.6678741Z [805 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 19s worker ... (4 actions running) +2025-11-30T02:28:22.6738409Z [823 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 12s worker ... (4 actions running) +2025-11-30T02:28:23.6711692Z [842 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 13s worker ... (4 actions running) +2025-11-30T02:28:24.6760714Z [845 / 2,265] Splitting resources from classes for joined_strip_client; 4s processwrapper-sandbox ... (4 actions running) +2025-11-30T02:28:25.6767129Z [863 / 2,265] KotlinCompile //blazerod/model/model-pmd:model-pmd { kt: 4, java: 0, srcjars: 0 } for k8; 2s worker ... (4 actions running) +2025-11-30T02:28:26.8468219Z [885 / 2,265] Remapping remapped_client_named - client.jar; 0s worker ... (4 actions, 3 running) +2025-11-30T02:28:27.0983599Z INFO: From Running NeoForm function bundleExtractJar to create ../+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar: +2025-11-30T02:28:27.1109646Z Task: BUNDLER_EXTRACT +2025-11-30T02:28:27.1118362Z Input: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/external/+minecraft+minecraft_1.21.8_server/file/server.jar +2025-11-30T02:28:27.1120952Z Output: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/bazel-out/k8-opt/bin/external/+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar +2025-11-30T02:28:27.1122929Z All: false +2025-11-30T02:28:27.1123503Z JarOnly: true +2025-11-30T02:28:27.1124048Z Libs: false +2025-11-30T02:28:27.1124674Z Extracted: versions/1.21.8/server-1.21.8.jar +2025-11-30T02:28:28.3841839Z [892 / 2,265] Remapping remapped_client_named - client.jar; 2s worker ... (4 actions, 3 running) +2025-11-30T02:28:29.6133513Z [899 / 2,265] Remapping remapped_client_named - client.jar; 3s worker ... (4 actions, 3 running) +2025-11-30T02:28:30.6788966Z [900 / 2,265] Remapping remapped_client_named - client.jar; 4s worker ... (4 actions running) +2025-11-30T02:28:31.6815688Z [901 / 2,265] Remapping remapped_client_named - client.jar; 5s worker ... (4 actions running) +2025-11-30T02:28:34.0024263Z [902 / 2,265] Remapping remapped_client_named - client.jar; 8s worker ... (4 actions, 3 running) +2025-11-30T02:28:35.1868084Z [904 / 2,265] Remapping remapped_client_named - client.jar; 9s worker ... (4 actions, 3 running) +2025-11-30T02:28:36.6823164Z [907 / 2,265] Remapping remapped_client_named - client.jar; 10s worker ... (4 actions running) +2025-11-30T02:28:37.6820665Z [909 / 2,265] Remapping remapped_client_named - client.jar; 11s worker ... (4 actions running) +2025-11-30T02:28:38.6878229Z [912 / 2,265] Remapping remapped_client_named - client.jar; 12s worker ... (4 actions running) +2025-11-30T02:28:39.6851203Z [915 / 2,265] Remapping remapped_client_named - client.jar; 13s worker ... (4 actions running) +2025-11-30T02:28:41.6883066Z [921 / 2,265] Remapping remapped_client_named - client.jar; 15s worker ... (4 actions running) +2025-11-30T02:28:42.6882930Z [925 / 2,265] Remapping remapped_client_named - client.jar; 16s worker ... (4 actions running) +2025-11-30T02:28:43.6922591Z [928 / 2,265] Remapping remapped_client_named - client.jar; 17s worker ... (4 actions running) +2025-11-30T02:28:44.6984269Z [933 / 2,265] Remapping remapped_client_named - client.jar; 18s worker ... (4 actions running) +2025-11-30T02:28:45.6998090Z [934 / 2,265] Remapping remapped_client_named - client.jar; 19s worker ... (4 actions running) +2025-11-30T02:28:46.6997086Z [937 / 2,265] Remapping remapped_client_named - client.jar; 20s worker ... (4 actions running) +2025-11-30T02:28:47.6991228Z [941 / 2,265] Remapping remapped_client_named - client.jar; 21s worker ... (4 actions running) +2025-11-30T02:28:48.7120937Z [946 / 2,265] Remapping remapped_client_named - client.jar; 22s worker ... (4 actions, 3 running) +2025-11-30T02:28:48.7980297Z ERROR: /home/runner/work/ArmorStand/ArmorStand/blazerod/model/model-pmx/BUILD.bazel:14:15: KotlinCompile //blazerod/model/model-pmx:model-pmx { kt: 11, java: 0, srcjars: 0 } for k8 failed: (Exit 1): build failed: error executing KotlinCompile command (from target //blazerod/model/model-pmx:model-pmx) +2025-11-30T02:28:48.7982802Z (cd /home/runner/.bazel/execroot/_main && \ +2025-11-30T02:28:48.7983528Z exec env - \ +2025-11-30T02:28:48.7989684Z LC_CTYPE=en_US.UTF-8 \ +2025-11-30T02:28:48.7990681Z REPOSITORY_NAME=rules_kotlin+ \ +2025-11-30T02:28:48.8021393Z bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/build '--wrapper_script_flag=--main_advice_classpath=external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/annotations-13.0.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk7.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk8.jar' '--flagfile=bazel-out/k8-opt/bin/blazerod/model/model-pmx/model-pmx-kt.jar-0.params') +2025-11-30T02:28:48.8025866Z # Configuration: 7829eb418bfd28df94b3e08f612b6b762cc0317abf8117066b0bd699547ce494 +2025-11-30T02:28:48.8030263Z # Execution platform: @@platforms//host:host +2025-11-30T02:28:48.8031326Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: +2025-11-30T02:28:48.8033921Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult +2025-11-30T02:28:48.8034741Z class PmxLoader : ModelFileLoader { +2025-11-30T02:28:48.8036165Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8037120Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. +2025-11-30T02:28:48.8038206Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.8038901Z ^^^^^^^^^ +2025-11-30T02:28:48.8039690Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8101263Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.8103435Z ^^^^^^^^^ +2025-11-30T02:28:48.8104815Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8114419Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.8115153Z ^ +2025-11-30T02:28:48.8115890Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. +2025-11-30T02:28:48.8116788Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.8117295Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8117956Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8118673Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.8119148Z ^^^^^^^^^ +2025-11-30T02:28:48.8120039Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8120910Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.8121318Z ^ +2025-11-30T02:28:48.8122153Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. +2025-11-30T02:28:48.8122783Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.8123170Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8123699Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8124308Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.8124694Z ^^^^^^^^^ +2025-11-30T02:28:48.8125427Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8126190Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.8126771Z ^ +2025-11-30T02:28:48.8127299Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. +2025-11-30T02:28:48.8127838Z mass = rigidBody.mass, +2025-11-30T02:28:48.8128175Z ^^^^ +2025-11-30T02:28:48.8128687Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8129246Z mass = rigidBody.mass, +2025-11-30T02:28:48.8129585Z ^^^^^^^^^ +2025-11-30T02:28:48.8130618Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8131372Z mass = rigidBody.mass, +2025-11-30T02:28:48.8131761Z ^ +2025-11-30T02:28:48.8132330Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. +2025-11-30T02:28:48.8132961Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.8133351Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8133865Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8134450Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.8134853Z ^^^^^^^^^ +2025-11-30T02:28:48.8135578Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8136816Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.8137316Z ^ +2025-11-30T02:28:48.8138013Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. +2025-11-30T02:28:48.8138800Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.8139287Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8139923Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8140670Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.8141156Z ^^^^^^^^^ +2025-11-30T02:28:48.8142071Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8143073Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.8143635Z ^ +2025-11-30T02:28:48.8144523Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. +2025-11-30T02:28:48.8145247Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.8145687Z ^^^^^^^^^ +2025-11-30T02:28:48.8146338Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8147232Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.8147681Z ^^^^^^^^^ +2025-11-30T02:28:48.8148575Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8149530Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.8149979Z ^ +2025-11-30T02:28:48.8150657Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. +2025-11-30T02:28:48.8151413Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.8151870Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8152516Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8153248Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.8153714Z ^^^^^^^^^ +2025-11-30T02:28:48.8154622Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8155591Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.8156075Z ^ +2025-11-30T02:28:48.8156914Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. +2025-11-30T02:28:48.8157670Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.8158150Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8158917Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. +2025-11-30T02:28:48.8159764Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.8160239Z ^^^^ +2025-11-30T02:28:48.8160890Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8161826Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.8162309Z ^^^^^^^^^ +2025-11-30T02:28:48.8163235Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8164143Z }, +2025-11-30T02:28:48.8164513Z ^ +2025-11-30T02:28:48.8165141Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. +2025-11-30T02:28:48.8165805Z ) +2025-11-30T02:28:48.8166153Z ^ +2025-11-30T02:28:48.8167164Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8168158Z }, +2025-11-30T02:28:48.8168599Z ^ +2025-11-30T02:28:48.8169287Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. +2025-11-30T02:28:48.8169951Z ) +2025-11-30T02:28:48.8170283Z ^ +2025-11-30T02:28:48.8170964Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. +2025-11-30T02:28:48.8257028Z ) +2025-11-30T02:28:48.8257393Z ^ +2025-11-30T02:28:48.8257966Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. +2025-11-30T02:28:48.8258618Z } +2025-11-30T02:28:48.8258924Z ^ +2025-11-30T02:28:48.8259476Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. +2025-11-30T02:28:48.8260067Z } +2025-11-30T02:28:48.8260347Z ^ +2025-11-30T02:28:48.8260989Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8261743Z return Node( +2025-11-30T02:28:48.8262098Z ^^^^^^ +2025-11-30T02:28:48.8262759Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8263505Z return Node( +2025-11-30T02:28:48.8263844Z ^^^^ +2025-11-30T02:28:48.8264529Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8265268Z return Node( +2025-11-30T02:28:48.8265623Z ^ +2025-11-30T02:28:48.8266291Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8267367Z name = bone.nameLocal, +2025-11-30T02:28:48.8267788Z ^^^^ +2025-11-30T02:28:48.8268468Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8269249Z name = bone.nameLocal, +2025-11-30T02:28:48.8269653Z ^ +2025-11-30T02:28:48.8270322Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8271077Z name = bone.nameLocal, +2025-11-30T02:28:48.8271488Z ^^^^ +2025-11-30T02:28:48.8272188Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8272948Z name = bone.nameLocal, +2025-11-30T02:28:48.8273358Z ^ +2025-11-30T02:28:48.8274052Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8274821Z name = bone.nameLocal, +2025-11-30T02:28:48.8275224Z ^^^^^^^^^ +2025-11-30T02:28:48.8275937Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8277205Z name = bone.nameLocal, +2025-11-30T02:28:48.8277625Z ^ +2025-11-30T02:28:48.8278347Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8279101Z id = boneNodeId, +2025-11-30T02:28:48.8279491Z ^^ +2025-11-30T02:28:48.8280158Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8280929Z id = boneNodeId, +2025-11-30T02:28:48.8281331Z ^ +2025-11-30T02:28:48.8282020Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8282784Z id = boneNodeId, +2025-11-30T02:28:48.8283163Z ^^^^^^^^^^ +2025-11-30T02:28:48.8283896Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8284662Z id = boneNodeId, +2025-11-30T02:28:48.8285056Z ^ +2025-11-30T02:28:48.8285772Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8286964Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8287736Z ^^^^^^^^^ +2025-11-30T02:28:48.8288452Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8289241Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8290070Z ^ +2025-11-30T02:28:48.8290710Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8291408Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8291804Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8292462Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8293151Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8293548Z ^ +2025-11-30T02:28:48.8294185Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8294892Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8295311Z ^^^^^^^^^^ +2025-11-30T02:28:48.8295986Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8296905Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8297301Z ^ +2025-11-30T02:28:48.8297945Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8298675Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8299102Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8299698Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8300403Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8300831Z ^ +2025-11-30T02:28:48.8301435Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8302147Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8302571Z ^^^^^^^^ +2025-11-30T02:28:48.8303195Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8303894Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8304547Z ^ +2025-11-30T02:28:48.8305185Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8305943Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8306622Z ^ +2025-11-30T02:28:48.8307303Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8308066Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8308530Z ^ +2025-11-30T02:28:48.8309200Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8309961Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8310410Z ^^^ +2025-11-30T02:28:48.8311202Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8311953Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8312415Z ^ +2025-11-30T02:28:48.8313084Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8314029Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8314500Z ^^^^ +2025-11-30T02:28:48.8315183Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8315933Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8316545Z ^ +2025-11-30T02:28:48.8317202Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8317927Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8318385Z ^^^^^^^^ +2025-11-30T02:28:48.8319043Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8319764Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8320215Z ^ +2025-11-30T02:28:48.8320869Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8321589Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8322030Z ^ +2025-11-30T02:28:48.8322684Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8323403Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8323855Z ^^^^ +2025-11-30T02:28:48.8324512Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8325222Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8325677Z ^ +2025-11-30T02:28:48.8326309Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. +2025-11-30T02:28:48.8327195Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8327706Z ^ +2025-11-30T02:28:48.8328453Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. +2025-11-30T02:28:48.8329171Z if (parentPosition != null) { +2025-11-30T02:28:48.8329837Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8330476Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. +2025-11-30T02:28:48.8331163Z it.sub(parentPosition) +2025-11-30T02:28:48.8331604Z ^^^ +2025-11-30T02:28:48.8332295Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. +2025-11-30T02:28:48.8333058Z it.sub(parentPosition) +2025-11-30T02:28:48.8333505Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8334254Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8334984Z }, +2025-11-30T02:28:48.8335313Z ^ +2025-11-30T02:28:48.8335991Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8336948Z rotation = Quaternionf(), +2025-11-30T02:28:48.8337373Z ^^^^^^^^ +2025-11-30T02:28:48.8338064Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8338841Z rotation = Quaternionf(), +2025-11-30T02:28:48.8339273Z ^ +2025-11-30T02:28:48.8340200Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8341007Z rotation = Quaternionf(), +2025-11-30T02:28:48.8341435Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8342156Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8342923Z rotation = Quaternionf(), +2025-11-30T02:28:48.8343348Z ^ +2025-11-30T02:28:48.8344075Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8344844Z rotation = Quaternionf(), +2025-11-30T02:28:48.8345227Z ^ +2025-11-30T02:28:48.8345929Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8346924Z rotation = Quaternionf(), +2025-11-30T02:28:48.8347365Z ^ +2025-11-30T02:28:48.8348058Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8348948Z scale = Vector3f(1f), +2025-11-30T02:28:48.8349351Z ^^^^^ +2025-11-30T02:28:48.8350024Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8350777Z scale = Vector3f(1f), +2025-11-30T02:28:48.8351193Z ^ +2025-11-30T02:28:48.8351871Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8352624Z scale = Vector3f(1f), +2025-11-30T02:28:48.8353035Z ^^^^^^^^ +2025-11-30T02:28:48.8353741Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8354485Z scale = Vector3f(1f), +2025-11-30T02:28:48.8354889Z ^ +2025-11-30T02:28:48.8355608Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8356972Z scale = Vector3f(1f), +2025-11-30T02:28:48.8357353Z ^^ +2025-11-30T02:28:48.8358001Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8358670Z scale = Vector3f(1f), +2025-11-30T02:28:48.8359263Z ^ +2025-11-30T02:28:48.8359891Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8360557Z scale = Vector3f(1f), +2025-11-30T02:28:48.8360905Z ^ +2025-11-30T02:28:48.8361546Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8362182Z ), +2025-11-30T02:28:48.8362438Z ^ +2025-11-30T02:28:48.8363000Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8363624Z ), +2025-11-30T02:28:48.8363888Z ^ +2025-11-30T02:28:48.8364444Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8365093Z children = children, +2025-11-30T02:28:48.8365438Z ^^^^^^^^ +2025-11-30T02:28:48.8366029Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8366911Z children = children, +2025-11-30T02:28:48.8367255Z ^ +2025-11-30T02:28:48.8367842Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8368642Z children = children, +2025-11-30T02:28:48.8368997Z ^^^^^^^^ +2025-11-30T02:28:48.8369612Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8370258Z children = children, +2025-11-30T02:28:48.8370602Z ^ +2025-11-30T02:28:48.8371210Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8371882Z components = components, +2025-11-30T02:28:48.8372243Z ^^^^^^^^^^ +2025-11-30T02:28:48.8372847Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8373519Z components = components, +2025-11-30T02:28:48.8373878Z ^ +2025-11-30T02:28:48.8374486Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8375162Z components = components, +2025-11-30T02:28:48.8375530Z ^^^^^^^^^^ +2025-11-30T02:28:48.8376163Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8376977Z components = components, +2025-11-30T02:28:48.8377340Z ^ +2025-11-30T02:28:48.8377971Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8378607Z ) +2025-11-30T02:28:48.8378860Z ^ +2025-11-30T02:28:48.8379411Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8380078Z rootBones.forEach { index -> +2025-11-30T02:28:48.8380435Z ^^^^^^^^^ +2025-11-30T02:28:48.8381003Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8381677Z rootBones.forEach { index -> +2025-11-30T02:28:48.8382023Z ^ +2025-11-30T02:28:48.8382585Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8383259Z rootBones.forEach { index -> +2025-11-30T02:28:48.8383607Z ^^^^^^^ +2025-11-30T02:28:48.8384209Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8384866Z rootBones.forEach { index -> +2025-11-30T02:28:48.8385387Z ^ +2025-11-30T02:28:48.8386521Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. +2025-11-30T02:28:48.8387266Z rootBones.forEach { index -> +2025-11-30T02:28:48.8387666Z ^^^^^^^^^^ +2025-11-30T02:28:48.8388318Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. +2025-11-30T02:28:48.8389021Z rootBones.forEach { index -> +2025-11-30T02:28:48.8389418Z ^^^^^ +2025-11-30T02:28:48.8390703Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8391702Z rootBones.forEach { index -> +2025-11-30T02:28:48.8392124Z ^^ +2025-11-30T02:28:48.8392803Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.8393543Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.8393965Z ^^^^^^^^^ +2025-11-30T02:28:48.8394562Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. +2025-11-30T02:28:48.8395277Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.8395720Z ^^^^^^^ +2025-11-30T02:28:48.8396821Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. +2025-11-30T02:28:48.8397577Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.8398012Z ^^^^^ +2025-11-30T02:28:48.8398638Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. +2025-11-30T02:28:48.8399366Z var nextNodeIndex = bones.size +2025-11-30T02:28:48.8399781Z ^^^^^ +2025-11-30T02:28:48.8400476Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8401251Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8401653Z ^^^ +2025-11-30T02:28:48.8402260Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8403006Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8403409Z ^ +2025-11-30T02:28:48.8404024Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8404768Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8405179Z ^^^^^^^^^ +2025-11-30T02:28:48.8405819Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8406775Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8407199Z ^^^^^ +2025-11-30T02:28:48.8407884Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8408623Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8409034Z ^ +2025-11-30T02:28:48.8409717Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8410470Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8410883Z ^^^^^^^ +2025-11-30T02:28:48.8411574Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8412314Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8412729Z ^ +2025-11-30T02:28:48.8413425Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8414161Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8414561Z ^ +2025-11-30T02:28:48.8415219Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. +2025-11-30T02:28:48.8416220Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8416839Z ^ +2025-11-30T02:28:48.8417491Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. +2025-11-30T02:28:48.8418162Z val bone = bones[boneIndex] +2025-11-30T02:28:48.8418544Z ^^^^^ +2025-11-30T02:28:48.8419131Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. +2025-11-30T02:28:48.8436194Z val bone = bones[boneIndex] +2025-11-30T02:28:48.8436793Z ^^^^^^^^^ +2025-11-30T02:28:48.8437402Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8438043Z val nodeId = NodeId(modelId, boneIndex) +2025-11-30T02:28:48.8438433Z ^^^^^^^ +2025-11-30T02:28:48.8439029Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. +2025-11-30T02:28:48.8439668Z val nodeId = NodeId(modelId, boneIndex) +2025-11-30T02:28:48.8440067Z ^^^^^^^^^ +2025-11-30T02:28:48.8440666Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. +2025-11-30T02:28:48.8441706Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() +2025-11-30T02:28:48.8442309Z ^^^^^^^^ +2025-11-30T02:28:48.8442934Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. +2025-11-30T02:28:48.8443614Z HumanoidTag.fromPmxJapanese(bone.nameLocal) +2025-11-30T02:28:48.8444050Z ^^^^^^^^^ +2025-11-30T02:28:48.8444684Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. +2025-11-30T02:28:48.8445404Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) +2025-11-30T02:28:48.8445870Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8446685Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. +2025-11-30T02:28:48.8447682Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() +2025-11-30T02:28:48.8448391Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8449069Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8449839Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8450294Z ^^^ +2025-11-30T02:28:48.8450867Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8451624Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8452063Z ^ +2025-11-30T02:28:48.8452616Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8453367Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8453813Z ^ +2025-11-30T02:28:48.8454348Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8455106Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8455591Z ^^^^^^^^^^ +2025-11-30T02:28:48.8456169Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8457784Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8484755Z ^ +2025-11-30T02:28:48.8485527Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8486858Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8487432Z ^^^^^^^^^ +2025-11-30T02:28:48.8488128Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8488955Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8489462Z ^ +2025-11-30T02:28:48.8490163Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8490998Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8491520Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8492253Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8493085Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8493603Z ^ +2025-11-30T02:28:48.8494354Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8495220Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8495980Z ^^^^^^^^^ +2025-11-30T02:28:48.8496953Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8497743Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8498238Z ^ +2025-11-30T02:28:48.8498898Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8499659Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8500139Z ^ +2025-11-30T02:28:48.8500791Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8501539Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8502011Z ^ +2025-11-30T02:28:48.8502671Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8503410Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8503881Z ^ +2025-11-30T02:28:48.8504512Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. +2025-11-30T02:28:48.8505241Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8505731Z ^ +2025-11-30T02:28:48.8506340Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. +2025-11-30T02:28:48.8512715Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) +2025-11-30T02:28:48.8552840Z ^^^^^^^^^^ +2025-11-30T02:28:48.8553830Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList +2025-11-30T02:28:48.8555197Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) +2025-11-30T02:28:48.8556081Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8557013Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. +2025-11-30T02:28:48.8557998Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.8558482Z ^^^^^^^^^ +2025-11-30T02:28:48.8559293Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.8560125Z fun Array.component1(): T +2025-11-30T02:28:48.8560538Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.8560945Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.8561354Z fun IntArray.component1(): Int +2025-11-30T02:28:48.8561744Z fun LongArray.component1(): Long +2025-11-30T02:28:48.8562114Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.8562553Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.8562946Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.8563340Z fun CharArray.component1(): Char +2025-11-30T02:28:48.8563699Z fun List.component1(): T +2025-11-30T02:28:48.8564084Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.8564518Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.8564926Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.8565329Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.8565742Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.8566220Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.8566983Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8567998Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.8568807Z fun Array.component2(): T +2025-11-30T02:28:48.8569210Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.8569590Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.8569969Z fun IntArray.component2(): Int +2025-11-30T02:28:48.8570322Z fun LongArray.component2(): Long +2025-11-30T02:28:48.8570705Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.8571101Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.8571521Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.8571936Z fun CharArray.component2(): Char +2025-11-30T02:28:48.8572301Z fun List.component2(): T +2025-11-30T02:28:48.8572678Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.8573090Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.8573466Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.8573840Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.8574243Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.8574681Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.8575148Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8576016Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.8577064Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.8577513Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.8577999Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.8578678Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.8579306Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.8579789Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.8580320Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.8580761Z ^^^^ +2025-11-30T02:28:48.8581444Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. +2025-11-30T02:28:48.8582427Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) +2025-11-30T02:28:48.8583119Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8583829Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8584830Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8585343Z ^^^^^^^^^ +2025-11-30T02:28:48.8585947Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8587397Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8587885Z ^ +2025-11-30T02:28:48.8588485Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8589320Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8589826Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8590484Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8591305Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8591815Z ^ +2025-11-30T02:28:48.8592449Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. +2025-11-30T02:28:48.8593256Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8593766Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8594439Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.8595407Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8595925Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8596992Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8598057Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8598619Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8599306Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. +2025-11-30T02:28:48.8600009Z val nodeIndex = nextNodeIndex++ +2025-11-30T02:28:48.8600451Z ^^ +2025-11-30T02:28:48.8601108Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8601816Z val nodeId = NodeId(modelId, nodeIndex) +2025-11-30T02:28:48.8602237Z ^^^^^^^ +2025-11-30T02:28:48.8602866Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8603540Z val meshId = MeshId(modelId, nodeIndex) +2025-11-30T02:28:48.8603940Z ^^^^^^^ +2025-11-30T02:28:48.8604589Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.8605312Z materialToMeshIds[materialIndex] = meshId +2025-11-30T02:28:48.8605745Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8607232Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.8608112Z val pmxMaterial = materialData?.material ?: return@forEachIndexed +2025-11-30T02:28:48.8608701Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8609316Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. +2025-11-30T02:28:48.8610095Z val pmxMaterial = materialData?.material ?: return@forEachIndexed +2025-11-30T02:28:48.8610696Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8611574Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8612553Z baseColorTexture = pmxMaterial.textureIndex.takeIf { +2025-11-30T02:28:48.8613134Z ^^^^^^ +2025-11-30T02:28:48.8614222Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8615147Z baseColorTexture = pmxMaterial.textureIndex.takeIf { +2025-11-30T02:28:48.8615679Z ^ +2025-11-30T02:28:48.8616859Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. +2025-11-30T02:28:48.8617810Z it >= 0 && it in textures.indices +2025-11-30T02:28:48.8618201Z ^^ +2025-11-30T02:28:48.8618792Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. +2025-11-30T02:28:48.8619486Z it >= 0 && it in textures.indices +2025-11-30T02:28:48.8619915Z ^^^^^^^^ +2025-11-30T02:28:48.8620740Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8621564Z }?.let { +2025-11-30T02:28:48.8621895Z ^^^ +2025-11-30T02:28:48.8622581Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. +2025-11-30T02:28:48.8623331Z }?.let { +2025-11-30T02:28:48.8623652Z ^^^ +2025-11-30T02:28:48.8624491Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. +2025-11-30T02:28:48.8625215Z }?.let { +2025-11-30T02:28:48.8625514Z ^^^ +2025-11-30T02:28:48.8626230Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8627204Z }?.let { +2025-11-30T02:28:48.8627528Z ^ +2025-11-30T02:28:48.8628143Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. +2025-11-30T02:28:48.8628840Z textures.getOrNull(it) +2025-11-30T02:28:48.8629259Z ^^^^^^^^ +2025-11-30T02:28:48.8630035Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8630844Z }?.let { +2025-11-30T02:28:48.8631159Z ^^^ +2025-11-30T02:28:48.8631885Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. +2025-11-30T02:28:48.8632645Z }?.let { +2025-11-30T02:28:48.8632971Z ^^^ +2025-11-30T02:28:48.8633714Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8634531Z }?.let { +2025-11-30T02:28:48.8634874Z ^ +2025-11-30T02:28:48.8635495Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.8636181Z rootNodes.add( +2025-11-30T02:28:48.8636737Z ^^^^^^^^^ +2025-11-30T02:28:48.8637397Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.8638221Z attributes = materialData.vertexAttributes, +2025-11-30T02:28:48.8638742Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8639483Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.8640250Z bufferView = materialData.indexBufferView, +2025-11-30T02:28:48.8640779Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8641541Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. +2025-11-30T02:28:48.8642313Z componentType = indexBufferType, +2025-11-30T02:28:48.8643024Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8643763Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.8644630Z targets = materialMorphMap[materialIndex] ?: listOf(), +2025-11-30T02:28:48.8645218Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8645922Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. +2025-11-30T02:28:48.8646832Z val cameraNodeIndex = nextNodeIndex++ +2025-11-30T02:28:48.8647284Z ^^ +2025-11-30T02:28:48.8648028Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8648781Z rootNodes.add( +2025-11-30T02:28:48.8649130Z ^^^^^^^^^ +2025-11-30T02:28:48.8649784Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8650541Z rootNodes.add( +2025-11-30T02:28:48.8650888Z ^ +2025-11-30T02:28:48.8651530Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8652294Z rootNodes.add( +2025-11-30T02:28:48.8652637Z ^^^ +2025-11-30T02:28:48.8653544Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8654315Z rootNodes.add( +2025-11-30T02:28:48.8654648Z ^ +2025-11-30T02:28:48.8655292Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8655985Z Node( +2025-11-30T02:28:48.8656254Z ^^^^ +2025-11-30T02:28:48.8657056Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8657768Z Node( +2025-11-30T02:28:48.8658065Z ^ +2025-11-30T02:28:48.8658684Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8659448Z name = "MMD Camera", +2025-11-30T02:28:48.8659853Z ^^^^ +2025-11-30T02:28:48.8660522Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8661267Z name = "MMD Camera", +2025-11-30T02:28:48.8661650Z ^ +2025-11-30T02:28:48.8662303Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8663021Z name = "MMD Camera", +2025-11-30T02:28:48.8663402Z ^ +2025-11-30T02:28:48.8664057Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8664767Z name = "MMD Camera", +2025-11-30T02:28:48.8665173Z ^^^^^^^^^^ +2025-11-30T02:28:48.8665883Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8666814Z name = "MMD Camera", +2025-11-30T02:28:48.8667196Z ^ +2025-11-30T02:28:48.8667897Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8668605Z name = "MMD Camera", +2025-11-30T02:28:48.8668968Z ^ +2025-11-30T02:28:48.8669670Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8670395Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8670789Z ^^ +2025-11-30T02:28:48.8671358Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8672275Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8672680Z ^ +2025-11-30T02:28:48.8673307Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8674052Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8674465Z ^^^^^^ +2025-11-30T02:28:48.8675132Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8675886Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8676338Z ^ +2025-11-30T02:28:48.8677205Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8677974Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8678411Z ^^^^^^^ +2025-11-30T02:28:48.8679126Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8679906Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8680338Z ^ +2025-11-30T02:28:48.8681054Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8682031Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8682499Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8683213Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8683985Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8684440Z ^ +2025-11-30T02:28:48.8685141Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8685946Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8686588Z ^ +2025-11-30T02:28:48.8687416Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8688195Z components = listOf( +2025-11-30T02:28:48.8688584Z ^^^^^^^^^^ +2025-11-30T02:28:48.8689258Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8689956Z components = listOf( +2025-11-30T02:28:48.8690324Z ^ +2025-11-30T02:28:48.8690997Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8691721Z components = listOf( +2025-11-30T02:28:48.8692091Z ^^^^^^ +2025-11-30T02:28:48.8692754Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8693473Z components = listOf( +2025-11-30T02:28:48.8693866Z ^ +2025-11-30T02:28:48.8694593Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8695388Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.8695859Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8696795Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8697586Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.8698029Z ^ +2025-11-30T02:28:48.8698708Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8699501Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.8699948Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8700944Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8701736Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.8702178Z ^ +2025-11-30T02:28:48.8702907Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8703672Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8704104Z ^^^^^^ +2025-11-30T02:28:48.8704793Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8705562Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8705999Z ^ +2025-11-30T02:28:48.8706899Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8707678Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8708092Z ^^^ +2025-11-30T02:28:48.8708792Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8709545Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8709974Z ^ +2025-11-30T02:28:48.8710838Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8711624Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8712066Z ^^^^ +2025-11-30T02:28:48.8712796Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8713568Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8714003Z ^ +2025-11-30T02:28:48.8714738Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8715508Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8715959Z ^ +2025-11-30T02:28:48.8716869Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8717654Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8718120Z ^^^^^^^^^^ +2025-11-30T02:28:48.8718850Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8719617Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8720062Z ^ +2025-11-30T02:28:48.8720780Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8721545Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8721978Z ^ +2025-11-30T02:28:48.8722697Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8723422Z ) +2025-11-30T02:28:48.8723744Z ^ +2025-11-30T02:28:48.8724396Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8725452Z ) +2025-11-30T02:28:48.8725760Z ^ +2025-11-30T02:28:48.8726546Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8727267Z ) +2025-11-30T02:28:48.8727522Z ^ +2025-11-30T02:28:48.8728095Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8728789Z ) +2025-11-30T02:28:48.8729309Z ^ +2025-11-30T02:28:48.8729877Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.8730604Z val scene = Scene(nodes = rootNodes) +2025-11-30T02:28:48.8731046Z ^^^^^^^^^ +2025-11-30T02:28:48.8731759Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8732521Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8732938Z ^^^^^^ +2025-11-30T02:28:48.8733570Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8734336Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8734761Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8735432Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8736158Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8736790Z ^ +2025-11-30T02:28:48.8737410Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8738174Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8738612Z ^^^^^^^^^^ +2025-11-30T02:28:48.8739592Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8740402Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8740840Z ^ +2025-11-30T02:28:48.8741476Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8742177Z metadata = Metadata( +2025-11-30T02:28:48.8742549Z ^^^^^^^^ +2025-11-30T02:28:48.8743201Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8743957Z metadata = Metadata( +2025-11-30T02:28:48.8744346Z ^ +2025-11-30T02:28:48.8744982Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8745720Z metadata = Metadata( +2025-11-30T02:28:48.8746075Z ^^^^^^^^ +2025-11-30T02:28:48.8746923Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8747655Z metadata = Metadata( +2025-11-30T02:28:48.8748036Z ^ +2025-11-30T02:28:48.8748717Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8749524Z title = header.modelNameLocal, +2025-11-30T02:28:48.8749988Z ^^^^^ +2025-11-30T02:28:48.8764237Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8765028Z title = header.modelNameLocal, +2025-11-30T02:28:48.8765405Z ^ +2025-11-30T02:28:48.8766044Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8767030Z title = header.modelNameLocal, +2025-11-30T02:28:48.8767489Z ^^^^^^ +2025-11-30T02:28:48.8768151Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8768894Z title = header.modelNameLocal, +2025-11-30T02:28:48.8769323Z ^ +2025-11-30T02:28:48.8769999Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8770758Z title = header.modelNameLocal, +2025-11-30T02:28:48.8771207Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8771965Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8772978Z title = header.modelNameLocal, +2025-11-30T02:28:48.8773428Z ^ +2025-11-30T02:28:48.8774172Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8774977Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8775444Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8776112Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8777127Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8777609Z ^ +2025-11-30T02:28:48.8778298Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8779090Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8779582Z ^^^^^^ +2025-11-30T02:28:48.8780294Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8781067Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8781532Z ^ +2025-11-30T02:28:48.8782246Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8783256Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8783776Z ^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8784488Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8785245Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8785694Z ^ +2025-11-30T02:28:48.8786606Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8787409Z comment = header.commentLocal, +2025-11-30T02:28:48.8787824Z ^^^^^^^ +2025-11-30T02:28:48.8788488Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8789241Z comment = header.commentLocal, +2025-11-30T02:28:48.8789683Z ^ +2025-11-30T02:28:48.8790356Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8791097Z comment = header.commentLocal, +2025-11-30T02:28:48.8791503Z ^^^^^^ +2025-11-30T02:28:48.8792185Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8792952Z comment = header.commentLocal, +2025-11-30T02:28:48.8793365Z ^ +2025-11-30T02:28:48.8794069Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8794842Z comment = header.commentLocal, +2025-11-30T02:28:48.8795293Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8796000Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8796951Z comment = header.commentLocal, +2025-11-30T02:28:48.8797378Z ^ +2025-11-30T02:28:48.8798081Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8798882Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8799354Z ^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8800061Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8800861Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8801588Z ^ +2025-11-30T02:28:48.8802319Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8803168Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8803661Z ^^^^^^ +2025-11-30T02:28:48.8804366Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8805147Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8805614Z ^ +2025-11-30T02:28:48.8806313Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8807338Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8807824Z ^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8808586Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8809355Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8809845Z ^ +2025-11-30T02:28:48.8810585Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8811523Z ), +2025-11-30T02:28:48.8811853Z ^ +2025-11-30T02:28:48.8812496Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8813226Z ), +2025-11-30T02:28:48.8813513Z ^ +2025-11-30T02:28:48.8814134Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8814862Z model = Model( +2025-11-30T02:28:48.8815234Z ^^^^^ +2025-11-30T02:28:48.8815898Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8816841Z model = Model( +2025-11-30T02:28:48.8817214Z ^ +2025-11-30T02:28:48.8817861Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8818634Z model = Model( +2025-11-30T02:28:48.8819010Z ^^^^^ +2025-11-30T02:28:48.8819715Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8820441Z model = Model( +2025-11-30T02:28:48.8820775Z ^ +2025-11-30T02:28:48.8821442Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8822213Z scenes = listOf(scene), +2025-11-30T02:28:48.8822644Z ^^^^^^ +2025-11-30T02:28:48.8823316Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8824100Z scenes = listOf(scene), +2025-11-30T02:28:48.8824495Z ^ +2025-11-30T02:28:48.8825164Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8826323Z scenes = listOf(scene), +2025-11-30T02:28:48.8826932Z ^^^^^^ +2025-11-30T02:28:48.8827661Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8828381Z scenes = listOf(scene), +2025-11-30T02:28:48.8828791Z ^ +2025-11-30T02:28:48.8829466Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8830192Z scenes = listOf(scene), +2025-11-30T02:28:48.8830580Z ^^^^^ +2025-11-30T02:28:48.8831516Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8832243Z scenes = listOf(scene), +2025-11-30T02:28:48.8832627Z ^ +2025-11-30T02:28:48.8833325Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8834057Z scenes = listOf(scene), +2025-11-30T02:28:48.8834463Z ^ +2025-11-30T02:28:48.8835166Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8835867Z skins = listOf(skin), +2025-11-30T02:28:48.8836249Z ^^^^^ +2025-11-30T02:28:48.8837115Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8837839Z skins = listOf(skin), +2025-11-30T02:28:48.8838220Z ^ +2025-11-30T02:28:48.8838866Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8839586Z skins = listOf(skin), +2025-11-30T02:28:48.8839971Z ^^^^^^ +2025-11-30T02:28:48.8840649Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8841359Z skins = listOf(skin), +2025-11-30T02:28:48.8841937Z ^ +2025-11-30T02:28:48.8842600Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8843271Z skins = listOf(skin), +2025-11-30T02:28:48.8843610Z ^^^^ +2025-11-30T02:28:48.8844252Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8844985Z skins = listOf(skin), +2025-11-30T02:28:48.8845372Z ^ +2025-11-30T02:28:48.8846077Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8847006Z skins = listOf(skin), +2025-11-30T02:28:48.8847400Z ^ +2025-11-30T02:28:48.8848085Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8848897Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8849383Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8850037Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8850855Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8851344Z ^ +2025-11-30T02:28:48.8852038Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8852859Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8853338Z ^^^^ +2025-11-30T02:28:48.8854035Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8854865Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8855346Z ^ +2025-11-30T02:28:48.8856024Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8857019Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8857516Z ^^^^^^ +2025-11-30T02:28:48.8858233Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8859063Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8859785Z ^ +2025-11-30T02:28:48.8860516Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8861329Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8861868Z ^^^^^^^^^^ +2025-11-30T02:28:48.8862603Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8863432Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8863940Z ^ +2025-11-30T02:28:48.8864643Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. +2025-11-30T02:28:48.8865459Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8865963Z ^^^^^^^^^^ +2025-11-30T02:28:48.8866853Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8867739Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8868253Z ^^^^^ +2025-11-30T02:28:48.8869202Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8870455Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8871030Z ^^ +2025-11-30T02:28:48.8871681Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8872453Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.8872974Z ^^^^^ +2025-11-30T02:28:48.8873665Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. +2025-11-30T02:28:48.8874491Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.8875000Z ^^^ +2025-11-30T02:28:48.8875662Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. +2025-11-30T02:28:48.8876629Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.8877170Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8877777Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. +2025-11-30T02:28:48.8878363Z return@mapNotNull null +2025-11-30T02:28:48.8878772Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8879417Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8880196Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.8880684Z ^^^^^ +2025-11-30T02:28:48.8881381Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. +2025-11-30T02:28:48.8882235Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.8882748Z ^^^ +2025-11-30T02:28:48.8883459Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. +2025-11-30T02:28:48.8884249Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.8884789Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8885398Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. +2025-11-30T02:28:48.8886010Z return@mapNotNull null +2025-11-30T02:28:48.8886644Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8887367Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8888493Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.8888980Z ^^^^^ +2025-11-30T02:28:48.8889960Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. +2025-11-30T02:28:48.8891059Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.8891606Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8892494Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8893511Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.8894048Z ^^^^^^ +2025-11-30T02:28:48.8895152Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: +2025-11-30T02:28:48.8896299Z fun CharSequence.isNotBlank(): Boolean +2025-11-30T02:28:48.8897061Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.8897596Z ^^^^^^^^^^ +2025-11-30T02:28:48.8898672Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. +2025-11-30T02:28:48.8899571Z type = when (joint.type) { +2025-11-30T02:28:48.8900008Z ^^^^ +2025-11-30T02:28:48.8901119Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. +2025-11-30T02:28:48.8902275Z type = when (joint.type) { +2025-11-30T02:28:48.8902696Z ^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8903366Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8904052Z type = when (joint.type) { +2025-11-30T02:28:48.8904480Z ^^^^^ +2025-11-30T02:28:48.8905449Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. +2025-11-30T02:28:48.8906772Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.8907351Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8908067Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8908900Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.8909492Z ^^^^^^^ +2025-11-30T02:28:48.8910200Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8911023Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.8911715Z ^^^^^ +2025-11-30T02:28:48.8912718Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. +2025-11-30T02:28:48.8913825Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.8914403Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8915101Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8915918Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.8916653Z ^^^^^^^ +2025-11-30T02:28:48.8917547Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8918315Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.8918861Z ^^^^^ +2025-11-30T02:28:48.8919533Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8920243Z position = joint.position, +2025-11-30T02:28:48.8920669Z ^^^^^ +2025-11-30T02:28:48.8921298Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8921994Z rotation = joint.rotation, +2025-11-30T02:28:48.8922393Z ^^^^^ +2025-11-30T02:28:48.8923017Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8923722Z positionMin = joint.positionMinimum, +2025-11-30T02:28:48.8924176Z ^^^^^ +2025-11-30T02:28:48.8924827Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8925597Z positionMax = joint.positionMaximum, +2025-11-30T02:28:48.8926060Z ^^^^^ +2025-11-30T02:28:48.8927154Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8927900Z rotationMin = joint.rotationMinimum, +2025-11-30T02:28:48.8928357Z ^^^^^ +2025-11-30T02:28:48.8929005Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8929742Z rotationMax = joint.rotationMaximum, +2025-11-30T02:28:48.8930211Z ^^^^^ +2025-11-30T02:28:48.8930902Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8931652Z positionSpring = joint.positionSpring, +2025-11-30T02:28:48.8932155Z ^^^^^ +2025-11-30T02:28:48.8932835Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8933605Z rotationSpring = joint.rotationSpring, +2025-11-30T02:28:48.8934091Z ^^^^^ +2025-11-30T02:28:48.8934832Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8935584Z }, +2025-11-30T02:28:48.8935895Z ^ +2025-11-30T02:28:48.8936736Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8937525Z expressions = buildList { +2025-11-30T02:28:48.8937949Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8938664Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8939457Z expressions = buildList { +2025-11-30T02:28:48.8939875Z ^ +2025-11-30T02:28:48.8940559Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8941350Z expressions = buildList { +2025-11-30T02:28:48.8941765Z ^^^^^^^^^ +2025-11-30T02:28:48.8942498Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8943258Z expressions = buildList { +2025-11-30T02:28:48.8943669Z ^ +2025-11-30T02:28:48.8944362Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. +2025-11-30T02:28:48.8945090Z expressions = buildList { +2025-11-30T02:28:48.8945741Z ^ +2025-11-30T02:28:48.8946625Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. +2025-11-30T02:28:48.8947457Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8947971Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8948797Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.8949644Z fun Array.component1(): T +2025-11-30T02:28:48.8950066Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.8950485Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.8950901Z fun IntArray.component1(): Int +2025-11-30T02:28:48.8951279Z fun LongArray.component1(): Long +2025-11-30T02:28:48.8951685Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.8952112Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.8952562Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.8952706Z fun CharArray.component1(): Char +2025-11-30T02:28:48.8952839Z fun List.component1(): T +2025-11-30T02:28:48.8952994Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.8953144Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.8953291Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.8953436Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.8953806Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.8954033Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8954178Z ^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8954734Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.8954881Z fun Array.component2(): T +2025-11-30T02:28:48.8955030Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.8955178Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.8955339Z fun IntArray.component2(): Int +2025-11-30T02:28:48.8955484Z fun LongArray.component2(): Long +2025-11-30T02:28:48.8955635Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.8955792Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.8955956Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.8956108Z fun CharArray.component2(): Char +2025-11-30T02:28:48.8956238Z fun List.component2(): T +2025-11-30T02:28:48.8956584Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.8956744Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.8956893Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.8957050Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.8957205Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.8957421Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8957566Z ^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8958195Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.8958372Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.8958529Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.8958759Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.8959120Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.8959288Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.8959493Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.8959703Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8959844Z ^^^^^^^^^ +2025-11-30T02:28:48.8960542Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. +2025-11-30T02:28:48.8960976Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.8961118Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8961522Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. +2025-11-30T02:28:48.8961742Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.8961887Z ^^^^^^^^^ +2025-11-30T02:28:48.8962332Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. +2025-11-30T02:28:48.8962544Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.8962684Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8963050Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. +2025-11-30T02:28:48.8963197Z tag = target.tag, +2025-11-30T02:28:48.8963329Z ^^^ +2025-11-30T02:28:48.8963962Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. +2025-11-30T02:28:48.8964109Z isBinary = false, +2025-11-30T02:28:48.8964231Z ^^^^^ +2025-11-30T02:28:48.8965414Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. +2025-11-30T02:28:48.8966031Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8966216Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8967251Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. +2025-11-30T02:28:48.8967802Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8967983Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8968563Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8969107Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8969267Z ^^^^^^^^^^ +2025-11-30T02:28:48.8970098Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: +2025-11-30T02:28:48.8970390Z fun Iterable.mapNotNull(transform: (T) -> R?): List +2025-11-30T02:28:48.8970929Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8971095Z ^^^^^^^^^^ +2025-11-30T02:28:48.8971686Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8972245Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8972426Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8972993Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.8973395Z fun Array.component1(): T +2025-11-30T02:28:48.8973556Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.8973713Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.8973873Z fun IntArray.component1(): Int +2025-11-30T02:28:48.8974025Z fun LongArray.component1(): Long +2025-11-30T02:28:48.8974175Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.8974334Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.8974508Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.8974654Z fun CharArray.component1(): Char +2025-11-30T02:28:48.8974790Z fun List.component1(): T +2025-11-30T02:28:48.8974960Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.8975106Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.8975255Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.8975416Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.8975580Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.8976109Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8976311Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8977077Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.8977235Z fun Array.component2(): T +2025-11-30T02:28:48.8977615Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.8977793Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.8977941Z fun IntArray.component2(): Int +2025-11-30T02:28:48.8978087Z fun LongArray.component2(): Long +2025-11-30T02:28:48.8978245Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.8978402Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.8978568Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.8978718Z fun CharArray.component2(): Char +2025-11-30T02:28:48.8978860Z fun List.component2(): T +2025-11-30T02:28:48.8979032Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.8979179Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.8979334Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.8979488Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.8979645Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.8980180Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8980360Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8980898Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8981022Z } ?: listOf(), +2025-11-30T02:28:48.8981143Z ^^^^^^ +2025-11-30T02:28:48.8981883Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. +2025-11-30T02:28:48.8982036Z } ?: listOf(), +2025-11-30T02:28:48.8982168Z ^^^^^^^^ +2025-11-30T02:28:48.8982535Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. +2025-11-30T02:28:48.8982778Z pmxIndexToExpressions[target.pmxIndex] = expression +2025-11-30T02:28:48.8982925Z ^^^^^^^^ +2025-11-30T02:28:48.8983283Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. +2025-11-30T02:28:48.8983419Z add(expression) +2025-11-30T02:28:48.8983545Z ^^^ +2025-11-30T02:28:48.8984158Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.8984330Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.8984782Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.8985007Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.8985323Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.8985495Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.8985710Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.8985888Z for (group in morphTargetGroups) { +2025-11-30T02:28:48.8986016Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8986681Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. +2025-11-30T02:28:48.8986864Z for (group in morphTargetGroups) { +2025-11-30T02:28:48.8986988Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8987398Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. +2025-11-30T02:28:48.8987535Z add( +2025-11-30T02:28:48.8987640Z ^^^ +2025-11-30T02:28:48.8988180Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8988417Z targets = group.items.mapNotNull { item -> +2025-11-30T02:28:48.8988795Z ^^^^ +2025-11-30T02:28:48.8989211Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. +2025-11-30T02:28:48.8989403Z val pmxMorphIndex = item.index +2025-11-30T02:28:48.8989547Z ^^^^^ +2025-11-30T02:28:48.8989956Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. +2025-11-30T02:28:48.8990132Z influence = item.influence, +2025-11-30T02:28:48.8990280Z ^^^^^^^^^ +2025-11-30T02:28:48.8990736Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8990858Z }, +2025-11-30T02:28:48.8990979Z ^ +2025-11-30T02:28:48.8991439Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8991597Z defaultScene = scene, +2025-11-30T02:28:48.8991725Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8992163Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8992307Z defaultScene = scene, +2025-11-30T02:28:48.8992430Z ^ +2025-11-30T02:28:48.8992866Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8993011Z defaultScene = scene, +2025-11-30T02:28:48.8993142Z ^^^^^ +2025-11-30T02:28:48.8993596Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8993732Z defaultScene = scene, +2025-11-30T02:28:48.8993845Z ^ +2025-11-30T02:28:48.8994307Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8994414Z ), +2025-11-30T02:28:48.8994518Z ^ +2025-11-30T02:28:48.8994965Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8995069Z ), +2025-11-30T02:28:48.8995176Z ^ +2025-11-30T02:28:48.8995622Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8995766Z animations = listOf(), +2025-11-30T02:28:48.8996109Z ^^^^^^^^^^ +2025-11-30T02:28:48.8996774Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8996929Z animations = listOf(), +2025-11-30T02:28:48.8997048Z ^ +2025-11-30T02:28:48.8997507Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8997670Z animations = listOf(), +2025-11-30T02:28:48.8997788Z ^^^^^^ +2025-11-30T02:28:48.8998249Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8998393Z animations = listOf(), +2025-11-30T02:28:48.8998523Z ^ +2025-11-30T02:28:48.8998970Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8999120Z animations = listOf(), +2025-11-30T02:28:48.8999266Z ^ +2025-11-30T02:28:48.8999711Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8999858Z animations = listOf(), +2025-11-30T02:28:48.8999991Z ^ +2025-11-30T02:28:48.9000441Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9000779Z ) +2025-11-30T02:28:48.9000898Z ^ +2025-11-30T02:28:48.9001394Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. +2025-11-30T02:28:48.9001502Z } +2025-11-30T02:28:48.9001605Z ^ +2025-11-30T02:28:48.9002175Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. +2025-11-30T02:28:48.9002384Z override fun load(path: Path, basePath: Path) = +2025-11-30T02:28:48.9002493Z ^^^^^^^^ +2025-11-30T02:28:48.9003049Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9003360Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> +2025-11-30T02:28:48.9003500Z ^^^ +2025-11-30T02:28:48.9003899Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. +2025-11-30T02:28:48.9004072Z val context = Context(basePath) +2025-11-30T02:28:48.9004191Z ^^^^^^^ +2025-11-30T02:28:48.9004674Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. +2025-11-30T02:28:48.9004790Z } +2025-11-30T02:28:48.9004891Z ^ +2025-11-30T02:28:48.9005039Z Nov 30, 2025 2:28:48 AM worker request 0 +2025-11-30T02:28:48.9005238Z SEVERE: Compilation failure: compile phase failed: +2025-11-30T02:28:48.9005841Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: +2025-11-30T02:28:48.9006151Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult +2025-11-30T02:28:48.9006312Z class PmxLoader : ModelFileLoader { +2025-11-30T02:28:48.9006630Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9007047Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. +2025-11-30T02:28:48.9007239Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.9007385Z ^^^^^^^^^ +2025-11-30T02:28:48.9007795Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9007984Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.9008126Z ^^^^^^^^^ +2025-11-30T02:28:48.9008798Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9009252Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.9009400Z ^ +2025-11-30T02:28:48.9009850Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. +2025-11-30T02:28:48.9010065Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.9010213Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9010635Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9010842Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.9010992Z ^^^^^^^^^ +2025-11-30T02:28:48.9011669Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9011884Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.9012030Z ^ +2025-11-30T02:28:48.9012459Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. +2025-11-30T02:28:48.9012655Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.9012963Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9013366Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9013570Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.9013710Z ^^^^^^^^^ +2025-11-30T02:28:48.9014363Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9014572Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.9014710Z ^ +2025-11-30T02:28:48.9015088Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. +2025-11-30T02:28:48.9015256Z mass = rigidBody.mass, +2025-11-30T02:28:48.9015385Z ^^^^ +2025-11-30T02:28:48.9015781Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9015938Z mass = rigidBody.mass, +2025-11-30T02:28:48.9016065Z ^^^^^^^^^ +2025-11-30T02:28:48.9016907Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9017061Z mass = rigidBody.mass, +2025-11-30T02:28:48.9017200Z ^ +2025-11-30T02:28:48.9017625Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. +2025-11-30T02:28:48.9017841Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.9017976Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9018365Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9018582Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.9018723Z ^^^^^^^^^ +2025-11-30T02:28:48.9019360Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9019572Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.9019918Z ^ +2025-11-30T02:28:48.9020371Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. +2025-11-30T02:28:48.9020597Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.9020735Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9021148Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9021367Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.9021514Z ^^^^^^^^^ +2025-11-30T02:28:48.9022174Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9022384Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.9022535Z ^ +2025-11-30T02:28:48.9022941Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. +2025-11-30T02:28:48.9023116Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.9023236Z ^^^^^^^^^ +2025-11-30T02:28:48.9023784Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9023962Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.9024091Z ^^^^^^^^^ +2025-11-30T02:28:48.9024742Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9024921Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.9025071Z ^ +2025-11-30T02:28:48.9025497Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. +2025-11-30T02:28:48.9025693Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.9025819Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9026227Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9026599Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.9026741Z ^^^^^^^^^ +2025-11-30T02:28:48.9027385Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9027581Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.9027725Z ^ +2025-11-30T02:28:48.9028135Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. +2025-11-30T02:28:48.9028349Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.9028476Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9028991Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. +2025-11-30T02:28:48.9029209Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.9029335Z ^^^^ +2025-11-30T02:28:48.9029718Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9029922Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.9030053Z ^^^^^^^^^ +2025-11-30T02:28:48.9030968Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9031096Z }, +2025-11-30T02:28:48.9031210Z ^ +2025-11-30T02:28:48.9031619Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. +2025-11-30T02:28:48.9031738Z ) +2025-11-30T02:28:48.9031855Z ^ +2025-11-30T02:28:48.9032507Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9032626Z }, +2025-11-30T02:28:48.9032739Z ^ +2025-11-30T02:28:48.9033161Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. +2025-11-30T02:28:48.9033325Z ) +2025-11-30T02:28:48.9033436Z ^ +2025-11-30T02:28:48.9033836Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. +2025-11-30T02:28:48.9033947Z ) +2025-11-30T02:28:48.9034055Z ^ +2025-11-30T02:28:48.9034639Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. +2025-11-30T02:28:48.9034754Z } +2025-11-30T02:28:48.9034857Z ^ +2025-11-30T02:28:48.9035220Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. +2025-11-30T02:28:48.9035327Z } +2025-11-30T02:28:48.9035432Z ^ +2025-11-30T02:28:48.9035883Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9036016Z return Node( +2025-11-30T02:28:48.9036123Z ^^^^^^ +2025-11-30T02:28:48.9036758Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9036889Z return Node( +2025-11-30T02:28:48.9036999Z ^^^^ +2025-11-30T02:28:48.9037435Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9037555Z return Node( +2025-11-30T02:28:48.9037670Z ^ +2025-11-30T02:28:48.9038097Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9038236Z name = bone.nameLocal, +2025-11-30T02:28:48.9038354Z ^^^^ +2025-11-30T02:28:48.9038805Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9038961Z name = bone.nameLocal, +2025-11-30T02:28:48.9039087Z ^ +2025-11-30T02:28:48.9039544Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9039701Z name = bone.nameLocal, +2025-11-30T02:28:48.9039829Z ^^^^ +2025-11-30T02:28:48.9040277Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9040424Z name = bone.nameLocal, +2025-11-30T02:28:48.9040553Z ^ +2025-11-30T02:28:48.9041014Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9041159Z name = bone.nameLocal, +2025-11-30T02:28:48.9041276Z ^^^^^^^^^ +2025-11-30T02:28:48.9041724Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9041864Z name = bone.nameLocal, +2025-11-30T02:28:48.9041984Z ^ +2025-11-30T02:28:48.9042694Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9042828Z id = boneNodeId, +2025-11-30T02:28:48.9042940Z ^^ +2025-11-30T02:28:48.9043385Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9043542Z id = boneNodeId, +2025-11-30T02:28:48.9043983Z ^ +2025-11-30T02:28:48.9044537Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9044728Z id = boneNodeId, +2025-11-30T02:28:48.9044903Z ^^^^^^^^^^ +2025-11-30T02:28:48.9045468Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9045627Z id = boneNodeId, +2025-11-30T02:28:48.9045892Z ^ +2025-11-30T02:28:48.9046718Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9046962Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9047128Z ^^^^^^^^^ +2025-11-30T02:28:48.9047747Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9047964Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9048438Z ^ +2025-11-30T02:28:48.9049056Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9049298Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9049475Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9049977Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9050254Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9050552Z ^ +2025-11-30T02:28:48.9051106Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9051560Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9051758Z ^^^^^^^^^^ +2025-11-30T02:28:48.9052265Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9052530Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9052838Z ^ +2025-11-30T02:28:48.9053367Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9053718Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9053891Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9054403Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9054702Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9055009Z ^ +2025-11-30T02:28:48.9055544Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9055824Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9056115Z ^^^^^^^^ +2025-11-30T02:28:48.9056838Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9057117Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9057442Z ^ +2025-11-30T02:28:48.9057980Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9058488Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9058720Z ^ +2025-11-30T02:28:48.9059240Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9059526Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9059861Z ^ +2025-11-30T02:28:48.9060493Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9060786Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9060976Z ^^^ +2025-11-30T02:28:48.9061575Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9061863Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9062048Z ^ +2025-11-30T02:28:48.9062807Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9063086Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9063263Z ^^^^ +2025-11-30T02:28:48.9064037Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9064329Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9064495Z ^ +2025-11-30T02:28:48.9065238Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9065518Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9065726Z ^^^^^^^^ +2025-11-30T02:28:48.9066309Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9066799Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9066978Z ^ +2025-11-30T02:28:48.9067687Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9067974Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9068144Z ^ +2025-11-30T02:28:48.9082295Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9082537Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9082682Z ^^^^ +2025-11-30T02:28:48.9083181Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9083402Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9083541Z ^ +2025-11-30T02:28:48.9083965Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. +2025-11-30T02:28:48.9084184Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9084325Z ^ +2025-11-30T02:28:48.9084762Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. +2025-11-30T02:28:48.9084935Z if (parentPosition != null) { +2025-11-30T02:28:48.9085066Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9085457Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. +2025-11-30T02:28:48.9085835Z it.sub(parentPosition) +2025-11-30T02:28:48.9085961Z ^^^ +2025-11-30T02:28:48.9086605Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. +2025-11-30T02:28:48.9086778Z it.sub(parentPosition) +2025-11-30T02:28:48.9086864Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9087144Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9087242Z }, +2025-11-30T02:28:48.9087305Z ^ +2025-11-30T02:28:48.9087569Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9087658Z rotation = Quaternionf(), +2025-11-30T02:28:48.9087725Z ^^^^^^^^ +2025-11-30T02:28:48.9087983Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9088077Z rotation = Quaternionf(), +2025-11-30T02:28:48.9088145Z ^ +2025-11-30T02:28:48.9088498Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9088593Z rotation = Quaternionf(), +2025-11-30T02:28:48.9088821Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9089079Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9089164Z rotation = Quaternionf(), +2025-11-30T02:28:48.9089237Z ^ +2025-11-30T02:28:48.9089479Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9089558Z rotation = Quaternionf(), +2025-11-30T02:28:48.9089635Z ^ +2025-11-30T02:28:48.9089874Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9089956Z rotation = Quaternionf(), +2025-11-30T02:28:48.9090030Z ^ +2025-11-30T02:28:48.9090274Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9090357Z scale = Vector3f(1f), +2025-11-30T02:28:48.9090429Z ^^^^^ +2025-11-30T02:28:48.9090666Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9090743Z scale = Vector3f(1f), +2025-11-30T02:28:48.9090809Z ^ +2025-11-30T02:28:48.9091049Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9091123Z scale = Vector3f(1f), +2025-11-30T02:28:48.9091195Z ^^^^^^^^ +2025-11-30T02:28:48.9091432Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9091505Z scale = Vector3f(1f), +2025-11-30T02:28:48.9091572Z ^ +2025-11-30T02:28:48.9091812Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9091932Z scale = Vector3f(1f), +2025-11-30T02:28:48.9092051Z ^^ +2025-11-30T02:28:48.9092484Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9092626Z scale = Vector3f(1f), +2025-11-30T02:28:48.9092745Z ^ +2025-11-30T02:28:48.9093494Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9093899Z scale = Vector3f(1f), +2025-11-30T02:28:48.9094018Z ^ +2025-11-30T02:28:48.9094457Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9094579Z ), +2025-11-30T02:28:48.9094685Z ^ +2025-11-30T02:28:48.9095115Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9095222Z ), +2025-11-30T02:28:48.9095328Z ^ +2025-11-30T02:28:48.9095699Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9095785Z children = children, +2025-11-30T02:28:48.9095858Z ^^^^^^^^ +2025-11-30T02:28:48.9096234Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9096361Z children = children, +2025-11-30T02:28:48.9096635Z ^ +2025-11-30T02:28:48.9096885Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9096961Z children = children, +2025-11-30T02:28:48.9097028Z ^^^^^^^^ +2025-11-30T02:28:48.9097435Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9097513Z children = children, +2025-11-30T02:28:48.9097578Z ^ +2025-11-30T02:28:48.9097819Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9097906Z components = components, +2025-11-30T02:28:48.9097970Z ^^^^^^^^^^ +2025-11-30T02:28:48.9098233Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9098323Z components = components, +2025-11-30T02:28:48.9098389Z ^ +2025-11-30T02:28:48.9098634Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9098722Z components = components, +2025-11-30T02:28:48.9098791Z ^^^^^^^^^^ +2025-11-30T02:28:48.9099035Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9099118Z components = components, +2025-11-30T02:28:48.9099184Z ^ +2025-11-30T02:28:48.9099427Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9099494Z ) +2025-11-30T02:28:48.9099552Z ^ +2025-11-30T02:28:48.9099797Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9099888Z rootBones.forEach { index -> +2025-11-30T02:28:48.9099954Z ^^^^^^^^^ +2025-11-30T02:28:48.9100193Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9100273Z rootBones.forEach { index -> +2025-11-30T02:28:48.9100341Z ^ +2025-11-30T02:28:48.9100579Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9100659Z rootBones.forEach { index -> +2025-11-30T02:28:48.9100729Z ^^^^^^^ +2025-11-30T02:28:48.9100965Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9101044Z rootBones.forEach { index -> +2025-11-30T02:28:48.9101109Z ^ +2025-11-30T02:28:48.9101345Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. +2025-11-30T02:28:48.9101547Z rootBones.forEach { index -> +2025-11-30T02:28:48.9101613Z ^^^^^^^^^^ +2025-11-30T02:28:48.9101830Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. +2025-11-30T02:28:48.9101910Z rootBones.forEach { index -> +2025-11-30T02:28:48.9101977Z ^^^^^ +2025-11-30T02:28:48.9102354Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9102434Z rootBones.forEach { index -> +2025-11-30T02:28:48.9102497Z ^^ +2025-11-30T02:28:48.9102719Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.9102811Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.9102874Z ^^^^^^^^^ +2025-11-30T02:28:48.9103090Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. +2025-11-30T02:28:48.9103181Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.9103247Z ^^^^^^^ +2025-11-30T02:28:48.9103451Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. +2025-11-30T02:28:48.9103537Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.9103607Z ^^^^^ +2025-11-30T02:28:48.9103887Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. +2025-11-30T02:28:48.9103973Z var nextNodeIndex = bones.size +2025-11-30T02:28:48.9104041Z ^^^^^ +2025-11-30T02:28:48.9104281Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9104369Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9104434Z ^^^ +2025-11-30T02:28:48.9104672Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9104759Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9104825Z ^ +2025-11-30T02:28:48.9105059Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9105142Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9105209Z ^^^^^^^^^ +2025-11-30T02:28:48.9105450Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9105532Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9105600Z ^^^^^ +2025-11-30T02:28:48.9105841Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9105922Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9105990Z ^ +2025-11-30T02:28:48.9106223Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9106307Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9106585Z ^^^^^^^ +2025-11-30T02:28:48.9106858Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9106950Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9107024Z ^ +2025-11-30T02:28:48.9107409Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9107550Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9107656Z ^ +2025-11-30T02:28:48.9108021Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. +2025-11-30T02:28:48.9108167Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9108287Z ^ +2025-11-30T02:28:48.9108839Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. +2025-11-30T02:28:48.9108980Z val bone = bones[boneIndex] +2025-11-30T02:28:48.9109102Z ^^^^^ +2025-11-30T02:28:48.9109424Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. +2025-11-30T02:28:48.9109508Z val bone = bones[boneIndex] +2025-11-30T02:28:48.9109587Z ^^^^^^^^^ +2025-11-30T02:28:48.9109804Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9109901Z val nodeId = NodeId(modelId, boneIndex) +2025-11-30T02:28:48.9109972Z ^^^^^^^ +2025-11-30T02:28:48.9110184Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. +2025-11-30T02:28:48.9110271Z val nodeId = NodeId(modelId, boneIndex) +2025-11-30T02:28:48.9110351Z ^^^^^^^^^ +2025-11-30T02:28:48.9110572Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. +2025-11-30T02:28:48.9110775Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() +2025-11-30T02:28:48.9110860Z ^^^^^^^^ +2025-11-30T02:28:48.9111209Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. +2025-11-30T02:28:48.9111339Z HumanoidTag.fromPmxJapanese(bone.nameLocal) +2025-11-30T02:28:48.9111420Z ^^^^^^^^^ +2025-11-30T02:28:48.9111657Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. +2025-11-30T02:28:48.9111783Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) +2025-11-30T02:28:48.9111866Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9112120Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. +2025-11-30T02:28:48.9112373Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() +2025-11-30T02:28:48.9112463Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9112711Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9112858Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9112919Z ^^^ +2025-11-30T02:28:48.9113160Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9113300Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9113361Z ^ +2025-11-30T02:28:48.9113598Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9113737Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9113798Z ^ +2025-11-30T02:28:48.9114033Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9114168Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9114237Z ^^^^^^^^^^ +2025-11-30T02:28:48.9114471Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9114600Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9114671Z ^ +2025-11-30T02:28:48.9114907Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9115035Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9115220Z ^^^^^^^^^ +2025-11-30T02:28:48.9115456Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9115585Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9115658Z ^ +2025-11-30T02:28:48.9115892Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9116025Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9116109Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9116345Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9116721Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9116802Z ^ +2025-11-30T02:28:48.9117066Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9117211Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9117294Z ^^^^^^^^^ +2025-11-30T02:28:48.9117539Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9117793Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9117878Z ^ +2025-11-30T02:28:48.9118119Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9118256Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9118339Z ^ +2025-11-30T02:28:48.9118584Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9118720Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9118801Z ^ +2025-11-30T02:28:48.9119038Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9119175Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9119260Z ^ +2025-11-30T02:28:48.9119491Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. +2025-11-30T02:28:48.9119627Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9119701Z ^ +2025-11-30T02:28:48.9119921Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. +2025-11-30T02:28:48.9120277Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) +2025-11-30T02:28:48.9120369Z ^^^^^^^^^^ +2025-11-30T02:28:48.9120708Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList +2025-11-30T02:28:48.9121018Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) +2025-11-30T02:28:48.9121111Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9121341Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. +2025-11-30T02:28:48.9121462Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.9121541Z ^^^^^^^^^ +2025-11-30T02:28:48.9121838Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.9122050Z fun Array.component1(): T +2025-11-30T02:28:48.9122138Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.9122221Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.9122303Z fun IntArray.component1(): Int +2025-11-30T02:28:48.9122388Z fun LongArray.component1(): Long +2025-11-30T02:28:48.9122471Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.9122554Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.9122648Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.9122726Z fun CharArray.component1(): Char +2025-11-30T02:28:48.9122806Z fun List.component1(): T +2025-11-30T02:28:48.9122897Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.9122979Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.9123059Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.9123138Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.9123229Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.9123346Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.9123428Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9123734Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.9123812Z fun Array.component2(): T +2025-11-30T02:28:48.9123971Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.9124053Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.9124136Z fun IntArray.component2(): Int +2025-11-30T02:28:48.9124213Z fun LongArray.component2(): Long +2025-11-30T02:28:48.9124294Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.9124379Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.9124464Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.9124541Z fun CharArray.component2(): Char +2025-11-30T02:28:48.9124614Z fun List.component2(): T +2025-11-30T02:28:48.9124711Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.9124788Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.9124867Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.9124950Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.9125034Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.9125144Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.9125223Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9125579Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.9125678Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.9125769Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.9125896Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.9126092Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.9126187Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.9126304Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.9126599Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.9126679Z ^^^^ +2025-11-30T02:28:48.9126935Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. +2025-11-30T02:28:48.9127170Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) +2025-11-30T02:28:48.9127249Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9127501Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9127658Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9127725Z ^^^^^^^^^ +2025-11-30T02:28:48.9127967Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9128244Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9128306Z ^ +2025-11-30T02:28:48.9128563Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9128710Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9128779Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9129024Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9129168Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9129236Z ^ +2025-11-30T02:28:48.9129469Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. +2025-11-30T02:28:48.9129604Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9129687Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9129921Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.9130058Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9130139Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9130610Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9130750Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9130833Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9131044Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. +2025-11-30T02:28:48.9131134Z val nodeIndex = nextNodeIndex++ +2025-11-30T02:28:48.9131207Z ^^ +2025-11-30T02:28:48.9131426Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9131521Z val nodeId = NodeId(modelId, nodeIndex) +2025-11-30T02:28:48.9131590Z ^^^^^^^ +2025-11-30T02:28:48.9131805Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9131896Z val meshId = MeshId(modelId, nodeIndex) +2025-11-30T02:28:48.9131966Z ^^^^^^^ +2025-11-30T02:28:48.9132199Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.9132302Z materialToMeshIds[materialIndex] = meshId +2025-11-30T02:28:48.9132371Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9132602Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.9132759Z val pmxMaterial = materialData?.material ?: return@forEachIndexed +2025-11-30T02:28:48.9132836Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9133010Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. +2025-11-30T02:28:48.9133169Z val pmxMaterial = materialData?.material ?: return@forEachIndexed +2025-11-30T02:28:48.9133249Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9133551Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9133698Z baseColorTexture = pmxMaterial.textureIndex.takeIf { +2025-11-30T02:28:48.9133777Z ^^^^^^ +2025-11-30T02:28:48.9134081Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9134216Z baseColorTexture = pmxMaterial.textureIndex.takeIf { +2025-11-30T02:28:48.9134375Z ^ +2025-11-30T02:28:48.9134778Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. +2025-11-30T02:28:48.9134868Z it >= 0 && it in textures.indices +2025-11-30T02:28:48.9134939Z ^^ +2025-11-30T02:28:48.9135157Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. +2025-11-30T02:28:48.9135239Z it >= 0 && it in textures.indices +2025-11-30T02:28:48.9135313Z ^^^^^^^^ +2025-11-30T02:28:48.9135611Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9135678Z }?.let { +2025-11-30T02:28:48.9135741Z ^^^ +2025-11-30T02:28:48.9136023Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. +2025-11-30T02:28:48.9136091Z }?.let { +2025-11-30T02:28:48.9136153Z ^^^ +2025-11-30T02:28:48.9136620Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. +2025-11-30T02:28:48.9136691Z }?.let { +2025-11-30T02:28:48.9136752Z ^^^ +2025-11-30T02:28:48.9137165Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9137236Z }?.let { +2025-11-30T02:28:48.9137298Z ^ +2025-11-30T02:28:48.9137514Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. +2025-11-30T02:28:48.9137608Z textures.getOrNull(it) +2025-11-30T02:28:48.9137673Z ^^^^^^^^ +2025-11-30T02:28:48.9137971Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9138045Z }?.let { +2025-11-30T02:28:48.9138110Z ^^^ +2025-11-30T02:28:48.9138382Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. +2025-11-30T02:28:48.9138446Z }?.let { +2025-11-30T02:28:48.9138512Z ^^^ +2025-11-30T02:28:48.9138802Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9138864Z }?.let { +2025-11-30T02:28:48.9138930Z ^ +2025-11-30T02:28:48.9139149Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.9139220Z rootNodes.add( +2025-11-30T02:28:48.9139286Z ^^^^^^^^^ +2025-11-30T02:28:48.9139512Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.9139633Z attributes = materialData.vertexAttributes, +2025-11-30T02:28:48.9139717Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9139942Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.9140066Z bufferView = materialData.indexBufferView, +2025-11-30T02:28:48.9140149Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9140389Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. +2025-11-30T02:28:48.9140494Z componentType = indexBufferType, +2025-11-30T02:28:48.9140579Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9140811Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.9141064Z targets = materialMorphMap[materialIndex] ?: listOf(), +2025-11-30T02:28:48.9141148Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9141361Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. +2025-11-30T02:28:48.9141457Z val cameraNodeIndex = nextNodeIndex++ +2025-11-30T02:28:48.9141526Z ^^ +2025-11-30T02:28:48.9141775Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9141844Z rootNodes.add( +2025-11-30T02:28:48.9141905Z ^^^^^^^^^ +2025-11-30T02:28:48.9142145Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9142220Z rootNodes.add( +2025-11-30T02:28:48.9142281Z ^ +2025-11-30T02:28:48.9142520Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9142595Z rootNodes.add( +2025-11-30T02:28:48.9142657Z ^^^ +2025-11-30T02:28:48.9142894Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9142960Z rootNodes.add( +2025-11-30T02:28:48.9143138Z ^ +2025-11-30T02:28:48.9143376Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9143440Z Node( +2025-11-30T02:28:48.9143505Z ^^^^ +2025-11-30T02:28:48.9143743Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9143804Z Node( +2025-11-30T02:28:48.9143866Z ^ +2025-11-30T02:28:48.9144103Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9144183Z name = "MMD Camera", +2025-11-30T02:28:48.9144246Z ^^^^ +2025-11-30T02:28:48.9144489Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9144562Z name = "MMD Camera", +2025-11-30T02:28:48.9144624Z ^ +2025-11-30T02:28:48.9144868Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9144939Z name = "MMD Camera", +2025-11-30T02:28:48.9145002Z ^ +2025-11-30T02:28:48.9145450Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9145527Z name = "MMD Camera", +2025-11-30T02:28:48.9145594Z ^^^^^^^^^^ +2025-11-30T02:28:48.9145844Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9145925Z name = "MMD Camera", +2025-11-30T02:28:48.9145991Z ^ +2025-11-30T02:28:48.9146313Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9146570Z name = "MMD Camera", +2025-11-30T02:28:48.9146676Z ^ +2025-11-30T02:28:48.9147080Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9147240Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9147332Z ^^ +2025-11-30T02:28:48.9147663Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9147760Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9147828Z ^ +2025-11-30T02:28:48.9148219Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9148311Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9148382Z ^^^^^^ +2025-11-30T02:28:48.9148617Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9148706Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9148781Z ^ +2025-11-30T02:28:48.9149017Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9149106Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9149173Z ^^^^^^^ +2025-11-30T02:28:48.9149412Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9149508Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9149578Z ^ +2025-11-30T02:28:48.9149824Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9149917Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9149994Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9150343Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9150436Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9150511Z ^ +2025-11-30T02:28:48.9150838Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9150995Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9151111Z ^ +2025-11-30T02:28:48.9151548Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9151699Z components = listOf( +2025-11-30T02:28:48.9151808Z ^^^^^^^^^^ +2025-11-30T02:28:48.9152237Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9152377Z components = listOf( +2025-11-30T02:28:48.9152490Z ^ +2025-11-30T02:28:48.9152939Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9153079Z components = listOf( +2025-11-30T02:28:48.9153196Z ^^^^^^ +2025-11-30T02:28:48.9153647Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9153776Z components = listOf( +2025-11-30T02:28:48.9153897Z ^ +2025-11-30T02:28:48.9154320Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9154492Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.9154610Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9155010Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9155177Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.9155300Z ^ +2025-11-30T02:28:48.9155708Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9155879Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.9156002Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9156680Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9156849Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.9157172Z ^ +2025-11-30T02:28:48.9157612Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9157776Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9157888Z ^^^^^^ +2025-11-30T02:28:48.9158341Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9158491Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9158604Z ^ +2025-11-30T02:28:48.9159017Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9159168Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9159278Z ^^^ +2025-11-30T02:28:48.9159698Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9159865Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9159978Z ^ +2025-11-30T02:28:48.9160389Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9160537Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9160833Z ^^^^ +2025-11-30T02:28:48.9161261Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9161412Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9161530Z ^ +2025-11-30T02:28:48.9161952Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9162090Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9162221Z ^ +2025-11-30T02:28:48.9162606Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9162751Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9162875Z ^^^^^^^^^^ +2025-11-30T02:28:48.9163278Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9163433Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9163568Z ^ +2025-11-30T02:28:48.9163968Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9164113Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9164250Z ^ +2025-11-30T02:28:48.9164633Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9164744Z ) +2025-11-30T02:28:48.9164848Z ^ +2025-11-30T02:28:48.9165298Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9165405Z ) +2025-11-30T02:28:48.9165501Z ^ +2025-11-30T02:28:48.9165931Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9166036Z ) +2025-11-30T02:28:48.9166134Z ^ +2025-11-30T02:28:48.9166800Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9166921Z ) +2025-11-30T02:28:48.9167015Z ^ +2025-11-30T02:28:48.9167374Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.9167515Z val scene = Scene(nodes = rootNodes) +2025-11-30T02:28:48.9167860Z ^^^^^^^^^ +2025-11-30T02:28:48.9168254Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9168415Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9168510Z ^^^^^^ +2025-11-30T02:28:48.9168876Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9169027Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9169135Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9169521Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9169681Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9169806Z ^ +2025-11-30T02:28:48.9170240Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9170391Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9170517Z ^^^^^^^^^^ +2025-11-30T02:28:48.9170941Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9171107Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9171227Z ^ +2025-11-30T02:28:48.9171837Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9171997Z metadata = Metadata( +2025-11-30T02:28:48.9172110Z ^^^^^^^^ +2025-11-30T02:28:48.9172515Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9172630Z metadata = Metadata( +2025-11-30T02:28:48.9172727Z ^ +2025-11-30T02:28:48.9173106Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9173230Z metadata = Metadata( +2025-11-30T02:28:48.9173330Z ^^^^^^^^ +2025-11-30T02:28:48.9173705Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9173823Z metadata = Metadata( +2025-11-30T02:28:48.9173925Z ^ +2025-11-30T02:28:48.9174327Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9174503Z title = header.modelNameLocal, +2025-11-30T02:28:48.9174597Z ^^^^^ +2025-11-30T02:28:48.9174846Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9174939Z title = header.modelNameLocal, +2025-11-30T02:28:48.9175031Z ^ +2025-11-30T02:28:48.9175458Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9175617Z title = header.modelNameLocal, +2025-11-30T02:28:48.9175735Z ^^^^^^ +2025-11-30T02:28:48.9176159Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9176322Z title = header.modelNameLocal, +2025-11-30T02:28:48.9176620Z ^ +2025-11-30T02:28:48.9177047Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9177197Z title = header.modelNameLocal, +2025-11-30T02:28:48.9177322Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9177734Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9177890Z title = header.modelNameLocal, +2025-11-30T02:28:48.9178007Z ^ +2025-11-30T02:28:48.9178646Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9178843Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9178952Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9179388Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9179598Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9179698Z ^ +2025-11-30T02:28:48.9180058Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9180215Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9180318Z ^^^^^^ +2025-11-30T02:28:48.9180703Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9180889Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9181021Z ^ +2025-11-30T02:28:48.9181443Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9181653Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9181784Z ^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9182406Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9182626Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9182757Z ^ +2025-11-30T02:28:48.9183203Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9183369Z comment = header.commentLocal, +2025-11-30T02:28:48.9183479Z ^^^^^^^ +2025-11-30T02:28:48.9183908Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9184066Z comment = header.commentLocal, +2025-11-30T02:28:48.9184177Z ^ +2025-11-30T02:28:48.9184596Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9184753Z comment = header.commentLocal, +2025-11-30T02:28:48.9184889Z ^^^^^^ +2025-11-30T02:28:48.9185320Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9185458Z comment = header.commentLocal, +2025-11-30T02:28:48.9185559Z ^ +2025-11-30T02:28:48.9185953Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9186084Z comment = header.commentLocal, +2025-11-30T02:28:48.9186217Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9186867Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9187026Z comment = header.commentLocal, +2025-11-30T02:28:48.9187139Z ^ +2025-11-30T02:28:48.9187621Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9187807Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9187919Z ^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9188334Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9188525Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9188647Z ^ +2025-11-30T02:28:48.9189068Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9189462Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9189591Z ^^^^^^ +2025-11-30T02:28:48.9190033Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9190223Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9190356Z ^ +2025-11-30T02:28:48.9190760Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9190929Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9191043Z ^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9191421Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9191584Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9191696Z ^ +2025-11-30T02:28:48.9192069Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9192181Z ), +2025-11-30T02:28:48.9192285Z ^ +2025-11-30T02:28:48.9192702Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9193014Z ), +2025-11-30T02:28:48.9193130Z ^ +2025-11-30T02:28:48.9193563Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9193684Z model = Model( +2025-11-30T02:28:48.9193799Z ^^^^^ +2025-11-30T02:28:48.9194203Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9194320Z model = Model( +2025-11-30T02:28:48.9194428Z ^ +2025-11-30T02:28:48.9194863Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9194980Z model = Model( +2025-11-30T02:28:48.9195089Z ^^^^^ +2025-11-30T02:28:48.9195495Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9195614Z model = Model( +2025-11-30T02:28:48.9195730Z ^ +2025-11-30T02:28:48.9196176Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9196298Z scenes = listOf(scene), +2025-11-30T02:28:48.9196591Z ^^^^^^ +2025-11-30T02:28:48.9197017Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9197145Z scenes = listOf(scene), +2025-11-30T02:28:48.9197253Z ^ +2025-11-30T02:28:48.9197693Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9197834Z scenes = listOf(scene), +2025-11-30T02:28:48.9197948Z ^^^^^^ +2025-11-30T02:28:48.9198383Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9198534Z scenes = listOf(scene), +2025-11-30T02:28:48.9198658Z ^ +2025-11-30T02:28:48.9199061Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9199183Z scenes = listOf(scene), +2025-11-30T02:28:48.9199281Z ^^^^^ +2025-11-30T02:28:48.9199653Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9199764Z scenes = listOf(scene), +2025-11-30T02:28:48.9199865Z ^ +2025-11-30T02:28:48.9200480Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9200617Z scenes = listOf(scene), +2025-11-30T02:28:48.9200736Z ^ +2025-11-30T02:28:48.9201173Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9201309Z skins = listOf(skin), +2025-11-30T02:28:48.9201421Z ^^^^^ +2025-11-30T02:28:48.9201831Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9201963Z skins = listOf(skin), +2025-11-30T02:28:48.9202059Z ^ +2025-11-30T02:28:48.9202481Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9202612Z skins = listOf(skin), +2025-11-30T02:28:48.9202739Z ^^^^^^ +2025-11-30T02:28:48.9203181Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9203311Z skins = listOf(skin), +2025-11-30T02:28:48.9203419Z ^ +2025-11-30T02:28:48.9203835Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9204140Z skins = listOf(skin), +2025-11-30T02:28:48.9204258Z ^^^^ +2025-11-30T02:28:48.9204706Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9204825Z skins = listOf(skin), +2025-11-30T02:28:48.9204931Z ^ +2025-11-30T02:28:48.9205352Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9205494Z skins = listOf(skin), +2025-11-30T02:28:48.9205623Z ^ +2025-11-30T02:28:48.9206051Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9206305Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9206600Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9207059Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9207310Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9207430Z ^ +2025-11-30T02:28:48.9207854Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9208066Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9208182Z ^^^^ +2025-11-30T02:28:48.9208603Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9208833Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9208958Z ^ +2025-11-30T02:28:48.9209382Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9209608Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9209742Z ^^^^^^ +2025-11-30T02:28:48.9210173Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9210391Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9210511Z ^ +2025-11-30T02:28:48.9210944Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9211143Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9211494Z ^^^^^^^^^^ +2025-11-30T02:28:48.9211920Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9212127Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9212273Z ^ +2025-11-30T02:28:48.9212698Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. +2025-11-30T02:28:48.9212925Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9213061Z ^^^^^^^^^^ +2025-11-30T02:28:48.9213430Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9213649Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9213804Z ^^^^^ +2025-11-30T02:28:48.9214436Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9214656Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9214786Z ^^ +2025-11-30T02:28:48.9215361Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9215615Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.9215739Z ^^^^^ +2025-11-30T02:28:48.9216163Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. +2025-11-30T02:28:48.9216683Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.9216828Z ^^^ +2025-11-30T02:28:48.9217240Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. +2025-11-30T02:28:48.9217467Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.9217592Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9217879Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. +2025-11-30T02:28:48.9218019Z return@mapNotNull null +2025-11-30T02:28:48.9218141Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9218510Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9218721Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.9218836Z ^^^^^ +2025-11-30T02:28:48.9219263Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. +2025-11-30T02:28:48.9219490Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.9219633Z ^^^ +2025-11-30T02:28:48.9220030Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. +2025-11-30T02:28:48.9220241Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.9220391Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9220701Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. +2025-11-30T02:28:48.9220856Z return@mapNotNull null +2025-11-30T02:28:48.9220982Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9221348Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9221588Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.9221684Z ^^^^^ +2025-11-30T02:28:48.9222558Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. +2025-11-30T02:28:48.9222751Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.9222867Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9223348Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9223535Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.9223649Z ^^^^^^ +2025-11-30T02:28:48.9224338Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: +2025-11-30T02:28:48.9224478Z fun CharSequence.isNotBlank(): Boolean +2025-11-30T02:28:48.9224668Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.9224790Z ^^^^^^^^^^ +2025-11-30T02:28:48.9225272Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. +2025-11-30T02:28:48.9225423Z type = when (joint.type) { +2025-11-30T02:28:48.9225705Z ^^^^ +2025-11-30T02:28:48.9226744Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. +2025-11-30T02:28:48.9226904Z type = when (joint.type) { +2025-11-30T02:28:48.9227023Z ^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9227388Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9227519Z type = when (joint.type) { +2025-11-30T02:28:48.9227638Z ^^^^^ +2025-11-30T02:28:48.9228261Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. +2025-11-30T02:28:48.9228511Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.9228659Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9229040Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9229280Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.9229411Z ^^^^^^^ +2025-11-30T02:28:48.9229782Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9230023Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.9230162Z ^^^^^ +2025-11-30T02:28:48.9230826Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. +2025-11-30T02:28:48.9231089Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.9231250Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9231641Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9231900Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.9232037Z ^^^^^^^ +2025-11-30T02:28:48.9232415Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9232680Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.9233089Z ^^^^^ +2025-11-30T02:28:48.9233441Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9233608Z position = joint.position, +2025-11-30T02:28:48.9233731Z ^^^^^ +2025-11-30T02:28:48.9234113Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9234274Z rotation = joint.rotation, +2025-11-30T02:28:48.9234401Z ^^^^^ +2025-11-30T02:28:48.9234771Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9234959Z positionMin = joint.positionMinimum, +2025-11-30T02:28:48.9235094Z ^^^^^ +2025-11-30T02:28:48.9235561Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9235737Z positionMax = joint.positionMaximum, +2025-11-30T02:28:48.9235846Z ^^^^^ +2025-11-30T02:28:48.9236194Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9236365Z rotationMin = joint.rotationMinimum, +2025-11-30T02:28:48.9236917Z ^^^^^ +2025-11-30T02:28:48.9237286Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9237463Z rotationMax = joint.rotationMaximum, +2025-11-30T02:28:48.9237578Z ^^^^^ +2025-11-30T02:28:48.9237934Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9238123Z positionSpring = joint.positionSpring, +2025-11-30T02:28:48.9238248Z ^^^^^ +2025-11-30T02:28:48.9238582Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9238750Z rotationSpring = joint.rotationSpring, +2025-11-30T02:28:48.9238866Z ^^^^^ +2025-11-30T02:28:48.9239286Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9239416Z }, +2025-11-30T02:28:48.9239521Z ^ +2025-11-30T02:28:48.9239960Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9240127Z expressions = buildList { +2025-11-30T02:28:48.9240253Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9240643Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9240787Z expressions = buildList { +2025-11-30T02:28:48.9240911Z ^ +2025-11-30T02:28:48.9241353Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9241509Z expressions = buildList { +2025-11-30T02:28:48.9241630Z ^^^^^^^^^ +2025-11-30T02:28:48.9242057Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9242204Z expressions = buildList { +2025-11-30T02:28:48.9242326Z ^ +2025-11-30T02:28:48.9242719Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. +2025-11-30T02:28:48.9242856Z expressions = buildList { +2025-11-30T02:28:48.9242966Z ^ +2025-11-30T02:28:48.9243373Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. +2025-11-30T02:28:48.9243828Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9243965Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9244482Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.9244640Z fun Array.component1(): T +2025-11-30T02:28:48.9244792Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.9244952Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.9245109Z fun IntArray.component1(): Int +2025-11-30T02:28:48.9245241Z fun LongArray.component1(): Long +2025-11-30T02:28:48.9245365Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.9245507Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.9245672Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.9245813Z fun CharArray.component1(): Char +2025-11-30T02:28:48.9245948Z fun List.component1(): T +2025-11-30T02:28:48.9246115Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.9246269Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.9246612Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.9246762Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.9246931Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.9247148Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9247512Z ^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9248052Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.9248192Z fun Array.component2(): T +2025-11-30T02:28:48.9248340Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.9248491Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.9248630Z fun IntArray.component2(): Int +2025-11-30T02:28:48.9248768Z fun LongArray.component2(): Long +2025-11-30T02:28:48.9248907Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.9249068Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.9249230Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.9249380Z fun CharArray.component2(): Char +2025-11-30T02:28:48.9249526Z fun List.component2(): T +2025-11-30T02:28:48.9249679Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.9249820Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.9249970Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.9250129Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.9250288Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.9250505Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9250652Z ^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9251239Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.9251415Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.9251583Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.9251789Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.9252135Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.9252309Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.9252527Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.9252743Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9252893Z ^^^^^^^^^ +2025-11-30T02:28:48.9253575Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. +2025-11-30T02:28:48.9253792Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.9253935Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9254586Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. +2025-11-30T02:28:48.9254803Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.9254928Z ^^^^^^^^^ +2025-11-30T02:28:48.9255349Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. +2025-11-30T02:28:48.9255564Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.9255708Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9256081Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. +2025-11-30T02:28:48.9256226Z tag = target.tag, +2025-11-30T02:28:48.9256347Z ^^^ +2025-11-30T02:28:48.9257187Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. +2025-11-30T02:28:48.9257340Z isBinary = false, +2025-11-30T02:28:48.9257459Z ^^^^^ +2025-11-30T02:28:48.9258335Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. +2025-11-30T02:28:48.9259035Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9259212Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9260025Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. +2025-11-30T02:28:48.9260550Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9260723Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9261271Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9261792Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9261952Z ^^^^^^^^^^ +2025-11-30T02:28:48.9262776Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: +2025-11-30T02:28:48.9263048Z fun Iterable.mapNotNull(transform: (T) -> R?): List +2025-11-30T02:28:48.9263544Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9263706Z ^^^^^^^^^^ +2025-11-30T02:28:48.9264247Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9264746Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9264917Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9265482Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.9265628Z fun Array.component1(): T +2025-11-30T02:28:48.9265778Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.9265931Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.9266263Z fun IntArray.component1(): Int +2025-11-30T02:28:48.9266607Z fun LongArray.component1(): Long +2025-11-30T02:28:48.9266758Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.9266909Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.9267068Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.9267206Z fun CharArray.component1(): Char +2025-11-30T02:28:48.9267341Z fun List.component1(): T +2025-11-30T02:28:48.9267498Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.9267638Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.9267779Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.9267931Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.9268083Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.9268593Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9268771Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9269320Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.9269464Z fun Array.component2(): T +2025-11-30T02:28:48.9269617Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.9269765Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.9269914Z fun IntArray.component2(): Int +2025-11-30T02:28:48.9270242Z fun LongArray.component2(): Long +2025-11-30T02:28:48.9270408Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.9270559Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.9270717Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.9270868Z fun CharArray.component2(): Char +2025-11-30T02:28:48.9271003Z fun List.component2(): T +2025-11-30T02:28:48.9271158Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.9271306Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.9271448Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.9271596Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.9271742Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.9272259Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9272429Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9273030Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9273207Z } ?: listOf(), +2025-11-30T02:28:48.9273332Z ^^^^^^ +2025-11-30T02:28:48.9274091Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. +2025-11-30T02:28:48.9274228Z } ?: listOf(), +2025-11-30T02:28:48.9274347Z ^^^^^^^^ +2025-11-30T02:28:48.9274745Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. +2025-11-30T02:28:48.9274990Z pmxIndexToExpressions[target.pmxIndex] = expression +2025-11-30T02:28:48.9275128Z ^^^^^^^^ +2025-11-30T02:28:48.9275497Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. +2025-11-30T02:28:48.9275631Z add(expression) +2025-11-30T02:28:48.9275745Z ^^^ +2025-11-30T02:28:48.9276354Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.9276714Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.9276881Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.9277084Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.9277657Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.9277840Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.9278017Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.9278158Z for (group in morphTargetGroups) { +2025-11-30T02:28:48.9278269Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9278661Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. +2025-11-30T02:28:48.9278806Z for (group in morphTargetGroups) { +2025-11-30T02:28:48.9278912Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9279235Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. +2025-11-30T02:28:48.9279331Z add( +2025-11-30T02:28:48.9279427Z ^^^ +2025-11-30T02:28:48.9279921Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9280130Z targets = group.items.mapNotNull { item -> +2025-11-30T02:28:48.9280274Z ^^^^ +2025-11-30T02:28:48.9280634Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. +2025-11-30T02:28:48.9281001Z val pmxMorphIndex = item.index +2025-11-30T02:28:48.9281141Z ^^^^^ +2025-11-30T02:28:48.9281550Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. +2025-11-30T02:28:48.9281737Z influence = item.influence, +2025-11-30T02:28:48.9281875Z ^^^^^^^^^ +2025-11-30T02:28:48.9282279Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9282398Z }, +2025-11-30T02:28:48.9282505Z ^ +2025-11-30T02:28:48.9282940Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9283095Z defaultScene = scene, +2025-11-30T02:28:48.9283213Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9283650Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9283794Z defaultScene = scene, +2025-11-30T02:28:48.9283925Z ^ +2025-11-30T02:28:48.9284349Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9284493Z defaultScene = scene, +2025-11-30T02:28:48.9284618Z ^^^^^ +2025-11-30T02:28:48.9285049Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9285189Z defaultScene = scene, +2025-11-30T02:28:48.9285300Z ^ +2025-11-30T02:28:48.9285680Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9285778Z ), +2025-11-30T02:28:48.9285872Z ^ +2025-11-30T02:28:48.9286295Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9286600Z ), +2025-11-30T02:28:48.9286712Z ^ +2025-11-30T02:28:48.9287169Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9287352Z animations = listOf(), +2025-11-30T02:28:48.9287455Z ^^^^^^^^^^ +2025-11-30T02:28:48.9287960Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9288116Z animations = listOf(), +2025-11-30T02:28:48.9288475Z ^ +2025-11-30T02:28:48.9288934Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9289091Z animations = listOf(), +2025-11-30T02:28:48.9289205Z ^^^^^^ +2025-11-30T02:28:48.9289656Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9289809Z animations = listOf(), +2025-11-30T02:28:48.9289931Z ^ +2025-11-30T02:28:48.9290404Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9290551Z animations = listOf(), +2025-11-30T02:28:48.9290670Z ^ +2025-11-30T02:28:48.9291102Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9291261Z animations = listOf(), +2025-11-30T02:28:48.9291385Z ^ +2025-11-30T02:28:48.9291808Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9291924Z ) +2025-11-30T02:28:48.9292037Z ^ +2025-11-30T02:28:48.9292498Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. +2025-11-30T02:28:48.9292818Z } +2025-11-30T02:28:48.9292945Z ^ +2025-11-30T02:28:48.9293509Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. +2025-11-30T02:28:48.9293705Z override fun load(path: Path, basePath: Path) = +2025-11-30T02:28:48.9293806Z ^^^^^^^^ +2025-11-30T02:28:48.9294343Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9294658Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> +2025-11-30T02:28:48.9294823Z ^^^ +2025-11-30T02:28:48.9295236Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. +2025-11-30T02:28:48.9295396Z val context = Context(basePath) +2025-11-30T02:28:48.9295510Z ^^^^^^^ +2025-11-30T02:28:48.9295987Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. +2025-11-30T02:28:48.9296102Z } +2025-11-30T02:28:49.0701973Z ^ +2025-11-30T02:28:49.0702253Z INFO: Elapsed time: 134.040s, Critical Path: 46.27s +2025-11-30T02:28:49.0702579Z INFO: 950 processes: 262 internal, 606 processwrapper-sandbox, 82 worker. +2025-11-30T02:28:49.0702747Z ERROR: Build did NOT complete successfully +2025-11-30T02:28:49.2475292Z ##[error]Process completed with exit code 1. +2025-11-30T02:28:49.2599558Z Post job cleanup. +2025-11-30T02:28:49.4910946Z Post job cleanup. +2025-11-30T02:28:49.5880876Z [command]/usr/bin/git version +2025-11-30T02:28:49.5923578Z git version 2.51.2 +2025-11-30T02:28:49.5984734Z Temporarily overriding HOME='/home/runner/work/_temp/3753632d-b9a8-45a7-9920-1b04eb49d611' before making global git config changes +2025-11-30T02:28:49.5987068Z Adding repository directory to the temporary git global config as a safe directory +2025-11-30T02:28:49.5993338Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand +2025-11-30T02:28:49.6035929Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand +2025-11-30T02:28:49.6069139Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" +2025-11-30T02:28:49.6348697Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader +2025-11-30T02:28:49.6370735Z http.https://github.com/.extraheader +2025-11-30T02:28:49.6385311Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader +2025-11-30T02:28:49.6417643Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" +2025-11-30T02:28:49.6648989Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: +2025-11-30T02:28:49.6683215Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url +2025-11-30T02:28:49.7001361Z Cleaning up orphan processes +2025-11-30T02:28:49.7294889Z Terminate orphan process: pid (2139) (java.lang=ALL-UNNAMED) diff --git a/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt b/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt new file mode 100644 index 00000000..ecfa35a6 --- /dev/null +++ b/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt @@ -0,0 +1 @@ +2025-11-30T02:28:49.2599543Z Post job cleanup. diff --git a/logs_51071426239/build-with-bazel/14_Post checkout repository.txt b/logs_51071426239/build-with-bazel/14_Post checkout repository.txt new file mode 100644 index 00000000..5df49ba4 --- /dev/null +++ b/logs_51071426239/build-with-bazel/14_Post checkout repository.txt @@ -0,0 +1,14 @@ +2025-11-30T02:28:49.4910929Z Post job cleanup. +2025-11-30T02:28:49.5880835Z [command]/usr/bin/git version +2025-11-30T02:28:49.5923551Z git version 2.51.2 +2025-11-30T02:28:49.5984718Z Temporarily overriding HOME='/home/runner/work/_temp/3753632d-b9a8-45a7-9920-1b04eb49d611' before making global git config changes +2025-11-30T02:28:49.5987060Z Adding repository directory to the temporary git global config as a safe directory +2025-11-30T02:28:49.5993326Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand +2025-11-30T02:28:49.6035911Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand +2025-11-30T02:28:49.6069122Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" +2025-11-30T02:28:49.6348674Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader +2025-11-30T02:28:49.6370664Z http.https://github.com/.extraheader +2025-11-30T02:28:49.6385298Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader +2025-11-30T02:28:49.6417624Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" +2025-11-30T02:28:49.6648957Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: +2025-11-30T02:28:49.6683198Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url diff --git a/logs_51071426239/build-with-bazel/15_Complete job.txt b/logs_51071426239/build-with-bazel/15_Complete job.txt new file mode 100644 index 00000000..5e6c264e --- /dev/null +++ b/logs_51071426239/build-with-bazel/15_Complete job.txt @@ -0,0 +1,2 @@ +2025-11-30T02:28:49.7001350Z Cleaning up orphan processes +2025-11-30T02:28:49.7294876Z Terminate orphan process: pid (2139) (java.lang=ALL-UNNAMED) diff --git a/logs_51071426239/build-with-bazel/1_Set up job.txt b/logs_51071426239/build-with-bazel/1_Set up job.txt new file mode 100644 index 00000000..d54f099d --- /dev/null +++ b/logs_51071426239/build-with-bazel/1_Set up job.txt @@ -0,0 +1,44 @@ +2025-11-30T02:26:19.2751311Z Current runner version: '2.329.0' +2025-11-30T02:26:19.2777349Z ##[group]Runner Image Provisioner +2025-11-30T02:26:19.2778466Z Hosted Compute Agent +2025-11-30T02:26:19.2779423Z Version: 20251016.436 +2025-11-30T02:26:19.2780352Z Commit: 8ab8ac8bfd662a3739dab9fe09456aba92132568 +2025-11-30T02:26:19.2781414Z Build Date: 2025-10-15T20:44:12Z +2025-11-30T02:26:19.2782571Z ##[endgroup] +2025-11-30T02:26:19.2783471Z ##[group]Operating System +2025-11-30T02:26:19.2784416Z Ubuntu +2025-11-30T02:26:19.2785199Z 24.04.3 +2025-11-30T02:26:19.2786004Z LTS +2025-11-30T02:26:19.2786915Z ##[endgroup] +2025-11-30T02:26:19.2787876Z ##[group]Runner Image +2025-11-30T02:26:19.2788899Z Image: ubuntu-24.04 +2025-11-30T02:26:19.2789687Z Version: 20251112.124.1 +2025-11-30T02:26:19.2791430Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20251112.124/images/ubuntu/Ubuntu2404-Readme.md +2025-11-30T02:26:19.2793774Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20251112.124 +2025-11-30T02:26:19.2795786Z ##[endgroup] +2025-11-30T02:26:19.2800443Z ##[group]GITHUB_TOKEN Permissions +2025-11-30T02:26:19.2803409Z Actions: write +2025-11-30T02:26:19.2804352Z ArtifactMetadata: write +2025-11-30T02:26:19.2805315Z Attestations: write +2025-11-30T02:26:19.2806230Z Checks: write +2025-11-30T02:26:19.2807368Z Contents: write +2025-11-30T02:26:19.2808176Z Deployments: write +2025-11-30T02:26:19.2809138Z Discussions: write +2025-11-30T02:26:19.2809988Z Issues: write +2025-11-30T02:26:19.2810826Z Metadata: read +2025-11-30T02:26:19.2811530Z Models: read +2025-11-30T02:26:19.2812445Z Packages: write +2025-11-30T02:26:19.2813154Z Pages: write +2025-11-30T02:26:19.2813944Z PullRequests: write +2025-11-30T02:26:19.2815000Z RepositoryProjects: write +2025-11-30T02:26:19.2816083Z SecurityEvents: write +2025-11-30T02:26:19.2817183Z Statuses: write +2025-11-30T02:26:19.2818168Z ##[endgroup] +2025-11-30T02:26:19.2821054Z Secret source: Actions +2025-11-30T02:26:19.2822109Z Prepare workflow directory +2025-11-30T02:26:19.3263556Z Prepare all required actions +2025-11-30T02:26:19.3318751Z Getting action download info +2025-11-30T02:26:19.6583574Z Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5) +2025-11-30T02:26:19.9373701Z Download action repository 'bazel-contrib/setup-bazel@0.14.0' (SHA:e8776f58fb6a6e9055cbaf1b38c52ccc5247e9c4) +2025-11-30T02:26:20.7293732Z Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) +2025-11-30T02:26:20.9238505Z Complete job name: build-with-bazel diff --git a/logs_51071426239/build-with-bazel/2_checkout repository.txt b/logs_51071426239/build-with-bazel/2_checkout repository.txt new file mode 100644 index 00000000..a6221868 --- /dev/null +++ b/logs_51071426239/build-with-bazel/2_checkout repository.txt @@ -0,0 +1,71 @@ +2025-11-30T02:26:20.9931431Z ##[group]Run actions/checkout@v4 +2025-11-30T02:26:20.9932322Z with: +2025-11-30T02:26:20.9932761Z repository: Sylsatra/ArmorStand +2025-11-30T02:26:20.9933444Z token: *** +2025-11-30T02:26:20.9934084Z ssh-strict: true +2025-11-30T02:26:20.9934807Z ssh-user: git +2025-11-30T02:26:20.9935504Z persist-credentials: true +2025-11-30T02:26:20.9936248Z clean: true +2025-11-30T02:26:20.9937243Z sparse-checkout-cone-mode: true +2025-11-30T02:26:20.9938191Z fetch-depth: 1 +2025-11-30T02:26:20.9938972Z fetch-tags: false +2025-11-30T02:26:20.9939778Z show-progress: true +2025-11-30T02:26:20.9940555Z lfs: false +2025-11-30T02:26:20.9941235Z submodules: false +2025-11-30T02:26:20.9941773Z set-safe-directory: true +2025-11-30T02:26:20.9942630Z ##[endgroup] +2025-11-30T02:26:21.1039209Z Syncing repository: Sylsatra/ArmorStand +2025-11-30T02:26:21.1041223Z ##[group]Getting Git version info +2025-11-30T02:26:21.1042023Z Working directory is '/home/runner/work/ArmorStand/ArmorStand' +2025-11-30T02:26:21.1043067Z [command]/usr/bin/git version +2025-11-30T02:26:21.1102728Z git version 2.51.2 +2025-11-30T02:26:21.1129356Z ##[endgroup] +2025-11-30T02:26:21.1142354Z Temporarily overriding HOME='/home/runner/work/_temp/6d2baab3-6bfd-4167-be5a-0a2cae9bfb19' before making global git config changes +2025-11-30T02:26:21.1143932Z Adding repository directory to the temporary git global config as a safe directory +2025-11-30T02:26:21.1154452Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand +2025-11-30T02:26:21.1190397Z Deleting the contents of '/home/runner/work/ArmorStand/ArmorStand' +2025-11-30T02:26:21.1193885Z ##[group]Initializing the repository +2025-11-30T02:26:21.1197783Z [command]/usr/bin/git init /home/runner/work/ArmorStand/ArmorStand +2025-11-30T02:26:21.1311486Z hint: Using 'master' as the name for the initial branch. This default branch name +2025-11-30T02:26:21.1312671Z hint: is subject to change. To configure the initial branch name to use in all +2025-11-30T02:26:21.1313652Z hint: of your new repositories, which will suppress this warning, call: +2025-11-30T02:26:21.1314419Z hint: +2025-11-30T02:26:21.1315069Z hint: git config --global init.defaultBranch +2025-11-30T02:26:21.1315694Z hint: +2025-11-30T02:26:21.1316271Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and +2025-11-30T02:26:21.1317373Z hint: 'development'. The just-created branch can be renamed via this command: +2025-11-30T02:26:21.1318401Z hint: +2025-11-30T02:26:21.1319105Z hint: git branch -m +2025-11-30T02:26:21.1319664Z hint: +2025-11-30T02:26:21.1320289Z hint: Disable this message with "git config set advice.defaultBranchName false" +2025-11-30T02:26:21.1321374Z Initialized empty Git repository in /home/runner/work/ArmorStand/ArmorStand/.git/ +2025-11-30T02:26:21.1329776Z [command]/usr/bin/git remote add origin https://github.com/Sylsatra/ArmorStand +2025-11-30T02:26:21.1376960Z ##[endgroup] +2025-11-30T02:26:21.1377766Z ##[group]Disabling automatic garbage collection +2025-11-30T02:26:21.1381075Z [command]/usr/bin/git config --local gc.auto 0 +2025-11-30T02:26:21.1412461Z ##[endgroup] +2025-11-30T02:26:21.1413841Z ##[group]Setting up auth +2025-11-30T02:26:21.1419987Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand +2025-11-30T02:26:21.1451182Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" +2025-11-30T02:26:21.1795883Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader +2025-11-30T02:26:21.1825767Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" +2025-11-30T02:26:21.2040174Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: +2025-11-30T02:26:21.2069998Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url +2025-11-30T02:26:21.2295742Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** +2025-11-30T02:26:21.2328844Z ##[endgroup] +2025-11-30T02:26:21.2330261Z ##[group]Fetching the repository +2025-11-30T02:26:21.2338969Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +3f0d9c3830614990305a25aac7f81a7df6678688:refs/remotes/origin/my-physics +2025-11-30T02:26:21.8875742Z From https://github.com/Sylsatra/ArmorStand +2025-11-30T02:26:21.8878158Z * [new ref] 3f0d9c3830614990305a25aac7f81a7df6678688 -> origin/my-physics +2025-11-30T02:26:21.8910556Z ##[endgroup] +2025-11-30T02:26:21.8912283Z ##[group]Determining the checkout info +2025-11-30T02:26:21.8914170Z ##[endgroup] +2025-11-30T02:26:21.8918782Z [command]/usr/bin/git sparse-checkout disable +2025-11-30T02:26:21.8958816Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig +2025-11-30T02:26:21.8984835Z ##[group]Checking out the ref +2025-11-30T02:26:21.8989273Z [command]/usr/bin/git checkout --progress --force -B my-physics refs/remotes/origin/my-physics +2025-11-30T02:26:22.0744406Z Switched to a new branch 'my-physics' +2025-11-30T02:26:22.0747151Z branch 'my-physics' set up to track 'origin/my-physics'. +2025-11-30T02:26:22.0760458Z ##[endgroup] +2025-11-30T02:26:22.0797519Z [command]/usr/bin/git log -1 --format=%H +2025-11-30T02:26:22.0818924Z 3f0d9c3830614990305a25aac7f81a7df6678688 diff --git a/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt b/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt new file mode 100644 index 00000000..0d7260bb --- /dev/null +++ b/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt @@ -0,0 +1,91 @@ +2025-11-30T02:26:22.1106802Z ##[group]Run bazel-contrib/setup-bazel@0.14.0 +2025-11-30T02:26:22.1107996Z with: +2025-11-30T02:26:22.1108705Z bazelisk-cache: true +2025-11-30T02:26:22.1109554Z disk-cache: false +2025-11-30T02:26:22.1110368Z repository-cache: true +2025-11-30T02:26:22.1111247Z cache-version: 1 +2025-11-30T02:26:22.1112036Z module-root: . +2025-11-30T02:26:22.1113061Z token: *** +2025-11-30T02:26:22.1113785Z ##[endgroup] +2025-11-30T02:26:22.2879009Z ##[group]Configure Bazel +2025-11-30T02:26:22.2880862Z Configuration: +2025-11-30T02:26:22.2882399Z { +2025-11-30T02:26:22.2884033Z "baseCacheKey": "setup-bazel-1-linux", +2025-11-30T02:26:22.2885827Z "bazeliskCache": { +2025-11-30T02:26:22.2887334Z "enabled": true, +2025-11-30T02:26:22.2888563Z "files": [ +2025-11-30T02:26:22.2889697Z "./.bazelversion" +2025-11-30T02:26:22.2890930Z ], +2025-11-30T02:26:22.2891985Z "name": "bazelisk", +2025-11-30T02:26:22.2893291Z "paths": [ +2025-11-30T02:26:22.2895920Z "/home/runner/.cache/bazelisk" +2025-11-30T02:26:22.2897758Z ] +2025-11-30T02:26:22.2898780Z }, +2025-11-30T02:26:22.2899824Z "bazeliskVersion": "", +2025-11-30T02:26:22.2901213Z "bazelrc": [ +2025-11-30T02:26:22.2903017Z "common --repository_cache=/home/runner/.cache/bazel-repo" +2025-11-30T02:26:22.2905415Z ], +2025-11-30T02:26:22.2906557Z "diskCache": { +2025-11-30T02:26:22.2907778Z "enabled": false, +2025-11-30T02:26:22.2909152Z "files": [ +2025-11-30T02:26:22.2921763Z "./MODULE.bazel", +2025-11-30T02:26:22.2923217Z "./WORKSPACE.bazel", +2025-11-30T02:26:22.2924691Z "./WORKSPACE.bzlmod", +2025-11-30T02:26:22.2926125Z "./WORKSPACE", +2025-11-30T02:26:22.2927627Z "./**/BUILD.bazel", +2025-11-30T02:26:22.2928970Z "./**/BUILD" +2025-11-30T02:26:22.2930072Z ], +2025-11-30T02:26:22.2930871Z "name": "disk", +2025-11-30T02:26:22.2932083Z "paths": [ +2025-11-30T02:26:22.2933343Z "/home/runner/.cache/bazel-disk" +2025-11-30T02:26:22.2935025Z ] +2025-11-30T02:26:22.2936063Z }, +2025-11-30T02:26:22.2937396Z "externalCache": {}, +2025-11-30T02:26:22.2939063Z "paths": { +2025-11-30T02:26:22.2940506Z "bazelExternal": "/home/runner/.bazel/external", +2025-11-30T02:26:22.2942474Z "bazelOutputBase": "/home/runner/.bazel", +2025-11-30T02:26:22.2944311Z "bazelrc": [ +2025-11-30T02:26:22.2945548Z "/home/runner/.bazelrc" +2025-11-30T02:26:22.2947345Z ] +2025-11-30T02:26:22.2948405Z }, +2025-11-30T02:26:22.2949449Z "os": { +2025-11-30T02:26:22.2950501Z "arch": "x64", +2025-11-30T02:26:22.2951749Z "platform": "linux" +2025-11-30T02:26:22.2953018Z }, +2025-11-30T02:26:22.2954131Z "repositoryCache": { +2025-11-30T02:26:22.2955469Z "enabled": true, +2025-11-30T02:26:22.2956862Z "files": [ +2025-11-30T02:26:22.2958122Z "./MODULE.bazel", +2025-11-30T02:26:22.2959445Z "./WORKSPACE.bazel", +2025-11-30T02:26:22.2960996Z "./WORKSPACE.bzlmod", +2025-11-30T02:26:22.2962398Z "./WORKSPACE" +2025-11-30T02:26:22.2963566Z ], +2025-11-30T02:26:22.2964668Z "name": "repository", +2025-11-30T02:26:22.2966060Z "paths": [ +2025-11-30T02:26:22.2967511Z "/home/runner/.cache/bazel-repo" +2025-11-30T02:26:22.2969209Z ] +2025-11-30T02:26:22.2970343Z } +2025-11-30T02:26:22.2971534Z } +2025-11-30T02:26:22.2973941Z ##[endgroup] +2025-11-30T02:26:22.2976309Z ##[group]Restore cache for bazelisk +2025-11-30T02:26:22.4571405Z Cache hit for: setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e +2025-11-30T02:26:22.9230656Z Received 57708694 of 57708694 (100.0%), 131.7 MBs/sec +2025-11-30T02:26:22.9260863Z Cache Size: ~55 MB (57708694 B) +2025-11-30T02:26:22.9262266Z [command]/usr/bin/tar -xf /home/runner/work/_temp/b3e15b1e-c1eb-4152-aaef-d9b65a2a8117/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd +2025-11-30T02:26:23.0176048Z Cache restored successfully +2025-11-30T02:26:23.0288346Z Successfully restored cache from setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e +2025-11-30T02:26:23.0290873Z ##[endgroup] +2025-11-30T02:26:23.0291908Z ##[group]Restore cache for repository +2025-11-30T02:26:23.0534561Z Cache hit for: setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e +2025-11-30T02:26:24.1170514Z Received 205520896 of 1349025797 (15.2%), 194.3 MBs/sec +2025-11-30T02:26:25.1159719Z Received 402653184 of 1349025797 (29.8%), 191.1 MBs/sec +2025-11-30T02:26:26.1172428Z Received 637534208 of 1349025797 (47.3%), 202.0 MBs/sec +2025-11-30T02:26:27.1205028Z Received 859832320 of 1349025797 (63.7%), 204.3 MBs/sec +2025-11-30T02:26:28.1196246Z Received 1073741824 of 1349025797 (79.6%), 204.3 MBs/sec +2025-11-30T02:26:29.1209606Z Received 1333788672 of 1349025797 (98.9%), 211.5 MBs/sec +2025-11-30T02:26:29.3336946Z Received 1349025797 of 1349025797 (100.0%), 206.6 MBs/sec +2025-11-30T02:26:29.3338432Z Cache Size: ~1287 MB (1349025797 B) +2025-11-30T02:26:29.3469121Z [command]/usr/bin/tar -xf /home/runner/work/_temp/42c2a257-3281-4f12-bdbd-3691fcbaf72d/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd +2025-11-30T02:26:31.2149601Z Cache restored successfully +2025-11-30T02:26:31.4668524Z Successfully restored cache from setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e +2025-11-30T02:26:31.4674988Z ##[endgroup] diff --git a/logs_51071426239/build-with-bazel/4_build.txt b/logs_51071426239/build-with-bazel/4_build.txt new file mode 100644 index 00000000..dab03eb0 --- /dev/null +++ b/logs_51071426239/build-with-bazel/4_build.txt @@ -0,0 +1,2611 @@ +2025-11-30T02:26:31.4910377Z ##[group]Run bazel build --config opt \ +2025-11-30T02:26:31.4910828Z bazel build --config opt \ +2025-11-30T02:26:31.4911125Z  --verbose_failures \ +2025-11-30T02:26:31.4911367Z  //mod:mod_fabric \ +2025-11-30T02:26:31.4911571Z  //mod:mod_neoforge \ +2025-11-30T02:26:31.4911798Z  //blazerod:blazerod_fabric \ +2025-11-30T02:26:31.4912052Z  //blazerod:blazerod_neoforge \ +2025-11-30T02:26:31.4912304Z  //blazerod/model/model-base \ +2025-11-30T02:26:31.4912571Z  //blazerod/model/model-formats \ +2025-11-30T02:26:31.4912841Z  //blazerod/model/model-gltf \ +2025-11-30T02:26:31.4913112Z  //blazerod/model/model-pmd \ +2025-11-30T02:26:31.4913351Z  //blazerod/model/model-pmx \ +2025-11-30T02:26:31.4913588Z  //blazerod/model/model-vmd \ +2025-11-30T02:26:31.4913898Z  //blazerod/model/model-assimp:model-assimp-merged \ +2025-11-30T02:26:31.4914213Z  //blazerod/example/ball_block +2025-11-30T02:26:31.4951967Z shell: /usr/bin/bash -e {0} +2025-11-30T02:26:31.4952213Z env: +2025-11-30T02:26:31.4952705Z BAZELISK_GITHUB_TOKEN: *** +2025-11-30T02:26:31.4952919Z ##[endgroup] +2025-11-30T02:26:34.9648215Z Extracting Bazel installation... +2025-11-30T02:26:36.1350375Z Starting local Bazel server (8.4.2) and connecting to it... +2025-11-30T02:26:37.5805411Z Computing main repo mapping: +2025-11-30T02:26:38.4491129Z Loading: +2025-11-30T02:26:38.4513657Z Loading: 0 packages loaded +2025-11-30T02:26:39.4737837Z Loading: 0 packages loaded +2025-11-30T02:26:40.5015344Z Analyzing: 12 targets (10 packages loaded) +2025-11-30T02:26:40.6840399Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) +2025-11-30T02:26:40.7097754Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) +2025-11-30T02:26:40.7098243Z +2025-11-30T02:26:41.3523295Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions: +2025-11-30T02:26:41.3529312Z com.google.code.gson:gson (versions: 2.10.1, 2.8.9) +2025-11-30T02:26:41.3533714Z com.google.errorprone:error_prone_annotations (versions: 2.23.0, 2.5.1) +2025-11-30T02:26:41.3538317Z com.google.guava:guava (versions: 32.0.1-jre, 33.0.0-jre) +2025-11-30T02:26:41.3616337Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:200:14: The maven repository 'maven' has contributions from multiple bzlmod modules, and will be resolved together: ["armorstand", "bazel_worker_java", "protobuf"]. +2025-11-30T02:26:41.3626609Z See https://github.com/bazel-contrib/rules_jvm_external/blob/master/docs/bzlmod.md#module-dependency-layering for more information. +2025-11-30T02:26:41.3628521Z To suppress this warning review the contributions from the other modules and add the following attribute in the root MODULE.bazel file: +2025-11-30T02:26:41.3629744Z maven.install( +2025-11-30T02:26:41.3630456Z known_contributing_modules = ["armorstand", "bazel_worker_java", "protobuf"], +2025-11-30T02:26:41.3631283Z ... +2025-11-30T02:26:41.3631773Z ) +2025-11-30T02:26:41.7257155Z Analyzing: 12 targets (50 packages loaded, 18 targets configured) +2025-11-30T02:26:41.7261467Z +2025-11-30T02:26:42.1938759Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/rules/coursier.bzl:777:18: Found duplicate artifact versions +2025-11-30T02:26:42.1940326Z com.google.code.gson:gson has multiple versions 2.8.9, 2.10.1 +2025-11-30T02:26:42.1941475Z com.google.errorprone:error_prone_annotations has multiple versions 2.5.1, 2.23.0 +2025-11-30T02:26:42.1942993Z com.google.guava:guava has multiple versions 32.0.1-jre, 33.0.0-jre +2025-11-30T02:26:42.1944236Z Please remove duplicate artifacts from the artifact list so you do not get unexpected artifact versions +2025-11-30T02:26:42.7343163Z Analyzing: 12 targets (95 packages loaded, 21 targets configured) +2025-11-30T02:26:42.7348405Z +2025-11-30T02:26:43.8255086Z Analyzing: 12 targets (174 packages loaded, 123 targets configured) +2025-11-30T02:26:43.8255980Z +2025-11-30T02:26:44.8637991Z Analyzing: 12 targets (199 packages loaded, 506 targets configured) +2025-11-30T02:26:44.8640118Z +2025-11-30T02:26:46.5827589Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:26:46.5828296Z +2025-11-30T02:26:52.0792100Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:26:52.0795475Z +2025-11-30T02:26:59.0377706Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:26:59.0378530Z +2025-11-30T02:27:00.5849588Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:27:00.5850994Z +2025-11-30T02:27:06.0490424Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) +2025-11-30T02:27:06.0490949Z +2025-11-30T02:27:07.0578601Z Analyzing: 12 targets (220 packages loaded, 3333 targets configured) +2025-11-30T02:27:07.0636881Z +2025-11-30T02:27:08.0614153Z Analyzing: 12 targets (394 packages loaded, 3922 targets configured) +2025-11-30T02:27:08.0614709Z +2025-11-30T02:27:09.0600141Z Analyzing: 12 targets (558 packages loaded, 9117 targets configured) +2025-11-30T02:27:09.0601034Z +2025-11-30T02:27:10.5329172Z Analyzing: 12 targets (584 packages loaded, 9209 targets configured) +2025-11-30T02:27:10.5329980Z +2025-11-30T02:27:11.5937795Z Analyzing: 12 targets (607 packages loaded, 12113 targets configured) +2025-11-30T02:27:11.5938726Z +2025-11-30T02:27:12.5922260Z Analyzing: 12 targets (610 packages loaded, 20072 targets configured) +2025-11-30T02:27:12.5922847Z +2025-11-30T02:27:14.0003369Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) +2025-11-30T02:27:14.0003896Z +2025-11-30T02:27:16.3762864Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) +2025-11-30T02:27:16.3763592Z +2025-11-30T02:27:17.3833450Z Analyzing: 12 targets (624 packages loaded, 35680 targets configured) +2025-11-30T02:27:17.3838777Z [4 / 77] Creating runfiles tree bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/jdeps_merger.runfiles [for tool]; 0s local ... (2 actions, 1 running) +2025-11-30T02:27:17.9095072Z INFO: Analyzed 12 targets (624 packages loaded, 35744 targets configured). +2025-11-30T02:27:18.3953516Z [156 / 1,333] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 0s processwrapper-sandbox ... (4 actions, 3 running) +2025-11-30T02:27:19.4080302Z [211 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) +2025-11-30T02:27:20.5312024Z [225 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 2s processwrapper-sandbox ... (4 actions, 3 running) +2025-11-30T02:27:21.5674208Z [247 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) +2025-11-30T02:27:22.5648476Z [268 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 2s processwrapper-sandbox ... (4 actions running) +2025-11-30T02:27:23.6043824Z [279 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 3s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:24.6034117Z [346 / 1,419] Extracting interface for jar file/com/google/guava/guava/33.3.1-jre/guava-33.3.1-jre.jar; 0s processwrapper-sandbox ... (3 actions, 2 running) +2025-11-30T02:27:25.8893208Z [391 / 1,419] Building repo/neoforge/rule/manifest_remover/manifest_remover.jar (1 source file) [for tool]; 1s multiplex-worker ... (3 actions, 2 running) +2025-11-30T02:27:27.0161301Z [408 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 0s worker ... (2 actions, 1 running) +2025-11-30T02:27:28.3243854Z [415 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 1s worker ... (2 actions, 1 running) +2025-11-30T02:27:29.4860259Z [416 / 1,427] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 2s worker ... (3 actions, 2 running) +2025-11-30T02:27:30.6060013Z [422 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) +2025-11-30T02:27:31.6067770Z [423 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 4s worker ... (3 actions running) +2025-11-30T02:27:32.6093481Z [424 / 1,604] Stamping the manifest of @maven//:it_unimi_dsi_fastutil [for tool]; 3s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:33.6101659Z [430 / 1,771] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:34.6153999Z [437 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:35.6181129Z [439 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:36.6180902Z [440 / 1,936] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 1s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:37.6227964Z [444 / 1,938] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 2s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:38.6257517Z [450 / 2,101] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 3s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:39.6260844Z [453 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 4s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:40.6281219Z [456 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 5s processwrapper-sandbox ... (4 actions running) +2025-11-30T02:27:41.6311974Z [460 / 2,263] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 6s processwrapper-sandbox ... (4 actions running) +2025-11-30T02:27:42.6351103Z [469 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:com_h2database_h2; 0s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:43.6353196Z [482 / 2,265] Stamping the manifest of @maven//:net_fabricmc_sponge_mixin; 0s processwrapper-sandbox +2025-11-30T02:27:44.9239715Z [487 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava +2025-11-30T02:27:45.9503320Z [494 / 2,265] [Prepa] Stamping the manifest of @maven//:org_jetbrains_kotlinx_atomicfu_jvm +2025-11-30T02:27:46.9897617Z [510 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_fabric_api_fabric_content_registries_v0 +2025-11-30T02:27:48.2391906Z [525 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_intermediary_v2 +2025-11-30T02:27:49.2809593Z [539 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:net_fabricmc_fabric_api_fabric_resource_loader_v0 +2025-11-30T02:27:50.3323935Z [556 / 2,265] [Prepa] Stamping the manifest of @maven//:com_fasterxml_jackson_core_jackson_core [for tool] +2025-11-30T02:27:51.5857980Z [563 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava [for tool] +2025-11-30T02:27:52.5947658Z [570 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:org_jetbrains_kotlinx_kotlinx_serialization_core_jvm [for tool]; 0s processwrapper-sandbox ... (2 actions, 1 running) +2025-11-30T02:27:53.6057462Z [577 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 0s processwrapper-sandbox ... (3 actions, 2 running) +2025-11-30T02:27:54.6385906Z [583 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 1s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:55.6427354Z [588 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 2s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:27:56.6431732Z [590 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 1s worker ... (3 actions running) +2025-11-30T02:27:58.4013685Z [592 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 3s worker ... (3 actions, 2 running) +2025-11-30T02:27:59.4873949Z [593 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 4s worker ... (3 actions, 2 running) +2025-11-30T02:28:00.6274968Z [597 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:it_unimi_dsi_fastutil; 4s processwrapper-sandbox ... (3 actions, 2 running) +2025-11-30T02:28:01.6520481Z [601 / 2,265] KotlinCompile //blazerod/render/main/util/iterator:iterator { kt: 2, java: 0, srcjars: 0 } for k8; 0s worker ... (3 actions running) +2025-11-30T02:28:02.6446261Z [606 / 2,265] Stamping the manifest of @maven//:org_lwjgl_lwjgl_assimp_natives_windows; 0s processwrapper-sandbox ... (3 actions running) +2025-11-30T02:28:03.6488820Z [609 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 1s worker ... (3 actions running) +2025-11-30T02:28:04.6477433Z [613 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 2s worker ... (2 actions running) +2025-11-30T02:28:05.6573394Z [614 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) +2025-11-30T02:28:06.6569077Z [620 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 4s worker ... (4 actions running) +2025-11-30T02:28:07.8132391Z [626 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 5s worker ... (4 actions, 3 running) +2025-11-30T02:28:08.9142325Z [635 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 6s worker ... (4 actions, 3 running) +2025-11-30T02:28:09.9626584Z [650 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 7s worker ... (4 actions, 3 running) +2025-11-30T02:28:11.0765873Z [662 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 9s worker ... (4 actions, 3 running) +2025-11-30T02:28:12.1079183Z [668 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 10s worker ... (4 actions, 3 running) +2025-11-30T02:28:13.1404446Z [673 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 11s worker ... (4 actions, 3 running) +2025-11-30T02:28:14.2977963Z [679 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 12s worker ... (4 actions, 3 running) +2025-11-30T02:28:15.6614401Z [680 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 13s worker ... (4 actions running) +2025-11-30T02:28:16.6623746Z [688 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 14s worker ... (4 actions, 3 running) +2025-11-30T02:28:17.6628415Z [698 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 15s worker ... (4 actions running) +2025-11-30T02:28:18.6639512Z [713 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 16s worker ... (4 actions running) +2025-11-30T02:28:19.6656072Z [725 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 17s worker ... (4 actions running) +2025-11-30T02:28:20.6659645Z [759 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 18s worker ... (4 actions running) +2025-11-30T02:28:21.6678688Z [805 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 19s worker ... (4 actions running) +2025-11-30T02:28:22.6738367Z [823 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 12s worker ... (4 actions running) +2025-11-30T02:28:23.6711646Z [842 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 13s worker ... (4 actions running) +2025-11-30T02:28:24.6760676Z [845 / 2,265] Splitting resources from classes for joined_strip_client; 4s processwrapper-sandbox ... (4 actions running) +2025-11-30T02:28:25.6767052Z [863 / 2,265] KotlinCompile //blazerod/model/model-pmd:model-pmd { kt: 4, java: 0, srcjars: 0 } for k8; 2s worker ... (4 actions running) +2025-11-30T02:28:26.8468175Z [885 / 2,265] Remapping remapped_client_named - client.jar; 0s worker ... (4 actions, 3 running) +2025-11-30T02:28:27.0983558Z INFO: From Running NeoForm function bundleExtractJar to create ../+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar: +2025-11-30T02:28:27.1109610Z Task: BUNDLER_EXTRACT +2025-11-30T02:28:27.1118344Z Input: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/external/+minecraft+minecraft_1.21.8_server/file/server.jar +2025-11-30T02:28:27.1120935Z Output: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/bazel-out/k8-opt/bin/external/+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar +2025-11-30T02:28:27.1122917Z All: false +2025-11-30T02:28:27.1123494Z JarOnly: true +2025-11-30T02:28:27.1124041Z Libs: false +2025-11-30T02:28:27.1124651Z Extracted: versions/1.21.8/server-1.21.8.jar +2025-11-30T02:28:28.3841798Z [892 / 2,265] Remapping remapped_client_named - client.jar; 2s worker ... (4 actions, 3 running) +2025-11-30T02:28:29.6133473Z [899 / 2,265] Remapping remapped_client_named - client.jar; 3s worker ... (4 actions, 3 running) +2025-11-30T02:28:30.6788928Z [900 / 2,265] Remapping remapped_client_named - client.jar; 4s worker ... (4 actions running) +2025-11-30T02:28:31.6815648Z [901 / 2,265] Remapping remapped_client_named - client.jar; 5s worker ... (4 actions running) +2025-11-30T02:28:34.0024220Z [902 / 2,265] Remapping remapped_client_named - client.jar; 8s worker ... (4 actions, 3 running) +2025-11-30T02:28:35.1868044Z [904 / 2,265] Remapping remapped_client_named - client.jar; 9s worker ... (4 actions, 3 running) +2025-11-30T02:28:36.6823123Z [907 / 2,265] Remapping remapped_client_named - client.jar; 10s worker ... (4 actions running) +2025-11-30T02:28:37.6820586Z [909 / 2,265] Remapping remapped_client_named - client.jar; 11s worker ... (4 actions running) +2025-11-30T02:28:38.6878184Z [912 / 2,265] Remapping remapped_client_named - client.jar; 12s worker ... (4 actions running) +2025-11-30T02:28:39.6851163Z [915 / 2,265] Remapping remapped_client_named - client.jar; 13s worker ... (4 actions running) +2025-11-30T02:28:41.6883023Z [921 / 2,265] Remapping remapped_client_named - client.jar; 15s worker ... (4 actions running) +2025-11-30T02:28:42.6882886Z [925 / 2,265] Remapping remapped_client_named - client.jar; 16s worker ... (4 actions running) +2025-11-30T02:28:43.6922547Z [928 / 2,265] Remapping remapped_client_named - client.jar; 17s worker ... (4 actions running) +2025-11-30T02:28:44.6984225Z [933 / 2,265] Remapping remapped_client_named - client.jar; 18s worker ... (4 actions running) +2025-11-30T02:28:45.6998047Z [934 / 2,265] Remapping remapped_client_named - client.jar; 19s worker ... (4 actions running) +2025-11-30T02:28:46.6996728Z [937 / 2,265] Remapping remapped_client_named - client.jar; 20s worker ... (4 actions running) +2025-11-30T02:28:47.6991186Z [941 / 2,265] Remapping remapped_client_named - client.jar; 21s worker ... (4 actions running) +2025-11-30T02:28:48.7120896Z [946 / 2,265] Remapping remapped_client_named - client.jar; 22s worker ... (4 actions, 3 running) +2025-11-30T02:28:48.7980243Z ERROR: /home/runner/work/ArmorStand/ArmorStand/blazerod/model/model-pmx/BUILD.bazel:14:15: KotlinCompile //blazerod/model/model-pmx:model-pmx { kt: 11, java: 0, srcjars: 0 } for k8 failed: (Exit 1): build failed: error executing KotlinCompile command (from target //blazerod/model/model-pmx:model-pmx) +2025-11-30T02:28:48.7982786Z (cd /home/runner/.bazel/execroot/_main && \ +2025-11-30T02:28:48.7983520Z exec env - \ +2025-11-30T02:28:48.7989671Z LC_CTYPE=en_US.UTF-8 \ +2025-11-30T02:28:48.7990668Z REPOSITORY_NAME=rules_kotlin+ \ +2025-11-30T02:28:48.8021343Z bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/build '--wrapper_script_flag=--main_advice_classpath=external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/annotations-13.0.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk7.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk8.jar' '--flagfile=bazel-out/k8-opt/bin/blazerod/model/model-pmx/model-pmx-kt.jar-0.params') +2025-11-30T02:28:48.8025860Z # Configuration: 7829eb418bfd28df94b3e08f612b6b762cc0317abf8117066b0bd699547ce494 +2025-11-30T02:28:48.8030257Z # Execution platform: @@platforms//host:host +2025-11-30T02:28:48.8031321Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: +2025-11-30T02:28:48.8033915Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult +2025-11-30T02:28:48.8034730Z class PmxLoader : ModelFileLoader { +2025-11-30T02:28:48.8036160Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8037102Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. +2025-11-30T02:28:48.8038195Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.8038897Z ^^^^^^^^^ +2025-11-30T02:28:48.8039686Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8101244Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.8103426Z ^^^^^^^^^ +2025-11-30T02:28:48.8104810Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8114407Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.8115138Z ^ +2025-11-30T02:28:48.8115865Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. +2025-11-30T02:28:48.8116780Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.8117289Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8117949Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8118667Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.8119142Z ^^^^^^^^^ +2025-11-30T02:28:48.8120032Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8120900Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.8121315Z ^ +2025-11-30T02:28:48.8121900Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. +2025-11-30T02:28:48.8122780Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.8123167Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8123696Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8124304Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.8124690Z ^^^^^^^^^ +2025-11-30T02:28:48.8125423Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8126187Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.8126767Z ^ +2025-11-30T02:28:48.8127289Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. +2025-11-30T02:28:48.8127829Z mass = rigidBody.mass, +2025-11-30T02:28:48.8128172Z ^^^^ +2025-11-30T02:28:48.8128684Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8129242Z mass = rigidBody.mass, +2025-11-30T02:28:48.8129582Z ^^^^^^^^^ +2025-11-30T02:28:48.8130614Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8131369Z mass = rigidBody.mass, +2025-11-30T02:28:48.8131759Z ^ +2025-11-30T02:28:48.8132327Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. +2025-11-30T02:28:48.8132951Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.8133348Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8133862Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8134447Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.8134850Z ^^^^^^^^^ +2025-11-30T02:28:48.8135574Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8136807Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.8137310Z ^ +2025-11-30T02:28:48.8138008Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. +2025-11-30T02:28:48.8138786Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.8139284Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8139919Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8140666Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.8141152Z ^^^^^^^^^ +2025-11-30T02:28:48.8142067Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8143069Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.8143632Z ^ +2025-11-30T02:28:48.8144303Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. +2025-11-30T02:28:48.8145243Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.8145683Z ^^^^^^^^^ +2025-11-30T02:28:48.8146334Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8147227Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.8147677Z ^^^^^^^^^ +2025-11-30T02:28:48.8148571Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8149526Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.8149976Z ^ +2025-11-30T02:28:48.8150653Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. +2025-11-30T02:28:48.8151402Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.8151867Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8152512Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8153238Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.8153710Z ^^^^^^^^^ +2025-11-30T02:28:48.8154619Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8155588Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.8156071Z ^ +2025-11-30T02:28:48.8156909Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. +2025-11-30T02:28:48.8157659Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.8158147Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8158913Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. +2025-11-30T02:28:48.8159760Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.8160236Z ^^^^ +2025-11-30T02:28:48.8160886Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.8161816Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.8162306Z ^^^^^^^^^ +2025-11-30T02:28:48.8163231Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8164132Z }, +2025-11-30T02:28:48.8164510Z ^ +2025-11-30T02:28:48.8165137Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. +2025-11-30T02:28:48.8165802Z ) +2025-11-30T02:28:48.8166150Z ^ +2025-11-30T02:28:48.8167157Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8168149Z }, +2025-11-30T02:28:48.8168591Z ^ +2025-11-30T02:28:48.8169282Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. +2025-11-30T02:28:48.8169946Z ) +2025-11-30T02:28:48.8170279Z ^ +2025-11-30T02:28:48.8170950Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. +2025-11-30T02:28:48.8256221Z ) +2025-11-30T02:28:48.8257388Z ^ +2025-11-30T02:28:48.8257959Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. +2025-11-30T02:28:48.8258611Z } +2025-11-30T02:28:48.8258920Z ^ +2025-11-30T02:28:48.8259469Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. +2025-11-30T02:28:48.8260061Z } +2025-11-30T02:28:48.8260342Z ^ +2025-11-30T02:28:48.8260982Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8261736Z return Node( +2025-11-30T02:28:48.8262093Z ^^^^^^ +2025-11-30T02:28:48.8262752Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8263499Z return Node( +2025-11-30T02:28:48.8263840Z ^^^^ +2025-11-30T02:28:48.8264508Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8265260Z return Node( +2025-11-30T02:28:48.8265618Z ^ +2025-11-30T02:28:48.8266275Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8267359Z name = bone.nameLocal, +2025-11-30T02:28:48.8267782Z ^^^^ +2025-11-30T02:28:48.8268460Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8269243Z name = bone.nameLocal, +2025-11-30T02:28:48.8269648Z ^ +2025-11-30T02:28:48.8270314Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8271069Z name = bone.nameLocal, +2025-11-30T02:28:48.8271483Z ^^^^ +2025-11-30T02:28:48.8272172Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8272942Z name = bone.nameLocal, +2025-11-30T02:28:48.8273350Z ^ +2025-11-30T02:28:48.8274044Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8274815Z name = bone.nameLocal, +2025-11-30T02:28:48.8275220Z ^^^^^^^^^ +2025-11-30T02:28:48.8275929Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8277194Z name = bone.nameLocal, +2025-11-30T02:28:48.8277618Z ^ +2025-11-30T02:28:48.8278338Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8279094Z id = boneNodeId, +2025-11-30T02:28:48.8279486Z ^^ +2025-11-30T02:28:48.8280142Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8280920Z id = boneNodeId, +2025-11-30T02:28:48.8281316Z ^ +2025-11-30T02:28:48.8282013Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8282777Z id = boneNodeId, +2025-11-30T02:28:48.8283156Z ^^^^^^^^^^ +2025-11-30T02:28:48.8283887Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8284654Z id = boneNodeId, +2025-11-30T02:28:48.8285052Z ^ +2025-11-30T02:28:48.8285766Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8286953Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8287480Z ^^^^^^^^^ +2025-11-30T02:28:48.8288446Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8289237Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8290063Z ^ +2025-11-30T02:28:48.8290705Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8291404Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8291801Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8292458Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8293148Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8293544Z ^ +2025-11-30T02:28:48.8294181Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8294880Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8295307Z ^^^^^^^^^^ +2025-11-30T02:28:48.8295982Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8296900Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.8297297Z ^ +2025-11-30T02:28:48.8297942Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8298672Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8299098Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8299694Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8300400Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8300822Z ^ +2025-11-30T02:28:48.8301431Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8302143Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8302567Z ^^^^^^^^ +2025-11-30T02:28:48.8303192Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8303891Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8304543Z ^ +2025-11-30T02:28:48.8305182Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8305937Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8306616Z ^ +2025-11-30T02:28:48.8307292Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8308063Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8308520Z ^ +2025-11-30T02:28:48.8309197Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8309958Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8310407Z ^^^ +2025-11-30T02:28:48.8311198Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8311950Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8312403Z ^ +2025-11-30T02:28:48.8313081Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8313834Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8314497Z ^^^^ +2025-11-30T02:28:48.8315180Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8315930Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8316541Z ^ +2025-11-30T02:28:48.8317198Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8317924Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8318381Z ^^^^^^^^ +2025-11-30T02:28:48.8319040Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8319760Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8320206Z ^ +2025-11-30T02:28:48.8320866Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8321586Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8322026Z ^ +2025-11-30T02:28:48.8322681Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8323399Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8323852Z ^^^^ +2025-11-30T02:28:48.8324503Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8325219Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8325667Z ^ +2025-11-30T02:28:48.8326306Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. +2025-11-30T02:28:48.8327188Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.8327700Z ^ +2025-11-30T02:28:48.8328444Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. +2025-11-30T02:28:48.8329166Z if (parentPosition != null) { +2025-11-30T02:28:48.8329831Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8330470Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. +2025-11-30T02:28:48.8331155Z it.sub(parentPosition) +2025-11-30T02:28:48.8331599Z ^^^ +2025-11-30T02:28:48.8332279Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. +2025-11-30T02:28:48.8333052Z it.sub(parentPosition) +2025-11-30T02:28:48.8333498Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8334245Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8334977Z }, +2025-11-30T02:28:48.8335308Z ^ +2025-11-30T02:28:48.8335983Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8336941Z rotation = Quaternionf(), +2025-11-30T02:28:48.8337367Z ^^^^^^^^ +2025-11-30T02:28:48.8338051Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8338835Z rotation = Quaternionf(), +2025-11-30T02:28:48.8339267Z ^ +2025-11-30T02:28:48.8339954Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8340997Z rotation = Quaternionf(), +2025-11-30T02:28:48.8341430Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8342149Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8342910Z rotation = Quaternionf(), +2025-11-30T02:28:48.8343343Z ^ +2025-11-30T02:28:48.8344066Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8344834Z rotation = Quaternionf(), +2025-11-30T02:28:48.8345223Z ^ +2025-11-30T02:28:48.8345922Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8346917Z rotation = Quaternionf(), +2025-11-30T02:28:48.8347340Z ^ +2025-11-30T02:28:48.8348050Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8348942Z scale = Vector3f(1f), +2025-11-30T02:28:48.8349346Z ^^^^^ +2025-11-30T02:28:48.8350016Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8350769Z scale = Vector3f(1f), +2025-11-30T02:28:48.8351188Z ^ +2025-11-30T02:28:48.8351865Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8352618Z scale = Vector3f(1f), +2025-11-30T02:28:48.8353029Z ^^^^^^^^ +2025-11-30T02:28:48.8353733Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8354469Z scale = Vector3f(1f), +2025-11-30T02:28:48.8354882Z ^ +2025-11-30T02:28:48.8355601Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8356962Z scale = Vector3f(1f), +2025-11-30T02:28:48.8357349Z ^^ +2025-11-30T02:28:48.8357997Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8358666Z scale = Vector3f(1f), +2025-11-30T02:28:48.8359259Z ^ +2025-11-30T02:28:48.8359887Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8360553Z scale = Vector3f(1f), +2025-11-30T02:28:48.8360902Z ^ +2025-11-30T02:28:48.8361536Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8362179Z ), +2025-11-30T02:28:48.8362435Z ^ +2025-11-30T02:28:48.8362996Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8363620Z ), +2025-11-30T02:28:48.8363884Z ^ +2025-11-30T02:28:48.8364441Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8365090Z children = children, +2025-11-30T02:28:48.8365435Z ^^^^^^^^ +2025-11-30T02:28:48.8366026Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8366907Z children = children, +2025-11-30T02:28:48.8367251Z ^ +2025-11-30T02:28:48.8367838Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8368474Z children = children, +2025-11-30T02:28:48.8368994Z ^^^^^^^^ +2025-11-30T02:28:48.8369609Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8370255Z children = children, +2025-11-30T02:28:48.8370599Z ^ +2025-11-30T02:28:48.8371207Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8371879Z components = components, +2025-11-30T02:28:48.8372240Z ^^^^^^^^^^ +2025-11-30T02:28:48.8372844Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8373516Z components = components, +2025-11-30T02:28:48.8373876Z ^ +2025-11-30T02:28:48.8374478Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8375159Z components = components, +2025-11-30T02:28:48.8375527Z ^^^^^^^^^^ +2025-11-30T02:28:48.8376160Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8376972Z components = components, +2025-11-30T02:28:48.8377337Z ^ +2025-11-30T02:28:48.8377968Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8378603Z ) +2025-11-30T02:28:48.8378857Z ^ +2025-11-30T02:28:48.8379408Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8380074Z rootBones.forEach { index -> +2025-11-30T02:28:48.8380432Z ^^^^^^^^^ +2025-11-30T02:28:48.8380994Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8381673Z rootBones.forEach { index -> +2025-11-30T02:28:48.8382020Z ^ +2025-11-30T02:28:48.8382582Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8383250Z rootBones.forEach { index -> +2025-11-30T02:28:48.8383603Z ^^^^^^^ +2025-11-30T02:28:48.8384206Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8384862Z rootBones.forEach { index -> +2025-11-30T02:28:48.8385383Z ^ +2025-11-30T02:28:48.8386515Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. +2025-11-30T02:28:48.8387260Z rootBones.forEach { index -> +2025-11-30T02:28:48.8387660Z ^^^^^^^^^^ +2025-11-30T02:28:48.8388302Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. +2025-11-30T02:28:48.8389015Z rootBones.forEach { index -> +2025-11-30T02:28:48.8389414Z ^^^^^ +2025-11-30T02:28:48.8390691Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8391692Z rootBones.forEach { index -> +2025-11-30T02:28:48.8392118Z ^^ +2025-11-30T02:28:48.8392795Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.8393535Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.8393960Z ^^^^^^^^^ +2025-11-30T02:28:48.8394557Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. +2025-11-30T02:28:48.8395270Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.8395711Z ^^^^^^^ +2025-11-30T02:28:48.8396569Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. +2025-11-30T02:28:48.8397568Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.8398007Z ^^^^^ +2025-11-30T02:28:48.8398632Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. +2025-11-30T02:28:48.8399359Z var nextNodeIndex = bones.size +2025-11-30T02:28:48.8399776Z ^^^^^ +2025-11-30T02:28:48.8400469Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8401244Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8401648Z ^^^ +2025-11-30T02:28:48.8402256Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8403001Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8403406Z ^ +2025-11-30T02:28:48.8404011Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8404764Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8405174Z ^^^^^^^^^ +2025-11-30T02:28:48.8405814Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8406765Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8407193Z ^^^^^ +2025-11-30T02:28:48.8407879Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8408608Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8409028Z ^ +2025-11-30T02:28:48.8409711Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8410464Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8410879Z ^^^^^^^ +2025-11-30T02:28:48.8411562Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8412308Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8412725Z ^ +2025-11-30T02:28:48.8413421Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8414158Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8414557Z ^ +2025-11-30T02:28:48.8415215Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. +2025-11-30T02:28:48.8416215Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.8416833Z ^ +2025-11-30T02:28:48.8417485Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. +2025-11-30T02:28:48.8418157Z val bone = bones[boneIndex] +2025-11-30T02:28:48.8418532Z ^^^^^ +2025-11-30T02:28:48.8419124Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. +2025-11-30T02:28:48.8436178Z val bone = bones[boneIndex] +2025-11-30T02:28:48.8436788Z ^^^^^^^^^ +2025-11-30T02:28:48.8437398Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8438039Z val nodeId = NodeId(modelId, boneIndex) +2025-11-30T02:28:48.8438430Z ^^^^^^^ +2025-11-30T02:28:48.8439017Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. +2025-11-30T02:28:48.8439664Z val nodeId = NodeId(modelId, boneIndex) +2025-11-30T02:28:48.8440064Z ^^^^^^^^^ +2025-11-30T02:28:48.8440663Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. +2025-11-30T02:28:48.8441490Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() +2025-11-30T02:28:48.8442305Z ^^^^^^^^ +2025-11-30T02:28:48.8442931Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. +2025-11-30T02:28:48.8443611Z HumanoidTag.fromPmxJapanese(bone.nameLocal) +2025-11-30T02:28:48.8444047Z ^^^^^^^^^ +2025-11-30T02:28:48.8444680Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. +2025-11-30T02:28:48.8445401Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) +2025-11-30T02:28:48.8445867Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8446681Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. +2025-11-30T02:28:48.8447672Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() +2025-11-30T02:28:48.8448387Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8449066Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8449835Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8450290Z ^^^ +2025-11-30T02:28:48.8450864Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8451620Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8452059Z ^ +2025-11-30T02:28:48.8452612Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8453363Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8453810Z ^ +2025-11-30T02:28:48.8454340Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8455103Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8455577Z ^^^^^^^^^^ +2025-11-30T02:28:48.8456166Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8457776Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8484737Z ^ +2025-11-30T02:28:48.8485521Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8486852Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8487428Z ^^^^^^^^^ +2025-11-30T02:28:48.8488116Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8488943Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8489457Z ^ +2025-11-30T02:28:48.8490158Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8490994Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8491516Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8492248Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8493080Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8493599Z ^ +2025-11-30T02:28:48.8494350Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8495216Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8495764Z ^^^^^^^^^ +2025-11-30T02:28:48.8496947Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8497740Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8498235Z ^ +2025-11-30T02:28:48.8498892Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8499656Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8500136Z ^ +2025-11-30T02:28:48.8500788Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8501531Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8502008Z ^ +2025-11-30T02:28:48.8502662Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8503407Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8503878Z ^ +2025-11-30T02:28:48.8504508Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. +2025-11-30T02:28:48.8505238Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8505729Z ^ +2025-11-30T02:28:48.8506336Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. +2025-11-30T02:28:48.8512698Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) +2025-11-30T02:28:48.8552826Z ^^^^^^^^^^ +2025-11-30T02:28:48.8553808Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList +2025-11-30T02:28:48.8555180Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) +2025-11-30T02:28:48.8556076Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8557006Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. +2025-11-30T02:28:48.8557991Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.8558477Z ^^^^^^^^^ +2025-11-30T02:28:48.8559286Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.8560120Z fun Array.component1(): T +2025-11-30T02:28:48.8560535Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.8560933Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.8561350Z fun IntArray.component1(): Int +2025-11-30T02:28:48.8561739Z fun LongArray.component1(): Long +2025-11-30T02:28:48.8562110Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.8562550Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.8562943Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.8563336Z fun CharArray.component1(): Char +2025-11-30T02:28:48.8563696Z fun List.component1(): T +2025-11-30T02:28:48.8564080Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.8564515Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.8564923Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.8565326Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.8565738Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.8566207Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.8566975Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8567782Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.8568804Z fun Array.component2(): T +2025-11-30T02:28:48.8569207Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.8569587Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.8569966Z fun IntArray.component2(): Int +2025-11-30T02:28:48.8570319Z fun LongArray.component2(): Long +2025-11-30T02:28:48.8570702Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.8571098Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.8571518Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.8571934Z fun CharArray.component2(): Char +2025-11-30T02:28:48.8572299Z fun List.component2(): T +2025-11-30T02:28:48.8572675Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.8573087Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.8573463Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.8573837Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.8574234Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.8574678Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.8575145Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8576012Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.8577060Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.8577510Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.8577996Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.8578674Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.8579303Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.8579786Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.8580318Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.8580753Z ^^^^ +2025-11-30T02:28:48.8581440Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. +2025-11-30T02:28:48.8582423Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) +2025-11-30T02:28:48.8583115Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8583816Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8584826Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8585339Z ^^^^^^^^^ +2025-11-30T02:28:48.8585944Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8587391Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8587882Z ^ +2025-11-30T02:28:48.8588474Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8589311Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8589823Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8590481Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8591301Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8591812Z ^ +2025-11-30T02:28:48.8592445Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. +2025-11-30T02:28:48.8593253Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8593757Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8594435Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.8595236Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8595922Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8596986Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8598048Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.8598610Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8599300Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. +2025-11-30T02:28:48.8600003Z val nodeIndex = nextNodeIndex++ +2025-11-30T02:28:48.8600446Z ^^ +2025-11-30T02:28:48.8601101Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8601812Z val nodeId = NodeId(modelId, nodeIndex) +2025-11-30T02:28:48.8602226Z ^^^^^^^ +2025-11-30T02:28:48.8602862Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8603536Z val meshId = MeshId(modelId, nodeIndex) +2025-11-30T02:28:48.8603938Z ^^^^^^^ +2025-11-30T02:28:48.8604586Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.8605308Z materialToMeshIds[materialIndex] = meshId +2025-11-30T02:28:48.8605742Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8607226Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.8608107Z val pmxMaterial = materialData?.material ?: return@forEachIndexed +2025-11-30T02:28:48.8608695Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8609309Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. +2025-11-30T02:28:48.8610080Z val pmxMaterial = materialData?.material ?: return@forEachIndexed +2025-11-30T02:28:48.8610691Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8611566Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8612544Z baseColorTexture = pmxMaterial.textureIndex.takeIf { +2025-11-30T02:28:48.8613128Z ^^^^^^ +2025-11-30T02:28:48.8614215Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8615143Z baseColorTexture = pmxMaterial.textureIndex.takeIf { +2025-11-30T02:28:48.8615675Z ^ +2025-11-30T02:28:48.8616842Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. +2025-11-30T02:28:48.8617805Z it >= 0 && it in textures.indices +2025-11-30T02:28:48.8618197Z ^^ +2025-11-30T02:28:48.8618788Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. +2025-11-30T02:28:48.8619480Z it >= 0 && it in textures.indices +2025-11-30T02:28:48.8619910Z ^^^^^^^^ +2025-11-30T02:28:48.8620734Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8621559Z }?.let { +2025-11-30T02:28:48.8621891Z ^^^ +2025-11-30T02:28:48.8622570Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. +2025-11-30T02:28:48.8623326Z }?.let { +2025-11-30T02:28:48.8623648Z ^^^ +2025-11-30T02:28:48.8624298Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. +2025-11-30T02:28:48.8625212Z }?.let { +2025-11-30T02:28:48.8625511Z ^^^ +2025-11-30T02:28:48.8626226Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8627200Z }?.let { +2025-11-30T02:28:48.8627525Z ^ +2025-11-30T02:28:48.8628137Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. +2025-11-30T02:28:48.8628834Z textures.getOrNull(it) +2025-11-30T02:28:48.8629253Z ^^^^^^^^ +2025-11-30T02:28:48.8630030Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8630838Z }?.let { +2025-11-30T02:28:48.8631154Z ^^^ +2025-11-30T02:28:48.8631870Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. +2025-11-30T02:28:48.8632640Z }?.let { +2025-11-30T02:28:48.8632967Z ^^^ +2025-11-30T02:28:48.8633707Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8634523Z }?.let { +2025-11-30T02:28:48.8634870Z ^ +2025-11-30T02:28:48.8635489Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.8636177Z rootNodes.add( +2025-11-30T02:28:48.8636730Z ^^^^^^^^^ +2025-11-30T02:28:48.8637390Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.8638214Z attributes = materialData.vertexAttributes, +2025-11-30T02:28:48.8638738Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8639465Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.8640245Z bufferView = materialData.indexBufferView, +2025-11-30T02:28:48.8640773Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8641526Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. +2025-11-30T02:28:48.8642308Z componentType = indexBufferType, +2025-11-30T02:28:48.8643018Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8643755Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.8644619Z targets = materialMorphMap[materialIndex] ?: listOf(), +2025-11-30T02:28:48.8645201Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8645917Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. +2025-11-30T02:28:48.8646822Z val cameraNodeIndex = nextNodeIndex++ +2025-11-30T02:28:48.8647278Z ^^ +2025-11-30T02:28:48.8648018Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8648774Z rootNodes.add( +2025-11-30T02:28:48.8649123Z ^^^^^^^^^ +2025-11-30T02:28:48.8649776Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8650533Z rootNodes.add( +2025-11-30T02:28:48.8650884Z ^ +2025-11-30T02:28:48.8651524Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8652286Z rootNodes.add( +2025-11-30T02:28:48.8652632Z ^^^ +2025-11-30T02:28:48.8653303Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8654308Z rootNodes.add( +2025-11-30T02:28:48.8654645Z ^ +2025-11-30T02:28:48.8655286Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8655980Z Node( +2025-11-30T02:28:48.8656251Z ^^^^ +2025-11-30T02:28:48.8657051Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8657764Z Node( +2025-11-30T02:28:48.8658062Z ^ +2025-11-30T02:28:48.8658677Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8659437Z name = "MMD Camera", +2025-11-30T02:28:48.8659847Z ^^^^ +2025-11-30T02:28:48.8660502Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8661261Z name = "MMD Camera", +2025-11-30T02:28:48.8661646Z ^ +2025-11-30T02:28:48.8662297Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8663016Z name = "MMD Camera", +2025-11-30T02:28:48.8663398Z ^ +2025-11-30T02:28:48.8664052Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8664762Z name = "MMD Camera", +2025-11-30T02:28:48.8665166Z ^^^^^^^^^^ +2025-11-30T02:28:48.8665877Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8666808Z name = "MMD Camera", +2025-11-30T02:28:48.8667192Z ^ +2025-11-30T02:28:48.8667883Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8668595Z name = "MMD Camera", +2025-11-30T02:28:48.8668964Z ^ +2025-11-30T02:28:48.8669663Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8670391Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8670786Z ^^ +2025-11-30T02:28:48.8671354Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8672271Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8672677Z ^ +2025-11-30T02:28:48.8673303Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8674049Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8674462Z ^^^^^^ +2025-11-30T02:28:48.8675116Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8675879Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8676331Z ^ +2025-11-30T02:28:48.8677200Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8677967Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8678407Z ^^^^^^^ +2025-11-30T02:28:48.8679119Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8679899Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8680334Z ^ +2025-11-30T02:28:48.8681048Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8681814Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8682495Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8683209Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8683980Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8684436Z ^ +2025-11-30T02:28:48.8685137Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8685938Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.8686580Z ^ +2025-11-30T02:28:48.8687408Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8688189Z components = listOf( +2025-11-30T02:28:48.8688580Z ^^^^^^^^^^ +2025-11-30T02:28:48.8689243Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8689952Z components = listOf( +2025-11-30T02:28:48.8690320Z ^ +2025-11-30T02:28:48.8690994Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8691716Z components = listOf( +2025-11-30T02:28:48.8692087Z ^^^^^^ +2025-11-30T02:28:48.8692751Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8693469Z components = listOf( +2025-11-30T02:28:48.8693861Z ^ +2025-11-30T02:28:48.8694587Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8695381Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.8695853Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8696767Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8697581Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.8698025Z ^ +2025-11-30T02:28:48.8698703Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8699494Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.8699942Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8700937Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8701730Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.8702174Z ^ +2025-11-30T02:28:48.8702899Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8703657Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8704101Z ^^^^^^ +2025-11-30T02:28:48.8704788Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8705555Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8705985Z ^ +2025-11-30T02:28:48.8706891Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8707671Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8708088Z ^^^ +2025-11-30T02:28:48.8708786Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8709541Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8709968Z ^ +2025-11-30T02:28:48.8710618Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8711619Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8712061Z ^^^^ +2025-11-30T02:28:48.8712788Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8713562Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8713997Z ^ +2025-11-30T02:28:48.8714732Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8715495Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8715952Z ^ +2025-11-30T02:28:48.8716857Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8717639Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8718115Z ^^^^^^^^^^ +2025-11-30T02:28:48.8718844Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8719612Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8720058Z ^ +2025-11-30T02:28:48.8720775Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8721539Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.8721973Z ^ +2025-11-30T02:28:48.8722692Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8723416Z ) +2025-11-30T02:28:48.8723740Z ^ +2025-11-30T02:28:48.8724375Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8725445Z ) +2025-11-30T02:28:48.8725757Z ^ +2025-11-30T02:28:48.8726537Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8727260Z ) +2025-11-30T02:28:48.8727518Z ^ +2025-11-30T02:28:48.8728091Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8728786Z ) +2025-11-30T02:28:48.8729305Z ^ +2025-11-30T02:28:48.8729861Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.8730597Z val scene = Scene(nodes = rootNodes) +2025-11-30T02:28:48.8731042Z ^^^^^^^^^ +2025-11-30T02:28:48.8731753Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8732508Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8732934Z ^^^^^^ +2025-11-30T02:28:48.8733564Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8734332Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8734757Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8735427Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8736154Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8736783Z ^ +2025-11-30T02:28:48.8737406Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8738170Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8738608Z ^^^^^^^^^^ +2025-11-30T02:28:48.8739327Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8740395Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.8740834Z ^ +2025-11-30T02:28:48.8741472Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8742169Z metadata = Metadata( +2025-11-30T02:28:48.8742543Z ^^^^^^^^ +2025-11-30T02:28:48.8743194Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8743950Z metadata = Metadata( +2025-11-30T02:28:48.8744334Z ^ +2025-11-30T02:28:48.8744978Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8745714Z metadata = Metadata( +2025-11-30T02:28:48.8746072Z ^^^^^^^^ +2025-11-30T02:28:48.8746910Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8747650Z metadata = Metadata( +2025-11-30T02:28:48.8748033Z ^ +2025-11-30T02:28:48.8748712Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8749509Z title = header.modelNameLocal, +2025-11-30T02:28:48.8749979Z ^^^^^ +2025-11-30T02:28:48.8764220Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8765022Z title = header.modelNameLocal, +2025-11-30T02:28:48.8765402Z ^ +2025-11-30T02:28:48.8766038Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8767022Z title = header.modelNameLocal, +2025-11-30T02:28:48.8767481Z ^^^^^^ +2025-11-30T02:28:48.8768137Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8768890Z title = header.modelNameLocal, +2025-11-30T02:28:48.8769318Z ^ +2025-11-30T02:28:48.8769994Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8770751Z title = header.modelNameLocal, +2025-11-30T02:28:48.8771201Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8771957Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8772972Z title = header.modelNameLocal, +2025-11-30T02:28:48.8773422Z ^ +2025-11-30T02:28:48.8774166Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8774972Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8775430Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8776107Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8777119Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8777604Z ^ +2025-11-30T02:28:48.8778292Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8779085Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8779577Z ^^^^^^ +2025-11-30T02:28:48.8780287Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8781062Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8781528Z ^ +2025-11-30T02:28:48.8782232Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8783042Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8783768Z ^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8784483Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8785241Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.8785690Z ^ +2025-11-30T02:28:48.8786600Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8787403Z comment = header.commentLocal, +2025-11-30T02:28:48.8787819Z ^^^^^^^ +2025-11-30T02:28:48.8788483Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8789236Z comment = header.commentLocal, +2025-11-30T02:28:48.8789670Z ^ +2025-11-30T02:28:48.8790351Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8791091Z comment = header.commentLocal, +2025-11-30T02:28:48.8791499Z ^^^^^^ +2025-11-30T02:28:48.8792180Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8792946Z comment = header.commentLocal, +2025-11-30T02:28:48.8793361Z ^ +2025-11-30T02:28:48.8794062Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8794833Z comment = header.commentLocal, +2025-11-30T02:28:48.8795288Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8795989Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8796935Z comment = header.commentLocal, +2025-11-30T02:28:48.8797372Z ^ +2025-11-30T02:28:48.8798074Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8798876Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8799349Z ^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8800056Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8800844Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8801580Z ^ +2025-11-30T02:28:48.8802308Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8803162Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8803656Z ^^^^^^ +2025-11-30T02:28:48.8804350Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8805141Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8805600Z ^ +2025-11-30T02:28:48.8806305Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8807330Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8807813Z ^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8808580Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8809349Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.8809839Z ^ +2025-11-30T02:28:48.8810579Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8811273Z ), +2025-11-30T02:28:48.8811846Z ^ +2025-11-30T02:28:48.8812490Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8813220Z ), +2025-11-30T02:28:48.8813509Z ^ +2025-11-30T02:28:48.8814127Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8814855Z model = Model( +2025-11-30T02:28:48.8815226Z ^^^^^ +2025-11-30T02:28:48.8815887Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8816830Z model = Model( +2025-11-30T02:28:48.8817206Z ^ +2025-11-30T02:28:48.8817849Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8818619Z model = Model( +2025-11-30T02:28:48.8819000Z ^^^^^ +2025-11-30T02:28:48.8819694Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8820425Z model = Model( +2025-11-30T02:28:48.8820771Z ^ +2025-11-30T02:28:48.8821433Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8822204Z scenes = listOf(scene), +2025-11-30T02:28:48.8822637Z ^^^^^^ +2025-11-30T02:28:48.8823306Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8824093Z scenes = listOf(scene), +2025-11-30T02:28:48.8824489Z ^ +2025-11-30T02:28:48.8825156Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8826313Z scenes = listOf(scene), +2025-11-30T02:28:48.8826925Z ^^^^^^ +2025-11-30T02:28:48.8827645Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8828374Z scenes = listOf(scene), +2025-11-30T02:28:48.8828786Z ^ +2025-11-30T02:28:48.8829461Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8830188Z scenes = listOf(scene), +2025-11-30T02:28:48.8830575Z ^^^^^ +2025-11-30T02:28:48.8831510Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8832238Z scenes = listOf(scene), +2025-11-30T02:28:48.8832623Z ^ +2025-11-30T02:28:48.8833320Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8834052Z scenes = listOf(scene), +2025-11-30T02:28:48.8834452Z ^ +2025-11-30T02:28:48.8835154Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8835863Z skins = listOf(skin), +2025-11-30T02:28:48.8836245Z ^^^^^ +2025-11-30T02:28:48.8837109Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8837832Z skins = listOf(skin), +2025-11-30T02:28:48.8838216Z ^ +2025-11-30T02:28:48.8838862Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8839582Z skins = listOf(skin), +2025-11-30T02:28:48.8839967Z ^^^^^^ +2025-11-30T02:28:48.8840645Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8841355Z skins = listOf(skin), +2025-11-30T02:28:48.8841730Z ^ +2025-11-30T02:28:48.8842596Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8843267Z skins = listOf(skin), +2025-11-30T02:28:48.8843607Z ^^^^ +2025-11-30T02:28:48.8844248Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8844981Z skins = listOf(skin), +2025-11-30T02:28:48.8845367Z ^ +2025-11-30T02:28:48.8846072Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8846999Z skins = listOf(skin), +2025-11-30T02:28:48.8847396Z ^ +2025-11-30T02:28:48.8848080Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8848883Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8849371Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8850033Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8850848Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8851340Z ^ +2025-11-30T02:28:48.8852030Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8852852Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8853334Z ^^^^ +2025-11-30T02:28:48.8854025Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8854860Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8855342Z ^ +2025-11-30T02:28:48.8856015Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8857012Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8857512Z ^^^^^^ +2025-11-30T02:28:48.8858225Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8859058Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8859777Z ^ +2025-11-30T02:28:48.8860510Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8861324Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8861860Z ^^^^^^^^^^ +2025-11-30T02:28:48.8862587Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8863424Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8863936Z ^ +2025-11-30T02:28:48.8864637Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. +2025-11-30T02:28:48.8865453Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8865958Z ^^^^^^^^^^ +2025-11-30T02:28:48.8866846Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8867734Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8868249Z ^^^^^ +2025-11-30T02:28:48.8869195Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.8870224Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.8871024Z ^^ +2025-11-30T02:28:48.8871676Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8872449Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.8872969Z ^^^^^ +2025-11-30T02:28:48.8873660Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. +2025-11-30T02:28:48.8874486Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.8874995Z ^^^ +2025-11-30T02:28:48.8875657Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. +2025-11-30T02:28:48.8876623Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.8877150Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8877771Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. +2025-11-30T02:28:48.8878357Z return@mapNotNull null +2025-11-30T02:28:48.8878768Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8879409Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8880190Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.8880679Z ^^^^^ +2025-11-30T02:28:48.8881376Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. +2025-11-30T02:28:48.8882226Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.8882744Z ^^^ +2025-11-30T02:28:48.8883436Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. +2025-11-30T02:28:48.8884243Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.8884779Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8885391Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. +2025-11-30T02:28:48.8886005Z return@mapNotNull null +2025-11-30T02:28:48.8886636Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8887362Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8888486Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.8888975Z ^^^^^ +2025-11-30T02:28:48.8889954Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. +2025-11-30T02:28:48.8891040Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.8891593Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8892482Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8893504Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.8894042Z ^^^^^^ +2025-11-30T02:28:48.8895145Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: +2025-11-30T02:28:48.8896294Z fun CharSequence.isNotBlank(): Boolean +2025-11-30T02:28:48.8897052Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.8897591Z ^^^^^^^^^^ +2025-11-30T02:28:48.8898437Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. +2025-11-30T02:28:48.8899563Z type = when (joint.type) { +2025-11-30T02:28:48.8900003Z ^^^^ +2025-11-30T02:28:48.8901111Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. +2025-11-30T02:28:48.8902266Z type = when (joint.type) { +2025-11-30T02:28:48.8902691Z ^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8903358Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8904045Z type = when (joint.type) { +2025-11-30T02:28:48.8904476Z ^^^^^ +2025-11-30T02:28:48.8905435Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. +2025-11-30T02:28:48.8906765Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.8907346Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8908063Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8908892Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.8909486Z ^^^^^^^ +2025-11-30T02:28:48.8910194Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8911017Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.8911710Z ^^^^^ +2025-11-30T02:28:48.8912702Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. +2025-11-30T02:28:48.8913819Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.8914389Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8915095Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.8915914Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.8916647Z ^^^^^^^ +2025-11-30T02:28:48.8917542Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8918311Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.8918856Z ^^^^^ +2025-11-30T02:28:48.8919528Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8920231Z position = joint.position, +2025-11-30T02:28:48.8920665Z ^^^^^ +2025-11-30T02:28:48.8921292Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8921989Z rotation = joint.rotation, +2025-11-30T02:28:48.8922389Z ^^^^^ +2025-11-30T02:28:48.8923013Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8923718Z positionMin = joint.positionMinimum, +2025-11-30T02:28:48.8924172Z ^^^^^ +2025-11-30T02:28:48.8924821Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8925593Z positionMax = joint.positionMaximum, +2025-11-30T02:28:48.8926057Z ^^^^^ +2025-11-30T02:28:48.8926888Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8927895Z rotationMin = joint.rotationMinimum, +2025-11-30T02:28:48.8928353Z ^^^^^ +2025-11-30T02:28:48.8928999Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8929735Z rotationMax = joint.rotationMaximum, +2025-11-30T02:28:48.8930207Z ^^^^^ +2025-11-30T02:28:48.8930898Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8931647Z positionSpring = joint.positionSpring, +2025-11-30T02:28:48.8932151Z ^^^^^ +2025-11-30T02:28:48.8932822Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. +2025-11-30T02:28:48.8933589Z rotationSpring = joint.rotationSpring, +2025-11-30T02:28:48.8934086Z ^^^^^ +2025-11-30T02:28:48.8934827Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8935580Z }, +2025-11-30T02:28:48.8935889Z ^ +2025-11-30T02:28:48.8936730Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8937511Z expressions = buildList { +2025-11-30T02:28:48.8937943Z ^^^^^^^^^^^ +2025-11-30T02:28:48.8938655Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8939447Z expressions = buildList { +2025-11-30T02:28:48.8939869Z ^ +2025-11-30T02:28:48.8940553Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8941331Z expressions = buildList { +2025-11-30T02:28:48.8941760Z ^^^^^^^^^ +2025-11-30T02:28:48.8942493Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8943252Z expressions = buildList { +2025-11-30T02:28:48.8943665Z ^ +2025-11-30T02:28:48.8944358Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. +2025-11-30T02:28:48.8945086Z expressions = buildList { +2025-11-30T02:28:48.8945736Z ^ +2025-11-30T02:28:48.8946617Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. +2025-11-30T02:28:48.8947450Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8947965Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8948782Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.8949639Z fun Array.component1(): T +2025-11-30T02:28:48.8950062Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.8950480Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.8950897Z fun IntArray.component1(): Int +2025-11-30T02:28:48.8951274Z fun LongArray.component1(): Long +2025-11-30T02:28:48.8951682Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.8952108Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.8952559Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.8952703Z fun CharArray.component1(): Char +2025-11-30T02:28:48.8952835Z fun List.component1(): T +2025-11-30T02:28:48.8952991Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.8953141Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.8953286Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.8953433Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.8953591Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.8954028Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8954174Z ^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8954722Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.8954877Z fun Array.component2(): T +2025-11-30T02:28:48.8955026Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.8955174Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.8955335Z fun IntArray.component2(): Int +2025-11-30T02:28:48.8955480Z fun LongArray.component2(): Long +2025-11-30T02:28:48.8955631Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.8955788Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.8955952Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.8956104Z fun CharArray.component2(): Char +2025-11-30T02:28:48.8956234Z fun List.component2(): T +2025-11-30T02:28:48.8956572Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.8956741Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.8956890Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.8957047Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.8957201Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.8957418Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8957563Z ^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8958191Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.8958369Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.8958526Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.8958755Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.8959110Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.8959285Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.8959490Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.8959699Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.8959841Z ^^^^^^^^^ +2025-11-30T02:28:48.8960531Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. +2025-11-30T02:28:48.8960970Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.8961114Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8961518Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. +2025-11-30T02:28:48.8961739Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.8961870Z ^^^^^^^^^ +2025-11-30T02:28:48.8962328Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. +2025-11-30T02:28:48.8962541Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.8962680Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.8963046Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. +2025-11-30T02:28:48.8963194Z tag = target.tag, +2025-11-30T02:28:48.8963326Z ^^^ +2025-11-30T02:28:48.8963957Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. +2025-11-30T02:28:48.8964106Z isBinary = false, +2025-11-30T02:28:48.8964228Z ^^^^^ +2025-11-30T02:28:48.8965170Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. +2025-11-30T02:28:48.8966021Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8966212Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8967243Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. +2025-11-30T02:28:48.8967796Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8967978Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8968549Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8969101Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8969263Z ^^^^^^^^^^ +2025-11-30T02:28:48.8970092Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: +2025-11-30T02:28:48.8970385Z fun Iterable.mapNotNull(transform: (T) -> R?): List +2025-11-30T02:28:48.8970920Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8971090Z ^^^^^^^^^^ +2025-11-30T02:28:48.8971654Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8972239Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8972422Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8972981Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.8973389Z fun Array.component1(): T +2025-11-30T02:28:48.8973551Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.8973708Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.8973868Z fun IntArray.component1(): Int +2025-11-30T02:28:48.8974021Z fun LongArray.component1(): Long +2025-11-30T02:28:48.8974170Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.8974329Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.8974492Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.8974651Z fun CharArray.component1(): Char +2025-11-30T02:28:48.8974786Z fun List.component1(): T +2025-11-30T02:28:48.8974957Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.8975102Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.8975250Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.8975413Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.8975575Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.8976103Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8976299Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8977068Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.8977231Z fun Array.component2(): T +2025-11-30T02:28:48.8977383Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.8977789Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.8977938Z fun IntArray.component2(): Int +2025-11-30T02:28:48.8978084Z fun LongArray.component2(): Long +2025-11-30T02:28:48.8978240Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.8978398Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.8978564Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.8978714Z fun CharArray.component2(): Char +2025-11-30T02:28:48.8978857Z fun List.component2(): T +2025-11-30T02:28:48.8979028Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.8979175Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.8979330Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.8979484Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.8979640Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.8980157Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.8980355Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8980891Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8981018Z } ?: listOf(), +2025-11-30T02:28:48.8981138Z ^^^^^^ +2025-11-30T02:28:48.8981875Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. +2025-11-30T02:28:48.8982031Z } ?: listOf(), +2025-11-30T02:28:48.8982165Z ^^^^^^^^ +2025-11-30T02:28:48.8982530Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. +2025-11-30T02:28:48.8982766Z pmxIndexToExpressions[target.pmxIndex] = expression +2025-11-30T02:28:48.8982921Z ^^^^^^^^ +2025-11-30T02:28:48.8983279Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. +2025-11-30T02:28:48.8983415Z add(expression) +2025-11-30T02:28:48.8983541Z ^^^ +2025-11-30T02:28:48.8984151Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.8984327Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.8984774Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.8985002Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.8985319Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.8985491Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.8985706Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.8985877Z for (group in morphTargetGroups) { +2025-11-30T02:28:48.8986013Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8986672Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. +2025-11-30T02:28:48.8986859Z for (group in morphTargetGroups) { +2025-11-30T02:28:48.8986984Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.8987391Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. +2025-11-30T02:28:48.8987532Z add( +2025-11-30T02:28:48.8987637Z ^^^ +2025-11-30T02:28:48.8988173Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.8988412Z targets = group.items.mapNotNull { item -> +2025-11-30T02:28:48.8988556Z ^^^^ +2025-11-30T02:28:48.8989205Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. +2025-11-30T02:28:48.8989398Z val pmxMorphIndex = item.index +2025-11-30T02:28:48.8989544Z ^^^^^ +2025-11-30T02:28:48.8989952Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. +2025-11-30T02:28:48.8990128Z influence = item.influence, +2025-11-30T02:28:48.8990276Z ^^^^^^^^^ +2025-11-30T02:28:48.8990729Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8990853Z }, +2025-11-30T02:28:48.8990975Z ^ +2025-11-30T02:28:48.8991433Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8991582Z defaultScene = scene, +2025-11-30T02:28:48.8991719Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.8992157Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8992304Z defaultScene = scene, +2025-11-30T02:28:48.8992427Z ^ +2025-11-30T02:28:48.8992860Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8993006Z defaultScene = scene, +2025-11-30T02:28:48.8993139Z ^^^^^ +2025-11-30T02:28:48.8993592Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8993729Z defaultScene = scene, +2025-11-30T02:28:48.8993842Z ^ +2025-11-30T02:28:48.8994296Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8994410Z ), +2025-11-30T02:28:48.8994515Z ^ +2025-11-30T02:28:48.8994962Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8995066Z ), +2025-11-30T02:28:48.8995174Z ^ +2025-11-30T02:28:48.8995618Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8995763Z animations = listOf(), +2025-11-30T02:28:48.8996104Z ^^^^^^^^^^ +2025-11-30T02:28:48.8996766Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8996925Z animations = listOf(), +2025-11-30T02:28:48.8997043Z ^ +2025-11-30T02:28:48.8997502Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8997657Z animations = listOf(), +2025-11-30T02:28:48.8997785Z ^^^^^^ +2025-11-30T02:28:48.8998242Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8998389Z animations = listOf(), +2025-11-30T02:28:48.8998519Z ^ +2025-11-30T02:28:48.8998964Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8999114Z animations = listOf(), +2025-11-30T02:28:48.8999259Z ^ +2025-11-30T02:28:48.8999706Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.8999853Z animations = listOf(), +2025-11-30T02:28:48.8999976Z ^ +2025-11-30T02:28:48.9000437Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9000545Z ) +2025-11-30T02:28:48.9000894Z ^ +2025-11-30T02:28:48.9001389Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. +2025-11-30T02:28:48.9001499Z } +2025-11-30T02:28:48.9001602Z ^ +2025-11-30T02:28:48.9002170Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. +2025-11-30T02:28:48.9002379Z override fun load(path: Path, basePath: Path) = +2025-11-30T02:28:48.9002490Z ^^^^^^^^ +2025-11-30T02:28:48.9003043Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9003356Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> +2025-11-30T02:28:48.9003496Z ^^^ +2025-11-30T02:28:48.9003894Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. +2025-11-30T02:28:48.9004058Z val context = Context(basePath) +2025-11-30T02:28:48.9004186Z ^^^^^^^ +2025-11-30T02:28:48.9004669Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. +2025-11-30T02:28:48.9004786Z } +2025-11-30T02:28:48.9004888Z ^ +2025-11-30T02:28:48.9005035Z Nov 30, 2025 2:28:48 AM worker request 0 +2025-11-30T02:28:48.9005234Z SEVERE: Compilation failure: compile phase failed: +2025-11-30T02:28:48.9005837Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: +2025-11-30T02:28:48.9006146Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult +2025-11-30T02:28:48.9006307Z class PmxLoader : ModelFileLoader { +2025-11-30T02:28:48.9006624Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9007040Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. +2025-11-30T02:28:48.9007234Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.9007372Z ^^^^^^^^^ +2025-11-30T02:28:48.9007789Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9007979Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.9008122Z ^^^^^^^^^ +2025-11-30T02:28:48.9008791Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9009244Z shapeSize = rigidBody.shapeSize, +2025-11-30T02:28:48.9009396Z ^ +2025-11-30T02:28:48.9009844Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. +2025-11-30T02:28:48.9010061Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.9010198Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9010629Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9010837Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.9010987Z ^^^^^^^^^ +2025-11-30T02:28:48.9011663Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9011879Z shapePosition = rigidBody.shapePosition, +2025-11-30T02:28:48.9012026Z ^ +2025-11-30T02:28:48.9012454Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. +2025-11-30T02:28:48.9012652Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.9012780Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9013362Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9013567Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.9013707Z ^^^^^^^^^ +2025-11-30T02:28:48.9014359Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9014569Z shapeRotation = rigidBody.shapeRotation, +2025-11-30T02:28:48.9014707Z ^ +2025-11-30T02:28:48.9015085Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. +2025-11-30T02:28:48.9015252Z mass = rigidBody.mass, +2025-11-30T02:28:48.9015377Z ^^^^ +2025-11-30T02:28:48.9015777Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9015934Z mass = rigidBody.mass, +2025-11-30T02:28:48.9016062Z ^^^^^^^^^ +2025-11-30T02:28:48.9016902Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9017058Z mass = rigidBody.mass, +2025-11-30T02:28:48.9017197Z ^ +2025-11-30T02:28:48.9017619Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. +2025-11-30T02:28:48.9017837Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.9017973Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9018355Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9018579Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.9018720Z ^^^^^^^^^ +2025-11-30T02:28:48.9019354Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9019568Z moveAttenuation = rigidBody.moveAttenuation, +2025-11-30T02:28:48.9019914Z ^ +2025-11-30T02:28:48.9020367Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. +2025-11-30T02:28:48.9020594Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.9020732Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9021137Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9021364Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.9021504Z ^^^^^^^^^ +2025-11-30T02:28:48.9022170Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9022380Z rotationDamping = rigidBody.rotationDamping, +2025-11-30T02:28:48.9022532Z ^ +2025-11-30T02:28:48.9022937Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. +2025-11-30T02:28:48.9023113Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.9023233Z ^^^^^^^^^ +2025-11-30T02:28:48.9023622Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9023958Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.9024088Z ^^^^^^^^^ +2025-11-30T02:28:48.9024737Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9024917Z repulsion = rigidBody.repulsion, +2025-11-30T02:28:48.9025067Z ^ +2025-11-30T02:28:48.9025493Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. +2025-11-30T02:28:48.9025689Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.9025816Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9026211Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9026593Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.9026738Z ^^^^^^^^^ +2025-11-30T02:28:48.9027381Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9027577Z frictionForce = rigidBody.frictionForce, +2025-11-30T02:28:48.9027721Z ^ +2025-11-30T02:28:48.9028131Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. +2025-11-30T02:28:48.9028346Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.9028472Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9028980Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. +2025-11-30T02:28:48.9029205Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.9029332Z ^^^^ +2025-11-30T02:28:48.9029715Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. +2025-11-30T02:28:48.9029918Z physicsMode = when (rigidBody.physicsMode) { +2025-11-30T02:28:48.9030049Z ^^^^^^^^^ +2025-11-30T02:28:48.9030959Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9031092Z }, +2025-11-30T02:28:48.9031207Z ^ +2025-11-30T02:28:48.9031608Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. +2025-11-30T02:28:48.9031734Z ) +2025-11-30T02:28:48.9031851Z ^ +2025-11-30T02:28:48.9032502Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9032622Z }, +2025-11-30T02:28:48.9032736Z ^ +2025-11-30T02:28:48.9033157Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. +2025-11-30T02:28:48.9033321Z ) +2025-11-30T02:28:48.9033433Z ^ +2025-11-30T02:28:48.9033832Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. +2025-11-30T02:28:48.9033944Z ) +2025-11-30T02:28:48.9034053Z ^ +2025-11-30T02:28:48.9034416Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. +2025-11-30T02:28:48.9034750Z } +2025-11-30T02:28:48.9034854Z ^ +2025-11-30T02:28:48.9035216Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. +2025-11-30T02:28:48.9035324Z } +2025-11-30T02:28:48.9035429Z ^ +2025-11-30T02:28:48.9035879Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9036012Z return Node( +2025-11-30T02:28:48.9036119Z ^^^^^^ +2025-11-30T02:28:48.9036750Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9036884Z return Node( +2025-11-30T02:28:48.9036996Z ^^^^ +2025-11-30T02:28:48.9037431Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9037552Z return Node( +2025-11-30T02:28:48.9037660Z ^ +2025-11-30T02:28:48.9038092Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9038233Z name = bone.nameLocal, +2025-11-30T02:28:48.9038350Z ^^^^ +2025-11-30T02:28:48.9038797Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9038955Z name = bone.nameLocal, +2025-11-30T02:28:48.9039083Z ^ +2025-11-30T02:28:48.9039538Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9039698Z name = bone.nameLocal, +2025-11-30T02:28:48.9039816Z ^^^^ +2025-11-30T02:28:48.9040271Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9040420Z name = bone.nameLocal, +2025-11-30T02:28:48.9040541Z ^ +2025-11-30T02:28:48.9041009Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9041155Z name = bone.nameLocal, +2025-11-30T02:28:48.9041274Z ^^^^^^^^^ +2025-11-30T02:28:48.9041720Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9041861Z name = bone.nameLocal, +2025-11-30T02:28:48.9041981Z ^ +2025-11-30T02:28:48.9042679Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9042824Z id = boneNodeId, +2025-11-30T02:28:48.9042936Z ^^ +2025-11-30T02:28:48.9043380Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9043537Z id = boneNodeId, +2025-11-30T02:28:48.9043962Z ^ +2025-11-30T02:28:48.9044530Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9044724Z id = boneNodeId, +2025-11-30T02:28:48.9044898Z ^^^^^^^^^^ +2025-11-30T02:28:48.9045462Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9045623Z id = boneNodeId, +2025-11-30T02:28:48.9045888Z ^ +2025-11-30T02:28:48.9046710Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9046957Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9047124Z ^^^^^^^^^ +2025-11-30T02:28:48.9047738Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9047960Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9048224Z ^ +2025-11-30T02:28:48.9048995Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9049294Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9049470Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9049971Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9050249Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9050547Z ^ +2025-11-30T02:28:48.9051098Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9051552Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9051753Z ^^^^^^^^^^ +2025-11-30T02:28:48.9052248Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9052525Z transform = NodeTransform.Decomposed( +2025-11-30T02:28:48.9052833Z ^ +2025-11-30T02:28:48.9053361Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9053712Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9053886Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9054396Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9054696Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9055003Z ^ +2025-11-30T02:28:48.9055538Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9055812Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9056110Z ^^^^^^^^ +2025-11-30T02:28:48.9056829Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9057111Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9057437Z ^ +2025-11-30T02:28:48.9057973Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9058481Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9058715Z ^ +2025-11-30T02:28:48.9059233Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9059521Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9059853Z ^ +2025-11-30T02:28:48.9060473Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9060779Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9060970Z ^^^ +2025-11-30T02:28:48.9061565Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9061857Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9062041Z ^ +2025-11-30T02:28:48.9062800Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9063082Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9063259Z ^^^^ +2025-11-30T02:28:48.9063825Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9064324Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9064492Z ^ +2025-11-30T02:28:48.9065230Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9065512Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9065720Z ^^^^^^^^ +2025-11-30T02:28:48.9066300Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9066791Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9066973Z ^ +2025-11-30T02:28:48.9067601Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9067959Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9068141Z ^ +2025-11-30T02:28:48.9082280Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9082532Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9082679Z ^^^^ +2025-11-30T02:28:48.9083176Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9083399Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9083537Z ^ +2025-11-30T02:28:48.9083962Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. +2025-11-30T02:28:48.9084172Z translation = Vector3f().set(bone.position).also { +2025-11-30T02:28:48.9084321Z ^ +2025-11-30T02:28:48.9084758Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. +2025-11-30T02:28:48.9084930Z if (parentPosition != null) { +2025-11-30T02:28:48.9085061Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9085453Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. +2025-11-30T02:28:48.9085830Z it.sub(parentPosition) +2025-11-30T02:28:48.9085958Z ^^^ +2025-11-30T02:28:48.9086598Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. +2025-11-30T02:28:48.9086774Z it.sub(parentPosition) +2025-11-30T02:28:48.9086862Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9087134Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9087240Z }, +2025-11-30T02:28:48.9087302Z ^ +2025-11-30T02:28:48.9087562Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9087656Z rotation = Quaternionf(), +2025-11-30T02:28:48.9087723Z ^^^^^^^^ +2025-11-30T02:28:48.9087981Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9088075Z rotation = Quaternionf(), +2025-11-30T02:28:48.9088142Z ^ +2025-11-30T02:28:48.9088495Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9088591Z rotation = Quaternionf(), +2025-11-30T02:28:48.9088664Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9089077Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9089162Z rotation = Quaternionf(), +2025-11-30T02:28:48.9089235Z ^ +2025-11-30T02:28:48.9089477Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9089556Z rotation = Quaternionf(), +2025-11-30T02:28:48.9089633Z ^ +2025-11-30T02:28:48.9089872Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9089955Z rotation = Quaternionf(), +2025-11-30T02:28:48.9090028Z ^ +2025-11-30T02:28:48.9090272Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9090352Z scale = Vector3f(1f), +2025-11-30T02:28:48.9090426Z ^^^^^ +2025-11-30T02:28:48.9090664Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9090741Z scale = Vector3f(1f), +2025-11-30T02:28:48.9090807Z ^ +2025-11-30T02:28:48.9091047Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9091121Z scale = Vector3f(1f), +2025-11-30T02:28:48.9091193Z ^^^^^^^^ +2025-11-30T02:28:48.9091430Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9091503Z scale = Vector3f(1f), +2025-11-30T02:28:48.9091570Z ^ +2025-11-30T02:28:48.9091807Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9091928Z scale = Vector3f(1f), +2025-11-30T02:28:48.9092048Z ^^ +2025-11-30T02:28:48.9092480Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9092623Z scale = Vector3f(1f), +2025-11-30T02:28:48.9092741Z ^ +2025-11-30T02:28:48.9093480Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9093893Z scale = Vector3f(1f), +2025-11-30T02:28:48.9094014Z ^ +2025-11-30T02:28:48.9094452Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9094574Z ), +2025-11-30T02:28:48.9094681Z ^ +2025-11-30T02:28:48.9095099Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9095218Z ), +2025-11-30T02:28:48.9095326Z ^ +2025-11-30T02:28:48.9095696Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9095783Z children = children, +2025-11-30T02:28:48.9095857Z ^^^^^^^^ +2025-11-30T02:28:48.9096229Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9096358Z children = children, +2025-11-30T02:28:48.9096630Z ^ +2025-11-30T02:28:48.9096883Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9096959Z children = children, +2025-11-30T02:28:48.9097027Z ^^^^^^^^ +2025-11-30T02:28:48.9097265Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9097511Z children = children, +2025-11-30T02:28:48.9097576Z ^ +2025-11-30T02:28:48.9097816Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9097904Z components = components, +2025-11-30T02:28:48.9097969Z ^^^^^^^^^^ +2025-11-30T02:28:48.9098230Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9098320Z components = components, +2025-11-30T02:28:48.9098387Z ^ +2025-11-30T02:28:48.9098632Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9098720Z components = components, +2025-11-30T02:28:48.9098789Z ^^^^^^^^^^ +2025-11-30T02:28:48.9099029Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9099116Z components = components, +2025-11-30T02:28:48.9099183Z ^ +2025-11-30T02:28:48.9099425Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9099492Z ) +2025-11-30T02:28:48.9099551Z ^ +2025-11-30T02:28:48.9099795Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9099886Z rootBones.forEach { index -> +2025-11-30T02:28:48.9099952Z ^^^^^^^^^ +2025-11-30T02:28:48.9100191Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9100271Z rootBones.forEach { index -> +2025-11-30T02:28:48.9100339Z ^ +2025-11-30T02:28:48.9100574Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9100657Z rootBones.forEach { index -> +2025-11-30T02:28:48.9100726Z ^^^^^^^ +2025-11-30T02:28:48.9100963Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9101042Z rootBones.forEach { index -> +2025-11-30T02:28:48.9101107Z ^ +2025-11-30T02:28:48.9101342Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. +2025-11-30T02:28:48.9101545Z rootBones.forEach { index -> +2025-11-30T02:28:48.9101611Z ^^^^^^^^^^ +2025-11-30T02:28:48.9101828Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. +2025-11-30T02:28:48.9101908Z rootBones.forEach { index -> +2025-11-30T02:28:48.9101975Z ^^^^^ +2025-11-30T02:28:48.9102343Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9102432Z rootBones.forEach { index -> +2025-11-30T02:28:48.9102495Z ^^ +2025-11-30T02:28:48.9102716Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.9102809Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.9102872Z ^^^^^^^^^ +2025-11-30T02:28:48.9103088Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. +2025-11-30T02:28:48.9103179Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.9103245Z ^^^^^^^ +2025-11-30T02:28:48.9103449Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. +2025-11-30T02:28:48.9103536Z rootNodes.add(addBone(index)) +2025-11-30T02:28:48.9103605Z ^^^^^ +2025-11-30T02:28:48.9103806Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. +2025-11-30T02:28:48.9103971Z var nextNodeIndex = bones.size +2025-11-30T02:28:48.9104040Z ^^^^^ +2025-11-30T02:28:48.9104280Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9104367Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9104432Z ^^^ +2025-11-30T02:28:48.9104670Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9104757Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9104823Z ^ +2025-11-30T02:28:48.9105057Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9105140Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9105207Z ^^^^^^^^^ +2025-11-30T02:28:48.9105446Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9105530Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9105598Z ^^^^^ +2025-11-30T02:28:48.9105840Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9105920Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9105988Z ^ +2025-11-30T02:28:48.9106217Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9106306Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9106579Z ^^^^^^^ +2025-11-30T02:28:48.9106855Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9106948Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9107019Z ^ +2025-11-30T02:28:48.9107405Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9107547Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9107653Z ^ +2025-11-30T02:28:48.9108017Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. +2025-11-30T02:28:48.9108163Z for (boneIndex in bones.indices) { +2025-11-30T02:28:48.9108284Z ^ +2025-11-30T02:28:48.9108833Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. +2025-11-30T02:28:48.9108977Z val bone = bones[boneIndex] +2025-11-30T02:28:48.9109099Z ^^^^^ +2025-11-30T02:28:48.9109421Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. +2025-11-30T02:28:48.9109506Z val bone = bones[boneIndex] +2025-11-30T02:28:48.9109580Z ^^^^^^^^^ +2025-11-30T02:28:48.9109802Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9109899Z val nodeId = NodeId(modelId, boneIndex) +2025-11-30T02:28:48.9109970Z ^^^^^^^ +2025-11-30T02:28:48.9110182Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. +2025-11-30T02:28:48.9110270Z val nodeId = NodeId(modelId, boneIndex) +2025-11-30T02:28:48.9110349Z ^^^^^^^^^ +2025-11-30T02:28:48.9110570Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. +2025-11-30T02:28:48.9110772Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() +2025-11-30T02:28:48.9110858Z ^^^^^^^^ +2025-11-30T02:28:48.9111079Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. +2025-11-30T02:28:48.9111337Z HumanoidTag.fromPmxJapanese(bone.nameLocal) +2025-11-30T02:28:48.9111418Z ^^^^^^^^^ +2025-11-30T02:28:48.9111655Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. +2025-11-30T02:28:48.9111781Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) +2025-11-30T02:28:48.9111864Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9112117Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. +2025-11-30T02:28:48.9112371Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() +2025-11-30T02:28:48.9112461Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9112701Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9112856Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9112917Z ^^^ +2025-11-30T02:28:48.9113158Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9113298Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9113359Z ^ +2025-11-30T02:28:48.9113596Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9113735Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9113796Z ^ +2025-11-30T02:28:48.9114030Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9114166Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9114232Z ^^^^^^^^^^ +2025-11-30T02:28:48.9114469Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9114598Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9114669Z ^ +2025-11-30T02:28:48.9114905Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9115033Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9115218Z ^^^^^^^^^ +2025-11-30T02:28:48.9115453Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9115583Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9115656Z ^ +2025-11-30T02:28:48.9115890Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9116020Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9116102Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9116342Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9116718Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9116800Z ^ +2025-11-30T02:28:48.9117064Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9117209Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9117292Z ^^^^^^^^^ +2025-11-30T02:28:48.9117537Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9117671Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9117876Z ^ +2025-11-30T02:28:48.9118117Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9118254Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9118337Z ^ +2025-11-30T02:28:48.9118582Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9118718Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9118799Z ^ +2025-11-30T02:28:48.9119036Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9119173Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9119254Z ^ +2025-11-30T02:28:48.9119489Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. +2025-11-30T02:28:48.9119625Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9119699Z ^ +2025-11-30T02:28:48.9119919Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. +2025-11-30T02:28:48.9120274Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) +2025-11-30T02:28:48.9120366Z ^^^^^^^^^^ +2025-11-30T02:28:48.9120705Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList +2025-11-30T02:28:48.9121013Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) +2025-11-30T02:28:48.9121109Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9121339Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. +2025-11-30T02:28:48.9121460Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.9121539Z ^^^^^^^^^ +2025-11-30T02:28:48.9121836Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.9122047Z fun Array.component1(): T +2025-11-30T02:28:48.9122136Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.9122219Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.9122301Z fun IntArray.component1(): Int +2025-11-30T02:28:48.9122386Z fun LongArray.component1(): Long +2025-11-30T02:28:48.9122465Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.9122552Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.9122646Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.9122724Z fun CharArray.component1(): Char +2025-11-30T02:28:48.9122804Z fun List.component1(): T +2025-11-30T02:28:48.9122895Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.9122977Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.9123057Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.9123136Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.9123227Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.9123344Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.9123426Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9123727Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.9123811Z fun Array.component2(): T +2025-11-30T02:28:48.9123889Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.9124051Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.9124134Z fun IntArray.component2(): Int +2025-11-30T02:28:48.9124212Z fun LongArray.component2(): Long +2025-11-30T02:28:48.9124292Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.9124377Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.9124462Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.9124539Z fun CharArray.component2(): Char +2025-11-30T02:28:48.9124613Z fun List.component2(): T +2025-11-30T02:28:48.9124709Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.9124786Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.9124865Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.9124948Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.9125032Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.9125142Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.9125218Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9125576Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.9125676Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.9125767Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.9125894Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.9126090Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.9126185Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.9126302Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.9126593Z for ((materialIndex, target) in pmxTarget.data) { +2025-11-30T02:28:48.9126677Z ^^^^ +2025-11-30T02:28:48.9126927Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. +2025-11-30T02:28:48.9127163Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) +2025-11-30T02:28:48.9127247Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9127499Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9127655Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9127723Z ^^^^^^^^^ +2025-11-30T02:28:48.9127966Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9128242Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9128304Z ^ +2025-11-30T02:28:48.9128561Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9128708Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9128774Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9129022Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9129160Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9129233Z ^ +2025-11-30T02:28:48.9129467Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. +2025-11-30T02:28:48.9129602Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9129685Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9129918Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.9130056Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9130137Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9130506Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9130748Z materials.forEachIndexed { materialIndex, materialData -> +2025-11-30T02:28:48.9130831Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9131041Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. +2025-11-30T02:28:48.9131132Z val nodeIndex = nextNodeIndex++ +2025-11-30T02:28:48.9131200Z ^^ +2025-11-30T02:28:48.9131424Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9131519Z val nodeId = NodeId(modelId, nodeIndex) +2025-11-30T02:28:48.9131588Z ^^^^^^^ +2025-11-30T02:28:48.9131803Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9131893Z val meshId = MeshId(modelId, nodeIndex) +2025-11-30T02:28:48.9131962Z ^^^^^^^ +2025-11-30T02:28:48.9132197Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.9132300Z materialToMeshIds[materialIndex] = meshId +2025-11-30T02:28:48.9132369Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9132595Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.9132757Z val pmxMaterial = materialData?.material ?: return@forEachIndexed +2025-11-30T02:28:48.9132834Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9133008Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. +2025-11-30T02:28:48.9133167Z val pmxMaterial = materialData?.material ?: return@forEachIndexed +2025-11-30T02:28:48.9133247Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9133546Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9133696Z baseColorTexture = pmxMaterial.textureIndex.takeIf { +2025-11-30T02:28:48.9133776Z ^^^^^^ +2025-11-30T02:28:48.9134079Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9134214Z baseColorTexture = pmxMaterial.textureIndex.takeIf { +2025-11-30T02:28:48.9134373Z ^ +2025-11-30T02:28:48.9134776Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. +2025-11-30T02:28:48.9134865Z it >= 0 && it in textures.indices +2025-11-30T02:28:48.9134937Z ^^ +2025-11-30T02:28:48.9135152Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. +2025-11-30T02:28:48.9135238Z it >= 0 && it in textures.indices +2025-11-30T02:28:48.9135311Z ^^^^^^^^ +2025-11-30T02:28:48.9135609Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9135676Z }?.let { +2025-11-30T02:28:48.9135739Z ^^^ +2025-11-30T02:28:48.9136020Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. +2025-11-30T02:28:48.9136089Z }?.let { +2025-11-30T02:28:48.9136151Z ^^^ +2025-11-30T02:28:48.9136615Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. +2025-11-30T02:28:48.9136688Z }?.let { +2025-11-30T02:28:48.9136751Z ^^^ +2025-11-30T02:28:48.9137045Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9137234Z }?.let { +2025-11-30T02:28:48.9137296Z ^ +2025-11-30T02:28:48.9137511Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. +2025-11-30T02:28:48.9137606Z textures.getOrNull(it) +2025-11-30T02:28:48.9137671Z ^^^^^^^^ +2025-11-30T02:28:48.9137968Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9138043Z }?.let { +2025-11-30T02:28:48.9138108Z ^^^ +2025-11-30T02:28:48.9138380Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. +2025-11-30T02:28:48.9138444Z }?.let { +2025-11-30T02:28:48.9138510Z ^^^ +2025-11-30T02:28:48.9138797Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9138863Z }?.let { +2025-11-30T02:28:48.9138929Z ^ +2025-11-30T02:28:48.9139147Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.9139218Z rootNodes.add( +2025-11-30T02:28:48.9139284Z ^^^^^^^^^ +2025-11-30T02:28:48.9139510Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.9139631Z attributes = materialData.vertexAttributes, +2025-11-30T02:28:48.9139714Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9139940Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. +2025-11-30T02:28:48.9140061Z bufferView = materialData.indexBufferView, +2025-11-30T02:28:48.9140147Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9140387Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. +2025-11-30T02:28:48.9140492Z componentType = indexBufferType, +2025-11-30T02:28:48.9140577Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9140809Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. +2025-11-30T02:28:48.9141062Z targets = materialMorphMap[materialIndex] ?: listOf(), +2025-11-30T02:28:48.9141146Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9141359Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. +2025-11-30T02:28:48.9141451Z val cameraNodeIndex = nextNodeIndex++ +2025-11-30T02:28:48.9141524Z ^^ +2025-11-30T02:28:48.9141768Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9141842Z rootNodes.add( +2025-11-30T02:28:48.9141903Z ^^^^^^^^^ +2025-11-30T02:28:48.9142143Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9142219Z rootNodes.add( +2025-11-30T02:28:48.9142279Z ^ +2025-11-30T02:28:48.9142518Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9142593Z rootNodes.add( +2025-11-30T02:28:48.9142655Z ^^^ +2025-11-30T02:28:48.9142892Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9142958Z rootNodes.add( +2025-11-30T02:28:48.9143024Z ^ +2025-11-30T02:28:48.9143374Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9143438Z Node( +2025-11-30T02:28:48.9143503Z ^^^^ +2025-11-30T02:28:48.9143741Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9143802Z Node( +2025-11-30T02:28:48.9143865Z ^ +2025-11-30T02:28:48.9144101Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9144181Z name = "MMD Camera", +2025-11-30T02:28:48.9144244Z ^^^^ +2025-11-30T02:28:48.9144487Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9144560Z name = "MMD Camera", +2025-11-30T02:28:48.9144622Z ^ +2025-11-30T02:28:48.9144863Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9144937Z name = "MMD Camera", +2025-11-30T02:28:48.9145001Z ^ +2025-11-30T02:28:48.9145441Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9145525Z name = "MMD Camera", +2025-11-30T02:28:48.9145593Z ^^^^^^^^^^ +2025-11-30T02:28:48.9145842Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9145923Z name = "MMD Camera", +2025-11-30T02:28:48.9145990Z ^ +2025-11-30T02:28:48.9146309Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9146565Z name = "MMD Camera", +2025-11-30T02:28:48.9146673Z ^ +2025-11-30T02:28:48.9147071Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9147236Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9147329Z ^^ +2025-11-30T02:28:48.9147660Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9147758Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9147826Z ^ +2025-11-30T02:28:48.9148216Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9148309Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9148380Z ^^^^^^ +2025-11-30T02:28:48.9148615Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9148704Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9148774Z ^ +2025-11-30T02:28:48.9149015Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9149104Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9149171Z ^^^^^^^ +2025-11-30T02:28:48.9149411Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9149506Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9149576Z ^ +2025-11-30T02:28:48.9149822Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9149915Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9149992Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9150235Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9150435Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9150509Z ^ +2025-11-30T02:28:48.9150827Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9150991Z id = NodeId(modelId, cameraNodeIndex), +2025-11-30T02:28:48.9151108Z ^ +2025-11-30T02:28:48.9151544Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9151695Z components = listOf( +2025-11-30T02:28:48.9151805Z ^^^^^^^^^^ +2025-11-30T02:28:48.9152232Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9152374Z components = listOf( +2025-11-30T02:28:48.9152486Z ^ +2025-11-30T02:28:48.9152927Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9153075Z components = listOf( +2025-11-30T02:28:48.9153192Z ^^^^^^ +2025-11-30T02:28:48.9153642Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9153773Z components = listOf( +2025-11-30T02:28:48.9153893Z ^ +2025-11-30T02:28:48.9154316Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9154489Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.9154607Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9155006Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9155174Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.9155291Z ^ +2025-11-30T02:28:48.9155705Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9155876Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.9155999Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9156674Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9156845Z NodeComponent.CameraComponent( +2025-11-30T02:28:48.9157167Z ^ +2025-11-30T02:28:48.9157608Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9157773Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9157886Z ^^^^^^ +2025-11-30T02:28:48.9158329Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9158488Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9158600Z ^ +2025-11-30T02:28:48.9159005Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9159165Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9159276Z ^^^ +2025-11-30T02:28:48.9159693Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9159861Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9159975Z ^ +2025-11-30T02:28:48.9160386Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9160534Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9160649Z ^^^^ +2025-11-30T02:28:48.9161258Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9161409Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9161526Z ^ +2025-11-30T02:28:48.9161948Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9162087Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9162218Z ^ +2025-11-30T02:28:48.9162601Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9162747Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9162872Z ^^^^^^^^^^ +2025-11-30T02:28:48.9163265Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9163430Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9163565Z ^ +2025-11-30T02:28:48.9163963Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9164110Z Camera.MMD(name = "MMD Camera") +2025-11-30T02:28:48.9164239Z ^ +2025-11-30T02:28:48.9164630Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9164741Z ) +2025-11-30T02:28:48.9164845Z ^ +2025-11-30T02:28:48.9165293Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9165401Z ) +2025-11-30T02:28:48.9165497Z ^ +2025-11-30T02:28:48.9165916Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9166032Z ) +2025-11-30T02:28:48.9166131Z ^ +2025-11-30T02:28:48.9166793Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9166916Z ) +2025-11-30T02:28:48.9167012Z ^ +2025-11-30T02:28:48.9167370Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. +2025-11-30T02:28:48.9167512Z val scene = Scene(nodes = rootNodes) +2025-11-30T02:28:48.9167854Z ^^^^^^^^^ +2025-11-30T02:28:48.9168249Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9168412Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9168506Z ^^^^^^ +2025-11-30T02:28:48.9168873Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9169017Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9169131Z ^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9169516Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9169677Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9169801Z ^ +2025-11-30T02:28:48.9170233Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9170388Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9170514Z ^^^^^^^^^^ +2025-11-30T02:28:48.9170935Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9171103Z return ModelFileLoader.LoadResult( +2025-11-30T02:28:48.9171223Z ^ +2025-11-30T02:28:48.9171625Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9171993Z metadata = Metadata( +2025-11-30T02:28:48.9172106Z ^^^^^^^^ +2025-11-30T02:28:48.9172510Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9172627Z metadata = Metadata( +2025-11-30T02:28:48.9172724Z ^ +2025-11-30T02:28:48.9173102Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9173226Z metadata = Metadata( +2025-11-30T02:28:48.9173327Z ^^^^^^^^ +2025-11-30T02:28:48.9173700Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9173820Z metadata = Metadata( +2025-11-30T02:28:48.9173922Z ^ +2025-11-30T02:28:48.9174314Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9174498Z title = header.modelNameLocal, +2025-11-30T02:28:48.9174595Z ^^^^^ +2025-11-30T02:28:48.9174844Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9174937Z title = header.modelNameLocal, +2025-11-30T02:28:48.9175027Z ^ +2025-11-30T02:28:48.9175452Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9175613Z title = header.modelNameLocal, +2025-11-30T02:28:48.9175731Z ^^^^^^ +2025-11-30T02:28:48.9176154Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9176316Z title = header.modelNameLocal, +2025-11-30T02:28:48.9176613Z ^ +2025-11-30T02:28:48.9177034Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9177194Z title = header.modelNameLocal, +2025-11-30T02:28:48.9177319Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9177730Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9177886Z title = header.modelNameLocal, +2025-11-30T02:28:48.9177998Z ^ +2025-11-30T02:28:48.9178640Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9178839Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9178949Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9179380Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9179586Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9179695Z ^ +2025-11-30T02:28:48.9180055Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9180213Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9180315Z ^^^^^^ +2025-11-30T02:28:48.9180700Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9180886Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9181017Z ^ +2025-11-30T02:28:48.9181437Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9181648Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9181779Z ^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9182191Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9182621Z titleUniversal = header.modelNameUniversal, +2025-11-30T02:28:48.9182754Z ^ +2025-11-30T02:28:48.9183197Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9183365Z comment = header.commentLocal, +2025-11-30T02:28:48.9183476Z ^^^^^^^ +2025-11-30T02:28:48.9183902Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9184054Z comment = header.commentLocal, +2025-11-30T02:28:48.9184173Z ^ +2025-11-30T02:28:48.9184591Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9184749Z comment = header.commentLocal, +2025-11-30T02:28:48.9184877Z ^^^^^^ +2025-11-30T02:28:48.9185315Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9185455Z comment = header.commentLocal, +2025-11-30T02:28:48.9185557Z ^ +2025-11-30T02:28:48.9185950Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9186081Z comment = header.commentLocal, +2025-11-30T02:28:48.9186214Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9186859Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9187022Z comment = header.commentLocal, +2025-11-30T02:28:48.9187135Z ^ +2025-11-30T02:28:48.9187608Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9187803Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9187916Z ^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9188329Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9188520Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9188642Z ^ +2025-11-30T02:28:48.9189063Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9189455Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9189586Z ^^^^^^ +2025-11-30T02:28:48.9190021Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9190219Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9190345Z ^ +2025-11-30T02:28:48.9190756Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9190926Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9191040Z ^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9191419Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9191581Z commentUniversal = header.commentUniversal, +2025-11-30T02:28:48.9191693Z ^ +2025-11-30T02:28:48.9192065Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9192177Z ), +2025-11-30T02:28:48.9192282Z ^ +2025-11-30T02:28:48.9192697Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9192793Z ), +2025-11-30T02:28:48.9193126Z ^ +2025-11-30T02:28:48.9193559Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9193681Z model = Model( +2025-11-30T02:28:48.9193796Z ^^^^^ +2025-11-30T02:28:48.9194200Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9194317Z model = Model( +2025-11-30T02:28:48.9194417Z ^ +2025-11-30T02:28:48.9194858Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9194977Z model = Model( +2025-11-30T02:28:48.9195086Z ^^^^^ +2025-11-30T02:28:48.9195490Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9195609Z model = Model( +2025-11-30T02:28:48.9195718Z ^ +2025-11-30T02:28:48.9196170Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9196295Z scenes = listOf(scene), +2025-11-30T02:28:48.9196587Z ^^^^^^ +2025-11-30T02:28:48.9197013Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9197142Z scenes = listOf(scene), +2025-11-30T02:28:48.9197250Z ^ +2025-11-30T02:28:48.9197689Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9197830Z scenes = listOf(scene), +2025-11-30T02:28:48.9197945Z ^^^^^^ +2025-11-30T02:28:48.9198376Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9198530Z scenes = listOf(scene), +2025-11-30T02:28:48.9198646Z ^ +2025-11-30T02:28:48.9199056Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9199173Z scenes = listOf(scene), +2025-11-30T02:28:48.9199279Z ^^^^^ +2025-11-30T02:28:48.9199651Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9199762Z scenes = listOf(scene), +2025-11-30T02:28:48.9199862Z ^ +2025-11-30T02:28:48.9200475Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9200614Z scenes = listOf(scene), +2025-11-30T02:28:48.9200734Z ^ +2025-11-30T02:28:48.9201170Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9201300Z skins = listOf(skin), +2025-11-30T02:28:48.9201412Z ^^^^^ +2025-11-30T02:28:48.9201828Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9201958Z skins = listOf(skin), +2025-11-30T02:28:48.9202056Z ^ +2025-11-30T02:28:48.9202476Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9202609Z skins = listOf(skin), +2025-11-30T02:28:48.9202736Z ^^^^^^ +2025-11-30T02:28:48.9203178Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9203307Z skins = listOf(skin), +2025-11-30T02:28:48.9203416Z ^ +2025-11-30T02:28:48.9203825Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9203954Z skins = listOf(skin), +2025-11-30T02:28:48.9204253Z ^^^^ +2025-11-30T02:28:48.9204699Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9204822Z skins = listOf(skin), +2025-11-30T02:28:48.9204928Z ^ +2025-11-30T02:28:48.9205347Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9205490Z skins = listOf(skin), +2025-11-30T02:28:48.9205618Z ^ +2025-11-30T02:28:48.9206045Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9206293Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9206594Z ^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9207043Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9207304Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9207426Z ^ +2025-11-30T02:28:48.9207849Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9208062Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9208179Z ^^^^ +2025-11-30T02:28:48.9208598Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9208829Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9208955Z ^ +2025-11-30T02:28:48.9209378Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9209598Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9209732Z ^^^^^^ +2025-11-30T02:28:48.9210168Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9210387Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9210508Z ^ +2025-11-30T02:28:48.9210939Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9211140Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9211488Z ^^^^^^^^^^ +2025-11-30T02:28:48.9211914Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9212123Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9212268Z ^ +2025-11-30T02:28:48.9212682Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. +2025-11-30T02:28:48.9212920Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9213056Z ^^^^^^^^^^ +2025-11-30T02:28:48.9213418Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9213645Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9213800Z ^^^^^ +2025-11-30T02:28:48.9214429Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). +2025-11-30T02:28:48.9214652Z physicalJoints = this.joints.mapNotNull { joint -> +2025-11-30T02:28:48.9214783Z ^^ +2025-11-30T02:28:48.9215145Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9215610Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.9215734Z ^^^^^ +2025-11-30T02:28:48.9216158Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. +2025-11-30T02:28:48.9216673Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.9216821Z ^^^ +2025-11-30T02:28:48.9217234Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. +2025-11-30T02:28:48.9217463Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { +2025-11-30T02:28:48.9217589Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9217876Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. +2025-11-30T02:28:48.9218008Z return@mapNotNull null +2025-11-30T02:28:48.9218138Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9218505Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9218716Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.9218833Z ^^^^^ +2025-11-30T02:28:48.9219258Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. +2025-11-30T02:28:48.9219485Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.9219629Z ^^^ +2025-11-30T02:28:48.9220025Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. +2025-11-30T02:28:48.9220237Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { +2025-11-30T02:28:48.9220371Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9220695Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. +2025-11-30T02:28:48.9220852Z return@mapNotNull null +2025-11-30T02:28:48.9220979Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9221342Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9221585Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.9221680Z ^^^^^ +2025-11-30T02:28:48.9222551Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. +2025-11-30T02:28:48.9222748Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.9222865Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9223338Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9223533Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.9223647Z ^^^^^^ +2025-11-30T02:28:48.9224334Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: +2025-11-30T02:28:48.9224475Z fun CharSequence.isNotBlank(): Boolean +2025-11-30T02:28:48.9224666Z name = joint.nameLocal.takeIf(String::isNotBlank), +2025-11-30T02:28:48.9224787Z ^^^^^^^^^^ +2025-11-30T02:28:48.9225268Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. +2025-11-30T02:28:48.9225420Z type = when (joint.type) { +2025-11-30T02:28:48.9225536Z ^^^^ +2025-11-30T02:28:48.9226733Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. +2025-11-30T02:28:48.9226900Z type = when (joint.type) { +2025-11-30T02:28:48.9227020Z ^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9227383Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9227516Z type = when (joint.type) { +2025-11-30T02:28:48.9227634Z ^^^^^ +2025-11-30T02:28:48.9228254Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. +2025-11-30T02:28:48.9228507Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.9228649Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9229037Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9229275Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.9229408Z ^^^^^^^ +2025-11-30T02:28:48.9229769Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9230019Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), +2025-11-30T02:28:48.9230159Z ^^^^^ +2025-11-30T02:28:48.9230820Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. +2025-11-30T02:28:48.9231084Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.9231238Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9231631Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. +2025-11-30T02:28:48.9231895Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.9232032Z ^^^^^^^ +2025-11-30T02:28:48.9232410Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9232676Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), +2025-11-30T02:28:48.9233083Z ^^^^^ +2025-11-30T02:28:48.9233438Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9233605Z position = joint.position, +2025-11-30T02:28:48.9233727Z ^^^^^ +2025-11-30T02:28:48.9234100Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9234270Z rotation = joint.rotation, +2025-11-30T02:28:48.9234396Z ^^^^^ +2025-11-30T02:28:48.9234766Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9234956Z positionMin = joint.positionMinimum, +2025-11-30T02:28:48.9235091Z ^^^^^ +2025-11-30T02:28:48.9235549Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9235733Z positionMax = joint.positionMaximum, +2025-11-30T02:28:48.9235843Z ^^^^^ +2025-11-30T02:28:48.9236188Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9236362Z rotationMin = joint.rotationMinimum, +2025-11-30T02:28:48.9236696Z ^^^^^ +2025-11-30T02:28:48.9237281Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9237459Z rotationMax = joint.rotationMaximum, +2025-11-30T02:28:48.9237574Z ^^^^^ +2025-11-30T02:28:48.9237931Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9238120Z positionSpring = joint.positionSpring, +2025-11-30T02:28:48.9238244Z ^^^^^ +2025-11-30T02:28:48.9238579Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. +2025-11-30T02:28:48.9238747Z rotationSpring = joint.rotationSpring, +2025-11-30T02:28:48.9238863Z ^^^^^ +2025-11-30T02:28:48.9239277Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9239404Z }, +2025-11-30T02:28:48.9239518Z ^ +2025-11-30T02:28:48.9239953Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9240120Z expressions = buildList { +2025-11-30T02:28:48.9240249Z ^^^^^^^^^^^ +2025-11-30T02:28:48.9240640Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9240784Z expressions = buildList { +2025-11-30T02:28:48.9240908Z ^ +2025-11-30T02:28:48.9241345Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9241504Z expressions = buildList { +2025-11-30T02:28:48.9241626Z ^^^^^^^^^ +2025-11-30T02:28:48.9242042Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9242201Z expressions = buildList { +2025-11-30T02:28:48.9242322Z ^ +2025-11-30T02:28:48.9242714Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. +2025-11-30T02:28:48.9242853Z expressions = buildList { +2025-11-30T02:28:48.9242963Z ^ +2025-11-30T02:28:48.9243359Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. +2025-11-30T02:28:48.9243822Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9243961Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9244475Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.9244635Z fun Array.component1(): T +2025-11-30T02:28:48.9244789Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.9244937Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.9245104Z fun IntArray.component1(): Int +2025-11-30T02:28:48.9245237Z fun LongArray.component1(): Long +2025-11-30T02:28:48.9245363Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.9245503Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.9245668Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.9245810Z fun CharArray.component1(): Char +2025-11-30T02:28:48.9245944Z fun List.component1(): T +2025-11-30T02:28:48.9246110Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.9246264Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.9246606Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.9246758Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.9246924Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.9247144Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9247279Z ^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9248046Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.9248188Z fun Array.component2(): T +2025-11-30T02:28:48.9248335Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.9248487Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.9248626Z fun IntArray.component2(): Int +2025-11-30T02:28:48.9248764Z fun LongArray.component2(): Long +2025-11-30T02:28:48.9248904Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.9249065Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.9249225Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.9249376Z fun CharArray.component2(): Char +2025-11-30T02:28:48.9249521Z fun List.component2(): T +2025-11-30T02:28:48.9249675Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.9249816Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.9249966Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.9250117Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.9250284Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.9250501Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9250645Z ^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9251230Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.9251410Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.9251578Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.9251785Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.9252130Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.9252305Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.9252523Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.9252730Z for ((index, target) in morphTargets.withIndex()) { +2025-11-30T02:28:48.9252887Z ^^^^^^^^^ +2025-11-30T02:28:48.9253566Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. +2025-11-30T02:28:48.9253789Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.9253932Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9254580Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. +2025-11-30T02:28:48.9254799Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.9254925Z ^^^^^^^^^ +2025-11-30T02:28:48.9255345Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. +2025-11-30T02:28:48.9255553Z name = target.nameLocal ?: target.nameUniversal, +2025-11-30T02:28:48.9255704Z ^^^^^^^^^^^^^ +2025-11-30T02:28:48.9256069Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. +2025-11-30T02:28:48.9256223Z tag = target.tag, +2025-11-30T02:28:48.9256345Z ^^^ +2025-11-30T02:28:48.9257181Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. +2025-11-30T02:28:48.9257337Z isBinary = false, +2025-11-30T02:28:48.9257456Z ^^^^^ +2025-11-30T02:28:48.9258330Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. +2025-11-30T02:28:48.9258847Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9259208Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9260020Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. +2025-11-30T02:28:48.9260546Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9260719Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9261266Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9261782Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9261948Z ^^^^^^^^^^ +2025-11-30T02:28:48.9262770Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: +2025-11-30T02:28:48.9263044Z fun Iterable.mapNotNull(transform: (T) -> R?): List +2025-11-30T02:28:48.9263540Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9263702Z ^^^^^^^^^^ +2025-11-30T02:28:48.9264244Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9264735Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9264913Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9265477Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: +2025-11-30T02:28:48.9265625Z fun Array.component1(): T +2025-11-30T02:28:48.9265774Z fun ByteArray.component1(): Byte +2025-11-30T02:28:48.9265927Z fun ShortArray.component1(): Short +2025-11-30T02:28:48.9266259Z fun IntArray.component1(): Int +2025-11-30T02:28:48.9266602Z fun LongArray.component1(): Long +2025-11-30T02:28:48.9266755Z fun FloatArray.component1(): Float +2025-11-30T02:28:48.9266906Z fun DoubleArray.component1(): Double +2025-11-30T02:28:48.9267065Z fun BooleanArray.component1(): Boolean +2025-11-30T02:28:48.9267203Z fun CharArray.component1(): Char +2025-11-30T02:28:48.9267337Z fun List.component1(): T +2025-11-30T02:28:48.9267488Z fun Map.Entry.component1(): K +2025-11-30T02:28:48.9267635Z fun UIntArray.component1(): UInt +2025-11-30T02:28:48.9267776Z fun ULongArray.component1(): ULong +2025-11-30T02:28:48.9267928Z fun UByteArray.component1(): UByte +2025-11-30T02:28:48.9268079Z fun UShortArray.component1(): UShort. +2025-11-30T02:28:48.9268588Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9268768Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9269316Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: +2025-11-30T02:28:48.9269461Z fun Array.component2(): T +2025-11-30T02:28:48.9269614Z fun ByteArray.component2(): Byte +2025-11-30T02:28:48.9269761Z fun ShortArray.component2(): Short +2025-11-30T02:28:48.9269911Z fun IntArray.component2(): Int +2025-11-30T02:28:48.9270055Z fun LongArray.component2(): Long +2025-11-30T02:28:48.9270404Z fun FloatArray.component2(): Float +2025-11-30T02:28:48.9270556Z fun DoubleArray.component2(): Double +2025-11-30T02:28:48.9270714Z fun BooleanArray.component2(): Boolean +2025-11-30T02:28:48.9270865Z fun CharArray.component2(): Char +2025-11-30T02:28:48.9271000Z fun List.component2(): T +2025-11-30T02:28:48.9271155Z fun Map.Entry.component2(): V +2025-11-30T02:28:48.9271297Z fun UIntArray.component2(): UInt +2025-11-30T02:28:48.9271445Z fun ULongArray.component2(): ULong +2025-11-30T02:28:48.9271593Z fun UByteArray.component2(): UByte +2025-11-30T02:28:48.9271739Z fun UShortArray.component2(): UShort. +2025-11-30T02:28:48.9272254Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> +2025-11-30T02:28:48.9272425Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9273007Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9273203Z } ?: listOf(), +2025-11-30T02:28:48.9273329Z ^^^^^^ +2025-11-30T02:28:48.9274085Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. +2025-11-30T02:28:48.9274225Z } ?: listOf(), +2025-11-30T02:28:48.9274344Z ^^^^^^^^ +2025-11-30T02:28:48.9274741Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. +2025-11-30T02:28:48.9274981Z pmxIndexToExpressions[target.pmxIndex] = expression +2025-11-30T02:28:48.9275125Z ^^^^^^^^ +2025-11-30T02:28:48.9275488Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. +2025-11-30T02:28:48.9275628Z add(expression) +2025-11-30T02:28:48.9275741Z ^^^ +2025-11-30T02:28:48.9276349Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: +2025-11-30T02:28:48.9276708Z fun Enumeration.iterator(): Iterator +2025-11-30T02:28:48.9276876Z fun Iterator.iterator(): Iterator +2025-11-30T02:28:48.9277080Z fun Map.iterator(): Iterator> +2025-11-30T02:28:48.9277649Z fun MutableMap.iterator(): MutableIterator> +2025-11-30T02:28:48.9277835Z fun CharSequence.iterator(): CharIterator +2025-11-30T02:28:48.9278014Z fun BufferedInputStream.iterator(): ByteIterator +2025-11-30T02:28:48.9278155Z for (group in morphTargetGroups) { +2025-11-30T02:28:48.9278266Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9278651Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. +2025-11-30T02:28:48.9278803Z for (group in morphTargetGroups) { +2025-11-30T02:28:48.9278909Z ^^^^^^^^^^^^^^^^^ +2025-11-30T02:28:48.9279232Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. +2025-11-30T02:28:48.9279329Z add( +2025-11-30T02:28:48.9279424Z ^^^ +2025-11-30T02:28:48.9279917Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9280126Z targets = group.items.mapNotNull { item -> +2025-11-30T02:28:48.9280270Z ^^^^ +2025-11-30T02:28:48.9280629Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. +2025-11-30T02:28:48.9280798Z val pmxMorphIndex = item.index +2025-11-30T02:28:48.9281138Z ^^^^^ +2025-11-30T02:28:48.9281544Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. +2025-11-30T02:28:48.9281733Z influence = item.influence, +2025-11-30T02:28:48.9281869Z ^^^^^^^^^ +2025-11-30T02:28:48.9282276Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9282394Z }, +2025-11-30T02:28:48.9282502Z ^ +2025-11-30T02:28:48.9282933Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9283090Z defaultScene = scene, +2025-11-30T02:28:48.9283210Z ^^^^^^^^^^^^ +2025-11-30T02:28:48.9283636Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9283788Z defaultScene = scene, +2025-11-30T02:28:48.9283920Z ^ +2025-11-30T02:28:48.9284337Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9284489Z defaultScene = scene, +2025-11-30T02:28:48.9284614Z ^^^^^ +2025-11-30T02:28:48.9285042Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9285185Z defaultScene = scene, +2025-11-30T02:28:48.9285297Z ^ +2025-11-30T02:28:48.9285674Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9285775Z ), +2025-11-30T02:28:48.9285869Z ^ +2025-11-30T02:28:48.9286281Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9286594Z ), +2025-11-30T02:28:48.9286708Z ^ +2025-11-30T02:28:48.9287161Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9287348Z animations = listOf(), +2025-11-30T02:28:48.9287452Z ^^^^^^^^^^ +2025-11-30T02:28:48.9287942Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9288110Z animations = listOf(), +2025-11-30T02:28:48.9288468Z ^ +2025-11-30T02:28:48.9288926Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9289087Z animations = listOf(), +2025-11-30T02:28:48.9289201Z ^^^^^^ +2025-11-30T02:28:48.9289639Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9289804Z animations = listOf(), +2025-11-30T02:28:48.9289926Z ^ +2025-11-30T02:28:48.9290395Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9290539Z animations = listOf(), +2025-11-30T02:28:48.9290664Z ^ +2025-11-30T02:28:48.9291096Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9291256Z animations = listOf(), +2025-11-30T02:28:48.9291382Z ^ +2025-11-30T02:28:48.9291799Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. +2025-11-30T02:28:48.9291920Z ) +2025-11-30T02:28:48.9292032Z ^ +2025-11-30T02:28:48.9292490Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. +2025-11-30T02:28:48.9292601Z } +2025-11-30T02:28:48.9292940Z ^ +2025-11-30T02:28:48.9293502Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. +2025-11-30T02:28:48.9293701Z override fun load(path: Path, basePath: Path) = +2025-11-30T02:28:48.9293802Z ^^^^^^^^ +2025-11-30T02:28:48.9294332Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. +2025-11-30T02:28:48.9294652Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> +2025-11-30T02:28:48.9294817Z ^^^ +2025-11-30T02:28:48.9295225Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. +2025-11-30T02:28:48.9295390Z val context = Context(basePath) +2025-11-30T02:28:48.9295506Z ^^^^^^^ +2025-11-30T02:28:48.9295972Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. +2025-11-30T02:28:48.9296097Z } +2025-11-30T02:28:49.0701935Z ^ +2025-11-30T02:28:49.0702249Z INFO: Elapsed time: 134.040s, Critical Path: 46.27s +2025-11-30T02:28:49.0702575Z INFO: 950 processes: 262 internal, 606 processwrapper-sandbox, 82 worker. +2025-11-30T02:28:49.0702744Z ERROR: Build did NOT complete successfully +2025-11-30T02:28:49.2475266Z ##[error]Process completed with exit code 1. diff --git a/logs_51071426239/build-with-bazel/system.txt b/logs_51071426239/build-with-bazel/system.txt new file mode 100644 index 00000000..2e66f0e0 --- /dev/null +++ b/logs_51071426239/build-with-bazel/system.txt @@ -0,0 +1,5 @@ +2025-11-30T02:26:15.3880000Z Requested labels: ubuntu-24.04 +2025-11-30T02:26:15.3880000Z Job defined at: Sylsatra/ArmorStand/.github/workflows/build.yml@refs/heads/my-physics +2025-11-30T02:26:15.3880000Z Waiting for a runner to pick up this job... +2025-11-30T02:26:15.8970000Z Job is about to start running on the hosted runner: GitHub Actions 1000000066 +2025-11-30T02:26:15.8970000Z Job is waiting for a hosted runner to come online. \ No newline at end of file From c79f2fec950f0892107b7b89d577a5a156367674 Mon Sep 17 00:00:00 2001 From: Sylsatra <136418580+Sylsatra@users.noreply.github.com> Date: Sun, 30 Nov 2025 09:59:00 +0700 Subject: [PATCH 016/112] Delete logs_51071426239 directory --- logs_51071426239/0_build-with-bazel.txt | 2834 ----------------- ...t Run bazel-contrib_setup-bazel@0.14.0.txt | 1 - .../14_Post checkout repository.txt | 14 - .../build-with-bazel/15_Complete job.txt | 2 - .../build-with-bazel/1_Set up job.txt | 44 - .../2_checkout repository.txt | 71 - ...3_Run bazel-contrib_setup-bazel@0.14.0.txt | 91 - logs_51071426239/build-with-bazel/4_build.txt | 2611 --------------- logs_51071426239/build-with-bazel/system.txt | 5 - 9 files changed, 5673 deletions(-) delete mode 100644 logs_51071426239/0_build-with-bazel.txt delete mode 100644 logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt delete mode 100644 logs_51071426239/build-with-bazel/14_Post checkout repository.txt delete mode 100644 logs_51071426239/build-with-bazel/15_Complete job.txt delete mode 100644 logs_51071426239/build-with-bazel/1_Set up job.txt delete mode 100644 logs_51071426239/build-with-bazel/2_checkout repository.txt delete mode 100644 logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt delete mode 100644 logs_51071426239/build-with-bazel/4_build.txt delete mode 100644 logs_51071426239/build-with-bazel/system.txt diff --git a/logs_51071426239/0_build-with-bazel.txt b/logs_51071426239/0_build-with-bazel.txt deleted file mode 100644 index 60fb1284..00000000 --- a/logs_51071426239/0_build-with-bazel.txt +++ /dev/null @@ -1,2834 +0,0 @@ -2025-11-30T02:26:19.2751822Z Current runner version: '2.329.0' -2025-11-30T02:26:19.2777375Z ##[group]Runner Image Provisioner -2025-11-30T02:26:19.2778484Z Hosted Compute Agent -2025-11-30T02:26:19.2779430Z Version: 20251016.436 -2025-11-30T02:26:19.2780363Z Commit: 8ab8ac8bfd662a3739dab9fe09456aba92132568 -2025-11-30T02:26:19.2781427Z Build Date: 2025-10-15T20:44:12Z -2025-11-30T02:26:19.2782588Z ##[endgroup] -2025-11-30T02:26:19.2783485Z ##[group]Operating System -2025-11-30T02:26:19.2784429Z Ubuntu -2025-11-30T02:26:19.2785212Z 24.04.3 -2025-11-30T02:26:19.2786018Z LTS -2025-11-30T02:26:19.2786933Z ##[endgroup] -2025-11-30T02:26:19.2787893Z ##[group]Runner Image -2025-11-30T02:26:19.2788914Z Image: ubuntu-24.04 -2025-11-30T02:26:19.2789696Z Version: 20251112.124.1 -2025-11-30T02:26:19.2791452Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20251112.124/images/ubuntu/Ubuntu2404-Readme.md -2025-11-30T02:26:19.2793992Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20251112.124 -2025-11-30T02:26:19.2795807Z ##[endgroup] -2025-11-30T02:26:19.2800468Z ##[group]GITHUB_TOKEN Permissions -2025-11-30T02:26:19.2803435Z Actions: write -2025-11-30T02:26:19.2804366Z ArtifactMetadata: write -2025-11-30T02:26:19.2805332Z Attestations: write -2025-11-30T02:26:19.2806246Z Checks: write -2025-11-30T02:26:19.2807387Z Contents: write -2025-11-30T02:26:19.2808190Z Deployments: write -2025-11-30T02:26:19.2809156Z Discussions: write -2025-11-30T02:26:19.2810002Z Issues: write -2025-11-30T02:26:19.2810839Z Metadata: read -2025-11-30T02:26:19.2811537Z Models: read -2025-11-30T02:26:19.2812451Z Packages: write -2025-11-30T02:26:19.2813160Z Pages: write -2025-11-30T02:26:19.2813957Z PullRequests: write -2025-11-30T02:26:19.2815016Z RepositoryProjects: write -2025-11-30T02:26:19.2816103Z SecurityEvents: write -2025-11-30T02:26:19.2817200Z Statuses: write -2025-11-30T02:26:19.2818191Z ##[endgroup] -2025-11-30T02:26:19.2821078Z Secret source: Actions -2025-11-30T02:26:19.2822125Z Prepare workflow directory -2025-11-30T02:26:19.3263606Z Prepare all required actions -2025-11-30T02:26:19.3318780Z Getting action download info -2025-11-30T02:26:19.6583612Z Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5) -2025-11-30T02:26:19.9373728Z Download action repository 'bazel-contrib/setup-bazel@0.14.0' (SHA:e8776f58fb6a6e9055cbaf1b38c52ccc5247e9c4) -2025-11-30T02:26:20.7293768Z Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) -2025-11-30T02:26:20.9238531Z Complete job name: build-with-bazel -2025-11-30T02:26:20.9931468Z ##[group]Run actions/checkout@v4 -2025-11-30T02:26:20.9932333Z with: -2025-11-30T02:26:20.9932766Z repository: Sylsatra/ArmorStand -2025-11-30T02:26:20.9933448Z token: *** -2025-11-30T02:26:20.9934095Z ssh-strict: true -2025-11-30T02:26:20.9934824Z ssh-user: git -2025-11-30T02:26:20.9935515Z persist-credentials: true -2025-11-30T02:26:20.9936259Z clean: true -2025-11-30T02:26:20.9937256Z sparse-checkout-cone-mode: true -2025-11-30T02:26:20.9938208Z fetch-depth: 1 -2025-11-30T02:26:20.9938993Z fetch-tags: false -2025-11-30T02:26:20.9939786Z show-progress: true -2025-11-30T02:26:20.9940573Z lfs: false -2025-11-30T02:26:20.9941243Z submodules: false -2025-11-30T02:26:20.9941779Z set-safe-directory: true -2025-11-30T02:26:20.9942642Z ##[endgroup] -2025-11-30T02:26:21.1039267Z Syncing repository: Sylsatra/ArmorStand -2025-11-30T02:26:21.1041244Z ##[group]Getting Git version info -2025-11-30T02:26:21.1042029Z Working directory is '/home/runner/work/ArmorStand/ArmorStand' -2025-11-30T02:26:21.1043149Z [command]/usr/bin/git version -2025-11-30T02:26:21.1102761Z git version 2.51.2 -2025-11-30T02:26:21.1129381Z ##[endgroup] -2025-11-30T02:26:21.1142383Z Temporarily overriding HOME='/home/runner/work/_temp/6d2baab3-6bfd-4167-be5a-0a2cae9bfb19' before making global git config changes -2025-11-30T02:26:21.1143961Z Adding repository directory to the temporary git global config as a safe directory -2025-11-30T02:26:21.1154486Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:26:21.1190426Z Deleting the contents of '/home/runner/work/ArmorStand/ArmorStand' -2025-11-30T02:26:21.1193904Z ##[group]Initializing the repository -2025-11-30T02:26:21.1197804Z [command]/usr/bin/git init /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:26:21.1311527Z hint: Using 'master' as the name for the initial branch. This default branch name -2025-11-30T02:26:21.1312679Z hint: is subject to change. To configure the initial branch name to use in all -2025-11-30T02:26:21.1313686Z hint: of your new repositories, which will suppress this warning, call: -2025-11-30T02:26:21.1314423Z hint: -2025-11-30T02:26:21.1315075Z hint: git config --global init.defaultBranch -2025-11-30T02:26:21.1315698Z hint: -2025-11-30T02:26:21.1316276Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and -2025-11-30T02:26:21.1317379Z hint: 'development'. The just-created branch can be renamed via this command: -2025-11-30T02:26:21.1318417Z hint: -2025-11-30T02:26:21.1319113Z hint: git branch -m -2025-11-30T02:26:21.1319669Z hint: -2025-11-30T02:26:21.1320294Z hint: Disable this message with "git config set advice.defaultBranchName false" -2025-11-30T02:26:21.1321378Z Initialized empty Git repository in /home/runner/work/ArmorStand/ArmorStand/.git/ -2025-11-30T02:26:21.1329811Z [command]/usr/bin/git remote add origin https://github.com/Sylsatra/ArmorStand -2025-11-30T02:26:21.1376983Z ##[endgroup] -2025-11-30T02:26:21.1377795Z ##[group]Disabling automatic garbage collection -2025-11-30T02:26:21.1381104Z [command]/usr/bin/git config --local gc.auto 0 -2025-11-30T02:26:21.1412490Z ##[endgroup] -2025-11-30T02:26:21.1413869Z ##[group]Setting up auth -2025-11-30T02:26:21.1420021Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand -2025-11-30T02:26:21.1451219Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" -2025-11-30T02:26:21.1795938Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader -2025-11-30T02:26:21.1825811Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" -2025-11-30T02:26:21.2040220Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: -2025-11-30T02:26:21.2070448Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url -2025-11-30T02:26:21.2295801Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** -2025-11-30T02:26:21.2328873Z ##[endgroup] -2025-11-30T02:26:21.2330289Z ##[group]Fetching the repository -2025-11-30T02:26:21.2339008Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +3f0d9c3830614990305a25aac7f81a7df6678688:refs/remotes/origin/my-physics -2025-11-30T02:26:21.8875840Z From https://github.com/Sylsatra/ArmorStand -2025-11-30T02:26:21.8878177Z * [new ref] 3f0d9c3830614990305a25aac7f81a7df6678688 -> origin/my-physics -2025-11-30T02:26:21.8910578Z ##[endgroup] -2025-11-30T02:26:21.8912308Z ##[group]Determining the checkout info -2025-11-30T02:26:21.8914185Z ##[endgroup] -2025-11-30T02:26:21.8918809Z [command]/usr/bin/git sparse-checkout disable -2025-11-30T02:26:21.8958929Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig -2025-11-30T02:26:21.8984878Z ##[group]Checking out the ref -2025-11-30T02:26:21.8989301Z [command]/usr/bin/git checkout --progress --force -B my-physics refs/remotes/origin/my-physics -2025-11-30T02:26:22.0744505Z Switched to a new branch 'my-physics' -2025-11-30T02:26:22.0747171Z branch 'my-physics' set up to track 'origin/my-physics'. -2025-11-30T02:26:22.0760474Z ##[endgroup] -2025-11-30T02:26:22.0797543Z [command]/usr/bin/git log -1 --format=%H -2025-11-30T02:26:22.0818985Z 3f0d9c3830614990305a25aac7f81a7df6678688 -2025-11-30T02:26:22.1106827Z ##[group]Run bazel-contrib/setup-bazel@0.14.0 -2025-11-30T02:26:22.1108001Z with: -2025-11-30T02:26:22.1108709Z bazelisk-cache: true -2025-11-30T02:26:22.1109558Z disk-cache: false -2025-11-30T02:26:22.1110372Z repository-cache: true -2025-11-30T02:26:22.1111250Z cache-version: 1 -2025-11-30T02:26:22.1112039Z module-root: . -2025-11-30T02:26:22.1113065Z token: *** -2025-11-30T02:26:22.1113788Z ##[endgroup] -2025-11-30T02:26:22.2879076Z ##[group]Configure Bazel -2025-11-30T02:26:22.2880888Z Configuration: -2025-11-30T02:26:22.2882422Z { -2025-11-30T02:26:22.2884056Z "baseCacheKey": "setup-bazel-1-linux", -2025-11-30T02:26:22.2885848Z "bazeliskCache": { -2025-11-30T02:26:22.2887351Z "enabled": true, -2025-11-30T02:26:22.2888571Z "files": [ -2025-11-30T02:26:22.2889704Z "./.bazelversion" -2025-11-30T02:26:22.2890936Z ], -2025-11-30T02:26:22.2891991Z "name": "bazelisk", -2025-11-30T02:26:22.2893296Z "paths": [ -2025-11-30T02:26:22.2896011Z "/home/runner/.cache/bazelisk" -2025-11-30T02:26:22.2897782Z ] -2025-11-30T02:26:22.2898793Z }, -2025-11-30T02:26:22.2899836Z "bazeliskVersion": "", -2025-11-30T02:26:22.2901228Z "bazelrc": [ -2025-11-30T02:26:22.2903032Z "common --repository_cache=/home/runner/.cache/bazel-repo" -2025-11-30T02:26:22.2905427Z ], -2025-11-30T02:26:22.2906569Z "diskCache": { -2025-11-30T02:26:22.2907790Z "enabled": false, -2025-11-30T02:26:22.2909170Z "files": [ -2025-11-30T02:26:22.2921794Z "./MODULE.bazel", -2025-11-30T02:26:22.2923230Z "./WORKSPACE.bazel", -2025-11-30T02:26:22.2924705Z "./WORKSPACE.bzlmod", -2025-11-30T02:26:22.2926138Z "./WORKSPACE", -2025-11-30T02:26:22.2927646Z "./**/BUILD.bazel", -2025-11-30T02:26:22.2928988Z "./**/BUILD" -2025-11-30T02:26:22.2930086Z ], -2025-11-30T02:26:22.2930878Z "name": "disk", -2025-11-30T02:26:22.2932100Z "paths": [ -2025-11-30T02:26:22.2933358Z "/home/runner/.cache/bazel-disk" -2025-11-30T02:26:22.2935043Z ] -2025-11-30T02:26:22.2936093Z }, -2025-11-30T02:26:22.2937579Z "externalCache": {}, -2025-11-30T02:26:22.2939083Z "paths": { -2025-11-30T02:26:22.2940525Z "bazelExternal": "/home/runner/.bazel/external", -2025-11-30T02:26:22.2942495Z "bazelOutputBase": "/home/runner/.bazel", -2025-11-30T02:26:22.2944331Z "bazelrc": [ -2025-11-30T02:26:22.2945567Z "/home/runner/.bazelrc" -2025-11-30T02:26:22.2947369Z ] -2025-11-30T02:26:22.2948454Z }, -2025-11-30T02:26:22.2949462Z "os": { -2025-11-30T02:26:22.2950517Z "arch": "x64", -2025-11-30T02:26:22.2951767Z "platform": "linux" -2025-11-30T02:26:22.2953034Z }, -2025-11-30T02:26:22.2954146Z "repositoryCache": { -2025-11-30T02:26:22.2955484Z "enabled": true, -2025-11-30T02:26:22.2956876Z "files": [ -2025-11-30T02:26:22.2958132Z "./MODULE.bazel", -2025-11-30T02:26:22.2959462Z "./WORKSPACE.bazel", -2025-11-30T02:26:22.2961010Z "./WORKSPACE.bzlmod", -2025-11-30T02:26:22.2962411Z "./WORKSPACE" -2025-11-30T02:26:22.2963580Z ], -2025-11-30T02:26:22.2964700Z "name": "repository", -2025-11-30T02:26:22.2966075Z "paths": [ -2025-11-30T02:26:22.2967529Z "/home/runner/.cache/bazel-repo" -2025-11-30T02:26:22.2969229Z ] -2025-11-30T02:26:22.2970362Z } -2025-11-30T02:26:22.2971546Z } -2025-11-30T02:26:22.2973960Z ##[endgroup] -2025-11-30T02:26:22.2976327Z ##[group]Restore cache for bazelisk -2025-11-30T02:26:22.4571450Z Cache hit for: setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e -2025-11-30T02:26:22.9230715Z Received 57708694 of 57708694 (100.0%), 131.7 MBs/sec -2025-11-30T02:26:22.9260884Z Cache Size: ~55 MB (57708694 B) -2025-11-30T02:26:22.9262278Z [command]/usr/bin/tar -xf /home/runner/work/_temp/b3e15b1e-c1eb-4152-aaef-d9b65a2a8117/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd -2025-11-30T02:26:23.0176105Z Cache restored successfully -2025-11-30T02:26:23.0288687Z Successfully restored cache from setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e -2025-11-30T02:26:23.0290886Z ##[endgroup] -2025-11-30T02:26:23.0291918Z ##[group]Restore cache for repository -2025-11-30T02:26:23.0534581Z Cache hit for: setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e -2025-11-30T02:26:24.1170573Z Received 205520896 of 1349025797 (15.2%), 194.3 MBs/sec -2025-11-30T02:26:25.1159778Z Received 402653184 of 1349025797 (29.8%), 191.1 MBs/sec -2025-11-30T02:26:26.1172484Z Received 637534208 of 1349025797 (47.3%), 202.0 MBs/sec -2025-11-30T02:26:27.1205089Z Received 859832320 of 1349025797 (63.7%), 204.3 MBs/sec -2025-11-30T02:26:28.1196295Z Received 1073741824 of 1349025797 (79.6%), 204.3 MBs/sec -2025-11-30T02:26:29.1209674Z Received 1333788672 of 1349025797 (98.9%), 211.5 MBs/sec -2025-11-30T02:26:29.3337437Z Received 1349025797 of 1349025797 (100.0%), 206.6 MBs/sec -2025-11-30T02:26:29.3338445Z Cache Size: ~1287 MB (1349025797 B) -2025-11-30T02:26:29.3469178Z [command]/usr/bin/tar -xf /home/runner/work/_temp/42c2a257-3281-4f12-bdbd-3691fcbaf72d/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd -2025-11-30T02:26:31.2149646Z Cache restored successfully -2025-11-30T02:26:31.4668571Z Successfully restored cache from setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e -2025-11-30T02:26:31.4675002Z ##[endgroup] -2025-11-30T02:26:31.4910436Z ##[group]Run bazel build --config opt \ -2025-11-30T02:26:31.4910831Z bazel build --config opt \ -2025-11-30T02:26:31.4911128Z  --verbose_failures \ -2025-11-30T02:26:31.4911369Z  //mod:mod_fabric \ -2025-11-30T02:26:31.4911573Z  //mod:mod_neoforge \ -2025-11-30T02:26:31.4911800Z  //blazerod:blazerod_fabric \ -2025-11-30T02:26:31.4912054Z  //blazerod:blazerod_neoforge \ -2025-11-30T02:26:31.4912306Z  //blazerod/model/model-base \ -2025-11-30T02:26:31.4912574Z  //blazerod/model/model-formats \ -2025-11-30T02:26:31.4912844Z  //blazerod/model/model-gltf \ -2025-11-30T02:26:31.4913115Z  //blazerod/model/model-pmd \ -2025-11-30T02:26:31.4913353Z  //blazerod/model/model-pmx \ -2025-11-30T02:26:31.4913590Z  //blazerod/model/model-vmd \ -2025-11-30T02:26:31.4913901Z  //blazerod/model/model-assimp:model-assimp-merged \ -2025-11-30T02:26:31.4914247Z  //blazerod/example/ball_block -2025-11-30T02:26:31.4951978Z shell: /usr/bin/bash -e {0} -2025-11-30T02:26:31.4952216Z env: -2025-11-30T02:26:31.4952707Z BAZELISK_GITHUB_TOKEN: *** -2025-11-30T02:26:31.4952922Z ##[endgroup] -2025-11-30T02:26:34.9648246Z Extracting Bazel installation... -2025-11-30T02:26:36.1350419Z Starting local Bazel server (8.4.2) and connecting to it... -2025-11-30T02:26:37.5805449Z Computing main repo mapping: -2025-11-30T02:26:38.4491170Z Loading: -2025-11-30T02:26:38.4513683Z Loading: 0 packages loaded -2025-11-30T02:26:39.4737882Z Loading: 0 packages loaded -2025-11-30T02:26:40.5015388Z Analyzing: 12 targets (10 packages loaded) -2025-11-30T02:26:40.6840440Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) -2025-11-30T02:26:40.7097795Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) -2025-11-30T02:26:40.7098247Z -2025-11-30T02:26:41.3523381Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions: -2025-11-30T02:26:41.3529327Z com.google.code.gson:gson (versions: 2.10.1, 2.8.9) -2025-11-30T02:26:41.3533725Z com.google.errorprone:error_prone_annotations (versions: 2.23.0, 2.5.1) -2025-11-30T02:26:41.3538328Z com.google.guava:guava (versions: 32.0.1-jre, 33.0.0-jre) -2025-11-30T02:26:41.3616357Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:200:14: The maven repository 'maven' has contributions from multiple bzlmod modules, and will be resolved together: ["armorstand", "bazel_worker_java", "protobuf"]. -2025-11-30T02:26:41.3626625Z See https://github.com/bazel-contrib/rules_jvm_external/blob/master/docs/bzlmod.md#module-dependency-layering for more information. -2025-11-30T02:26:41.3628543Z To suppress this warning review the contributions from the other modules and add the following attribute in the root MODULE.bazel file: -2025-11-30T02:26:41.3629749Z maven.install( -2025-11-30T02:26:41.3630462Z known_contributing_modules = ["armorstand", "bazel_worker_java", "protobuf"], -2025-11-30T02:26:41.3631288Z ... -2025-11-30T02:26:41.3631778Z ) -2025-11-30T02:26:41.7257197Z Analyzing: 12 targets (50 packages loaded, 18 targets configured) -2025-11-30T02:26:41.7261478Z -2025-11-30T02:26:42.1938801Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/rules/coursier.bzl:777:18: Found duplicate artifact versions -2025-11-30T02:26:42.1940340Z com.google.code.gson:gson has multiple versions 2.8.9, 2.10.1 -2025-11-30T02:26:42.1941486Z com.google.errorprone:error_prone_annotations has multiple versions 2.5.1, 2.23.0 -2025-11-30T02:26:42.1943002Z com.google.guava:guava has multiple versions 32.0.1-jre, 33.0.0-jre -2025-11-30T02:26:42.1944246Z Please remove duplicate artifacts from the artifact list so you do not get unexpected artifact versions -2025-11-30T02:26:42.7343720Z Analyzing: 12 targets (95 packages loaded, 21 targets configured) -2025-11-30T02:26:42.7348423Z -2025-11-30T02:26:43.8255126Z Analyzing: 12 targets (174 packages loaded, 123 targets configured) -2025-11-30T02:26:43.8255993Z -2025-11-30T02:26:44.8638029Z Analyzing: 12 targets (199 packages loaded, 506 targets configured) -2025-11-30T02:26:44.8640128Z -2025-11-30T02:26:46.5827633Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:46.5828302Z -2025-11-30T02:26:52.0792144Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:52.0795487Z -2025-11-30T02:26:59.0377745Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:59.0378538Z -2025-11-30T02:27:00.5849632Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:27:00.5851005Z -2025-11-30T02:27:06.0490470Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:27:06.0490954Z -2025-11-30T02:27:07.0578673Z Analyzing: 12 targets (220 packages loaded, 3333 targets configured) -2025-11-30T02:27:07.0636900Z -2025-11-30T02:27:08.0614198Z Analyzing: 12 targets (394 packages loaded, 3922 targets configured) -2025-11-30T02:27:08.0614715Z -2025-11-30T02:27:09.0600181Z Analyzing: 12 targets (558 packages loaded, 9117 targets configured) -2025-11-30T02:27:09.0601041Z -2025-11-30T02:27:10.5329212Z Analyzing: 12 targets (584 packages loaded, 9209 targets configured) -2025-11-30T02:27:10.5329986Z -2025-11-30T02:27:11.5937838Z Analyzing: 12 targets (607 packages loaded, 12113 targets configured) -2025-11-30T02:27:11.5938733Z -2025-11-30T02:27:12.5922309Z Analyzing: 12 targets (610 packages loaded, 20072 targets configured) -2025-11-30T02:27:12.5922855Z -2025-11-30T02:27:14.0003413Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) -2025-11-30T02:27:14.0003901Z -2025-11-30T02:27:16.3762902Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) -2025-11-30T02:27:16.3763598Z -2025-11-30T02:27:17.3833523Z Analyzing: 12 targets (624 packages loaded, 35680 targets configured) -2025-11-30T02:27:17.3838798Z [4 / 77] Creating runfiles tree bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/jdeps_merger.runfiles [for tool]; 0s local ... (2 actions, 1 running) -2025-11-30T02:27:17.9095122Z INFO: Analyzed 12 targets (624 packages loaded, 35744 targets configured). -2025-11-30T02:27:18.3953559Z [156 / 1,333] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 0s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:19.4080345Z [211 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:20.5312065Z [225 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 2s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:21.5674285Z [247 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:22.5648529Z [268 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 2s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:23.6043867Z [279 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:24.6034158Z [346 / 1,419] Extracting interface for jar file/com/google/guava/guava/33.3.1-jre/guava-33.3.1-jre.jar; 0s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:27:25.8893252Z [391 / 1,419] Building repo/neoforge/rule/manifest_remover/manifest_remover.jar (1 source file) [for tool]; 1s multiplex-worker ... (3 actions, 2 running) -2025-11-30T02:27:27.0161706Z [408 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 0s worker ... (2 actions, 1 running) -2025-11-30T02:27:28.3243891Z [415 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 1s worker ... (2 actions, 1 running) -2025-11-30T02:27:29.4860296Z [416 / 1,427] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 2s worker ... (3 actions, 2 running) -2025-11-30T02:27:30.6060058Z [422 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) -2025-11-30T02:27:31.6067816Z [423 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 4s worker ... (3 actions running) -2025-11-30T02:27:32.6093524Z [424 / 1,604] Stamping the manifest of @maven//:it_unimi_dsi_fastutil [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:33.6101733Z [430 / 1,771] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:34.6154039Z [437 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:35.6181179Z [439 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:36.6180950Z [440 / 1,936] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:37.6228003Z [444 / 1,938] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 2s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:38.6257555Z [450 / 2,101] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:39.6260912Z [453 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 4s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:40.6281257Z [456 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 5s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:41.6312020Z [460 / 2,263] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 6s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:42.6351141Z [469 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:com_h2database_h2; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:43.6353238Z [482 / 2,265] Stamping the manifest of @maven//:net_fabricmc_sponge_mixin; 0s processwrapper-sandbox -2025-11-30T02:27:44.9239762Z [487 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava -2025-11-30T02:27:45.9503367Z [494 / 2,265] [Prepa] Stamping the manifest of @maven//:org_jetbrains_kotlinx_atomicfu_jvm -2025-11-30T02:27:46.9897690Z [510 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_fabric_api_fabric_content_registries_v0 -2025-11-30T02:27:48.2391953Z [525 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_intermediary_v2 -2025-11-30T02:27:49.2809634Z [539 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:net_fabricmc_fabric_api_fabric_resource_loader_v0 -2025-11-30T02:27:50.3323974Z [556 / 2,265] [Prepa] Stamping the manifest of @maven//:com_fasterxml_jackson_core_jackson_core [for tool] -2025-11-30T02:27:51.5858029Z [563 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava [for tool] -2025-11-30T02:27:52.5947704Z [570 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:org_jetbrains_kotlinx_kotlinx_serialization_core_jvm [for tool]; 0s processwrapper-sandbox ... (2 actions, 1 running) -2025-11-30T02:27:53.6057509Z [577 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 0s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:27:54.6386289Z [583 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:55.6427395Z [588 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 2s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:56.6431771Z [590 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 1s worker ... (3 actions running) -2025-11-30T02:27:58.4013733Z [592 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 3s worker ... (3 actions, 2 running) -2025-11-30T02:27:59.4873989Z [593 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 4s worker ... (3 actions, 2 running) -2025-11-30T02:28:00.6275008Z [597 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:it_unimi_dsi_fastutil; 4s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:28:01.6520553Z [601 / 2,265] KotlinCompile //blazerod/render/main/util/iterator:iterator { kt: 2, java: 0, srcjars: 0 } for k8; 0s worker ... (3 actions running) -2025-11-30T02:28:02.6446303Z [606 / 2,265] Stamping the manifest of @maven//:org_lwjgl_lwjgl_assimp_natives_windows; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:28:03.6488866Z [609 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 1s worker ... (3 actions running) -2025-11-30T02:28:04.6477490Z [613 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 2s worker ... (2 actions running) -2025-11-30T02:28:05.6573443Z [614 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) -2025-11-30T02:28:06.6569120Z [620 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 4s worker ... (4 actions running) -2025-11-30T02:28:07.8132473Z [626 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 5s worker ... (4 actions, 3 running) -2025-11-30T02:28:08.9142367Z [635 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 6s worker ... (4 actions, 3 running) -2025-11-30T02:28:09.9626627Z [650 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 7s worker ... (4 actions, 3 running) -2025-11-30T02:28:11.0765912Z [662 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 9s worker ... (4 actions, 3 running) -2025-11-30T02:28:12.1079223Z [668 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 10s worker ... (4 actions, 3 running) -2025-11-30T02:28:13.1404524Z [673 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 11s worker ... (4 actions, 3 running) -2025-11-30T02:28:14.2978006Z [679 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 12s worker ... (4 actions, 3 running) -2025-11-30T02:28:15.6614442Z [680 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 13s worker ... (4 actions running) -2025-11-30T02:28:16.6623783Z [688 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 14s worker ... (4 actions, 3 running) -2025-11-30T02:28:17.6628456Z [698 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 15s worker ... (4 actions running) -2025-11-30T02:28:18.6639555Z [713 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 16s worker ... (4 actions running) -2025-11-30T02:28:19.6656724Z [725 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 17s worker ... (4 actions running) -2025-11-30T02:28:20.6659687Z [759 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 18s worker ... (4 actions running) -2025-11-30T02:28:21.6678741Z [805 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 19s worker ... (4 actions running) -2025-11-30T02:28:22.6738409Z [823 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 12s worker ... (4 actions running) -2025-11-30T02:28:23.6711692Z [842 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 13s worker ... (4 actions running) -2025-11-30T02:28:24.6760714Z [845 / 2,265] Splitting resources from classes for joined_strip_client; 4s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:28:25.6767129Z [863 / 2,265] KotlinCompile //blazerod/model/model-pmd:model-pmd { kt: 4, java: 0, srcjars: 0 } for k8; 2s worker ... (4 actions running) -2025-11-30T02:28:26.8468219Z [885 / 2,265] Remapping remapped_client_named - client.jar; 0s worker ... (4 actions, 3 running) -2025-11-30T02:28:27.0983599Z INFO: From Running NeoForm function bundleExtractJar to create ../+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar: -2025-11-30T02:28:27.1109646Z Task: BUNDLER_EXTRACT -2025-11-30T02:28:27.1118362Z Input: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/external/+minecraft+minecraft_1.21.8_server/file/server.jar -2025-11-30T02:28:27.1120952Z Output: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/bazel-out/k8-opt/bin/external/+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar -2025-11-30T02:28:27.1122929Z All: false -2025-11-30T02:28:27.1123503Z JarOnly: true -2025-11-30T02:28:27.1124048Z Libs: false -2025-11-30T02:28:27.1124674Z Extracted: versions/1.21.8/server-1.21.8.jar -2025-11-30T02:28:28.3841839Z [892 / 2,265] Remapping remapped_client_named - client.jar; 2s worker ... (4 actions, 3 running) -2025-11-30T02:28:29.6133513Z [899 / 2,265] Remapping remapped_client_named - client.jar; 3s worker ... (4 actions, 3 running) -2025-11-30T02:28:30.6788966Z [900 / 2,265] Remapping remapped_client_named - client.jar; 4s worker ... (4 actions running) -2025-11-30T02:28:31.6815688Z [901 / 2,265] Remapping remapped_client_named - client.jar; 5s worker ... (4 actions running) -2025-11-30T02:28:34.0024263Z [902 / 2,265] Remapping remapped_client_named - client.jar; 8s worker ... (4 actions, 3 running) -2025-11-30T02:28:35.1868084Z [904 / 2,265] Remapping remapped_client_named - client.jar; 9s worker ... (4 actions, 3 running) -2025-11-30T02:28:36.6823164Z [907 / 2,265] Remapping remapped_client_named - client.jar; 10s worker ... (4 actions running) -2025-11-30T02:28:37.6820665Z [909 / 2,265] Remapping remapped_client_named - client.jar; 11s worker ... (4 actions running) -2025-11-30T02:28:38.6878229Z [912 / 2,265] Remapping remapped_client_named - client.jar; 12s worker ... (4 actions running) -2025-11-30T02:28:39.6851203Z [915 / 2,265] Remapping remapped_client_named - client.jar; 13s worker ... (4 actions running) -2025-11-30T02:28:41.6883066Z [921 / 2,265] Remapping remapped_client_named - client.jar; 15s worker ... (4 actions running) -2025-11-30T02:28:42.6882930Z [925 / 2,265] Remapping remapped_client_named - client.jar; 16s worker ... (4 actions running) -2025-11-30T02:28:43.6922591Z [928 / 2,265] Remapping remapped_client_named - client.jar; 17s worker ... (4 actions running) -2025-11-30T02:28:44.6984269Z [933 / 2,265] Remapping remapped_client_named - client.jar; 18s worker ... (4 actions running) -2025-11-30T02:28:45.6998090Z [934 / 2,265] Remapping remapped_client_named - client.jar; 19s worker ... (4 actions running) -2025-11-30T02:28:46.6997086Z [937 / 2,265] Remapping remapped_client_named - client.jar; 20s worker ... (4 actions running) -2025-11-30T02:28:47.6991228Z [941 / 2,265] Remapping remapped_client_named - client.jar; 21s worker ... (4 actions running) -2025-11-30T02:28:48.7120937Z [946 / 2,265] Remapping remapped_client_named - client.jar; 22s worker ... (4 actions, 3 running) -2025-11-30T02:28:48.7980297Z ERROR: /home/runner/work/ArmorStand/ArmorStand/blazerod/model/model-pmx/BUILD.bazel:14:15: KotlinCompile //blazerod/model/model-pmx:model-pmx { kt: 11, java: 0, srcjars: 0 } for k8 failed: (Exit 1): build failed: error executing KotlinCompile command (from target //blazerod/model/model-pmx:model-pmx) -2025-11-30T02:28:48.7982802Z (cd /home/runner/.bazel/execroot/_main && \ -2025-11-30T02:28:48.7983528Z exec env - \ -2025-11-30T02:28:48.7989684Z LC_CTYPE=en_US.UTF-8 \ -2025-11-30T02:28:48.7990681Z REPOSITORY_NAME=rules_kotlin+ \ -2025-11-30T02:28:48.8021393Z bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/build '--wrapper_script_flag=--main_advice_classpath=external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/annotations-13.0.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk7.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk8.jar' '--flagfile=bazel-out/k8-opt/bin/blazerod/model/model-pmx/model-pmx-kt.jar-0.params') -2025-11-30T02:28:48.8025866Z # Configuration: 7829eb418bfd28df94b3e08f612b6b762cc0317abf8117066b0bd699547ce494 -2025-11-30T02:28:48.8030263Z # Execution platform: @@platforms//host:host -2025-11-30T02:28:48.8031326Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: -2025-11-30T02:28:48.8033921Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult -2025-11-30T02:28:48.8034741Z class PmxLoader : ModelFileLoader { -2025-11-30T02:28:48.8036165Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8037120Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. -2025-11-30T02:28:48.8038206Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8038901Z ^^^^^^^^^ -2025-11-30T02:28:48.8039690Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8101263Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8103435Z ^^^^^^^^^ -2025-11-30T02:28:48.8104815Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8114419Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8115153Z ^ -2025-11-30T02:28:48.8115890Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. -2025-11-30T02:28:48.8116788Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8117295Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8117956Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8118673Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8119148Z ^^^^^^^^^ -2025-11-30T02:28:48.8120039Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8120910Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8121318Z ^ -2025-11-30T02:28:48.8122153Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. -2025-11-30T02:28:48.8122783Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8123170Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8123699Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8124308Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8124694Z ^^^^^^^^^ -2025-11-30T02:28:48.8125427Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8126190Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8126771Z ^ -2025-11-30T02:28:48.8127299Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. -2025-11-30T02:28:48.8127838Z mass = rigidBody.mass, -2025-11-30T02:28:48.8128175Z ^^^^ -2025-11-30T02:28:48.8128687Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8129246Z mass = rigidBody.mass, -2025-11-30T02:28:48.8129585Z ^^^^^^^^^ -2025-11-30T02:28:48.8130618Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8131372Z mass = rigidBody.mass, -2025-11-30T02:28:48.8131761Z ^ -2025-11-30T02:28:48.8132330Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. -2025-11-30T02:28:48.8132961Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8133351Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8133865Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8134450Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8134853Z ^^^^^^^^^ -2025-11-30T02:28:48.8135578Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8136816Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8137316Z ^ -2025-11-30T02:28:48.8138013Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. -2025-11-30T02:28:48.8138800Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8139287Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8139923Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8140670Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8141156Z ^^^^^^^^^ -2025-11-30T02:28:48.8142071Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8143073Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8143635Z ^ -2025-11-30T02:28:48.8144523Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. -2025-11-30T02:28:48.8145247Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8145687Z ^^^^^^^^^ -2025-11-30T02:28:48.8146338Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8147232Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8147681Z ^^^^^^^^^ -2025-11-30T02:28:48.8148575Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8149530Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8149979Z ^ -2025-11-30T02:28:48.8150657Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. -2025-11-30T02:28:48.8151413Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8151870Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8152516Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8153248Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8153714Z ^^^^^^^^^ -2025-11-30T02:28:48.8154622Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8155591Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8156075Z ^ -2025-11-30T02:28:48.8156914Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. -2025-11-30T02:28:48.8157670Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8158150Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8158917Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.8159764Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8160239Z ^^^^ -2025-11-30T02:28:48.8160890Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8161826Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8162309Z ^^^^^^^^^ -2025-11-30T02:28:48.8163235Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8164143Z }, -2025-11-30T02:28:48.8164513Z ^ -2025-11-30T02:28:48.8165141Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8165805Z ) -2025-11-30T02:28:48.8166153Z ^ -2025-11-30T02:28:48.8167164Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8168158Z }, -2025-11-30T02:28:48.8168599Z ^ -2025-11-30T02:28:48.8169287Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8169951Z ) -2025-11-30T02:28:48.8170283Z ^ -2025-11-30T02:28:48.8170964Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8257028Z ) -2025-11-30T02:28:48.8257393Z ^ -2025-11-30T02:28:48.8257966Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. -2025-11-30T02:28:48.8258618Z } -2025-11-30T02:28:48.8258924Z ^ -2025-11-30T02:28:48.8259476Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. -2025-11-30T02:28:48.8260067Z } -2025-11-30T02:28:48.8260347Z ^ -2025-11-30T02:28:48.8260989Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8261743Z return Node( -2025-11-30T02:28:48.8262098Z ^^^^^^ -2025-11-30T02:28:48.8262759Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8263505Z return Node( -2025-11-30T02:28:48.8263844Z ^^^^ -2025-11-30T02:28:48.8264529Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8265268Z return Node( -2025-11-30T02:28:48.8265623Z ^ -2025-11-30T02:28:48.8266291Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8267367Z name = bone.nameLocal, -2025-11-30T02:28:48.8267788Z ^^^^ -2025-11-30T02:28:48.8268468Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8269249Z name = bone.nameLocal, -2025-11-30T02:28:48.8269653Z ^ -2025-11-30T02:28:48.8270322Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8271077Z name = bone.nameLocal, -2025-11-30T02:28:48.8271488Z ^^^^ -2025-11-30T02:28:48.8272188Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8272948Z name = bone.nameLocal, -2025-11-30T02:28:48.8273358Z ^ -2025-11-30T02:28:48.8274052Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8274821Z name = bone.nameLocal, -2025-11-30T02:28:48.8275224Z ^^^^^^^^^ -2025-11-30T02:28:48.8275937Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8277205Z name = bone.nameLocal, -2025-11-30T02:28:48.8277625Z ^ -2025-11-30T02:28:48.8278347Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8279101Z id = boneNodeId, -2025-11-30T02:28:48.8279491Z ^^ -2025-11-30T02:28:48.8280158Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8280929Z id = boneNodeId, -2025-11-30T02:28:48.8281331Z ^ -2025-11-30T02:28:48.8282020Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8282784Z id = boneNodeId, -2025-11-30T02:28:48.8283163Z ^^^^^^^^^^ -2025-11-30T02:28:48.8283896Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8284662Z id = boneNodeId, -2025-11-30T02:28:48.8285056Z ^ -2025-11-30T02:28:48.8285772Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8286964Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8287736Z ^^^^^^^^^ -2025-11-30T02:28:48.8288452Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8289241Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8290070Z ^ -2025-11-30T02:28:48.8290710Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8291408Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8291804Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8292462Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8293151Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8293548Z ^ -2025-11-30T02:28:48.8294185Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8294892Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8295311Z ^^^^^^^^^^ -2025-11-30T02:28:48.8295986Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8296905Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8297301Z ^ -2025-11-30T02:28:48.8297945Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8298675Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8299102Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8299698Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8300403Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8300831Z ^ -2025-11-30T02:28:48.8301435Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8302147Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8302571Z ^^^^^^^^ -2025-11-30T02:28:48.8303195Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8303894Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8304547Z ^ -2025-11-30T02:28:48.8305185Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8305943Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8306622Z ^ -2025-11-30T02:28:48.8307303Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8308066Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8308530Z ^ -2025-11-30T02:28:48.8309200Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8309961Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8310410Z ^^^ -2025-11-30T02:28:48.8311202Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8311953Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8312415Z ^ -2025-11-30T02:28:48.8313084Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8314029Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8314500Z ^^^^ -2025-11-30T02:28:48.8315183Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8315933Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8316545Z ^ -2025-11-30T02:28:48.8317202Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8317927Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8318385Z ^^^^^^^^ -2025-11-30T02:28:48.8319043Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8319764Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8320215Z ^ -2025-11-30T02:28:48.8320869Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8321589Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8322030Z ^ -2025-11-30T02:28:48.8322684Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8323403Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8323855Z ^^^^ -2025-11-30T02:28:48.8324512Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8325222Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8325677Z ^ -2025-11-30T02:28:48.8326309Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. -2025-11-30T02:28:48.8327195Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8327706Z ^ -2025-11-30T02:28:48.8328453Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.8329171Z if (parentPosition != null) { -2025-11-30T02:28:48.8329837Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8330476Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. -2025-11-30T02:28:48.8331163Z it.sub(parentPosition) -2025-11-30T02:28:48.8331604Z ^^^ -2025-11-30T02:28:48.8332295Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.8333058Z it.sub(parentPosition) -2025-11-30T02:28:48.8333505Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8334254Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8334984Z }, -2025-11-30T02:28:48.8335313Z ^ -2025-11-30T02:28:48.8335991Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8336948Z rotation = Quaternionf(), -2025-11-30T02:28:48.8337373Z ^^^^^^^^ -2025-11-30T02:28:48.8338064Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8338841Z rotation = Quaternionf(), -2025-11-30T02:28:48.8339273Z ^ -2025-11-30T02:28:48.8340200Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8341007Z rotation = Quaternionf(), -2025-11-30T02:28:48.8341435Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8342156Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8342923Z rotation = Quaternionf(), -2025-11-30T02:28:48.8343348Z ^ -2025-11-30T02:28:48.8344075Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8344844Z rotation = Quaternionf(), -2025-11-30T02:28:48.8345227Z ^ -2025-11-30T02:28:48.8345929Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8346924Z rotation = Quaternionf(), -2025-11-30T02:28:48.8347365Z ^ -2025-11-30T02:28:48.8348058Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8348948Z scale = Vector3f(1f), -2025-11-30T02:28:48.8349351Z ^^^^^ -2025-11-30T02:28:48.8350024Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8350777Z scale = Vector3f(1f), -2025-11-30T02:28:48.8351193Z ^ -2025-11-30T02:28:48.8351871Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8352624Z scale = Vector3f(1f), -2025-11-30T02:28:48.8353035Z ^^^^^^^^ -2025-11-30T02:28:48.8353741Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8354485Z scale = Vector3f(1f), -2025-11-30T02:28:48.8354889Z ^ -2025-11-30T02:28:48.8355608Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8356972Z scale = Vector3f(1f), -2025-11-30T02:28:48.8357353Z ^^ -2025-11-30T02:28:48.8358001Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8358670Z scale = Vector3f(1f), -2025-11-30T02:28:48.8359263Z ^ -2025-11-30T02:28:48.8359891Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8360557Z scale = Vector3f(1f), -2025-11-30T02:28:48.8360905Z ^ -2025-11-30T02:28:48.8361546Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8362182Z ), -2025-11-30T02:28:48.8362438Z ^ -2025-11-30T02:28:48.8363000Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8363624Z ), -2025-11-30T02:28:48.8363888Z ^ -2025-11-30T02:28:48.8364444Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8365093Z children = children, -2025-11-30T02:28:48.8365438Z ^^^^^^^^ -2025-11-30T02:28:48.8366029Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8366911Z children = children, -2025-11-30T02:28:48.8367255Z ^ -2025-11-30T02:28:48.8367842Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8368642Z children = children, -2025-11-30T02:28:48.8368997Z ^^^^^^^^ -2025-11-30T02:28:48.8369612Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8370258Z children = children, -2025-11-30T02:28:48.8370602Z ^ -2025-11-30T02:28:48.8371210Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8371882Z components = components, -2025-11-30T02:28:48.8372243Z ^^^^^^^^^^ -2025-11-30T02:28:48.8372847Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8373519Z components = components, -2025-11-30T02:28:48.8373878Z ^ -2025-11-30T02:28:48.8374486Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8375162Z components = components, -2025-11-30T02:28:48.8375530Z ^^^^^^^^^^ -2025-11-30T02:28:48.8376163Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8376977Z components = components, -2025-11-30T02:28:48.8377340Z ^ -2025-11-30T02:28:48.8377971Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8378607Z ) -2025-11-30T02:28:48.8378860Z ^ -2025-11-30T02:28:48.8379411Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8380078Z rootBones.forEach { index -> -2025-11-30T02:28:48.8380435Z ^^^^^^^^^ -2025-11-30T02:28:48.8381003Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8381677Z rootBones.forEach { index -> -2025-11-30T02:28:48.8382023Z ^ -2025-11-30T02:28:48.8382585Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8383259Z rootBones.forEach { index -> -2025-11-30T02:28:48.8383607Z ^^^^^^^ -2025-11-30T02:28:48.8384209Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8384866Z rootBones.forEach { index -> -2025-11-30T02:28:48.8385387Z ^ -2025-11-30T02:28:48.8386521Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. -2025-11-30T02:28:48.8387266Z rootBones.forEach { index -> -2025-11-30T02:28:48.8387666Z ^^^^^^^^^^ -2025-11-30T02:28:48.8388318Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. -2025-11-30T02:28:48.8389021Z rootBones.forEach { index -> -2025-11-30T02:28:48.8389418Z ^^^^^ -2025-11-30T02:28:48.8390703Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8391702Z rootBones.forEach { index -> -2025-11-30T02:28:48.8392124Z ^^ -2025-11-30T02:28:48.8392803Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8393543Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8393965Z ^^^^^^^^^ -2025-11-30T02:28:48.8394562Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. -2025-11-30T02:28:48.8395277Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8395720Z ^^^^^^^ -2025-11-30T02:28:48.8396821Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. -2025-11-30T02:28:48.8397577Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8398012Z ^^^^^ -2025-11-30T02:28:48.8398638Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. -2025-11-30T02:28:48.8399366Z var nextNodeIndex = bones.size -2025-11-30T02:28:48.8399781Z ^^^^^ -2025-11-30T02:28:48.8400476Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8401251Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8401653Z ^^^ -2025-11-30T02:28:48.8402260Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8403006Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8403409Z ^ -2025-11-30T02:28:48.8404024Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8404768Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8405179Z ^^^^^^^^^ -2025-11-30T02:28:48.8405819Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8406775Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8407199Z ^^^^^ -2025-11-30T02:28:48.8407884Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8408623Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8409034Z ^ -2025-11-30T02:28:48.8409717Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8410470Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8410883Z ^^^^^^^ -2025-11-30T02:28:48.8411574Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8412314Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8412729Z ^ -2025-11-30T02:28:48.8413425Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8414161Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8414561Z ^ -2025-11-30T02:28:48.8415219Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. -2025-11-30T02:28:48.8416220Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8416839Z ^ -2025-11-30T02:28:48.8417491Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. -2025-11-30T02:28:48.8418162Z val bone = bones[boneIndex] -2025-11-30T02:28:48.8418544Z ^^^^^ -2025-11-30T02:28:48.8419131Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.8436194Z val bone = bones[boneIndex] -2025-11-30T02:28:48.8436793Z ^^^^^^^^^ -2025-11-30T02:28:48.8437402Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8438043Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.8438433Z ^^^^^^^ -2025-11-30T02:28:48.8439029Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.8439668Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.8440067Z ^^^^^^^^^ -2025-11-30T02:28:48.8440666Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. -2025-11-30T02:28:48.8441706Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() -2025-11-30T02:28:48.8442309Z ^^^^^^^^ -2025-11-30T02:28:48.8442934Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.8443614Z HumanoidTag.fromPmxJapanese(bone.nameLocal) -2025-11-30T02:28:48.8444050Z ^^^^^^^^^ -2025-11-30T02:28:48.8444684Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.8445404Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) -2025-11-30T02:28:48.8445870Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8446685Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.8447682Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() -2025-11-30T02:28:48.8448391Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8449069Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8449839Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8450294Z ^^^ -2025-11-30T02:28:48.8450867Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8451624Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8452063Z ^ -2025-11-30T02:28:48.8452616Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8453367Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8453813Z ^ -2025-11-30T02:28:48.8454348Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8455106Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8455591Z ^^^^^^^^^^ -2025-11-30T02:28:48.8456169Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8457784Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8484755Z ^ -2025-11-30T02:28:48.8485527Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8486858Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8487432Z ^^^^^^^^^ -2025-11-30T02:28:48.8488128Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8488955Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8489462Z ^ -2025-11-30T02:28:48.8490163Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8490998Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8491520Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8492253Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8493085Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8493603Z ^ -2025-11-30T02:28:48.8494354Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8495220Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8495980Z ^^^^^^^^^ -2025-11-30T02:28:48.8496953Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8497743Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8498238Z ^ -2025-11-30T02:28:48.8498898Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8499659Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8500139Z ^ -2025-11-30T02:28:48.8500791Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8501539Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8502011Z ^ -2025-11-30T02:28:48.8502671Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8503410Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8503881Z ^ -2025-11-30T02:28:48.8504512Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. -2025-11-30T02:28:48.8505241Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8505731Z ^ -2025-11-30T02:28:48.8506340Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. -2025-11-30T02:28:48.8512715Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.8552840Z ^^^^^^^^^^ -2025-11-30T02:28:48.8553830Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList -2025-11-30T02:28:48.8555197Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.8556081Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8557013Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. -2025-11-30T02:28:48.8557998Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8558482Z ^^^^^^^^^ -2025-11-30T02:28:48.8559293Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8560125Z fun Array.component1(): T -2025-11-30T02:28:48.8560538Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8560945Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8561354Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8561744Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8562114Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8562553Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8562946Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8563340Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8563699Z fun List.component1(): T -2025-11-30T02:28:48.8564084Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8564518Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8564926Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8565329Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8565742Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8566220Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8566983Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8567998Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8568807Z fun Array.component2(): T -2025-11-30T02:28:48.8569210Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8569590Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8569969Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8570322Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8570705Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8571101Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8571521Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8571936Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8572301Z fun List.component2(): T -2025-11-30T02:28:48.8572678Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8573090Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8573466Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8573840Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8574243Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8574681Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8575148Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8576016Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8577064Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8577513Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8577999Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8578678Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8579306Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8579789Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8580320Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8580761Z ^^^^ -2025-11-30T02:28:48.8581444Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.8582427Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) -2025-11-30T02:28:48.8583119Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8583829Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8584830Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8585343Z ^^^^^^^^^ -2025-11-30T02:28:48.8585947Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8587397Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8587885Z ^ -2025-11-30T02:28:48.8588485Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8589320Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8589826Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8590484Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8591305Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8591815Z ^ -2025-11-30T02:28:48.8592449Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. -2025-11-30T02:28:48.8593256Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8593766Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8594439Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8595407Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8595925Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8596992Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8598057Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8598619Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8599306Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. -2025-11-30T02:28:48.8600009Z val nodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.8600451Z ^^ -2025-11-30T02:28:48.8601108Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8601816Z val nodeId = NodeId(modelId, nodeIndex) -2025-11-30T02:28:48.8602237Z ^^^^^^^ -2025-11-30T02:28:48.8602866Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8603540Z val meshId = MeshId(modelId, nodeIndex) -2025-11-30T02:28:48.8603940Z ^^^^^^^ -2025-11-30T02:28:48.8604589Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8605312Z materialToMeshIds[materialIndex] = meshId -2025-11-30T02:28:48.8605745Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8607232Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8608112Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.8608701Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8609316Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. -2025-11-30T02:28:48.8610095Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.8610696Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8611574Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8612553Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.8613134Z ^^^^^^ -2025-11-30T02:28:48.8614222Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8615147Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.8615679Z ^ -2025-11-30T02:28:48.8616859Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. -2025-11-30T02:28:48.8617810Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.8618201Z ^^ -2025-11-30T02:28:48.8618792Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. -2025-11-30T02:28:48.8619486Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.8619915Z ^^^^^^^^ -2025-11-30T02:28:48.8620740Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8621564Z }?.let { -2025-11-30T02:28:48.8621895Z ^^^ -2025-11-30T02:28:48.8622581Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.8623331Z }?.let { -2025-11-30T02:28:48.8623652Z ^^^ -2025-11-30T02:28:48.8624491Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. -2025-11-30T02:28:48.8625215Z }?.let { -2025-11-30T02:28:48.8625514Z ^^^ -2025-11-30T02:28:48.8626230Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8627204Z }?.let { -2025-11-30T02:28:48.8627528Z ^ -2025-11-30T02:28:48.8628143Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. -2025-11-30T02:28:48.8628840Z textures.getOrNull(it) -2025-11-30T02:28:48.8629259Z ^^^^^^^^ -2025-11-30T02:28:48.8630035Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8630844Z }?.let { -2025-11-30T02:28:48.8631159Z ^^^ -2025-11-30T02:28:48.8631885Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.8632645Z }?.let { -2025-11-30T02:28:48.8632971Z ^^^ -2025-11-30T02:28:48.8633714Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8634531Z }?.let { -2025-11-30T02:28:48.8634874Z ^ -2025-11-30T02:28:48.8635495Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8636181Z rootNodes.add( -2025-11-30T02:28:48.8636737Z ^^^^^^^^^ -2025-11-30T02:28:48.8637397Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8638221Z attributes = materialData.vertexAttributes, -2025-11-30T02:28:48.8638742Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8639483Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8640250Z bufferView = materialData.indexBufferView, -2025-11-30T02:28:48.8640779Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8641541Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. -2025-11-30T02:28:48.8642313Z componentType = indexBufferType, -2025-11-30T02:28:48.8643024Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8643763Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8644630Z targets = materialMorphMap[materialIndex] ?: listOf(), -2025-11-30T02:28:48.8645218Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8645922Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. -2025-11-30T02:28:48.8646832Z val cameraNodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.8647284Z ^^ -2025-11-30T02:28:48.8648028Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8648781Z rootNodes.add( -2025-11-30T02:28:48.8649130Z ^^^^^^^^^ -2025-11-30T02:28:48.8649784Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8650541Z rootNodes.add( -2025-11-30T02:28:48.8650888Z ^ -2025-11-30T02:28:48.8651530Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8652294Z rootNodes.add( -2025-11-30T02:28:48.8652637Z ^^^ -2025-11-30T02:28:48.8653544Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8654315Z rootNodes.add( -2025-11-30T02:28:48.8654648Z ^ -2025-11-30T02:28:48.8655292Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8655985Z Node( -2025-11-30T02:28:48.8656254Z ^^^^ -2025-11-30T02:28:48.8657056Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8657768Z Node( -2025-11-30T02:28:48.8658065Z ^ -2025-11-30T02:28:48.8658684Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8659448Z name = "MMD Camera", -2025-11-30T02:28:48.8659853Z ^^^^ -2025-11-30T02:28:48.8660522Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8661267Z name = "MMD Camera", -2025-11-30T02:28:48.8661650Z ^ -2025-11-30T02:28:48.8662303Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8663021Z name = "MMD Camera", -2025-11-30T02:28:48.8663402Z ^ -2025-11-30T02:28:48.8664057Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8664767Z name = "MMD Camera", -2025-11-30T02:28:48.8665173Z ^^^^^^^^^^ -2025-11-30T02:28:48.8665883Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8666814Z name = "MMD Camera", -2025-11-30T02:28:48.8667196Z ^ -2025-11-30T02:28:48.8667897Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8668605Z name = "MMD Camera", -2025-11-30T02:28:48.8668968Z ^ -2025-11-30T02:28:48.8669670Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8670395Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8670789Z ^^ -2025-11-30T02:28:48.8671358Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8672275Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8672680Z ^ -2025-11-30T02:28:48.8673307Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8674052Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8674465Z ^^^^^^ -2025-11-30T02:28:48.8675132Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8675886Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8676338Z ^ -2025-11-30T02:28:48.8677205Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8677974Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8678411Z ^^^^^^^ -2025-11-30T02:28:48.8679126Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8679906Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8680338Z ^ -2025-11-30T02:28:48.8681054Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8682031Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8682499Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8683213Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8683985Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8684440Z ^ -2025-11-30T02:28:48.8685141Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8685946Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8686588Z ^ -2025-11-30T02:28:48.8687416Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8688195Z components = listOf( -2025-11-30T02:28:48.8688584Z ^^^^^^^^^^ -2025-11-30T02:28:48.8689258Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8689956Z components = listOf( -2025-11-30T02:28:48.8690324Z ^ -2025-11-30T02:28:48.8690997Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8691721Z components = listOf( -2025-11-30T02:28:48.8692091Z ^^^^^^ -2025-11-30T02:28:48.8692754Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8693473Z components = listOf( -2025-11-30T02:28:48.8693866Z ^ -2025-11-30T02:28:48.8694593Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8695388Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8695859Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8696795Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8697586Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8698029Z ^ -2025-11-30T02:28:48.8698708Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8699501Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8699948Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8700944Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8701736Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8702178Z ^ -2025-11-30T02:28:48.8702907Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8703672Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8704104Z ^^^^^^ -2025-11-30T02:28:48.8704793Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8705562Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8705999Z ^ -2025-11-30T02:28:48.8706899Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8707678Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8708092Z ^^^ -2025-11-30T02:28:48.8708792Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8709545Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8709974Z ^ -2025-11-30T02:28:48.8710838Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8711624Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8712066Z ^^^^ -2025-11-30T02:28:48.8712796Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8713568Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8714003Z ^ -2025-11-30T02:28:48.8714738Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8715508Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8715959Z ^ -2025-11-30T02:28:48.8716869Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8717654Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8718120Z ^^^^^^^^^^ -2025-11-30T02:28:48.8718850Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8719617Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8720062Z ^ -2025-11-30T02:28:48.8720780Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8721545Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8721978Z ^ -2025-11-30T02:28:48.8722697Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8723422Z ) -2025-11-30T02:28:48.8723744Z ^ -2025-11-30T02:28:48.8724396Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8725452Z ) -2025-11-30T02:28:48.8725760Z ^ -2025-11-30T02:28:48.8726546Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8727267Z ) -2025-11-30T02:28:48.8727522Z ^ -2025-11-30T02:28:48.8728095Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8728789Z ) -2025-11-30T02:28:48.8729309Z ^ -2025-11-30T02:28:48.8729877Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8730604Z val scene = Scene(nodes = rootNodes) -2025-11-30T02:28:48.8731046Z ^^^^^^^^^ -2025-11-30T02:28:48.8731759Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8732521Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8732938Z ^^^^^^ -2025-11-30T02:28:48.8733570Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8734336Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8734761Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8735432Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8736158Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8736790Z ^ -2025-11-30T02:28:48.8737410Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8738174Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8738612Z ^^^^^^^^^^ -2025-11-30T02:28:48.8739592Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8740402Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8740840Z ^ -2025-11-30T02:28:48.8741476Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8742177Z metadata = Metadata( -2025-11-30T02:28:48.8742549Z ^^^^^^^^ -2025-11-30T02:28:48.8743201Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8743957Z metadata = Metadata( -2025-11-30T02:28:48.8744346Z ^ -2025-11-30T02:28:48.8744982Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8745720Z metadata = Metadata( -2025-11-30T02:28:48.8746075Z ^^^^^^^^ -2025-11-30T02:28:48.8746923Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8747655Z metadata = Metadata( -2025-11-30T02:28:48.8748036Z ^ -2025-11-30T02:28:48.8748717Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8749524Z title = header.modelNameLocal, -2025-11-30T02:28:48.8749988Z ^^^^^ -2025-11-30T02:28:48.8764237Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8765028Z title = header.modelNameLocal, -2025-11-30T02:28:48.8765405Z ^ -2025-11-30T02:28:48.8766044Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8767030Z title = header.modelNameLocal, -2025-11-30T02:28:48.8767489Z ^^^^^^ -2025-11-30T02:28:48.8768151Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8768894Z title = header.modelNameLocal, -2025-11-30T02:28:48.8769323Z ^ -2025-11-30T02:28:48.8769999Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8770758Z title = header.modelNameLocal, -2025-11-30T02:28:48.8771207Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8771965Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8772978Z title = header.modelNameLocal, -2025-11-30T02:28:48.8773428Z ^ -2025-11-30T02:28:48.8774172Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8774977Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8775444Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8776112Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8777127Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8777609Z ^ -2025-11-30T02:28:48.8778298Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8779090Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8779582Z ^^^^^^ -2025-11-30T02:28:48.8780294Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8781067Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8781532Z ^ -2025-11-30T02:28:48.8782246Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8783256Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8783776Z ^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8784488Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8785245Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8785694Z ^ -2025-11-30T02:28:48.8786606Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8787409Z comment = header.commentLocal, -2025-11-30T02:28:48.8787824Z ^^^^^^^ -2025-11-30T02:28:48.8788488Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8789241Z comment = header.commentLocal, -2025-11-30T02:28:48.8789683Z ^ -2025-11-30T02:28:48.8790356Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8791097Z comment = header.commentLocal, -2025-11-30T02:28:48.8791503Z ^^^^^^ -2025-11-30T02:28:48.8792185Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8792952Z comment = header.commentLocal, -2025-11-30T02:28:48.8793365Z ^ -2025-11-30T02:28:48.8794069Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8794842Z comment = header.commentLocal, -2025-11-30T02:28:48.8795293Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8796000Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8796951Z comment = header.commentLocal, -2025-11-30T02:28:48.8797378Z ^ -2025-11-30T02:28:48.8798081Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8798882Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8799354Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8800061Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8800861Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8801588Z ^ -2025-11-30T02:28:48.8802319Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8803168Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8803661Z ^^^^^^ -2025-11-30T02:28:48.8804366Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8805147Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8805614Z ^ -2025-11-30T02:28:48.8806313Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8807338Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8807824Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8808586Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8809355Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8809845Z ^ -2025-11-30T02:28:48.8810585Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8811523Z ), -2025-11-30T02:28:48.8811853Z ^ -2025-11-30T02:28:48.8812496Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8813226Z ), -2025-11-30T02:28:48.8813513Z ^ -2025-11-30T02:28:48.8814134Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8814862Z model = Model( -2025-11-30T02:28:48.8815234Z ^^^^^ -2025-11-30T02:28:48.8815898Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8816841Z model = Model( -2025-11-30T02:28:48.8817214Z ^ -2025-11-30T02:28:48.8817861Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8818634Z model = Model( -2025-11-30T02:28:48.8819010Z ^^^^^ -2025-11-30T02:28:48.8819715Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8820441Z model = Model( -2025-11-30T02:28:48.8820775Z ^ -2025-11-30T02:28:48.8821442Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8822213Z scenes = listOf(scene), -2025-11-30T02:28:48.8822644Z ^^^^^^ -2025-11-30T02:28:48.8823316Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8824100Z scenes = listOf(scene), -2025-11-30T02:28:48.8824495Z ^ -2025-11-30T02:28:48.8825164Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8826323Z scenes = listOf(scene), -2025-11-30T02:28:48.8826932Z ^^^^^^ -2025-11-30T02:28:48.8827661Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8828381Z scenes = listOf(scene), -2025-11-30T02:28:48.8828791Z ^ -2025-11-30T02:28:48.8829466Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8830192Z scenes = listOf(scene), -2025-11-30T02:28:48.8830580Z ^^^^^ -2025-11-30T02:28:48.8831516Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8832243Z scenes = listOf(scene), -2025-11-30T02:28:48.8832627Z ^ -2025-11-30T02:28:48.8833325Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8834057Z scenes = listOf(scene), -2025-11-30T02:28:48.8834463Z ^ -2025-11-30T02:28:48.8835166Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8835867Z skins = listOf(skin), -2025-11-30T02:28:48.8836249Z ^^^^^ -2025-11-30T02:28:48.8837115Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8837839Z skins = listOf(skin), -2025-11-30T02:28:48.8838220Z ^ -2025-11-30T02:28:48.8838866Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8839586Z skins = listOf(skin), -2025-11-30T02:28:48.8839971Z ^^^^^^ -2025-11-30T02:28:48.8840649Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8841359Z skins = listOf(skin), -2025-11-30T02:28:48.8841937Z ^ -2025-11-30T02:28:48.8842600Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8843271Z skins = listOf(skin), -2025-11-30T02:28:48.8843610Z ^^^^ -2025-11-30T02:28:48.8844252Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8844985Z skins = listOf(skin), -2025-11-30T02:28:48.8845372Z ^ -2025-11-30T02:28:48.8846077Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8847006Z skins = listOf(skin), -2025-11-30T02:28:48.8847400Z ^ -2025-11-30T02:28:48.8848085Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8848897Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8849383Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8850037Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8850855Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8851344Z ^ -2025-11-30T02:28:48.8852038Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8852859Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8853338Z ^^^^ -2025-11-30T02:28:48.8854035Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8854865Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8855346Z ^ -2025-11-30T02:28:48.8856024Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8857019Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8857516Z ^^^^^^ -2025-11-30T02:28:48.8858233Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8859063Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8859785Z ^ -2025-11-30T02:28:48.8860516Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8861329Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8861868Z ^^^^^^^^^^ -2025-11-30T02:28:48.8862603Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8863432Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8863940Z ^ -2025-11-30T02:28:48.8864643Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. -2025-11-30T02:28:48.8865459Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8865963Z ^^^^^^^^^^ -2025-11-30T02:28:48.8866853Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8867739Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8868253Z ^^^^^ -2025-11-30T02:28:48.8869202Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8870455Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8871030Z ^^ -2025-11-30T02:28:48.8871681Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8872453Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8872974Z ^^^^^ -2025-11-30T02:28:48.8873665Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.8874491Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8875000Z ^^^ -2025-11-30T02:28:48.8875662Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.8876629Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8877170Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8877777Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. -2025-11-30T02:28:48.8878363Z return@mapNotNull null -2025-11-30T02:28:48.8878772Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8879417Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8880196Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8880684Z ^^^^^ -2025-11-30T02:28:48.8881381Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.8882235Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8882748Z ^^^ -2025-11-30T02:28:48.8883459Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.8884249Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8884789Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8885398Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. -2025-11-30T02:28:48.8886010Z return@mapNotNull null -2025-11-30T02:28:48.8886644Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8887367Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8888493Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8888980Z ^^^^^ -2025-11-30T02:28:48.8889960Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. -2025-11-30T02:28:48.8891059Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8891606Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8892494Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8893511Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8894048Z ^^^^^^ -2025-11-30T02:28:48.8895152Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.8896299Z fun CharSequence.isNotBlank(): Boolean -2025-11-30T02:28:48.8897061Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8897596Z ^^^^^^^^^^ -2025-11-30T02:28:48.8898672Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.8899571Z type = when (joint.type) { -2025-11-30T02:28:48.8900008Z ^^^^ -2025-11-30T02:28:48.8901119Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. -2025-11-30T02:28:48.8902275Z type = when (joint.type) { -2025-11-30T02:28:48.8902696Z ^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8903366Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8904052Z type = when (joint.type) { -2025-11-30T02:28:48.8904480Z ^^^^^ -2025-11-30T02:28:48.8905449Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.8906772Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8907351Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8908067Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8908900Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8909492Z ^^^^^^^ -2025-11-30T02:28:48.8910200Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8911023Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8911715Z ^^^^^ -2025-11-30T02:28:48.8912718Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.8913825Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8914403Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8915101Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8915918Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8916653Z ^^^^^^^ -2025-11-30T02:28:48.8917547Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8918315Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8918861Z ^^^^^ -2025-11-30T02:28:48.8919533Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8920243Z position = joint.position, -2025-11-30T02:28:48.8920669Z ^^^^^ -2025-11-30T02:28:48.8921298Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8921994Z rotation = joint.rotation, -2025-11-30T02:28:48.8922393Z ^^^^^ -2025-11-30T02:28:48.8923017Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8923722Z positionMin = joint.positionMinimum, -2025-11-30T02:28:48.8924176Z ^^^^^ -2025-11-30T02:28:48.8924827Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8925597Z positionMax = joint.positionMaximum, -2025-11-30T02:28:48.8926060Z ^^^^^ -2025-11-30T02:28:48.8927154Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8927900Z rotationMin = joint.rotationMinimum, -2025-11-30T02:28:48.8928357Z ^^^^^ -2025-11-30T02:28:48.8929005Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8929742Z rotationMax = joint.rotationMaximum, -2025-11-30T02:28:48.8930211Z ^^^^^ -2025-11-30T02:28:48.8930902Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8931652Z positionSpring = joint.positionSpring, -2025-11-30T02:28:48.8932155Z ^^^^^ -2025-11-30T02:28:48.8932835Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8933605Z rotationSpring = joint.rotationSpring, -2025-11-30T02:28:48.8934091Z ^^^^^ -2025-11-30T02:28:48.8934832Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8935584Z }, -2025-11-30T02:28:48.8935895Z ^ -2025-11-30T02:28:48.8936736Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8937525Z expressions = buildList { -2025-11-30T02:28:48.8937949Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8938664Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8939457Z expressions = buildList { -2025-11-30T02:28:48.8939875Z ^ -2025-11-30T02:28:48.8940559Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8941350Z expressions = buildList { -2025-11-30T02:28:48.8941765Z ^^^^^^^^^ -2025-11-30T02:28:48.8942498Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8943258Z expressions = buildList { -2025-11-30T02:28:48.8943669Z ^ -2025-11-30T02:28:48.8944362Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. -2025-11-30T02:28:48.8945090Z expressions = buildList { -2025-11-30T02:28:48.8945741Z ^ -2025-11-30T02:28:48.8946625Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. -2025-11-30T02:28:48.8947457Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8947971Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8948797Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8949644Z fun Array.component1(): T -2025-11-30T02:28:48.8950066Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8950485Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8950901Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8951279Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8951685Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8952112Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8952562Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8952706Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8952839Z fun List.component1(): T -2025-11-30T02:28:48.8952994Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8953144Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8953291Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8953436Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8953806Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8954033Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8954178Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8954734Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8954881Z fun Array.component2(): T -2025-11-30T02:28:48.8955030Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8955178Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8955339Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8955484Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8955635Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8955792Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8955956Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8956108Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8956238Z fun List.component2(): T -2025-11-30T02:28:48.8956584Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8956744Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8956893Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8957050Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8957205Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8957421Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8957566Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8958195Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8958372Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8958529Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8958759Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8959120Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8959288Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8959493Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8959703Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8959844Z ^^^^^^^^^ -2025-11-30T02:28:48.8960542Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. -2025-11-30T02:28:48.8960976Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8961118Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8961522Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.8961742Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8961887Z ^^^^^^^^^ -2025-11-30T02:28:48.8962332Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.8962544Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8962684Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8963050Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. -2025-11-30T02:28:48.8963197Z tag = target.tag, -2025-11-30T02:28:48.8963329Z ^^^ -2025-11-30T02:28:48.8963962Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. -2025-11-30T02:28:48.8964109Z isBinary = false, -2025-11-30T02:28:48.8964231Z ^^^^^ -2025-11-30T02:28:48.8965414Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.8966031Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8966216Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8967251Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. -2025-11-30T02:28:48.8967802Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8967983Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8968563Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8969107Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8969267Z ^^^^^^^^^^ -2025-11-30T02:28:48.8970098Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.8970390Z fun Iterable.mapNotNull(transform: (T) -> R?): List -2025-11-30T02:28:48.8970929Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8971095Z ^^^^^^^^^^ -2025-11-30T02:28:48.8971686Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8972245Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8972426Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8972993Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8973395Z fun Array.component1(): T -2025-11-30T02:28:48.8973556Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8973713Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8973873Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8974025Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8974175Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8974334Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8974508Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8974654Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8974790Z fun List.component1(): T -2025-11-30T02:28:48.8974960Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8975106Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8975255Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8975416Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8975580Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8976109Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8976311Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8977077Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8977235Z fun Array.component2(): T -2025-11-30T02:28:48.8977615Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8977793Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8977941Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8978087Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8978245Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8978402Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8978568Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8978718Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8978860Z fun List.component2(): T -2025-11-30T02:28:48.8979032Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8979179Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8979334Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8979488Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8979645Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8980180Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8980360Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8980898Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8981022Z } ?: listOf(), -2025-11-30T02:28:48.8981143Z ^^^^^^ -2025-11-30T02:28:48.8981883Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.8982036Z } ?: listOf(), -2025-11-30T02:28:48.8982168Z ^^^^^^^^ -2025-11-30T02:28:48.8982535Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. -2025-11-30T02:28:48.8982778Z pmxIndexToExpressions[target.pmxIndex] = expression -2025-11-30T02:28:48.8982925Z ^^^^^^^^ -2025-11-30T02:28:48.8983283Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.8983419Z add(expression) -2025-11-30T02:28:48.8983545Z ^^^ -2025-11-30T02:28:48.8984158Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8984330Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8984782Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8985007Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8985323Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8985495Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8985710Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8985888Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.8986016Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8986681Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. -2025-11-30T02:28:48.8986864Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.8986988Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8987398Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.8987535Z add( -2025-11-30T02:28:48.8987640Z ^^^ -2025-11-30T02:28:48.8988180Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8988417Z targets = group.items.mapNotNull { item -> -2025-11-30T02:28:48.8988795Z ^^^^ -2025-11-30T02:28:48.8989211Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. -2025-11-30T02:28:48.8989403Z val pmxMorphIndex = item.index -2025-11-30T02:28:48.8989547Z ^^^^^ -2025-11-30T02:28:48.8989956Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. -2025-11-30T02:28:48.8990132Z influence = item.influence, -2025-11-30T02:28:48.8990280Z ^^^^^^^^^ -2025-11-30T02:28:48.8990736Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8990858Z }, -2025-11-30T02:28:48.8990979Z ^ -2025-11-30T02:28:48.8991439Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8991597Z defaultScene = scene, -2025-11-30T02:28:48.8991725Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8992163Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8992307Z defaultScene = scene, -2025-11-30T02:28:48.8992430Z ^ -2025-11-30T02:28:48.8992866Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8993011Z defaultScene = scene, -2025-11-30T02:28:48.8993142Z ^^^^^ -2025-11-30T02:28:48.8993596Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8993732Z defaultScene = scene, -2025-11-30T02:28:48.8993845Z ^ -2025-11-30T02:28:48.8994307Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8994414Z ), -2025-11-30T02:28:48.8994518Z ^ -2025-11-30T02:28:48.8994965Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8995069Z ), -2025-11-30T02:28:48.8995176Z ^ -2025-11-30T02:28:48.8995622Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8995766Z animations = listOf(), -2025-11-30T02:28:48.8996109Z ^^^^^^^^^^ -2025-11-30T02:28:48.8996774Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8996929Z animations = listOf(), -2025-11-30T02:28:48.8997048Z ^ -2025-11-30T02:28:48.8997507Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8997670Z animations = listOf(), -2025-11-30T02:28:48.8997788Z ^^^^^^ -2025-11-30T02:28:48.8998249Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8998393Z animations = listOf(), -2025-11-30T02:28:48.8998523Z ^ -2025-11-30T02:28:48.8998970Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8999120Z animations = listOf(), -2025-11-30T02:28:48.8999266Z ^ -2025-11-30T02:28:48.8999711Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8999858Z animations = listOf(), -2025-11-30T02:28:48.8999991Z ^ -2025-11-30T02:28:48.9000441Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9000779Z ) -2025-11-30T02:28:48.9000898Z ^ -2025-11-30T02:28:48.9001394Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9001502Z } -2025-11-30T02:28:48.9001605Z ^ -2025-11-30T02:28:48.9002175Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. -2025-11-30T02:28:48.9002384Z override fun load(path: Path, basePath: Path) = -2025-11-30T02:28:48.9002493Z ^^^^^^^^ -2025-11-30T02:28:48.9003049Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9003360Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> -2025-11-30T02:28:48.9003500Z ^^^ -2025-11-30T02:28:48.9003899Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. -2025-11-30T02:28:48.9004072Z val context = Context(basePath) -2025-11-30T02:28:48.9004191Z ^^^^^^^ -2025-11-30T02:28:48.9004674Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9004790Z } -2025-11-30T02:28:48.9004891Z ^ -2025-11-30T02:28:48.9005039Z Nov 30, 2025 2:28:48 AM worker request 0 -2025-11-30T02:28:48.9005238Z SEVERE: Compilation failure: compile phase failed: -2025-11-30T02:28:48.9005841Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: -2025-11-30T02:28:48.9006151Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult -2025-11-30T02:28:48.9006312Z class PmxLoader : ModelFileLoader { -2025-11-30T02:28:48.9006630Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9007047Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. -2025-11-30T02:28:48.9007239Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9007385Z ^^^^^^^^^ -2025-11-30T02:28:48.9007795Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9007984Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9008126Z ^^^^^^^^^ -2025-11-30T02:28:48.9008798Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9009252Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9009400Z ^ -2025-11-30T02:28:48.9009850Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. -2025-11-30T02:28:48.9010065Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9010213Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9010635Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9010842Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9010992Z ^^^^^^^^^ -2025-11-30T02:28:48.9011669Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9011884Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9012030Z ^ -2025-11-30T02:28:48.9012459Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. -2025-11-30T02:28:48.9012655Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9012963Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9013366Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9013570Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9013710Z ^^^^^^^^^ -2025-11-30T02:28:48.9014363Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9014572Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9014710Z ^ -2025-11-30T02:28:48.9015088Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. -2025-11-30T02:28:48.9015256Z mass = rigidBody.mass, -2025-11-30T02:28:48.9015385Z ^^^^ -2025-11-30T02:28:48.9015781Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9015938Z mass = rigidBody.mass, -2025-11-30T02:28:48.9016065Z ^^^^^^^^^ -2025-11-30T02:28:48.9016907Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9017061Z mass = rigidBody.mass, -2025-11-30T02:28:48.9017200Z ^ -2025-11-30T02:28:48.9017625Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. -2025-11-30T02:28:48.9017841Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9017976Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9018365Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9018582Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9018723Z ^^^^^^^^^ -2025-11-30T02:28:48.9019360Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9019572Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9019918Z ^ -2025-11-30T02:28:48.9020371Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. -2025-11-30T02:28:48.9020597Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9020735Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9021148Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9021367Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9021514Z ^^^^^^^^^ -2025-11-30T02:28:48.9022174Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9022384Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9022535Z ^ -2025-11-30T02:28:48.9022941Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. -2025-11-30T02:28:48.9023116Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9023236Z ^^^^^^^^^ -2025-11-30T02:28:48.9023784Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9023962Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9024091Z ^^^^^^^^^ -2025-11-30T02:28:48.9024742Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9024921Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9025071Z ^ -2025-11-30T02:28:48.9025497Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. -2025-11-30T02:28:48.9025693Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9025819Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9026227Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9026599Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9026741Z ^^^^^^^^^ -2025-11-30T02:28:48.9027385Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9027581Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9027725Z ^ -2025-11-30T02:28:48.9028135Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. -2025-11-30T02:28:48.9028349Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9028476Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9028991Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.9029209Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9029335Z ^^^^ -2025-11-30T02:28:48.9029718Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9029922Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9030053Z ^^^^^^^^^ -2025-11-30T02:28:48.9030968Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9031096Z }, -2025-11-30T02:28:48.9031210Z ^ -2025-11-30T02:28:48.9031619Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9031738Z ) -2025-11-30T02:28:48.9031855Z ^ -2025-11-30T02:28:48.9032507Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9032626Z }, -2025-11-30T02:28:48.9032739Z ^ -2025-11-30T02:28:48.9033161Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9033325Z ) -2025-11-30T02:28:48.9033436Z ^ -2025-11-30T02:28:48.9033836Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9033947Z ) -2025-11-30T02:28:48.9034055Z ^ -2025-11-30T02:28:48.9034639Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. -2025-11-30T02:28:48.9034754Z } -2025-11-30T02:28:48.9034857Z ^ -2025-11-30T02:28:48.9035220Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. -2025-11-30T02:28:48.9035327Z } -2025-11-30T02:28:48.9035432Z ^ -2025-11-30T02:28:48.9035883Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9036016Z return Node( -2025-11-30T02:28:48.9036123Z ^^^^^^ -2025-11-30T02:28:48.9036758Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9036889Z return Node( -2025-11-30T02:28:48.9036999Z ^^^^ -2025-11-30T02:28:48.9037435Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9037555Z return Node( -2025-11-30T02:28:48.9037670Z ^ -2025-11-30T02:28:48.9038097Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9038236Z name = bone.nameLocal, -2025-11-30T02:28:48.9038354Z ^^^^ -2025-11-30T02:28:48.9038805Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9038961Z name = bone.nameLocal, -2025-11-30T02:28:48.9039087Z ^ -2025-11-30T02:28:48.9039544Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9039701Z name = bone.nameLocal, -2025-11-30T02:28:48.9039829Z ^^^^ -2025-11-30T02:28:48.9040277Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9040424Z name = bone.nameLocal, -2025-11-30T02:28:48.9040553Z ^ -2025-11-30T02:28:48.9041014Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9041159Z name = bone.nameLocal, -2025-11-30T02:28:48.9041276Z ^^^^^^^^^ -2025-11-30T02:28:48.9041724Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9041864Z name = bone.nameLocal, -2025-11-30T02:28:48.9041984Z ^ -2025-11-30T02:28:48.9042694Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9042828Z id = boneNodeId, -2025-11-30T02:28:48.9042940Z ^^ -2025-11-30T02:28:48.9043385Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9043542Z id = boneNodeId, -2025-11-30T02:28:48.9043983Z ^ -2025-11-30T02:28:48.9044537Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9044728Z id = boneNodeId, -2025-11-30T02:28:48.9044903Z ^^^^^^^^^^ -2025-11-30T02:28:48.9045468Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9045627Z id = boneNodeId, -2025-11-30T02:28:48.9045892Z ^ -2025-11-30T02:28:48.9046718Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9046962Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9047128Z ^^^^^^^^^ -2025-11-30T02:28:48.9047747Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9047964Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9048438Z ^ -2025-11-30T02:28:48.9049056Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9049298Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9049475Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9049977Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9050254Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9050552Z ^ -2025-11-30T02:28:48.9051106Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9051560Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9051758Z ^^^^^^^^^^ -2025-11-30T02:28:48.9052265Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9052530Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9052838Z ^ -2025-11-30T02:28:48.9053367Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9053718Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9053891Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9054403Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9054702Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9055009Z ^ -2025-11-30T02:28:48.9055544Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9055824Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9056115Z ^^^^^^^^ -2025-11-30T02:28:48.9056838Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9057117Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9057442Z ^ -2025-11-30T02:28:48.9057980Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9058488Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9058720Z ^ -2025-11-30T02:28:48.9059240Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9059526Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9059861Z ^ -2025-11-30T02:28:48.9060493Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9060786Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9060976Z ^^^ -2025-11-30T02:28:48.9061575Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9061863Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9062048Z ^ -2025-11-30T02:28:48.9062807Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9063086Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9063263Z ^^^^ -2025-11-30T02:28:48.9064037Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9064329Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9064495Z ^ -2025-11-30T02:28:48.9065238Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9065518Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9065726Z ^^^^^^^^ -2025-11-30T02:28:48.9066309Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9066799Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9066978Z ^ -2025-11-30T02:28:48.9067687Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9067974Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9068144Z ^ -2025-11-30T02:28:48.9082295Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9082537Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9082682Z ^^^^ -2025-11-30T02:28:48.9083181Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9083402Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9083541Z ^ -2025-11-30T02:28:48.9083965Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. -2025-11-30T02:28:48.9084184Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9084325Z ^ -2025-11-30T02:28:48.9084762Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.9084935Z if (parentPosition != null) { -2025-11-30T02:28:48.9085066Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9085457Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. -2025-11-30T02:28:48.9085835Z it.sub(parentPosition) -2025-11-30T02:28:48.9085961Z ^^^ -2025-11-30T02:28:48.9086605Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.9086778Z it.sub(parentPosition) -2025-11-30T02:28:48.9086864Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9087144Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9087242Z }, -2025-11-30T02:28:48.9087305Z ^ -2025-11-30T02:28:48.9087569Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9087658Z rotation = Quaternionf(), -2025-11-30T02:28:48.9087725Z ^^^^^^^^ -2025-11-30T02:28:48.9087983Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9088077Z rotation = Quaternionf(), -2025-11-30T02:28:48.9088145Z ^ -2025-11-30T02:28:48.9088498Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9088593Z rotation = Quaternionf(), -2025-11-30T02:28:48.9088821Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9089079Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089164Z rotation = Quaternionf(), -2025-11-30T02:28:48.9089237Z ^ -2025-11-30T02:28:48.9089479Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089558Z rotation = Quaternionf(), -2025-11-30T02:28:48.9089635Z ^ -2025-11-30T02:28:48.9089874Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089956Z rotation = Quaternionf(), -2025-11-30T02:28:48.9090030Z ^ -2025-11-30T02:28:48.9090274Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9090357Z scale = Vector3f(1f), -2025-11-30T02:28:48.9090429Z ^^^^^ -2025-11-30T02:28:48.9090666Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9090743Z scale = Vector3f(1f), -2025-11-30T02:28:48.9090809Z ^ -2025-11-30T02:28:48.9091049Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091123Z scale = Vector3f(1f), -2025-11-30T02:28:48.9091195Z ^^^^^^^^ -2025-11-30T02:28:48.9091432Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091505Z scale = Vector3f(1f), -2025-11-30T02:28:48.9091572Z ^ -2025-11-30T02:28:48.9091812Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091932Z scale = Vector3f(1f), -2025-11-30T02:28:48.9092051Z ^^ -2025-11-30T02:28:48.9092484Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9092626Z scale = Vector3f(1f), -2025-11-30T02:28:48.9092745Z ^ -2025-11-30T02:28:48.9093494Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9093899Z scale = Vector3f(1f), -2025-11-30T02:28:48.9094018Z ^ -2025-11-30T02:28:48.9094457Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9094579Z ), -2025-11-30T02:28:48.9094685Z ^ -2025-11-30T02:28:48.9095115Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9095222Z ), -2025-11-30T02:28:48.9095328Z ^ -2025-11-30T02:28:48.9095699Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9095785Z children = children, -2025-11-30T02:28:48.9095858Z ^^^^^^^^ -2025-11-30T02:28:48.9096234Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9096361Z children = children, -2025-11-30T02:28:48.9096635Z ^ -2025-11-30T02:28:48.9096885Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9096961Z children = children, -2025-11-30T02:28:48.9097028Z ^^^^^^^^ -2025-11-30T02:28:48.9097435Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9097513Z children = children, -2025-11-30T02:28:48.9097578Z ^ -2025-11-30T02:28:48.9097819Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9097906Z components = components, -2025-11-30T02:28:48.9097970Z ^^^^^^^^^^ -2025-11-30T02:28:48.9098233Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9098323Z components = components, -2025-11-30T02:28:48.9098389Z ^ -2025-11-30T02:28:48.9098634Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9098722Z components = components, -2025-11-30T02:28:48.9098791Z ^^^^^^^^^^ -2025-11-30T02:28:48.9099035Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099118Z components = components, -2025-11-30T02:28:48.9099184Z ^ -2025-11-30T02:28:48.9099427Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099494Z ) -2025-11-30T02:28:48.9099552Z ^ -2025-11-30T02:28:48.9099797Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099888Z rootBones.forEach { index -> -2025-11-30T02:28:48.9099954Z ^^^^^^^^^ -2025-11-30T02:28:48.9100193Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9100273Z rootBones.forEach { index -> -2025-11-30T02:28:48.9100341Z ^ -2025-11-30T02:28:48.9100579Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9100659Z rootBones.forEach { index -> -2025-11-30T02:28:48.9100729Z ^^^^^^^ -2025-11-30T02:28:48.9100965Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9101044Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101109Z ^ -2025-11-30T02:28:48.9101345Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. -2025-11-30T02:28:48.9101547Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101613Z ^^^^^^^^^^ -2025-11-30T02:28:48.9101830Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. -2025-11-30T02:28:48.9101910Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101977Z ^^^^^ -2025-11-30T02:28:48.9102354Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9102434Z rootBones.forEach { index -> -2025-11-30T02:28:48.9102497Z ^^ -2025-11-30T02:28:48.9102719Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9102811Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9102874Z ^^^^^^^^^ -2025-11-30T02:28:48.9103090Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. -2025-11-30T02:28:48.9103181Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9103247Z ^^^^^^^ -2025-11-30T02:28:48.9103451Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. -2025-11-30T02:28:48.9103537Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9103607Z ^^^^^ -2025-11-30T02:28:48.9103887Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. -2025-11-30T02:28:48.9103973Z var nextNodeIndex = bones.size -2025-11-30T02:28:48.9104041Z ^^^^^ -2025-11-30T02:28:48.9104281Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9104369Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9104434Z ^^^ -2025-11-30T02:28:48.9104672Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9104759Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9104825Z ^ -2025-11-30T02:28:48.9105059Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105142Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105209Z ^^^^^^^^^ -2025-11-30T02:28:48.9105450Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105532Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105600Z ^^^^^ -2025-11-30T02:28:48.9105841Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105922Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105990Z ^ -2025-11-30T02:28:48.9106223Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9106307Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9106585Z ^^^^^^^ -2025-11-30T02:28:48.9106858Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9106950Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9107024Z ^ -2025-11-30T02:28:48.9107409Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9107550Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9107656Z ^ -2025-11-30T02:28:48.9108021Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. -2025-11-30T02:28:48.9108167Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9108287Z ^ -2025-11-30T02:28:48.9108839Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. -2025-11-30T02:28:48.9108980Z val bone = bones[boneIndex] -2025-11-30T02:28:48.9109102Z ^^^^^ -2025-11-30T02:28:48.9109424Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.9109508Z val bone = bones[boneIndex] -2025-11-30T02:28:48.9109587Z ^^^^^^^^^ -2025-11-30T02:28:48.9109804Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9109901Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.9109972Z ^^^^^^^ -2025-11-30T02:28:48.9110184Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.9110271Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.9110351Z ^^^^^^^^^ -2025-11-30T02:28:48.9110572Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. -2025-11-30T02:28:48.9110775Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() -2025-11-30T02:28:48.9110860Z ^^^^^^^^ -2025-11-30T02:28:48.9111209Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.9111339Z HumanoidTag.fromPmxJapanese(bone.nameLocal) -2025-11-30T02:28:48.9111420Z ^^^^^^^^^ -2025-11-30T02:28:48.9111657Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.9111783Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) -2025-11-30T02:28:48.9111866Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9112120Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.9112373Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() -2025-11-30T02:28:48.9112463Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9112711Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9112858Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9112919Z ^^^ -2025-11-30T02:28:48.9113160Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9113300Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9113361Z ^ -2025-11-30T02:28:48.9113598Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9113737Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9113798Z ^ -2025-11-30T02:28:48.9114033Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9114168Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9114237Z ^^^^^^^^^^ -2025-11-30T02:28:48.9114471Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9114600Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9114671Z ^ -2025-11-30T02:28:48.9114907Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9115035Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9115220Z ^^^^^^^^^ -2025-11-30T02:28:48.9115456Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9115585Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9115658Z ^ -2025-11-30T02:28:48.9115892Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9116025Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9116109Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9116345Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9116721Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9116802Z ^ -2025-11-30T02:28:48.9117066Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9117211Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9117294Z ^^^^^^^^^ -2025-11-30T02:28:48.9117539Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9117793Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9117878Z ^ -2025-11-30T02:28:48.9118119Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9118256Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9118339Z ^ -2025-11-30T02:28:48.9118584Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9118720Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9118801Z ^ -2025-11-30T02:28:48.9119038Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9119175Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9119260Z ^ -2025-11-30T02:28:48.9119491Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. -2025-11-30T02:28:48.9119627Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9119701Z ^ -2025-11-30T02:28:48.9119921Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. -2025-11-30T02:28:48.9120277Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.9120369Z ^^^^^^^^^^ -2025-11-30T02:28:48.9120708Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList -2025-11-30T02:28:48.9121018Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.9121111Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9121341Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. -2025-11-30T02:28:48.9121462Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9121541Z ^^^^^^^^^ -2025-11-30T02:28:48.9121838Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9122050Z fun Array.component1(): T -2025-11-30T02:28:48.9122138Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9122221Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9122303Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9122388Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9122471Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9122554Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9122648Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9122726Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9122806Z fun List.component1(): T -2025-11-30T02:28:48.9122897Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9122979Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9123059Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9123138Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9123229Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9123346Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9123428Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9123734Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9123812Z fun Array.component2(): T -2025-11-30T02:28:48.9123971Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9124053Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9124136Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9124213Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9124294Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9124379Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9124464Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9124541Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9124614Z fun List.component2(): T -2025-11-30T02:28:48.9124711Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9124788Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9124867Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9124950Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9125034Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9125144Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9125223Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9125579Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9125678Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9125769Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9125896Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9126092Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9126187Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9126304Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9126599Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9126679Z ^^^^ -2025-11-30T02:28:48.9126935Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.9127170Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) -2025-11-30T02:28:48.9127249Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9127501Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9127658Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9127725Z ^^^^^^^^^ -2025-11-30T02:28:48.9127967Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9128244Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9128306Z ^ -2025-11-30T02:28:48.9128563Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9128710Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9128779Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9129024Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9129168Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9129236Z ^ -2025-11-30T02:28:48.9129469Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. -2025-11-30T02:28:48.9129604Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9129687Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9129921Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9130058Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9130139Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9130610Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9130750Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9130833Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9131044Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. -2025-11-30T02:28:48.9131134Z val nodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.9131207Z ^^ -2025-11-30T02:28:48.9131426Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9131521Z val nodeId = NodeId(modelId, nodeIndex) -2025-11-30T02:28:48.9131590Z ^^^^^^^ -2025-11-30T02:28:48.9131805Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9131896Z val meshId = MeshId(modelId, nodeIndex) -2025-11-30T02:28:48.9131966Z ^^^^^^^ -2025-11-30T02:28:48.9132199Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9132302Z materialToMeshIds[materialIndex] = meshId -2025-11-30T02:28:48.9132371Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9132602Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9132759Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.9132836Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9133010Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. -2025-11-30T02:28:48.9133169Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.9133249Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9133551Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9133698Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.9133777Z ^^^^^^ -2025-11-30T02:28:48.9134081Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9134216Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.9134375Z ^ -2025-11-30T02:28:48.9134778Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. -2025-11-30T02:28:48.9134868Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.9134939Z ^^ -2025-11-30T02:28:48.9135157Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. -2025-11-30T02:28:48.9135239Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.9135313Z ^^^^^^^^ -2025-11-30T02:28:48.9135611Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9135678Z }?.let { -2025-11-30T02:28:48.9135741Z ^^^ -2025-11-30T02:28:48.9136023Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.9136091Z }?.let { -2025-11-30T02:28:48.9136153Z ^^^ -2025-11-30T02:28:48.9136620Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. -2025-11-30T02:28:48.9136691Z }?.let { -2025-11-30T02:28:48.9136752Z ^^^ -2025-11-30T02:28:48.9137165Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9137236Z }?.let { -2025-11-30T02:28:48.9137298Z ^ -2025-11-30T02:28:48.9137514Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. -2025-11-30T02:28:48.9137608Z textures.getOrNull(it) -2025-11-30T02:28:48.9137673Z ^^^^^^^^ -2025-11-30T02:28:48.9137971Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9138045Z }?.let { -2025-11-30T02:28:48.9138110Z ^^^ -2025-11-30T02:28:48.9138382Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.9138446Z }?.let { -2025-11-30T02:28:48.9138512Z ^^^ -2025-11-30T02:28:48.9138802Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9138864Z }?.let { -2025-11-30T02:28:48.9138930Z ^ -2025-11-30T02:28:48.9139149Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9139220Z rootNodes.add( -2025-11-30T02:28:48.9139286Z ^^^^^^^^^ -2025-11-30T02:28:48.9139512Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9139633Z attributes = materialData.vertexAttributes, -2025-11-30T02:28:48.9139717Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9139942Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9140066Z bufferView = materialData.indexBufferView, -2025-11-30T02:28:48.9140149Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9140389Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. -2025-11-30T02:28:48.9140494Z componentType = indexBufferType, -2025-11-30T02:28:48.9140579Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9140811Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9141064Z targets = materialMorphMap[materialIndex] ?: listOf(), -2025-11-30T02:28:48.9141148Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9141361Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. -2025-11-30T02:28:48.9141457Z val cameraNodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.9141526Z ^^ -2025-11-30T02:28:48.9141775Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9141844Z rootNodes.add( -2025-11-30T02:28:48.9141905Z ^^^^^^^^^ -2025-11-30T02:28:48.9142145Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142220Z rootNodes.add( -2025-11-30T02:28:48.9142281Z ^ -2025-11-30T02:28:48.9142520Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142595Z rootNodes.add( -2025-11-30T02:28:48.9142657Z ^^^ -2025-11-30T02:28:48.9142894Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142960Z rootNodes.add( -2025-11-30T02:28:48.9143138Z ^ -2025-11-30T02:28:48.9143376Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9143440Z Node( -2025-11-30T02:28:48.9143505Z ^^^^ -2025-11-30T02:28:48.9143743Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9143804Z Node( -2025-11-30T02:28:48.9143866Z ^ -2025-11-30T02:28:48.9144103Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144183Z name = "MMD Camera", -2025-11-30T02:28:48.9144246Z ^^^^ -2025-11-30T02:28:48.9144489Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144562Z name = "MMD Camera", -2025-11-30T02:28:48.9144624Z ^ -2025-11-30T02:28:48.9144868Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144939Z name = "MMD Camera", -2025-11-30T02:28:48.9145002Z ^ -2025-11-30T02:28:48.9145450Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9145527Z name = "MMD Camera", -2025-11-30T02:28:48.9145594Z ^^^^^^^^^^ -2025-11-30T02:28:48.9145844Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9145925Z name = "MMD Camera", -2025-11-30T02:28:48.9145991Z ^ -2025-11-30T02:28:48.9146313Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9146570Z name = "MMD Camera", -2025-11-30T02:28:48.9146676Z ^ -2025-11-30T02:28:48.9147080Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9147240Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9147332Z ^^ -2025-11-30T02:28:48.9147663Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9147760Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9147828Z ^ -2025-11-30T02:28:48.9148219Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9148311Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9148382Z ^^^^^^ -2025-11-30T02:28:48.9148617Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9148706Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9148781Z ^ -2025-11-30T02:28:48.9149017Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149106Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149173Z ^^^^^^^ -2025-11-30T02:28:48.9149412Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149508Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149578Z ^ -2025-11-30T02:28:48.9149824Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149917Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149994Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9150343Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9150436Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9150511Z ^ -2025-11-30T02:28:48.9150838Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9150995Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9151111Z ^ -2025-11-30T02:28:48.9151548Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9151699Z components = listOf( -2025-11-30T02:28:48.9151808Z ^^^^^^^^^^ -2025-11-30T02:28:48.9152237Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9152377Z components = listOf( -2025-11-30T02:28:48.9152490Z ^ -2025-11-30T02:28:48.9152939Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9153079Z components = listOf( -2025-11-30T02:28:48.9153196Z ^^^^^^ -2025-11-30T02:28:48.9153647Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9153776Z components = listOf( -2025-11-30T02:28:48.9153897Z ^ -2025-11-30T02:28:48.9154320Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9154492Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9154610Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9155010Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9155177Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9155300Z ^ -2025-11-30T02:28:48.9155708Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9155879Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9156002Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9156680Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9156849Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9157172Z ^ -2025-11-30T02:28:48.9157612Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9157776Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9157888Z ^^^^^^ -2025-11-30T02:28:48.9158341Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9158491Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9158604Z ^ -2025-11-30T02:28:48.9159017Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9159168Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9159278Z ^^^ -2025-11-30T02:28:48.9159698Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9159865Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9159978Z ^ -2025-11-30T02:28:48.9160389Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9160537Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9160833Z ^^^^ -2025-11-30T02:28:48.9161261Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9161412Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9161530Z ^ -2025-11-30T02:28:48.9161952Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9162090Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9162221Z ^ -2025-11-30T02:28:48.9162606Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9162751Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9162875Z ^^^^^^^^^^ -2025-11-30T02:28:48.9163278Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9163433Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9163568Z ^ -2025-11-30T02:28:48.9163968Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9164113Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9164250Z ^ -2025-11-30T02:28:48.9164633Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9164744Z ) -2025-11-30T02:28:48.9164848Z ^ -2025-11-30T02:28:48.9165298Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9165405Z ) -2025-11-30T02:28:48.9165501Z ^ -2025-11-30T02:28:48.9165931Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9166036Z ) -2025-11-30T02:28:48.9166134Z ^ -2025-11-30T02:28:48.9166800Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9166921Z ) -2025-11-30T02:28:48.9167015Z ^ -2025-11-30T02:28:48.9167374Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9167515Z val scene = Scene(nodes = rootNodes) -2025-11-30T02:28:48.9167860Z ^^^^^^^^^ -2025-11-30T02:28:48.9168254Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9168415Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9168510Z ^^^^^^ -2025-11-30T02:28:48.9168876Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9169027Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9169135Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9169521Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9169681Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9169806Z ^ -2025-11-30T02:28:48.9170240Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9170391Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9170517Z ^^^^^^^^^^ -2025-11-30T02:28:48.9170941Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9171107Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9171227Z ^ -2025-11-30T02:28:48.9171837Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9171997Z metadata = Metadata( -2025-11-30T02:28:48.9172110Z ^^^^^^^^ -2025-11-30T02:28:48.9172515Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9172630Z metadata = Metadata( -2025-11-30T02:28:48.9172727Z ^ -2025-11-30T02:28:48.9173106Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9173230Z metadata = Metadata( -2025-11-30T02:28:48.9173330Z ^^^^^^^^ -2025-11-30T02:28:48.9173705Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9173823Z metadata = Metadata( -2025-11-30T02:28:48.9173925Z ^ -2025-11-30T02:28:48.9174327Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9174503Z title = header.modelNameLocal, -2025-11-30T02:28:48.9174597Z ^^^^^ -2025-11-30T02:28:48.9174846Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9174939Z title = header.modelNameLocal, -2025-11-30T02:28:48.9175031Z ^ -2025-11-30T02:28:48.9175458Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9175617Z title = header.modelNameLocal, -2025-11-30T02:28:48.9175735Z ^^^^^^ -2025-11-30T02:28:48.9176159Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9176322Z title = header.modelNameLocal, -2025-11-30T02:28:48.9176620Z ^ -2025-11-30T02:28:48.9177047Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9177197Z title = header.modelNameLocal, -2025-11-30T02:28:48.9177322Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9177734Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9177890Z title = header.modelNameLocal, -2025-11-30T02:28:48.9178007Z ^ -2025-11-30T02:28:48.9178646Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9178843Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9178952Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9179388Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9179598Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9179698Z ^ -2025-11-30T02:28:48.9180058Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9180215Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9180318Z ^^^^^^ -2025-11-30T02:28:48.9180703Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9180889Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9181021Z ^ -2025-11-30T02:28:48.9181443Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9181653Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9181784Z ^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9182406Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9182626Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9182757Z ^ -2025-11-30T02:28:48.9183203Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9183369Z comment = header.commentLocal, -2025-11-30T02:28:48.9183479Z ^^^^^^^ -2025-11-30T02:28:48.9183908Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9184066Z comment = header.commentLocal, -2025-11-30T02:28:48.9184177Z ^ -2025-11-30T02:28:48.9184596Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9184753Z comment = header.commentLocal, -2025-11-30T02:28:48.9184889Z ^^^^^^ -2025-11-30T02:28:48.9185320Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9185458Z comment = header.commentLocal, -2025-11-30T02:28:48.9185559Z ^ -2025-11-30T02:28:48.9185953Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9186084Z comment = header.commentLocal, -2025-11-30T02:28:48.9186217Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9186867Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9187026Z comment = header.commentLocal, -2025-11-30T02:28:48.9187139Z ^ -2025-11-30T02:28:48.9187621Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9187807Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9187919Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9188334Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9188525Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9188647Z ^ -2025-11-30T02:28:48.9189068Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9189462Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9189591Z ^^^^^^ -2025-11-30T02:28:48.9190033Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9190223Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9190356Z ^ -2025-11-30T02:28:48.9190760Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9190929Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9191043Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9191421Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9191584Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9191696Z ^ -2025-11-30T02:28:48.9192069Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9192181Z ), -2025-11-30T02:28:48.9192285Z ^ -2025-11-30T02:28:48.9192702Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9193014Z ), -2025-11-30T02:28:48.9193130Z ^ -2025-11-30T02:28:48.9193563Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9193684Z model = Model( -2025-11-30T02:28:48.9193799Z ^^^^^ -2025-11-30T02:28:48.9194203Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9194320Z model = Model( -2025-11-30T02:28:48.9194428Z ^ -2025-11-30T02:28:48.9194863Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9194980Z model = Model( -2025-11-30T02:28:48.9195089Z ^^^^^ -2025-11-30T02:28:48.9195495Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9195614Z model = Model( -2025-11-30T02:28:48.9195730Z ^ -2025-11-30T02:28:48.9196176Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9196298Z scenes = listOf(scene), -2025-11-30T02:28:48.9196591Z ^^^^^^ -2025-11-30T02:28:48.9197017Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9197145Z scenes = listOf(scene), -2025-11-30T02:28:48.9197253Z ^ -2025-11-30T02:28:48.9197693Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9197834Z scenes = listOf(scene), -2025-11-30T02:28:48.9197948Z ^^^^^^ -2025-11-30T02:28:48.9198383Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9198534Z scenes = listOf(scene), -2025-11-30T02:28:48.9198658Z ^ -2025-11-30T02:28:48.9199061Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9199183Z scenes = listOf(scene), -2025-11-30T02:28:48.9199281Z ^^^^^ -2025-11-30T02:28:48.9199653Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9199764Z scenes = listOf(scene), -2025-11-30T02:28:48.9199865Z ^ -2025-11-30T02:28:48.9200480Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9200617Z scenes = listOf(scene), -2025-11-30T02:28:48.9200736Z ^ -2025-11-30T02:28:48.9201173Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9201309Z skins = listOf(skin), -2025-11-30T02:28:48.9201421Z ^^^^^ -2025-11-30T02:28:48.9201831Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9201963Z skins = listOf(skin), -2025-11-30T02:28:48.9202059Z ^ -2025-11-30T02:28:48.9202481Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9202612Z skins = listOf(skin), -2025-11-30T02:28:48.9202739Z ^^^^^^ -2025-11-30T02:28:48.9203181Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9203311Z skins = listOf(skin), -2025-11-30T02:28:48.9203419Z ^ -2025-11-30T02:28:48.9203835Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9204140Z skins = listOf(skin), -2025-11-30T02:28:48.9204258Z ^^^^ -2025-11-30T02:28:48.9204706Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9204825Z skins = listOf(skin), -2025-11-30T02:28:48.9204931Z ^ -2025-11-30T02:28:48.9205352Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9205494Z skins = listOf(skin), -2025-11-30T02:28:48.9205623Z ^ -2025-11-30T02:28:48.9206051Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9206305Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9206600Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9207059Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9207310Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9207430Z ^ -2025-11-30T02:28:48.9207854Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9208066Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9208182Z ^^^^ -2025-11-30T02:28:48.9208603Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9208833Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9208958Z ^ -2025-11-30T02:28:48.9209382Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9209608Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9209742Z ^^^^^^ -2025-11-30T02:28:48.9210173Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9210391Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9210511Z ^ -2025-11-30T02:28:48.9210944Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9211143Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9211494Z ^^^^^^^^^^ -2025-11-30T02:28:48.9211920Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9212127Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9212273Z ^ -2025-11-30T02:28:48.9212698Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. -2025-11-30T02:28:48.9212925Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9213061Z ^^^^^^^^^^ -2025-11-30T02:28:48.9213430Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9213649Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9213804Z ^^^^^ -2025-11-30T02:28:48.9214436Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9214656Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9214786Z ^^ -2025-11-30T02:28:48.9215361Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9215615Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9215739Z ^^^^^ -2025-11-30T02:28:48.9216163Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.9216683Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9216828Z ^^^ -2025-11-30T02:28:48.9217240Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.9217467Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9217592Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9217879Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. -2025-11-30T02:28:48.9218019Z return@mapNotNull null -2025-11-30T02:28:48.9218141Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9218510Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9218721Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9218836Z ^^^^^ -2025-11-30T02:28:48.9219263Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.9219490Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9219633Z ^^^ -2025-11-30T02:28:48.9220030Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.9220241Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9220391Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9220701Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. -2025-11-30T02:28:48.9220856Z return@mapNotNull null -2025-11-30T02:28:48.9220982Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9221348Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9221588Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9221684Z ^^^^^ -2025-11-30T02:28:48.9222558Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. -2025-11-30T02:28:48.9222751Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9222867Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9223348Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9223535Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9223649Z ^^^^^^ -2025-11-30T02:28:48.9224338Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.9224478Z fun CharSequence.isNotBlank(): Boolean -2025-11-30T02:28:48.9224668Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9224790Z ^^^^^^^^^^ -2025-11-30T02:28:48.9225272Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.9225423Z type = when (joint.type) { -2025-11-30T02:28:48.9225705Z ^^^^ -2025-11-30T02:28:48.9226744Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. -2025-11-30T02:28:48.9226904Z type = when (joint.type) { -2025-11-30T02:28:48.9227023Z ^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9227388Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9227519Z type = when (joint.type) { -2025-11-30T02:28:48.9227638Z ^^^^^ -2025-11-30T02:28:48.9228261Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.9228511Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9228659Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9229040Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9229280Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9229411Z ^^^^^^^ -2025-11-30T02:28:48.9229782Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9230023Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9230162Z ^^^^^ -2025-11-30T02:28:48.9230826Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.9231089Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9231250Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9231641Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9231900Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9232037Z ^^^^^^^ -2025-11-30T02:28:48.9232415Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9232680Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9233089Z ^^^^^ -2025-11-30T02:28:48.9233441Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9233608Z position = joint.position, -2025-11-30T02:28:48.9233731Z ^^^^^ -2025-11-30T02:28:48.9234113Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9234274Z rotation = joint.rotation, -2025-11-30T02:28:48.9234401Z ^^^^^ -2025-11-30T02:28:48.9234771Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9234959Z positionMin = joint.positionMinimum, -2025-11-30T02:28:48.9235094Z ^^^^^ -2025-11-30T02:28:48.9235561Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9235737Z positionMax = joint.positionMaximum, -2025-11-30T02:28:48.9235846Z ^^^^^ -2025-11-30T02:28:48.9236194Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9236365Z rotationMin = joint.rotationMinimum, -2025-11-30T02:28:48.9236917Z ^^^^^ -2025-11-30T02:28:48.9237286Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9237463Z rotationMax = joint.rotationMaximum, -2025-11-30T02:28:48.9237578Z ^^^^^ -2025-11-30T02:28:48.9237934Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9238123Z positionSpring = joint.positionSpring, -2025-11-30T02:28:48.9238248Z ^^^^^ -2025-11-30T02:28:48.9238582Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9238750Z rotationSpring = joint.rotationSpring, -2025-11-30T02:28:48.9238866Z ^^^^^ -2025-11-30T02:28:48.9239286Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9239416Z }, -2025-11-30T02:28:48.9239521Z ^ -2025-11-30T02:28:48.9239960Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9240127Z expressions = buildList { -2025-11-30T02:28:48.9240253Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9240643Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9240787Z expressions = buildList { -2025-11-30T02:28:48.9240911Z ^ -2025-11-30T02:28:48.9241353Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9241509Z expressions = buildList { -2025-11-30T02:28:48.9241630Z ^^^^^^^^^ -2025-11-30T02:28:48.9242057Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9242204Z expressions = buildList { -2025-11-30T02:28:48.9242326Z ^ -2025-11-30T02:28:48.9242719Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. -2025-11-30T02:28:48.9242856Z expressions = buildList { -2025-11-30T02:28:48.9242966Z ^ -2025-11-30T02:28:48.9243373Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. -2025-11-30T02:28:48.9243828Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9243965Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9244482Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9244640Z fun Array.component1(): T -2025-11-30T02:28:48.9244792Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9244952Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9245109Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9245241Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9245365Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9245507Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9245672Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9245813Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9245948Z fun List.component1(): T -2025-11-30T02:28:48.9246115Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9246269Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9246612Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9246762Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9246931Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9247148Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9247512Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9248052Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9248192Z fun Array.component2(): T -2025-11-30T02:28:48.9248340Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9248491Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9248630Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9248768Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9248907Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9249068Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9249230Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9249380Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9249526Z fun List.component2(): T -2025-11-30T02:28:48.9249679Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9249820Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9249970Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9250129Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9250288Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9250505Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9250652Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9251239Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9251415Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9251583Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9251789Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9252135Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9252309Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9252527Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9252743Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9252893Z ^^^^^^^^^ -2025-11-30T02:28:48.9253575Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. -2025-11-30T02:28:48.9253792Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9253935Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9254586Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.9254803Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9254928Z ^^^^^^^^^ -2025-11-30T02:28:48.9255349Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.9255564Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9255708Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9256081Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. -2025-11-30T02:28:48.9256226Z tag = target.tag, -2025-11-30T02:28:48.9256347Z ^^^ -2025-11-30T02:28:48.9257187Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. -2025-11-30T02:28:48.9257340Z isBinary = false, -2025-11-30T02:28:48.9257459Z ^^^^^ -2025-11-30T02:28:48.9258335Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.9259035Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9259212Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9260025Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. -2025-11-30T02:28:48.9260550Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9260723Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9261271Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9261792Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9261952Z ^^^^^^^^^^ -2025-11-30T02:28:48.9262776Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.9263048Z fun Iterable.mapNotNull(transform: (T) -> R?): List -2025-11-30T02:28:48.9263544Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9263706Z ^^^^^^^^^^ -2025-11-30T02:28:48.9264247Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9264746Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9264917Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9265482Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9265628Z fun Array.component1(): T -2025-11-30T02:28:48.9265778Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9265931Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9266263Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9266607Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9266758Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9266909Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9267068Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9267206Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9267341Z fun List.component1(): T -2025-11-30T02:28:48.9267498Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9267638Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9267779Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9267931Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9268083Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9268593Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9268771Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9269320Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9269464Z fun Array.component2(): T -2025-11-30T02:28:48.9269617Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9269765Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9269914Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9270242Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9270408Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9270559Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9270717Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9270868Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9271003Z fun List.component2(): T -2025-11-30T02:28:48.9271158Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9271306Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9271448Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9271596Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9271742Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9272259Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9272429Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9273030Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9273207Z } ?: listOf(), -2025-11-30T02:28:48.9273332Z ^^^^^^ -2025-11-30T02:28:48.9274091Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.9274228Z } ?: listOf(), -2025-11-30T02:28:48.9274347Z ^^^^^^^^ -2025-11-30T02:28:48.9274745Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. -2025-11-30T02:28:48.9274990Z pmxIndexToExpressions[target.pmxIndex] = expression -2025-11-30T02:28:48.9275128Z ^^^^^^^^ -2025-11-30T02:28:48.9275497Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.9275631Z add(expression) -2025-11-30T02:28:48.9275745Z ^^^ -2025-11-30T02:28:48.9276354Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9276714Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9276881Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9277084Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9277657Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9277840Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9278017Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9278158Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.9278269Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9278661Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. -2025-11-30T02:28:48.9278806Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.9278912Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9279235Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.9279331Z add( -2025-11-30T02:28:48.9279427Z ^^^ -2025-11-30T02:28:48.9279921Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9280130Z targets = group.items.mapNotNull { item -> -2025-11-30T02:28:48.9280274Z ^^^^ -2025-11-30T02:28:48.9280634Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. -2025-11-30T02:28:48.9281001Z val pmxMorphIndex = item.index -2025-11-30T02:28:48.9281141Z ^^^^^ -2025-11-30T02:28:48.9281550Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. -2025-11-30T02:28:48.9281737Z influence = item.influence, -2025-11-30T02:28:48.9281875Z ^^^^^^^^^ -2025-11-30T02:28:48.9282279Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9282398Z }, -2025-11-30T02:28:48.9282505Z ^ -2025-11-30T02:28:48.9282940Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9283095Z defaultScene = scene, -2025-11-30T02:28:48.9283213Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9283650Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9283794Z defaultScene = scene, -2025-11-30T02:28:48.9283925Z ^ -2025-11-30T02:28:48.9284349Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9284493Z defaultScene = scene, -2025-11-30T02:28:48.9284618Z ^^^^^ -2025-11-30T02:28:48.9285049Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9285189Z defaultScene = scene, -2025-11-30T02:28:48.9285300Z ^ -2025-11-30T02:28:48.9285680Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9285778Z ), -2025-11-30T02:28:48.9285872Z ^ -2025-11-30T02:28:48.9286295Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9286600Z ), -2025-11-30T02:28:48.9286712Z ^ -2025-11-30T02:28:48.9287169Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9287352Z animations = listOf(), -2025-11-30T02:28:48.9287455Z ^^^^^^^^^^ -2025-11-30T02:28:48.9287960Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9288116Z animations = listOf(), -2025-11-30T02:28:48.9288475Z ^ -2025-11-30T02:28:48.9288934Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9289091Z animations = listOf(), -2025-11-30T02:28:48.9289205Z ^^^^^^ -2025-11-30T02:28:48.9289656Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9289809Z animations = listOf(), -2025-11-30T02:28:48.9289931Z ^ -2025-11-30T02:28:48.9290404Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9290551Z animations = listOf(), -2025-11-30T02:28:48.9290670Z ^ -2025-11-30T02:28:48.9291102Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9291261Z animations = listOf(), -2025-11-30T02:28:48.9291385Z ^ -2025-11-30T02:28:48.9291808Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9291924Z ) -2025-11-30T02:28:48.9292037Z ^ -2025-11-30T02:28:48.9292498Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9292818Z } -2025-11-30T02:28:48.9292945Z ^ -2025-11-30T02:28:48.9293509Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. -2025-11-30T02:28:48.9293705Z override fun load(path: Path, basePath: Path) = -2025-11-30T02:28:48.9293806Z ^^^^^^^^ -2025-11-30T02:28:48.9294343Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9294658Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> -2025-11-30T02:28:48.9294823Z ^^^ -2025-11-30T02:28:48.9295236Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. -2025-11-30T02:28:48.9295396Z val context = Context(basePath) -2025-11-30T02:28:48.9295510Z ^^^^^^^ -2025-11-30T02:28:48.9295987Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9296102Z } -2025-11-30T02:28:49.0701973Z ^ -2025-11-30T02:28:49.0702253Z INFO: Elapsed time: 134.040s, Critical Path: 46.27s -2025-11-30T02:28:49.0702579Z INFO: 950 processes: 262 internal, 606 processwrapper-sandbox, 82 worker. -2025-11-30T02:28:49.0702747Z ERROR: Build did NOT complete successfully -2025-11-30T02:28:49.2475292Z ##[error]Process completed with exit code 1. -2025-11-30T02:28:49.2599558Z Post job cleanup. -2025-11-30T02:28:49.4910946Z Post job cleanup. -2025-11-30T02:28:49.5880876Z [command]/usr/bin/git version -2025-11-30T02:28:49.5923578Z git version 2.51.2 -2025-11-30T02:28:49.5984734Z Temporarily overriding HOME='/home/runner/work/_temp/3753632d-b9a8-45a7-9920-1b04eb49d611' before making global git config changes -2025-11-30T02:28:49.5987068Z Adding repository directory to the temporary git global config as a safe directory -2025-11-30T02:28:49.5993338Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:28:49.6035929Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand -2025-11-30T02:28:49.6069139Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" -2025-11-30T02:28:49.6348697Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader -2025-11-30T02:28:49.6370735Z http.https://github.com/.extraheader -2025-11-30T02:28:49.6385311Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader -2025-11-30T02:28:49.6417643Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" -2025-11-30T02:28:49.6648989Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: -2025-11-30T02:28:49.6683215Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url -2025-11-30T02:28:49.7001361Z Cleaning up orphan processes -2025-11-30T02:28:49.7294889Z Terminate orphan process: pid (2139) (java.lang=ALL-UNNAMED) diff --git a/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt b/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt deleted file mode 100644 index ecfa35a6..00000000 --- a/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt +++ /dev/null @@ -1 +0,0 @@ -2025-11-30T02:28:49.2599543Z Post job cleanup. diff --git a/logs_51071426239/build-with-bazel/14_Post checkout repository.txt b/logs_51071426239/build-with-bazel/14_Post checkout repository.txt deleted file mode 100644 index 5df49ba4..00000000 --- a/logs_51071426239/build-with-bazel/14_Post checkout repository.txt +++ /dev/null @@ -1,14 +0,0 @@ -2025-11-30T02:28:49.4910929Z Post job cleanup. -2025-11-30T02:28:49.5880835Z [command]/usr/bin/git version -2025-11-30T02:28:49.5923551Z git version 2.51.2 -2025-11-30T02:28:49.5984718Z Temporarily overriding HOME='/home/runner/work/_temp/3753632d-b9a8-45a7-9920-1b04eb49d611' before making global git config changes -2025-11-30T02:28:49.5987060Z Adding repository directory to the temporary git global config as a safe directory -2025-11-30T02:28:49.5993326Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:28:49.6035911Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand -2025-11-30T02:28:49.6069122Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" -2025-11-30T02:28:49.6348674Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader -2025-11-30T02:28:49.6370664Z http.https://github.com/.extraheader -2025-11-30T02:28:49.6385298Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader -2025-11-30T02:28:49.6417624Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" -2025-11-30T02:28:49.6648957Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: -2025-11-30T02:28:49.6683198Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url diff --git a/logs_51071426239/build-with-bazel/15_Complete job.txt b/logs_51071426239/build-with-bazel/15_Complete job.txt deleted file mode 100644 index 5e6c264e..00000000 --- a/logs_51071426239/build-with-bazel/15_Complete job.txt +++ /dev/null @@ -1,2 +0,0 @@ -2025-11-30T02:28:49.7001350Z Cleaning up orphan processes -2025-11-30T02:28:49.7294876Z Terminate orphan process: pid (2139) (java.lang=ALL-UNNAMED) diff --git a/logs_51071426239/build-with-bazel/1_Set up job.txt b/logs_51071426239/build-with-bazel/1_Set up job.txt deleted file mode 100644 index d54f099d..00000000 --- a/logs_51071426239/build-with-bazel/1_Set up job.txt +++ /dev/null @@ -1,44 +0,0 @@ -2025-11-30T02:26:19.2751311Z Current runner version: '2.329.0' -2025-11-30T02:26:19.2777349Z ##[group]Runner Image Provisioner -2025-11-30T02:26:19.2778466Z Hosted Compute Agent -2025-11-30T02:26:19.2779423Z Version: 20251016.436 -2025-11-30T02:26:19.2780352Z Commit: 8ab8ac8bfd662a3739dab9fe09456aba92132568 -2025-11-30T02:26:19.2781414Z Build Date: 2025-10-15T20:44:12Z -2025-11-30T02:26:19.2782571Z ##[endgroup] -2025-11-30T02:26:19.2783471Z ##[group]Operating System -2025-11-30T02:26:19.2784416Z Ubuntu -2025-11-30T02:26:19.2785199Z 24.04.3 -2025-11-30T02:26:19.2786004Z LTS -2025-11-30T02:26:19.2786915Z ##[endgroup] -2025-11-30T02:26:19.2787876Z ##[group]Runner Image -2025-11-30T02:26:19.2788899Z Image: ubuntu-24.04 -2025-11-30T02:26:19.2789687Z Version: 20251112.124.1 -2025-11-30T02:26:19.2791430Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20251112.124/images/ubuntu/Ubuntu2404-Readme.md -2025-11-30T02:26:19.2793774Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20251112.124 -2025-11-30T02:26:19.2795786Z ##[endgroup] -2025-11-30T02:26:19.2800443Z ##[group]GITHUB_TOKEN Permissions -2025-11-30T02:26:19.2803409Z Actions: write -2025-11-30T02:26:19.2804352Z ArtifactMetadata: write -2025-11-30T02:26:19.2805315Z Attestations: write -2025-11-30T02:26:19.2806230Z Checks: write -2025-11-30T02:26:19.2807368Z Contents: write -2025-11-30T02:26:19.2808176Z Deployments: write -2025-11-30T02:26:19.2809138Z Discussions: write -2025-11-30T02:26:19.2809988Z Issues: write -2025-11-30T02:26:19.2810826Z Metadata: read -2025-11-30T02:26:19.2811530Z Models: read -2025-11-30T02:26:19.2812445Z Packages: write -2025-11-30T02:26:19.2813154Z Pages: write -2025-11-30T02:26:19.2813944Z PullRequests: write -2025-11-30T02:26:19.2815000Z RepositoryProjects: write -2025-11-30T02:26:19.2816083Z SecurityEvents: write -2025-11-30T02:26:19.2817183Z Statuses: write -2025-11-30T02:26:19.2818168Z ##[endgroup] -2025-11-30T02:26:19.2821054Z Secret source: Actions -2025-11-30T02:26:19.2822109Z Prepare workflow directory -2025-11-30T02:26:19.3263556Z Prepare all required actions -2025-11-30T02:26:19.3318751Z Getting action download info -2025-11-30T02:26:19.6583574Z Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5) -2025-11-30T02:26:19.9373701Z Download action repository 'bazel-contrib/setup-bazel@0.14.0' (SHA:e8776f58fb6a6e9055cbaf1b38c52ccc5247e9c4) -2025-11-30T02:26:20.7293732Z Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) -2025-11-30T02:26:20.9238505Z Complete job name: build-with-bazel diff --git a/logs_51071426239/build-with-bazel/2_checkout repository.txt b/logs_51071426239/build-with-bazel/2_checkout repository.txt deleted file mode 100644 index a6221868..00000000 --- a/logs_51071426239/build-with-bazel/2_checkout repository.txt +++ /dev/null @@ -1,71 +0,0 @@ -2025-11-30T02:26:20.9931431Z ##[group]Run actions/checkout@v4 -2025-11-30T02:26:20.9932322Z with: -2025-11-30T02:26:20.9932761Z repository: Sylsatra/ArmorStand -2025-11-30T02:26:20.9933444Z token: *** -2025-11-30T02:26:20.9934084Z ssh-strict: true -2025-11-30T02:26:20.9934807Z ssh-user: git -2025-11-30T02:26:20.9935504Z persist-credentials: true -2025-11-30T02:26:20.9936248Z clean: true -2025-11-30T02:26:20.9937243Z sparse-checkout-cone-mode: true -2025-11-30T02:26:20.9938191Z fetch-depth: 1 -2025-11-30T02:26:20.9938972Z fetch-tags: false -2025-11-30T02:26:20.9939778Z show-progress: true -2025-11-30T02:26:20.9940555Z lfs: false -2025-11-30T02:26:20.9941235Z submodules: false -2025-11-30T02:26:20.9941773Z set-safe-directory: true -2025-11-30T02:26:20.9942630Z ##[endgroup] -2025-11-30T02:26:21.1039209Z Syncing repository: Sylsatra/ArmorStand -2025-11-30T02:26:21.1041223Z ##[group]Getting Git version info -2025-11-30T02:26:21.1042023Z Working directory is '/home/runner/work/ArmorStand/ArmorStand' -2025-11-30T02:26:21.1043067Z [command]/usr/bin/git version -2025-11-30T02:26:21.1102728Z git version 2.51.2 -2025-11-30T02:26:21.1129356Z ##[endgroup] -2025-11-30T02:26:21.1142354Z Temporarily overriding HOME='/home/runner/work/_temp/6d2baab3-6bfd-4167-be5a-0a2cae9bfb19' before making global git config changes -2025-11-30T02:26:21.1143932Z Adding repository directory to the temporary git global config as a safe directory -2025-11-30T02:26:21.1154452Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:26:21.1190397Z Deleting the contents of '/home/runner/work/ArmorStand/ArmorStand' -2025-11-30T02:26:21.1193885Z ##[group]Initializing the repository -2025-11-30T02:26:21.1197783Z [command]/usr/bin/git init /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:26:21.1311486Z hint: Using 'master' as the name for the initial branch. This default branch name -2025-11-30T02:26:21.1312671Z hint: is subject to change. To configure the initial branch name to use in all -2025-11-30T02:26:21.1313652Z hint: of your new repositories, which will suppress this warning, call: -2025-11-30T02:26:21.1314419Z hint: -2025-11-30T02:26:21.1315069Z hint: git config --global init.defaultBranch -2025-11-30T02:26:21.1315694Z hint: -2025-11-30T02:26:21.1316271Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and -2025-11-30T02:26:21.1317373Z hint: 'development'. The just-created branch can be renamed via this command: -2025-11-30T02:26:21.1318401Z hint: -2025-11-30T02:26:21.1319105Z hint: git branch -m -2025-11-30T02:26:21.1319664Z hint: -2025-11-30T02:26:21.1320289Z hint: Disable this message with "git config set advice.defaultBranchName false" -2025-11-30T02:26:21.1321374Z Initialized empty Git repository in /home/runner/work/ArmorStand/ArmorStand/.git/ -2025-11-30T02:26:21.1329776Z [command]/usr/bin/git remote add origin https://github.com/Sylsatra/ArmorStand -2025-11-30T02:26:21.1376960Z ##[endgroup] -2025-11-30T02:26:21.1377766Z ##[group]Disabling automatic garbage collection -2025-11-30T02:26:21.1381075Z [command]/usr/bin/git config --local gc.auto 0 -2025-11-30T02:26:21.1412461Z ##[endgroup] -2025-11-30T02:26:21.1413841Z ##[group]Setting up auth -2025-11-30T02:26:21.1419987Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand -2025-11-30T02:26:21.1451182Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" -2025-11-30T02:26:21.1795883Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader -2025-11-30T02:26:21.1825767Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" -2025-11-30T02:26:21.2040174Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: -2025-11-30T02:26:21.2069998Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url -2025-11-30T02:26:21.2295742Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** -2025-11-30T02:26:21.2328844Z ##[endgroup] -2025-11-30T02:26:21.2330261Z ##[group]Fetching the repository -2025-11-30T02:26:21.2338969Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +3f0d9c3830614990305a25aac7f81a7df6678688:refs/remotes/origin/my-physics -2025-11-30T02:26:21.8875742Z From https://github.com/Sylsatra/ArmorStand -2025-11-30T02:26:21.8878158Z * [new ref] 3f0d9c3830614990305a25aac7f81a7df6678688 -> origin/my-physics -2025-11-30T02:26:21.8910556Z ##[endgroup] -2025-11-30T02:26:21.8912283Z ##[group]Determining the checkout info -2025-11-30T02:26:21.8914170Z ##[endgroup] -2025-11-30T02:26:21.8918782Z [command]/usr/bin/git sparse-checkout disable -2025-11-30T02:26:21.8958816Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig -2025-11-30T02:26:21.8984835Z ##[group]Checking out the ref -2025-11-30T02:26:21.8989273Z [command]/usr/bin/git checkout --progress --force -B my-physics refs/remotes/origin/my-physics -2025-11-30T02:26:22.0744406Z Switched to a new branch 'my-physics' -2025-11-30T02:26:22.0747151Z branch 'my-physics' set up to track 'origin/my-physics'. -2025-11-30T02:26:22.0760458Z ##[endgroup] -2025-11-30T02:26:22.0797519Z [command]/usr/bin/git log -1 --format=%H -2025-11-30T02:26:22.0818924Z 3f0d9c3830614990305a25aac7f81a7df6678688 diff --git a/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt b/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt deleted file mode 100644 index 0d7260bb..00000000 --- a/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt +++ /dev/null @@ -1,91 +0,0 @@ -2025-11-30T02:26:22.1106802Z ##[group]Run bazel-contrib/setup-bazel@0.14.0 -2025-11-30T02:26:22.1107996Z with: -2025-11-30T02:26:22.1108705Z bazelisk-cache: true -2025-11-30T02:26:22.1109554Z disk-cache: false -2025-11-30T02:26:22.1110368Z repository-cache: true -2025-11-30T02:26:22.1111247Z cache-version: 1 -2025-11-30T02:26:22.1112036Z module-root: . -2025-11-30T02:26:22.1113061Z token: *** -2025-11-30T02:26:22.1113785Z ##[endgroup] -2025-11-30T02:26:22.2879009Z ##[group]Configure Bazel -2025-11-30T02:26:22.2880862Z Configuration: -2025-11-30T02:26:22.2882399Z { -2025-11-30T02:26:22.2884033Z "baseCacheKey": "setup-bazel-1-linux", -2025-11-30T02:26:22.2885827Z "bazeliskCache": { -2025-11-30T02:26:22.2887334Z "enabled": true, -2025-11-30T02:26:22.2888563Z "files": [ -2025-11-30T02:26:22.2889697Z "./.bazelversion" -2025-11-30T02:26:22.2890930Z ], -2025-11-30T02:26:22.2891985Z "name": "bazelisk", -2025-11-30T02:26:22.2893291Z "paths": [ -2025-11-30T02:26:22.2895920Z "/home/runner/.cache/bazelisk" -2025-11-30T02:26:22.2897758Z ] -2025-11-30T02:26:22.2898780Z }, -2025-11-30T02:26:22.2899824Z "bazeliskVersion": "", -2025-11-30T02:26:22.2901213Z "bazelrc": [ -2025-11-30T02:26:22.2903017Z "common --repository_cache=/home/runner/.cache/bazel-repo" -2025-11-30T02:26:22.2905415Z ], -2025-11-30T02:26:22.2906557Z "diskCache": { -2025-11-30T02:26:22.2907778Z "enabled": false, -2025-11-30T02:26:22.2909152Z "files": [ -2025-11-30T02:26:22.2921763Z "./MODULE.bazel", -2025-11-30T02:26:22.2923217Z "./WORKSPACE.bazel", -2025-11-30T02:26:22.2924691Z "./WORKSPACE.bzlmod", -2025-11-30T02:26:22.2926125Z "./WORKSPACE", -2025-11-30T02:26:22.2927627Z "./**/BUILD.bazel", -2025-11-30T02:26:22.2928970Z "./**/BUILD" -2025-11-30T02:26:22.2930072Z ], -2025-11-30T02:26:22.2930871Z "name": "disk", -2025-11-30T02:26:22.2932083Z "paths": [ -2025-11-30T02:26:22.2933343Z "/home/runner/.cache/bazel-disk" -2025-11-30T02:26:22.2935025Z ] -2025-11-30T02:26:22.2936063Z }, -2025-11-30T02:26:22.2937396Z "externalCache": {}, -2025-11-30T02:26:22.2939063Z "paths": { -2025-11-30T02:26:22.2940506Z "bazelExternal": "/home/runner/.bazel/external", -2025-11-30T02:26:22.2942474Z "bazelOutputBase": "/home/runner/.bazel", -2025-11-30T02:26:22.2944311Z "bazelrc": [ -2025-11-30T02:26:22.2945548Z "/home/runner/.bazelrc" -2025-11-30T02:26:22.2947345Z ] -2025-11-30T02:26:22.2948405Z }, -2025-11-30T02:26:22.2949449Z "os": { -2025-11-30T02:26:22.2950501Z "arch": "x64", -2025-11-30T02:26:22.2951749Z "platform": "linux" -2025-11-30T02:26:22.2953018Z }, -2025-11-30T02:26:22.2954131Z "repositoryCache": { -2025-11-30T02:26:22.2955469Z "enabled": true, -2025-11-30T02:26:22.2956862Z "files": [ -2025-11-30T02:26:22.2958122Z "./MODULE.bazel", -2025-11-30T02:26:22.2959445Z "./WORKSPACE.bazel", -2025-11-30T02:26:22.2960996Z "./WORKSPACE.bzlmod", -2025-11-30T02:26:22.2962398Z "./WORKSPACE" -2025-11-30T02:26:22.2963566Z ], -2025-11-30T02:26:22.2964668Z "name": "repository", -2025-11-30T02:26:22.2966060Z "paths": [ -2025-11-30T02:26:22.2967511Z "/home/runner/.cache/bazel-repo" -2025-11-30T02:26:22.2969209Z ] -2025-11-30T02:26:22.2970343Z } -2025-11-30T02:26:22.2971534Z } -2025-11-30T02:26:22.2973941Z ##[endgroup] -2025-11-30T02:26:22.2976309Z ##[group]Restore cache for bazelisk -2025-11-30T02:26:22.4571405Z Cache hit for: setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e -2025-11-30T02:26:22.9230656Z Received 57708694 of 57708694 (100.0%), 131.7 MBs/sec -2025-11-30T02:26:22.9260863Z Cache Size: ~55 MB (57708694 B) -2025-11-30T02:26:22.9262266Z [command]/usr/bin/tar -xf /home/runner/work/_temp/b3e15b1e-c1eb-4152-aaef-d9b65a2a8117/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd -2025-11-30T02:26:23.0176048Z Cache restored successfully -2025-11-30T02:26:23.0288346Z Successfully restored cache from setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e -2025-11-30T02:26:23.0290873Z ##[endgroup] -2025-11-30T02:26:23.0291908Z ##[group]Restore cache for repository -2025-11-30T02:26:23.0534561Z Cache hit for: setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e -2025-11-30T02:26:24.1170514Z Received 205520896 of 1349025797 (15.2%), 194.3 MBs/sec -2025-11-30T02:26:25.1159719Z Received 402653184 of 1349025797 (29.8%), 191.1 MBs/sec -2025-11-30T02:26:26.1172428Z Received 637534208 of 1349025797 (47.3%), 202.0 MBs/sec -2025-11-30T02:26:27.1205028Z Received 859832320 of 1349025797 (63.7%), 204.3 MBs/sec -2025-11-30T02:26:28.1196246Z Received 1073741824 of 1349025797 (79.6%), 204.3 MBs/sec -2025-11-30T02:26:29.1209606Z Received 1333788672 of 1349025797 (98.9%), 211.5 MBs/sec -2025-11-30T02:26:29.3336946Z Received 1349025797 of 1349025797 (100.0%), 206.6 MBs/sec -2025-11-30T02:26:29.3338432Z Cache Size: ~1287 MB (1349025797 B) -2025-11-30T02:26:29.3469121Z [command]/usr/bin/tar -xf /home/runner/work/_temp/42c2a257-3281-4f12-bdbd-3691fcbaf72d/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd -2025-11-30T02:26:31.2149601Z Cache restored successfully -2025-11-30T02:26:31.4668524Z Successfully restored cache from setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e -2025-11-30T02:26:31.4674988Z ##[endgroup] diff --git a/logs_51071426239/build-with-bazel/4_build.txt b/logs_51071426239/build-with-bazel/4_build.txt deleted file mode 100644 index dab03eb0..00000000 --- a/logs_51071426239/build-with-bazel/4_build.txt +++ /dev/null @@ -1,2611 +0,0 @@ -2025-11-30T02:26:31.4910377Z ##[group]Run bazel build --config opt \ -2025-11-30T02:26:31.4910828Z bazel build --config opt \ -2025-11-30T02:26:31.4911125Z  --verbose_failures \ -2025-11-30T02:26:31.4911367Z  //mod:mod_fabric \ -2025-11-30T02:26:31.4911571Z  //mod:mod_neoforge \ -2025-11-30T02:26:31.4911798Z  //blazerod:blazerod_fabric \ -2025-11-30T02:26:31.4912052Z  //blazerod:blazerod_neoforge \ -2025-11-30T02:26:31.4912304Z  //blazerod/model/model-base \ -2025-11-30T02:26:31.4912571Z  //blazerod/model/model-formats \ -2025-11-30T02:26:31.4912841Z  //blazerod/model/model-gltf \ -2025-11-30T02:26:31.4913112Z  //blazerod/model/model-pmd \ -2025-11-30T02:26:31.4913351Z  //blazerod/model/model-pmx \ -2025-11-30T02:26:31.4913588Z  //blazerod/model/model-vmd \ -2025-11-30T02:26:31.4913898Z  //blazerod/model/model-assimp:model-assimp-merged \ -2025-11-30T02:26:31.4914213Z  //blazerod/example/ball_block -2025-11-30T02:26:31.4951967Z shell: /usr/bin/bash -e {0} -2025-11-30T02:26:31.4952213Z env: -2025-11-30T02:26:31.4952705Z BAZELISK_GITHUB_TOKEN: *** -2025-11-30T02:26:31.4952919Z ##[endgroup] -2025-11-30T02:26:34.9648215Z Extracting Bazel installation... -2025-11-30T02:26:36.1350375Z Starting local Bazel server (8.4.2) and connecting to it... -2025-11-30T02:26:37.5805411Z Computing main repo mapping: -2025-11-30T02:26:38.4491129Z Loading: -2025-11-30T02:26:38.4513657Z Loading: 0 packages loaded -2025-11-30T02:26:39.4737837Z Loading: 0 packages loaded -2025-11-30T02:26:40.5015344Z Analyzing: 12 targets (10 packages loaded) -2025-11-30T02:26:40.6840399Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) -2025-11-30T02:26:40.7097754Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) -2025-11-30T02:26:40.7098243Z -2025-11-30T02:26:41.3523295Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions: -2025-11-30T02:26:41.3529312Z com.google.code.gson:gson (versions: 2.10.1, 2.8.9) -2025-11-30T02:26:41.3533714Z com.google.errorprone:error_prone_annotations (versions: 2.23.0, 2.5.1) -2025-11-30T02:26:41.3538317Z com.google.guava:guava (versions: 32.0.1-jre, 33.0.0-jre) -2025-11-30T02:26:41.3616337Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:200:14: The maven repository 'maven' has contributions from multiple bzlmod modules, and will be resolved together: ["armorstand", "bazel_worker_java", "protobuf"]. -2025-11-30T02:26:41.3626609Z See https://github.com/bazel-contrib/rules_jvm_external/blob/master/docs/bzlmod.md#module-dependency-layering for more information. -2025-11-30T02:26:41.3628521Z To suppress this warning review the contributions from the other modules and add the following attribute in the root MODULE.bazel file: -2025-11-30T02:26:41.3629744Z maven.install( -2025-11-30T02:26:41.3630456Z known_contributing_modules = ["armorstand", "bazel_worker_java", "protobuf"], -2025-11-30T02:26:41.3631283Z ... -2025-11-30T02:26:41.3631773Z ) -2025-11-30T02:26:41.7257155Z Analyzing: 12 targets (50 packages loaded, 18 targets configured) -2025-11-30T02:26:41.7261467Z -2025-11-30T02:26:42.1938759Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/rules/coursier.bzl:777:18: Found duplicate artifact versions -2025-11-30T02:26:42.1940326Z com.google.code.gson:gson has multiple versions 2.8.9, 2.10.1 -2025-11-30T02:26:42.1941475Z com.google.errorprone:error_prone_annotations has multiple versions 2.5.1, 2.23.0 -2025-11-30T02:26:42.1942993Z com.google.guava:guava has multiple versions 32.0.1-jre, 33.0.0-jre -2025-11-30T02:26:42.1944236Z Please remove duplicate artifacts from the artifact list so you do not get unexpected artifact versions -2025-11-30T02:26:42.7343163Z Analyzing: 12 targets (95 packages loaded, 21 targets configured) -2025-11-30T02:26:42.7348405Z -2025-11-30T02:26:43.8255086Z Analyzing: 12 targets (174 packages loaded, 123 targets configured) -2025-11-30T02:26:43.8255980Z -2025-11-30T02:26:44.8637991Z Analyzing: 12 targets (199 packages loaded, 506 targets configured) -2025-11-30T02:26:44.8640118Z -2025-11-30T02:26:46.5827589Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:46.5828296Z -2025-11-30T02:26:52.0792100Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:52.0795475Z -2025-11-30T02:26:59.0377706Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:59.0378530Z -2025-11-30T02:27:00.5849588Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:27:00.5850994Z -2025-11-30T02:27:06.0490424Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:27:06.0490949Z -2025-11-30T02:27:07.0578601Z Analyzing: 12 targets (220 packages loaded, 3333 targets configured) -2025-11-30T02:27:07.0636881Z -2025-11-30T02:27:08.0614153Z Analyzing: 12 targets (394 packages loaded, 3922 targets configured) -2025-11-30T02:27:08.0614709Z -2025-11-30T02:27:09.0600141Z Analyzing: 12 targets (558 packages loaded, 9117 targets configured) -2025-11-30T02:27:09.0601034Z -2025-11-30T02:27:10.5329172Z Analyzing: 12 targets (584 packages loaded, 9209 targets configured) -2025-11-30T02:27:10.5329980Z -2025-11-30T02:27:11.5937795Z Analyzing: 12 targets (607 packages loaded, 12113 targets configured) -2025-11-30T02:27:11.5938726Z -2025-11-30T02:27:12.5922260Z Analyzing: 12 targets (610 packages loaded, 20072 targets configured) -2025-11-30T02:27:12.5922847Z -2025-11-30T02:27:14.0003369Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) -2025-11-30T02:27:14.0003896Z -2025-11-30T02:27:16.3762864Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) -2025-11-30T02:27:16.3763592Z -2025-11-30T02:27:17.3833450Z Analyzing: 12 targets (624 packages loaded, 35680 targets configured) -2025-11-30T02:27:17.3838777Z [4 / 77] Creating runfiles tree bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/jdeps_merger.runfiles [for tool]; 0s local ... (2 actions, 1 running) -2025-11-30T02:27:17.9095072Z INFO: Analyzed 12 targets (624 packages loaded, 35744 targets configured). -2025-11-30T02:27:18.3953516Z [156 / 1,333] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 0s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:19.4080302Z [211 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:20.5312024Z [225 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 2s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:21.5674208Z [247 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:22.5648476Z [268 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 2s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:23.6043824Z [279 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:24.6034117Z [346 / 1,419] Extracting interface for jar file/com/google/guava/guava/33.3.1-jre/guava-33.3.1-jre.jar; 0s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:27:25.8893208Z [391 / 1,419] Building repo/neoforge/rule/manifest_remover/manifest_remover.jar (1 source file) [for tool]; 1s multiplex-worker ... (3 actions, 2 running) -2025-11-30T02:27:27.0161301Z [408 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 0s worker ... (2 actions, 1 running) -2025-11-30T02:27:28.3243854Z [415 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 1s worker ... (2 actions, 1 running) -2025-11-30T02:27:29.4860259Z [416 / 1,427] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 2s worker ... (3 actions, 2 running) -2025-11-30T02:27:30.6060013Z [422 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) -2025-11-30T02:27:31.6067770Z [423 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 4s worker ... (3 actions running) -2025-11-30T02:27:32.6093481Z [424 / 1,604] Stamping the manifest of @maven//:it_unimi_dsi_fastutil [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:33.6101659Z [430 / 1,771] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:34.6153999Z [437 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:35.6181129Z [439 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:36.6180902Z [440 / 1,936] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:37.6227964Z [444 / 1,938] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 2s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:38.6257517Z [450 / 2,101] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:39.6260844Z [453 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 4s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:40.6281219Z [456 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 5s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:41.6311974Z [460 / 2,263] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 6s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:42.6351103Z [469 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:com_h2database_h2; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:43.6353196Z [482 / 2,265] Stamping the manifest of @maven//:net_fabricmc_sponge_mixin; 0s processwrapper-sandbox -2025-11-30T02:27:44.9239715Z [487 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava -2025-11-30T02:27:45.9503320Z [494 / 2,265] [Prepa] Stamping the manifest of @maven//:org_jetbrains_kotlinx_atomicfu_jvm -2025-11-30T02:27:46.9897617Z [510 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_fabric_api_fabric_content_registries_v0 -2025-11-30T02:27:48.2391906Z [525 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_intermediary_v2 -2025-11-30T02:27:49.2809593Z [539 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:net_fabricmc_fabric_api_fabric_resource_loader_v0 -2025-11-30T02:27:50.3323935Z [556 / 2,265] [Prepa] Stamping the manifest of @maven//:com_fasterxml_jackson_core_jackson_core [for tool] -2025-11-30T02:27:51.5857980Z [563 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava [for tool] -2025-11-30T02:27:52.5947658Z [570 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:org_jetbrains_kotlinx_kotlinx_serialization_core_jvm [for tool]; 0s processwrapper-sandbox ... (2 actions, 1 running) -2025-11-30T02:27:53.6057462Z [577 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 0s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:27:54.6385906Z [583 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:55.6427354Z [588 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 2s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:56.6431732Z [590 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 1s worker ... (3 actions running) -2025-11-30T02:27:58.4013685Z [592 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 3s worker ... (3 actions, 2 running) -2025-11-30T02:27:59.4873949Z [593 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 4s worker ... (3 actions, 2 running) -2025-11-30T02:28:00.6274968Z [597 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:it_unimi_dsi_fastutil; 4s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:28:01.6520481Z [601 / 2,265] KotlinCompile //blazerod/render/main/util/iterator:iterator { kt: 2, java: 0, srcjars: 0 } for k8; 0s worker ... (3 actions running) -2025-11-30T02:28:02.6446261Z [606 / 2,265] Stamping the manifest of @maven//:org_lwjgl_lwjgl_assimp_natives_windows; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:28:03.6488820Z [609 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 1s worker ... (3 actions running) -2025-11-30T02:28:04.6477433Z [613 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 2s worker ... (2 actions running) -2025-11-30T02:28:05.6573394Z [614 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) -2025-11-30T02:28:06.6569077Z [620 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 4s worker ... (4 actions running) -2025-11-30T02:28:07.8132391Z [626 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 5s worker ... (4 actions, 3 running) -2025-11-30T02:28:08.9142325Z [635 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 6s worker ... (4 actions, 3 running) -2025-11-30T02:28:09.9626584Z [650 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 7s worker ... (4 actions, 3 running) -2025-11-30T02:28:11.0765873Z [662 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 9s worker ... (4 actions, 3 running) -2025-11-30T02:28:12.1079183Z [668 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 10s worker ... (4 actions, 3 running) -2025-11-30T02:28:13.1404446Z [673 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 11s worker ... (4 actions, 3 running) -2025-11-30T02:28:14.2977963Z [679 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 12s worker ... (4 actions, 3 running) -2025-11-30T02:28:15.6614401Z [680 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 13s worker ... (4 actions running) -2025-11-30T02:28:16.6623746Z [688 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 14s worker ... (4 actions, 3 running) -2025-11-30T02:28:17.6628415Z [698 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 15s worker ... (4 actions running) -2025-11-30T02:28:18.6639512Z [713 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 16s worker ... (4 actions running) -2025-11-30T02:28:19.6656072Z [725 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 17s worker ... (4 actions running) -2025-11-30T02:28:20.6659645Z [759 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 18s worker ... (4 actions running) -2025-11-30T02:28:21.6678688Z [805 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 19s worker ... (4 actions running) -2025-11-30T02:28:22.6738367Z [823 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 12s worker ... (4 actions running) -2025-11-30T02:28:23.6711646Z [842 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 13s worker ... (4 actions running) -2025-11-30T02:28:24.6760676Z [845 / 2,265] Splitting resources from classes for joined_strip_client; 4s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:28:25.6767052Z [863 / 2,265] KotlinCompile //blazerod/model/model-pmd:model-pmd { kt: 4, java: 0, srcjars: 0 } for k8; 2s worker ... (4 actions running) -2025-11-30T02:28:26.8468175Z [885 / 2,265] Remapping remapped_client_named - client.jar; 0s worker ... (4 actions, 3 running) -2025-11-30T02:28:27.0983558Z INFO: From Running NeoForm function bundleExtractJar to create ../+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar: -2025-11-30T02:28:27.1109610Z Task: BUNDLER_EXTRACT -2025-11-30T02:28:27.1118344Z Input: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/external/+minecraft+minecraft_1.21.8_server/file/server.jar -2025-11-30T02:28:27.1120935Z Output: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/bazel-out/k8-opt/bin/external/+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar -2025-11-30T02:28:27.1122917Z All: false -2025-11-30T02:28:27.1123494Z JarOnly: true -2025-11-30T02:28:27.1124041Z Libs: false -2025-11-30T02:28:27.1124651Z Extracted: versions/1.21.8/server-1.21.8.jar -2025-11-30T02:28:28.3841798Z [892 / 2,265] Remapping remapped_client_named - client.jar; 2s worker ... (4 actions, 3 running) -2025-11-30T02:28:29.6133473Z [899 / 2,265] Remapping remapped_client_named - client.jar; 3s worker ... (4 actions, 3 running) -2025-11-30T02:28:30.6788928Z [900 / 2,265] Remapping remapped_client_named - client.jar; 4s worker ... (4 actions running) -2025-11-30T02:28:31.6815648Z [901 / 2,265] Remapping remapped_client_named - client.jar; 5s worker ... (4 actions running) -2025-11-30T02:28:34.0024220Z [902 / 2,265] Remapping remapped_client_named - client.jar; 8s worker ... (4 actions, 3 running) -2025-11-30T02:28:35.1868044Z [904 / 2,265] Remapping remapped_client_named - client.jar; 9s worker ... (4 actions, 3 running) -2025-11-30T02:28:36.6823123Z [907 / 2,265] Remapping remapped_client_named - client.jar; 10s worker ... (4 actions running) -2025-11-30T02:28:37.6820586Z [909 / 2,265] Remapping remapped_client_named - client.jar; 11s worker ... (4 actions running) -2025-11-30T02:28:38.6878184Z [912 / 2,265] Remapping remapped_client_named - client.jar; 12s worker ... (4 actions running) -2025-11-30T02:28:39.6851163Z [915 / 2,265] Remapping remapped_client_named - client.jar; 13s worker ... (4 actions running) -2025-11-30T02:28:41.6883023Z [921 / 2,265] Remapping remapped_client_named - client.jar; 15s worker ... (4 actions running) -2025-11-30T02:28:42.6882886Z [925 / 2,265] Remapping remapped_client_named - client.jar; 16s worker ... (4 actions running) -2025-11-30T02:28:43.6922547Z [928 / 2,265] Remapping remapped_client_named - client.jar; 17s worker ... (4 actions running) -2025-11-30T02:28:44.6984225Z [933 / 2,265] Remapping remapped_client_named - client.jar; 18s worker ... (4 actions running) -2025-11-30T02:28:45.6998047Z [934 / 2,265] Remapping remapped_client_named - client.jar; 19s worker ... (4 actions running) -2025-11-30T02:28:46.6996728Z [937 / 2,265] Remapping remapped_client_named - client.jar; 20s worker ... (4 actions running) -2025-11-30T02:28:47.6991186Z [941 / 2,265] Remapping remapped_client_named - client.jar; 21s worker ... (4 actions running) -2025-11-30T02:28:48.7120896Z [946 / 2,265] Remapping remapped_client_named - client.jar; 22s worker ... (4 actions, 3 running) -2025-11-30T02:28:48.7980243Z ERROR: /home/runner/work/ArmorStand/ArmorStand/blazerod/model/model-pmx/BUILD.bazel:14:15: KotlinCompile //blazerod/model/model-pmx:model-pmx { kt: 11, java: 0, srcjars: 0 } for k8 failed: (Exit 1): build failed: error executing KotlinCompile command (from target //blazerod/model/model-pmx:model-pmx) -2025-11-30T02:28:48.7982786Z (cd /home/runner/.bazel/execroot/_main && \ -2025-11-30T02:28:48.7983520Z exec env - \ -2025-11-30T02:28:48.7989671Z LC_CTYPE=en_US.UTF-8 \ -2025-11-30T02:28:48.7990668Z REPOSITORY_NAME=rules_kotlin+ \ -2025-11-30T02:28:48.8021343Z bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/build '--wrapper_script_flag=--main_advice_classpath=external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/annotations-13.0.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk7.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk8.jar' '--flagfile=bazel-out/k8-opt/bin/blazerod/model/model-pmx/model-pmx-kt.jar-0.params') -2025-11-30T02:28:48.8025860Z # Configuration: 7829eb418bfd28df94b3e08f612b6b762cc0317abf8117066b0bd699547ce494 -2025-11-30T02:28:48.8030257Z # Execution platform: @@platforms//host:host -2025-11-30T02:28:48.8031321Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: -2025-11-30T02:28:48.8033915Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult -2025-11-30T02:28:48.8034730Z class PmxLoader : ModelFileLoader { -2025-11-30T02:28:48.8036160Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8037102Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. -2025-11-30T02:28:48.8038195Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8038897Z ^^^^^^^^^ -2025-11-30T02:28:48.8039686Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8101244Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8103426Z ^^^^^^^^^ -2025-11-30T02:28:48.8104810Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8114407Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8115138Z ^ -2025-11-30T02:28:48.8115865Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. -2025-11-30T02:28:48.8116780Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8117289Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8117949Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8118667Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8119142Z ^^^^^^^^^ -2025-11-30T02:28:48.8120032Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8120900Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8121315Z ^ -2025-11-30T02:28:48.8121900Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. -2025-11-30T02:28:48.8122780Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8123167Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8123696Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8124304Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8124690Z ^^^^^^^^^ -2025-11-30T02:28:48.8125423Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8126187Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8126767Z ^ -2025-11-30T02:28:48.8127289Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. -2025-11-30T02:28:48.8127829Z mass = rigidBody.mass, -2025-11-30T02:28:48.8128172Z ^^^^ -2025-11-30T02:28:48.8128684Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8129242Z mass = rigidBody.mass, -2025-11-30T02:28:48.8129582Z ^^^^^^^^^ -2025-11-30T02:28:48.8130614Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8131369Z mass = rigidBody.mass, -2025-11-30T02:28:48.8131759Z ^ -2025-11-30T02:28:48.8132327Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. -2025-11-30T02:28:48.8132951Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8133348Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8133862Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8134447Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8134850Z ^^^^^^^^^ -2025-11-30T02:28:48.8135574Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8136807Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8137310Z ^ -2025-11-30T02:28:48.8138008Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. -2025-11-30T02:28:48.8138786Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8139284Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8139919Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8140666Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8141152Z ^^^^^^^^^ -2025-11-30T02:28:48.8142067Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8143069Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8143632Z ^ -2025-11-30T02:28:48.8144303Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. -2025-11-30T02:28:48.8145243Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8145683Z ^^^^^^^^^ -2025-11-30T02:28:48.8146334Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8147227Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8147677Z ^^^^^^^^^ -2025-11-30T02:28:48.8148571Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8149526Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8149976Z ^ -2025-11-30T02:28:48.8150653Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. -2025-11-30T02:28:48.8151402Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8151867Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8152512Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8153238Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8153710Z ^^^^^^^^^ -2025-11-30T02:28:48.8154619Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8155588Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8156071Z ^ -2025-11-30T02:28:48.8156909Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. -2025-11-30T02:28:48.8157659Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8158147Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8158913Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.8159760Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8160236Z ^^^^ -2025-11-30T02:28:48.8160886Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8161816Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8162306Z ^^^^^^^^^ -2025-11-30T02:28:48.8163231Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8164132Z }, -2025-11-30T02:28:48.8164510Z ^ -2025-11-30T02:28:48.8165137Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8165802Z ) -2025-11-30T02:28:48.8166150Z ^ -2025-11-30T02:28:48.8167157Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8168149Z }, -2025-11-30T02:28:48.8168591Z ^ -2025-11-30T02:28:48.8169282Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8169946Z ) -2025-11-30T02:28:48.8170279Z ^ -2025-11-30T02:28:48.8170950Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8256221Z ) -2025-11-30T02:28:48.8257388Z ^ -2025-11-30T02:28:48.8257959Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. -2025-11-30T02:28:48.8258611Z } -2025-11-30T02:28:48.8258920Z ^ -2025-11-30T02:28:48.8259469Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. -2025-11-30T02:28:48.8260061Z } -2025-11-30T02:28:48.8260342Z ^ -2025-11-30T02:28:48.8260982Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8261736Z return Node( -2025-11-30T02:28:48.8262093Z ^^^^^^ -2025-11-30T02:28:48.8262752Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8263499Z return Node( -2025-11-30T02:28:48.8263840Z ^^^^ -2025-11-30T02:28:48.8264508Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8265260Z return Node( -2025-11-30T02:28:48.8265618Z ^ -2025-11-30T02:28:48.8266275Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8267359Z name = bone.nameLocal, -2025-11-30T02:28:48.8267782Z ^^^^ -2025-11-30T02:28:48.8268460Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8269243Z name = bone.nameLocal, -2025-11-30T02:28:48.8269648Z ^ -2025-11-30T02:28:48.8270314Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8271069Z name = bone.nameLocal, -2025-11-30T02:28:48.8271483Z ^^^^ -2025-11-30T02:28:48.8272172Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8272942Z name = bone.nameLocal, -2025-11-30T02:28:48.8273350Z ^ -2025-11-30T02:28:48.8274044Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8274815Z name = bone.nameLocal, -2025-11-30T02:28:48.8275220Z ^^^^^^^^^ -2025-11-30T02:28:48.8275929Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8277194Z name = bone.nameLocal, -2025-11-30T02:28:48.8277618Z ^ -2025-11-30T02:28:48.8278338Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8279094Z id = boneNodeId, -2025-11-30T02:28:48.8279486Z ^^ -2025-11-30T02:28:48.8280142Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8280920Z id = boneNodeId, -2025-11-30T02:28:48.8281316Z ^ -2025-11-30T02:28:48.8282013Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8282777Z id = boneNodeId, -2025-11-30T02:28:48.8283156Z ^^^^^^^^^^ -2025-11-30T02:28:48.8283887Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8284654Z id = boneNodeId, -2025-11-30T02:28:48.8285052Z ^ -2025-11-30T02:28:48.8285766Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8286953Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8287480Z ^^^^^^^^^ -2025-11-30T02:28:48.8288446Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8289237Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8290063Z ^ -2025-11-30T02:28:48.8290705Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8291404Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8291801Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8292458Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8293148Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8293544Z ^ -2025-11-30T02:28:48.8294181Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8294880Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8295307Z ^^^^^^^^^^ -2025-11-30T02:28:48.8295982Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8296900Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8297297Z ^ -2025-11-30T02:28:48.8297942Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8298672Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8299098Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8299694Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8300400Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8300822Z ^ -2025-11-30T02:28:48.8301431Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8302143Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8302567Z ^^^^^^^^ -2025-11-30T02:28:48.8303192Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8303891Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8304543Z ^ -2025-11-30T02:28:48.8305182Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8305937Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8306616Z ^ -2025-11-30T02:28:48.8307292Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8308063Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8308520Z ^ -2025-11-30T02:28:48.8309197Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8309958Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8310407Z ^^^ -2025-11-30T02:28:48.8311198Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8311950Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8312403Z ^ -2025-11-30T02:28:48.8313081Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8313834Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8314497Z ^^^^ -2025-11-30T02:28:48.8315180Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8315930Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8316541Z ^ -2025-11-30T02:28:48.8317198Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8317924Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8318381Z ^^^^^^^^ -2025-11-30T02:28:48.8319040Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8319760Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8320206Z ^ -2025-11-30T02:28:48.8320866Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8321586Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8322026Z ^ -2025-11-30T02:28:48.8322681Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8323399Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8323852Z ^^^^ -2025-11-30T02:28:48.8324503Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8325219Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8325667Z ^ -2025-11-30T02:28:48.8326306Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. -2025-11-30T02:28:48.8327188Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8327700Z ^ -2025-11-30T02:28:48.8328444Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.8329166Z if (parentPosition != null) { -2025-11-30T02:28:48.8329831Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8330470Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. -2025-11-30T02:28:48.8331155Z it.sub(parentPosition) -2025-11-30T02:28:48.8331599Z ^^^ -2025-11-30T02:28:48.8332279Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.8333052Z it.sub(parentPosition) -2025-11-30T02:28:48.8333498Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8334245Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8334977Z }, -2025-11-30T02:28:48.8335308Z ^ -2025-11-30T02:28:48.8335983Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8336941Z rotation = Quaternionf(), -2025-11-30T02:28:48.8337367Z ^^^^^^^^ -2025-11-30T02:28:48.8338051Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8338835Z rotation = Quaternionf(), -2025-11-30T02:28:48.8339267Z ^ -2025-11-30T02:28:48.8339954Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8340997Z rotation = Quaternionf(), -2025-11-30T02:28:48.8341430Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8342149Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8342910Z rotation = Quaternionf(), -2025-11-30T02:28:48.8343343Z ^ -2025-11-30T02:28:48.8344066Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8344834Z rotation = Quaternionf(), -2025-11-30T02:28:48.8345223Z ^ -2025-11-30T02:28:48.8345922Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8346917Z rotation = Quaternionf(), -2025-11-30T02:28:48.8347340Z ^ -2025-11-30T02:28:48.8348050Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8348942Z scale = Vector3f(1f), -2025-11-30T02:28:48.8349346Z ^^^^^ -2025-11-30T02:28:48.8350016Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8350769Z scale = Vector3f(1f), -2025-11-30T02:28:48.8351188Z ^ -2025-11-30T02:28:48.8351865Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8352618Z scale = Vector3f(1f), -2025-11-30T02:28:48.8353029Z ^^^^^^^^ -2025-11-30T02:28:48.8353733Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8354469Z scale = Vector3f(1f), -2025-11-30T02:28:48.8354882Z ^ -2025-11-30T02:28:48.8355601Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8356962Z scale = Vector3f(1f), -2025-11-30T02:28:48.8357349Z ^^ -2025-11-30T02:28:48.8357997Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8358666Z scale = Vector3f(1f), -2025-11-30T02:28:48.8359259Z ^ -2025-11-30T02:28:48.8359887Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8360553Z scale = Vector3f(1f), -2025-11-30T02:28:48.8360902Z ^ -2025-11-30T02:28:48.8361536Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8362179Z ), -2025-11-30T02:28:48.8362435Z ^ -2025-11-30T02:28:48.8362996Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8363620Z ), -2025-11-30T02:28:48.8363884Z ^ -2025-11-30T02:28:48.8364441Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8365090Z children = children, -2025-11-30T02:28:48.8365435Z ^^^^^^^^ -2025-11-30T02:28:48.8366026Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8366907Z children = children, -2025-11-30T02:28:48.8367251Z ^ -2025-11-30T02:28:48.8367838Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8368474Z children = children, -2025-11-30T02:28:48.8368994Z ^^^^^^^^ -2025-11-30T02:28:48.8369609Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8370255Z children = children, -2025-11-30T02:28:48.8370599Z ^ -2025-11-30T02:28:48.8371207Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8371879Z components = components, -2025-11-30T02:28:48.8372240Z ^^^^^^^^^^ -2025-11-30T02:28:48.8372844Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8373516Z components = components, -2025-11-30T02:28:48.8373876Z ^ -2025-11-30T02:28:48.8374478Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8375159Z components = components, -2025-11-30T02:28:48.8375527Z ^^^^^^^^^^ -2025-11-30T02:28:48.8376160Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8376972Z components = components, -2025-11-30T02:28:48.8377337Z ^ -2025-11-30T02:28:48.8377968Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8378603Z ) -2025-11-30T02:28:48.8378857Z ^ -2025-11-30T02:28:48.8379408Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8380074Z rootBones.forEach { index -> -2025-11-30T02:28:48.8380432Z ^^^^^^^^^ -2025-11-30T02:28:48.8380994Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8381673Z rootBones.forEach { index -> -2025-11-30T02:28:48.8382020Z ^ -2025-11-30T02:28:48.8382582Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8383250Z rootBones.forEach { index -> -2025-11-30T02:28:48.8383603Z ^^^^^^^ -2025-11-30T02:28:48.8384206Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8384862Z rootBones.forEach { index -> -2025-11-30T02:28:48.8385383Z ^ -2025-11-30T02:28:48.8386515Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. -2025-11-30T02:28:48.8387260Z rootBones.forEach { index -> -2025-11-30T02:28:48.8387660Z ^^^^^^^^^^ -2025-11-30T02:28:48.8388302Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. -2025-11-30T02:28:48.8389015Z rootBones.forEach { index -> -2025-11-30T02:28:48.8389414Z ^^^^^ -2025-11-30T02:28:48.8390691Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8391692Z rootBones.forEach { index -> -2025-11-30T02:28:48.8392118Z ^^ -2025-11-30T02:28:48.8392795Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8393535Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8393960Z ^^^^^^^^^ -2025-11-30T02:28:48.8394557Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. -2025-11-30T02:28:48.8395270Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8395711Z ^^^^^^^ -2025-11-30T02:28:48.8396569Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. -2025-11-30T02:28:48.8397568Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8398007Z ^^^^^ -2025-11-30T02:28:48.8398632Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. -2025-11-30T02:28:48.8399359Z var nextNodeIndex = bones.size -2025-11-30T02:28:48.8399776Z ^^^^^ -2025-11-30T02:28:48.8400469Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8401244Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8401648Z ^^^ -2025-11-30T02:28:48.8402256Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8403001Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8403406Z ^ -2025-11-30T02:28:48.8404011Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8404764Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8405174Z ^^^^^^^^^ -2025-11-30T02:28:48.8405814Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8406765Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8407193Z ^^^^^ -2025-11-30T02:28:48.8407879Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8408608Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8409028Z ^ -2025-11-30T02:28:48.8409711Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8410464Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8410879Z ^^^^^^^ -2025-11-30T02:28:48.8411562Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8412308Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8412725Z ^ -2025-11-30T02:28:48.8413421Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8414158Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8414557Z ^ -2025-11-30T02:28:48.8415215Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. -2025-11-30T02:28:48.8416215Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8416833Z ^ -2025-11-30T02:28:48.8417485Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. -2025-11-30T02:28:48.8418157Z val bone = bones[boneIndex] -2025-11-30T02:28:48.8418532Z ^^^^^ -2025-11-30T02:28:48.8419124Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.8436178Z val bone = bones[boneIndex] -2025-11-30T02:28:48.8436788Z ^^^^^^^^^ -2025-11-30T02:28:48.8437398Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8438039Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.8438430Z ^^^^^^^ -2025-11-30T02:28:48.8439017Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.8439664Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.8440064Z ^^^^^^^^^ -2025-11-30T02:28:48.8440663Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. -2025-11-30T02:28:48.8441490Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() -2025-11-30T02:28:48.8442305Z ^^^^^^^^ -2025-11-30T02:28:48.8442931Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.8443611Z HumanoidTag.fromPmxJapanese(bone.nameLocal) -2025-11-30T02:28:48.8444047Z ^^^^^^^^^ -2025-11-30T02:28:48.8444680Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.8445401Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) -2025-11-30T02:28:48.8445867Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8446681Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.8447672Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() -2025-11-30T02:28:48.8448387Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8449066Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8449835Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8450290Z ^^^ -2025-11-30T02:28:48.8450864Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8451620Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8452059Z ^ -2025-11-30T02:28:48.8452612Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8453363Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8453810Z ^ -2025-11-30T02:28:48.8454340Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8455103Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8455577Z ^^^^^^^^^^ -2025-11-30T02:28:48.8456166Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8457776Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8484737Z ^ -2025-11-30T02:28:48.8485521Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8486852Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8487428Z ^^^^^^^^^ -2025-11-30T02:28:48.8488116Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8488943Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8489457Z ^ -2025-11-30T02:28:48.8490158Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8490994Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8491516Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8492248Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8493080Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8493599Z ^ -2025-11-30T02:28:48.8494350Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8495216Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8495764Z ^^^^^^^^^ -2025-11-30T02:28:48.8496947Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8497740Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8498235Z ^ -2025-11-30T02:28:48.8498892Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8499656Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8500136Z ^ -2025-11-30T02:28:48.8500788Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8501531Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8502008Z ^ -2025-11-30T02:28:48.8502662Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8503407Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8503878Z ^ -2025-11-30T02:28:48.8504508Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. -2025-11-30T02:28:48.8505238Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8505729Z ^ -2025-11-30T02:28:48.8506336Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. -2025-11-30T02:28:48.8512698Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.8552826Z ^^^^^^^^^^ -2025-11-30T02:28:48.8553808Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList -2025-11-30T02:28:48.8555180Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.8556076Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8557006Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. -2025-11-30T02:28:48.8557991Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8558477Z ^^^^^^^^^ -2025-11-30T02:28:48.8559286Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8560120Z fun Array.component1(): T -2025-11-30T02:28:48.8560535Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8560933Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8561350Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8561739Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8562110Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8562550Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8562943Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8563336Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8563696Z fun List.component1(): T -2025-11-30T02:28:48.8564080Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8564515Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8564923Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8565326Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8565738Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8566207Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8566975Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8567782Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8568804Z fun Array.component2(): T -2025-11-30T02:28:48.8569207Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8569587Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8569966Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8570319Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8570702Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8571098Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8571518Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8571934Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8572299Z fun List.component2(): T -2025-11-30T02:28:48.8572675Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8573087Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8573463Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8573837Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8574234Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8574678Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8575145Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8576012Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8577060Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8577510Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8577996Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8578674Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8579303Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8579786Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8580318Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8580753Z ^^^^ -2025-11-30T02:28:48.8581440Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.8582423Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) -2025-11-30T02:28:48.8583115Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8583816Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8584826Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8585339Z ^^^^^^^^^ -2025-11-30T02:28:48.8585944Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8587391Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8587882Z ^ -2025-11-30T02:28:48.8588474Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8589311Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8589823Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8590481Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8591301Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8591812Z ^ -2025-11-30T02:28:48.8592445Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. -2025-11-30T02:28:48.8593253Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8593757Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8594435Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8595236Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8595922Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8596986Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8598048Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8598610Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8599300Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. -2025-11-30T02:28:48.8600003Z val nodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.8600446Z ^^ -2025-11-30T02:28:48.8601101Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8601812Z val nodeId = NodeId(modelId, nodeIndex) -2025-11-30T02:28:48.8602226Z ^^^^^^^ -2025-11-30T02:28:48.8602862Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8603536Z val meshId = MeshId(modelId, nodeIndex) -2025-11-30T02:28:48.8603938Z ^^^^^^^ -2025-11-30T02:28:48.8604586Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8605308Z materialToMeshIds[materialIndex] = meshId -2025-11-30T02:28:48.8605742Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8607226Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8608107Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.8608695Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8609309Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. -2025-11-30T02:28:48.8610080Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.8610691Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8611566Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8612544Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.8613128Z ^^^^^^ -2025-11-30T02:28:48.8614215Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8615143Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.8615675Z ^ -2025-11-30T02:28:48.8616842Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. -2025-11-30T02:28:48.8617805Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.8618197Z ^^ -2025-11-30T02:28:48.8618788Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. -2025-11-30T02:28:48.8619480Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.8619910Z ^^^^^^^^ -2025-11-30T02:28:48.8620734Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8621559Z }?.let { -2025-11-30T02:28:48.8621891Z ^^^ -2025-11-30T02:28:48.8622570Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.8623326Z }?.let { -2025-11-30T02:28:48.8623648Z ^^^ -2025-11-30T02:28:48.8624298Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. -2025-11-30T02:28:48.8625212Z }?.let { -2025-11-30T02:28:48.8625511Z ^^^ -2025-11-30T02:28:48.8626226Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8627200Z }?.let { -2025-11-30T02:28:48.8627525Z ^ -2025-11-30T02:28:48.8628137Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. -2025-11-30T02:28:48.8628834Z textures.getOrNull(it) -2025-11-30T02:28:48.8629253Z ^^^^^^^^ -2025-11-30T02:28:48.8630030Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8630838Z }?.let { -2025-11-30T02:28:48.8631154Z ^^^ -2025-11-30T02:28:48.8631870Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.8632640Z }?.let { -2025-11-30T02:28:48.8632967Z ^^^ -2025-11-30T02:28:48.8633707Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8634523Z }?.let { -2025-11-30T02:28:48.8634870Z ^ -2025-11-30T02:28:48.8635489Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8636177Z rootNodes.add( -2025-11-30T02:28:48.8636730Z ^^^^^^^^^ -2025-11-30T02:28:48.8637390Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8638214Z attributes = materialData.vertexAttributes, -2025-11-30T02:28:48.8638738Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8639465Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8640245Z bufferView = materialData.indexBufferView, -2025-11-30T02:28:48.8640773Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8641526Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. -2025-11-30T02:28:48.8642308Z componentType = indexBufferType, -2025-11-30T02:28:48.8643018Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8643755Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8644619Z targets = materialMorphMap[materialIndex] ?: listOf(), -2025-11-30T02:28:48.8645201Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8645917Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. -2025-11-30T02:28:48.8646822Z val cameraNodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.8647278Z ^^ -2025-11-30T02:28:48.8648018Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8648774Z rootNodes.add( -2025-11-30T02:28:48.8649123Z ^^^^^^^^^ -2025-11-30T02:28:48.8649776Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8650533Z rootNodes.add( -2025-11-30T02:28:48.8650884Z ^ -2025-11-30T02:28:48.8651524Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8652286Z rootNodes.add( -2025-11-30T02:28:48.8652632Z ^^^ -2025-11-30T02:28:48.8653303Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8654308Z rootNodes.add( -2025-11-30T02:28:48.8654645Z ^ -2025-11-30T02:28:48.8655286Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8655980Z Node( -2025-11-30T02:28:48.8656251Z ^^^^ -2025-11-30T02:28:48.8657051Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8657764Z Node( -2025-11-30T02:28:48.8658062Z ^ -2025-11-30T02:28:48.8658677Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8659437Z name = "MMD Camera", -2025-11-30T02:28:48.8659847Z ^^^^ -2025-11-30T02:28:48.8660502Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8661261Z name = "MMD Camera", -2025-11-30T02:28:48.8661646Z ^ -2025-11-30T02:28:48.8662297Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8663016Z name = "MMD Camera", -2025-11-30T02:28:48.8663398Z ^ -2025-11-30T02:28:48.8664052Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8664762Z name = "MMD Camera", -2025-11-30T02:28:48.8665166Z ^^^^^^^^^^ -2025-11-30T02:28:48.8665877Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8666808Z name = "MMD Camera", -2025-11-30T02:28:48.8667192Z ^ -2025-11-30T02:28:48.8667883Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8668595Z name = "MMD Camera", -2025-11-30T02:28:48.8668964Z ^ -2025-11-30T02:28:48.8669663Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8670391Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8670786Z ^^ -2025-11-30T02:28:48.8671354Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8672271Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8672677Z ^ -2025-11-30T02:28:48.8673303Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8674049Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8674462Z ^^^^^^ -2025-11-30T02:28:48.8675116Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8675879Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8676331Z ^ -2025-11-30T02:28:48.8677200Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8677967Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8678407Z ^^^^^^^ -2025-11-30T02:28:48.8679119Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8679899Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8680334Z ^ -2025-11-30T02:28:48.8681048Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8681814Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8682495Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8683209Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8683980Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8684436Z ^ -2025-11-30T02:28:48.8685137Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8685938Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8686580Z ^ -2025-11-30T02:28:48.8687408Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8688189Z components = listOf( -2025-11-30T02:28:48.8688580Z ^^^^^^^^^^ -2025-11-30T02:28:48.8689243Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8689952Z components = listOf( -2025-11-30T02:28:48.8690320Z ^ -2025-11-30T02:28:48.8690994Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8691716Z components = listOf( -2025-11-30T02:28:48.8692087Z ^^^^^^ -2025-11-30T02:28:48.8692751Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8693469Z components = listOf( -2025-11-30T02:28:48.8693861Z ^ -2025-11-30T02:28:48.8694587Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8695381Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8695853Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8696767Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8697581Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8698025Z ^ -2025-11-30T02:28:48.8698703Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8699494Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8699942Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8700937Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8701730Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8702174Z ^ -2025-11-30T02:28:48.8702899Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8703657Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8704101Z ^^^^^^ -2025-11-30T02:28:48.8704788Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8705555Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8705985Z ^ -2025-11-30T02:28:48.8706891Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8707671Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8708088Z ^^^ -2025-11-30T02:28:48.8708786Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8709541Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8709968Z ^ -2025-11-30T02:28:48.8710618Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8711619Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8712061Z ^^^^ -2025-11-30T02:28:48.8712788Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8713562Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8713997Z ^ -2025-11-30T02:28:48.8714732Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8715495Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8715952Z ^ -2025-11-30T02:28:48.8716857Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8717639Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8718115Z ^^^^^^^^^^ -2025-11-30T02:28:48.8718844Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8719612Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8720058Z ^ -2025-11-30T02:28:48.8720775Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8721539Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8721973Z ^ -2025-11-30T02:28:48.8722692Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8723416Z ) -2025-11-30T02:28:48.8723740Z ^ -2025-11-30T02:28:48.8724375Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8725445Z ) -2025-11-30T02:28:48.8725757Z ^ -2025-11-30T02:28:48.8726537Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8727260Z ) -2025-11-30T02:28:48.8727518Z ^ -2025-11-30T02:28:48.8728091Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8728786Z ) -2025-11-30T02:28:48.8729305Z ^ -2025-11-30T02:28:48.8729861Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8730597Z val scene = Scene(nodes = rootNodes) -2025-11-30T02:28:48.8731042Z ^^^^^^^^^ -2025-11-30T02:28:48.8731753Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8732508Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8732934Z ^^^^^^ -2025-11-30T02:28:48.8733564Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8734332Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8734757Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8735427Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8736154Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8736783Z ^ -2025-11-30T02:28:48.8737406Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8738170Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8738608Z ^^^^^^^^^^ -2025-11-30T02:28:48.8739327Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8740395Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8740834Z ^ -2025-11-30T02:28:48.8741472Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8742169Z metadata = Metadata( -2025-11-30T02:28:48.8742543Z ^^^^^^^^ -2025-11-30T02:28:48.8743194Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8743950Z metadata = Metadata( -2025-11-30T02:28:48.8744334Z ^ -2025-11-30T02:28:48.8744978Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8745714Z metadata = Metadata( -2025-11-30T02:28:48.8746072Z ^^^^^^^^ -2025-11-30T02:28:48.8746910Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8747650Z metadata = Metadata( -2025-11-30T02:28:48.8748033Z ^ -2025-11-30T02:28:48.8748712Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8749509Z title = header.modelNameLocal, -2025-11-30T02:28:48.8749979Z ^^^^^ -2025-11-30T02:28:48.8764220Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8765022Z title = header.modelNameLocal, -2025-11-30T02:28:48.8765402Z ^ -2025-11-30T02:28:48.8766038Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8767022Z title = header.modelNameLocal, -2025-11-30T02:28:48.8767481Z ^^^^^^ -2025-11-30T02:28:48.8768137Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8768890Z title = header.modelNameLocal, -2025-11-30T02:28:48.8769318Z ^ -2025-11-30T02:28:48.8769994Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8770751Z title = header.modelNameLocal, -2025-11-30T02:28:48.8771201Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8771957Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8772972Z title = header.modelNameLocal, -2025-11-30T02:28:48.8773422Z ^ -2025-11-30T02:28:48.8774166Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8774972Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8775430Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8776107Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8777119Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8777604Z ^ -2025-11-30T02:28:48.8778292Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8779085Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8779577Z ^^^^^^ -2025-11-30T02:28:48.8780287Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8781062Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8781528Z ^ -2025-11-30T02:28:48.8782232Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8783042Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8783768Z ^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8784483Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8785241Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8785690Z ^ -2025-11-30T02:28:48.8786600Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8787403Z comment = header.commentLocal, -2025-11-30T02:28:48.8787819Z ^^^^^^^ -2025-11-30T02:28:48.8788483Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8789236Z comment = header.commentLocal, -2025-11-30T02:28:48.8789670Z ^ -2025-11-30T02:28:48.8790351Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8791091Z comment = header.commentLocal, -2025-11-30T02:28:48.8791499Z ^^^^^^ -2025-11-30T02:28:48.8792180Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8792946Z comment = header.commentLocal, -2025-11-30T02:28:48.8793361Z ^ -2025-11-30T02:28:48.8794062Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8794833Z comment = header.commentLocal, -2025-11-30T02:28:48.8795288Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8795989Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8796935Z comment = header.commentLocal, -2025-11-30T02:28:48.8797372Z ^ -2025-11-30T02:28:48.8798074Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8798876Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8799349Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8800056Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8800844Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8801580Z ^ -2025-11-30T02:28:48.8802308Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8803162Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8803656Z ^^^^^^ -2025-11-30T02:28:48.8804350Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8805141Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8805600Z ^ -2025-11-30T02:28:48.8806305Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8807330Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8807813Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8808580Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8809349Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8809839Z ^ -2025-11-30T02:28:48.8810579Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8811273Z ), -2025-11-30T02:28:48.8811846Z ^ -2025-11-30T02:28:48.8812490Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8813220Z ), -2025-11-30T02:28:48.8813509Z ^ -2025-11-30T02:28:48.8814127Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8814855Z model = Model( -2025-11-30T02:28:48.8815226Z ^^^^^ -2025-11-30T02:28:48.8815887Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8816830Z model = Model( -2025-11-30T02:28:48.8817206Z ^ -2025-11-30T02:28:48.8817849Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8818619Z model = Model( -2025-11-30T02:28:48.8819000Z ^^^^^ -2025-11-30T02:28:48.8819694Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8820425Z model = Model( -2025-11-30T02:28:48.8820771Z ^ -2025-11-30T02:28:48.8821433Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8822204Z scenes = listOf(scene), -2025-11-30T02:28:48.8822637Z ^^^^^^ -2025-11-30T02:28:48.8823306Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8824093Z scenes = listOf(scene), -2025-11-30T02:28:48.8824489Z ^ -2025-11-30T02:28:48.8825156Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8826313Z scenes = listOf(scene), -2025-11-30T02:28:48.8826925Z ^^^^^^ -2025-11-30T02:28:48.8827645Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8828374Z scenes = listOf(scene), -2025-11-30T02:28:48.8828786Z ^ -2025-11-30T02:28:48.8829461Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8830188Z scenes = listOf(scene), -2025-11-30T02:28:48.8830575Z ^^^^^ -2025-11-30T02:28:48.8831510Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8832238Z scenes = listOf(scene), -2025-11-30T02:28:48.8832623Z ^ -2025-11-30T02:28:48.8833320Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8834052Z scenes = listOf(scene), -2025-11-30T02:28:48.8834452Z ^ -2025-11-30T02:28:48.8835154Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8835863Z skins = listOf(skin), -2025-11-30T02:28:48.8836245Z ^^^^^ -2025-11-30T02:28:48.8837109Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8837832Z skins = listOf(skin), -2025-11-30T02:28:48.8838216Z ^ -2025-11-30T02:28:48.8838862Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8839582Z skins = listOf(skin), -2025-11-30T02:28:48.8839967Z ^^^^^^ -2025-11-30T02:28:48.8840645Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8841355Z skins = listOf(skin), -2025-11-30T02:28:48.8841730Z ^ -2025-11-30T02:28:48.8842596Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8843267Z skins = listOf(skin), -2025-11-30T02:28:48.8843607Z ^^^^ -2025-11-30T02:28:48.8844248Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8844981Z skins = listOf(skin), -2025-11-30T02:28:48.8845367Z ^ -2025-11-30T02:28:48.8846072Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8846999Z skins = listOf(skin), -2025-11-30T02:28:48.8847396Z ^ -2025-11-30T02:28:48.8848080Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8848883Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8849371Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8850033Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8850848Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8851340Z ^ -2025-11-30T02:28:48.8852030Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8852852Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8853334Z ^^^^ -2025-11-30T02:28:48.8854025Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8854860Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8855342Z ^ -2025-11-30T02:28:48.8856015Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8857012Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8857512Z ^^^^^^ -2025-11-30T02:28:48.8858225Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8859058Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8859777Z ^ -2025-11-30T02:28:48.8860510Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8861324Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8861860Z ^^^^^^^^^^ -2025-11-30T02:28:48.8862587Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8863424Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8863936Z ^ -2025-11-30T02:28:48.8864637Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. -2025-11-30T02:28:48.8865453Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8865958Z ^^^^^^^^^^ -2025-11-30T02:28:48.8866846Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8867734Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8868249Z ^^^^^ -2025-11-30T02:28:48.8869195Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8870224Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8871024Z ^^ -2025-11-30T02:28:48.8871676Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8872449Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8872969Z ^^^^^ -2025-11-30T02:28:48.8873660Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.8874486Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8874995Z ^^^ -2025-11-30T02:28:48.8875657Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.8876623Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8877150Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8877771Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. -2025-11-30T02:28:48.8878357Z return@mapNotNull null -2025-11-30T02:28:48.8878768Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8879409Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8880190Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8880679Z ^^^^^ -2025-11-30T02:28:48.8881376Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.8882226Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8882744Z ^^^ -2025-11-30T02:28:48.8883436Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.8884243Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8884779Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8885391Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. -2025-11-30T02:28:48.8886005Z return@mapNotNull null -2025-11-30T02:28:48.8886636Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8887362Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8888486Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8888975Z ^^^^^ -2025-11-30T02:28:48.8889954Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. -2025-11-30T02:28:48.8891040Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8891593Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8892482Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8893504Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8894042Z ^^^^^^ -2025-11-30T02:28:48.8895145Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.8896294Z fun CharSequence.isNotBlank(): Boolean -2025-11-30T02:28:48.8897052Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8897591Z ^^^^^^^^^^ -2025-11-30T02:28:48.8898437Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.8899563Z type = when (joint.type) { -2025-11-30T02:28:48.8900003Z ^^^^ -2025-11-30T02:28:48.8901111Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. -2025-11-30T02:28:48.8902266Z type = when (joint.type) { -2025-11-30T02:28:48.8902691Z ^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8903358Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8904045Z type = when (joint.type) { -2025-11-30T02:28:48.8904476Z ^^^^^ -2025-11-30T02:28:48.8905435Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.8906765Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8907346Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8908063Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8908892Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8909486Z ^^^^^^^ -2025-11-30T02:28:48.8910194Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8911017Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8911710Z ^^^^^ -2025-11-30T02:28:48.8912702Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.8913819Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8914389Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8915095Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8915914Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8916647Z ^^^^^^^ -2025-11-30T02:28:48.8917542Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8918311Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8918856Z ^^^^^ -2025-11-30T02:28:48.8919528Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8920231Z position = joint.position, -2025-11-30T02:28:48.8920665Z ^^^^^ -2025-11-30T02:28:48.8921292Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8921989Z rotation = joint.rotation, -2025-11-30T02:28:48.8922389Z ^^^^^ -2025-11-30T02:28:48.8923013Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8923718Z positionMin = joint.positionMinimum, -2025-11-30T02:28:48.8924172Z ^^^^^ -2025-11-30T02:28:48.8924821Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8925593Z positionMax = joint.positionMaximum, -2025-11-30T02:28:48.8926057Z ^^^^^ -2025-11-30T02:28:48.8926888Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8927895Z rotationMin = joint.rotationMinimum, -2025-11-30T02:28:48.8928353Z ^^^^^ -2025-11-30T02:28:48.8928999Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8929735Z rotationMax = joint.rotationMaximum, -2025-11-30T02:28:48.8930207Z ^^^^^ -2025-11-30T02:28:48.8930898Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8931647Z positionSpring = joint.positionSpring, -2025-11-30T02:28:48.8932151Z ^^^^^ -2025-11-30T02:28:48.8932822Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8933589Z rotationSpring = joint.rotationSpring, -2025-11-30T02:28:48.8934086Z ^^^^^ -2025-11-30T02:28:48.8934827Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8935580Z }, -2025-11-30T02:28:48.8935889Z ^ -2025-11-30T02:28:48.8936730Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8937511Z expressions = buildList { -2025-11-30T02:28:48.8937943Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8938655Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8939447Z expressions = buildList { -2025-11-30T02:28:48.8939869Z ^ -2025-11-30T02:28:48.8940553Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8941331Z expressions = buildList { -2025-11-30T02:28:48.8941760Z ^^^^^^^^^ -2025-11-30T02:28:48.8942493Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8943252Z expressions = buildList { -2025-11-30T02:28:48.8943665Z ^ -2025-11-30T02:28:48.8944358Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. -2025-11-30T02:28:48.8945086Z expressions = buildList { -2025-11-30T02:28:48.8945736Z ^ -2025-11-30T02:28:48.8946617Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. -2025-11-30T02:28:48.8947450Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8947965Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8948782Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8949639Z fun Array.component1(): T -2025-11-30T02:28:48.8950062Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8950480Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8950897Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8951274Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8951682Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8952108Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8952559Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8952703Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8952835Z fun List.component1(): T -2025-11-30T02:28:48.8952991Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8953141Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8953286Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8953433Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8953591Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8954028Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8954174Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8954722Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8954877Z fun Array.component2(): T -2025-11-30T02:28:48.8955026Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8955174Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8955335Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8955480Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8955631Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8955788Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8955952Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8956104Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8956234Z fun List.component2(): T -2025-11-30T02:28:48.8956572Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8956741Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8956890Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8957047Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8957201Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8957418Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8957563Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8958191Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8958369Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8958526Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8958755Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8959110Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8959285Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8959490Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8959699Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8959841Z ^^^^^^^^^ -2025-11-30T02:28:48.8960531Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. -2025-11-30T02:28:48.8960970Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8961114Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8961518Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.8961739Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8961870Z ^^^^^^^^^ -2025-11-30T02:28:48.8962328Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.8962541Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8962680Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8963046Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. -2025-11-30T02:28:48.8963194Z tag = target.tag, -2025-11-30T02:28:48.8963326Z ^^^ -2025-11-30T02:28:48.8963957Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. -2025-11-30T02:28:48.8964106Z isBinary = false, -2025-11-30T02:28:48.8964228Z ^^^^^ -2025-11-30T02:28:48.8965170Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.8966021Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8966212Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8967243Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. -2025-11-30T02:28:48.8967796Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8967978Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8968549Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8969101Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8969263Z ^^^^^^^^^^ -2025-11-30T02:28:48.8970092Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.8970385Z fun Iterable.mapNotNull(transform: (T) -> R?): List -2025-11-30T02:28:48.8970920Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8971090Z ^^^^^^^^^^ -2025-11-30T02:28:48.8971654Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8972239Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8972422Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8972981Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8973389Z fun Array.component1(): T -2025-11-30T02:28:48.8973551Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8973708Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8973868Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8974021Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8974170Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8974329Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8974492Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8974651Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8974786Z fun List.component1(): T -2025-11-30T02:28:48.8974957Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8975102Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8975250Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8975413Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8975575Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8976103Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8976299Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8977068Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8977231Z fun Array.component2(): T -2025-11-30T02:28:48.8977383Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8977789Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8977938Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8978084Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8978240Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8978398Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8978564Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8978714Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8978857Z fun List.component2(): T -2025-11-30T02:28:48.8979028Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8979175Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8979330Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8979484Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8979640Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8980157Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8980355Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8980891Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8981018Z } ?: listOf(), -2025-11-30T02:28:48.8981138Z ^^^^^^ -2025-11-30T02:28:48.8981875Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.8982031Z } ?: listOf(), -2025-11-30T02:28:48.8982165Z ^^^^^^^^ -2025-11-30T02:28:48.8982530Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. -2025-11-30T02:28:48.8982766Z pmxIndexToExpressions[target.pmxIndex] = expression -2025-11-30T02:28:48.8982921Z ^^^^^^^^ -2025-11-30T02:28:48.8983279Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.8983415Z add(expression) -2025-11-30T02:28:48.8983541Z ^^^ -2025-11-30T02:28:48.8984151Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8984327Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8984774Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8985002Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8985319Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8985491Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8985706Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8985877Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.8986013Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8986672Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. -2025-11-30T02:28:48.8986859Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.8986984Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8987391Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.8987532Z add( -2025-11-30T02:28:48.8987637Z ^^^ -2025-11-30T02:28:48.8988173Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8988412Z targets = group.items.mapNotNull { item -> -2025-11-30T02:28:48.8988556Z ^^^^ -2025-11-30T02:28:48.8989205Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. -2025-11-30T02:28:48.8989398Z val pmxMorphIndex = item.index -2025-11-30T02:28:48.8989544Z ^^^^^ -2025-11-30T02:28:48.8989952Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. -2025-11-30T02:28:48.8990128Z influence = item.influence, -2025-11-30T02:28:48.8990276Z ^^^^^^^^^ -2025-11-30T02:28:48.8990729Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8990853Z }, -2025-11-30T02:28:48.8990975Z ^ -2025-11-30T02:28:48.8991433Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8991582Z defaultScene = scene, -2025-11-30T02:28:48.8991719Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8992157Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8992304Z defaultScene = scene, -2025-11-30T02:28:48.8992427Z ^ -2025-11-30T02:28:48.8992860Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8993006Z defaultScene = scene, -2025-11-30T02:28:48.8993139Z ^^^^^ -2025-11-30T02:28:48.8993592Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8993729Z defaultScene = scene, -2025-11-30T02:28:48.8993842Z ^ -2025-11-30T02:28:48.8994296Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8994410Z ), -2025-11-30T02:28:48.8994515Z ^ -2025-11-30T02:28:48.8994962Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8995066Z ), -2025-11-30T02:28:48.8995174Z ^ -2025-11-30T02:28:48.8995618Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8995763Z animations = listOf(), -2025-11-30T02:28:48.8996104Z ^^^^^^^^^^ -2025-11-30T02:28:48.8996766Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8996925Z animations = listOf(), -2025-11-30T02:28:48.8997043Z ^ -2025-11-30T02:28:48.8997502Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8997657Z animations = listOf(), -2025-11-30T02:28:48.8997785Z ^^^^^^ -2025-11-30T02:28:48.8998242Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8998389Z animations = listOf(), -2025-11-30T02:28:48.8998519Z ^ -2025-11-30T02:28:48.8998964Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8999114Z animations = listOf(), -2025-11-30T02:28:48.8999259Z ^ -2025-11-30T02:28:48.8999706Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8999853Z animations = listOf(), -2025-11-30T02:28:48.8999976Z ^ -2025-11-30T02:28:48.9000437Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9000545Z ) -2025-11-30T02:28:48.9000894Z ^ -2025-11-30T02:28:48.9001389Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9001499Z } -2025-11-30T02:28:48.9001602Z ^ -2025-11-30T02:28:48.9002170Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. -2025-11-30T02:28:48.9002379Z override fun load(path: Path, basePath: Path) = -2025-11-30T02:28:48.9002490Z ^^^^^^^^ -2025-11-30T02:28:48.9003043Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9003356Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> -2025-11-30T02:28:48.9003496Z ^^^ -2025-11-30T02:28:48.9003894Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. -2025-11-30T02:28:48.9004058Z val context = Context(basePath) -2025-11-30T02:28:48.9004186Z ^^^^^^^ -2025-11-30T02:28:48.9004669Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9004786Z } -2025-11-30T02:28:48.9004888Z ^ -2025-11-30T02:28:48.9005035Z Nov 30, 2025 2:28:48 AM worker request 0 -2025-11-30T02:28:48.9005234Z SEVERE: Compilation failure: compile phase failed: -2025-11-30T02:28:48.9005837Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: -2025-11-30T02:28:48.9006146Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult -2025-11-30T02:28:48.9006307Z class PmxLoader : ModelFileLoader { -2025-11-30T02:28:48.9006624Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9007040Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. -2025-11-30T02:28:48.9007234Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9007372Z ^^^^^^^^^ -2025-11-30T02:28:48.9007789Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9007979Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9008122Z ^^^^^^^^^ -2025-11-30T02:28:48.9008791Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9009244Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9009396Z ^ -2025-11-30T02:28:48.9009844Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. -2025-11-30T02:28:48.9010061Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9010198Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9010629Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9010837Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9010987Z ^^^^^^^^^ -2025-11-30T02:28:48.9011663Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9011879Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9012026Z ^ -2025-11-30T02:28:48.9012454Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. -2025-11-30T02:28:48.9012652Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9012780Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9013362Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9013567Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9013707Z ^^^^^^^^^ -2025-11-30T02:28:48.9014359Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9014569Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9014707Z ^ -2025-11-30T02:28:48.9015085Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. -2025-11-30T02:28:48.9015252Z mass = rigidBody.mass, -2025-11-30T02:28:48.9015377Z ^^^^ -2025-11-30T02:28:48.9015777Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9015934Z mass = rigidBody.mass, -2025-11-30T02:28:48.9016062Z ^^^^^^^^^ -2025-11-30T02:28:48.9016902Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9017058Z mass = rigidBody.mass, -2025-11-30T02:28:48.9017197Z ^ -2025-11-30T02:28:48.9017619Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. -2025-11-30T02:28:48.9017837Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9017973Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9018355Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9018579Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9018720Z ^^^^^^^^^ -2025-11-30T02:28:48.9019354Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9019568Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9019914Z ^ -2025-11-30T02:28:48.9020367Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. -2025-11-30T02:28:48.9020594Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9020732Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9021137Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9021364Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9021504Z ^^^^^^^^^ -2025-11-30T02:28:48.9022170Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9022380Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9022532Z ^ -2025-11-30T02:28:48.9022937Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. -2025-11-30T02:28:48.9023113Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9023233Z ^^^^^^^^^ -2025-11-30T02:28:48.9023622Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9023958Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9024088Z ^^^^^^^^^ -2025-11-30T02:28:48.9024737Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9024917Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9025067Z ^ -2025-11-30T02:28:48.9025493Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. -2025-11-30T02:28:48.9025689Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9025816Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9026211Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9026593Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9026738Z ^^^^^^^^^ -2025-11-30T02:28:48.9027381Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9027577Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9027721Z ^ -2025-11-30T02:28:48.9028131Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. -2025-11-30T02:28:48.9028346Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9028472Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9028980Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.9029205Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9029332Z ^^^^ -2025-11-30T02:28:48.9029715Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9029918Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9030049Z ^^^^^^^^^ -2025-11-30T02:28:48.9030959Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9031092Z }, -2025-11-30T02:28:48.9031207Z ^ -2025-11-30T02:28:48.9031608Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9031734Z ) -2025-11-30T02:28:48.9031851Z ^ -2025-11-30T02:28:48.9032502Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9032622Z }, -2025-11-30T02:28:48.9032736Z ^ -2025-11-30T02:28:48.9033157Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9033321Z ) -2025-11-30T02:28:48.9033433Z ^ -2025-11-30T02:28:48.9033832Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9033944Z ) -2025-11-30T02:28:48.9034053Z ^ -2025-11-30T02:28:48.9034416Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. -2025-11-30T02:28:48.9034750Z } -2025-11-30T02:28:48.9034854Z ^ -2025-11-30T02:28:48.9035216Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. -2025-11-30T02:28:48.9035324Z } -2025-11-30T02:28:48.9035429Z ^ -2025-11-30T02:28:48.9035879Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9036012Z return Node( -2025-11-30T02:28:48.9036119Z ^^^^^^ -2025-11-30T02:28:48.9036750Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9036884Z return Node( -2025-11-30T02:28:48.9036996Z ^^^^ -2025-11-30T02:28:48.9037431Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9037552Z return Node( -2025-11-30T02:28:48.9037660Z ^ -2025-11-30T02:28:48.9038092Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9038233Z name = bone.nameLocal, -2025-11-30T02:28:48.9038350Z ^^^^ -2025-11-30T02:28:48.9038797Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9038955Z name = bone.nameLocal, -2025-11-30T02:28:48.9039083Z ^ -2025-11-30T02:28:48.9039538Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9039698Z name = bone.nameLocal, -2025-11-30T02:28:48.9039816Z ^^^^ -2025-11-30T02:28:48.9040271Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9040420Z name = bone.nameLocal, -2025-11-30T02:28:48.9040541Z ^ -2025-11-30T02:28:48.9041009Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9041155Z name = bone.nameLocal, -2025-11-30T02:28:48.9041274Z ^^^^^^^^^ -2025-11-30T02:28:48.9041720Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9041861Z name = bone.nameLocal, -2025-11-30T02:28:48.9041981Z ^ -2025-11-30T02:28:48.9042679Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9042824Z id = boneNodeId, -2025-11-30T02:28:48.9042936Z ^^ -2025-11-30T02:28:48.9043380Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9043537Z id = boneNodeId, -2025-11-30T02:28:48.9043962Z ^ -2025-11-30T02:28:48.9044530Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9044724Z id = boneNodeId, -2025-11-30T02:28:48.9044898Z ^^^^^^^^^^ -2025-11-30T02:28:48.9045462Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9045623Z id = boneNodeId, -2025-11-30T02:28:48.9045888Z ^ -2025-11-30T02:28:48.9046710Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9046957Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9047124Z ^^^^^^^^^ -2025-11-30T02:28:48.9047738Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9047960Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9048224Z ^ -2025-11-30T02:28:48.9048995Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9049294Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9049470Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9049971Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9050249Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9050547Z ^ -2025-11-30T02:28:48.9051098Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9051552Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9051753Z ^^^^^^^^^^ -2025-11-30T02:28:48.9052248Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9052525Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9052833Z ^ -2025-11-30T02:28:48.9053361Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9053712Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9053886Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9054396Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9054696Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9055003Z ^ -2025-11-30T02:28:48.9055538Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9055812Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9056110Z ^^^^^^^^ -2025-11-30T02:28:48.9056829Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9057111Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9057437Z ^ -2025-11-30T02:28:48.9057973Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9058481Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9058715Z ^ -2025-11-30T02:28:48.9059233Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9059521Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9059853Z ^ -2025-11-30T02:28:48.9060473Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9060779Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9060970Z ^^^ -2025-11-30T02:28:48.9061565Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9061857Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9062041Z ^ -2025-11-30T02:28:48.9062800Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9063082Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9063259Z ^^^^ -2025-11-30T02:28:48.9063825Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9064324Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9064492Z ^ -2025-11-30T02:28:48.9065230Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9065512Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9065720Z ^^^^^^^^ -2025-11-30T02:28:48.9066300Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9066791Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9066973Z ^ -2025-11-30T02:28:48.9067601Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9067959Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9068141Z ^ -2025-11-30T02:28:48.9082280Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9082532Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9082679Z ^^^^ -2025-11-30T02:28:48.9083176Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9083399Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9083537Z ^ -2025-11-30T02:28:48.9083962Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. -2025-11-30T02:28:48.9084172Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9084321Z ^ -2025-11-30T02:28:48.9084758Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.9084930Z if (parentPosition != null) { -2025-11-30T02:28:48.9085061Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9085453Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. -2025-11-30T02:28:48.9085830Z it.sub(parentPosition) -2025-11-30T02:28:48.9085958Z ^^^ -2025-11-30T02:28:48.9086598Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.9086774Z it.sub(parentPosition) -2025-11-30T02:28:48.9086862Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9087134Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9087240Z }, -2025-11-30T02:28:48.9087302Z ^ -2025-11-30T02:28:48.9087562Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9087656Z rotation = Quaternionf(), -2025-11-30T02:28:48.9087723Z ^^^^^^^^ -2025-11-30T02:28:48.9087981Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9088075Z rotation = Quaternionf(), -2025-11-30T02:28:48.9088142Z ^ -2025-11-30T02:28:48.9088495Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9088591Z rotation = Quaternionf(), -2025-11-30T02:28:48.9088664Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9089077Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089162Z rotation = Quaternionf(), -2025-11-30T02:28:48.9089235Z ^ -2025-11-30T02:28:48.9089477Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089556Z rotation = Quaternionf(), -2025-11-30T02:28:48.9089633Z ^ -2025-11-30T02:28:48.9089872Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089955Z rotation = Quaternionf(), -2025-11-30T02:28:48.9090028Z ^ -2025-11-30T02:28:48.9090272Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9090352Z scale = Vector3f(1f), -2025-11-30T02:28:48.9090426Z ^^^^^ -2025-11-30T02:28:48.9090664Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9090741Z scale = Vector3f(1f), -2025-11-30T02:28:48.9090807Z ^ -2025-11-30T02:28:48.9091047Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091121Z scale = Vector3f(1f), -2025-11-30T02:28:48.9091193Z ^^^^^^^^ -2025-11-30T02:28:48.9091430Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091503Z scale = Vector3f(1f), -2025-11-30T02:28:48.9091570Z ^ -2025-11-30T02:28:48.9091807Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091928Z scale = Vector3f(1f), -2025-11-30T02:28:48.9092048Z ^^ -2025-11-30T02:28:48.9092480Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9092623Z scale = Vector3f(1f), -2025-11-30T02:28:48.9092741Z ^ -2025-11-30T02:28:48.9093480Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9093893Z scale = Vector3f(1f), -2025-11-30T02:28:48.9094014Z ^ -2025-11-30T02:28:48.9094452Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9094574Z ), -2025-11-30T02:28:48.9094681Z ^ -2025-11-30T02:28:48.9095099Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9095218Z ), -2025-11-30T02:28:48.9095326Z ^ -2025-11-30T02:28:48.9095696Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9095783Z children = children, -2025-11-30T02:28:48.9095857Z ^^^^^^^^ -2025-11-30T02:28:48.9096229Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9096358Z children = children, -2025-11-30T02:28:48.9096630Z ^ -2025-11-30T02:28:48.9096883Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9096959Z children = children, -2025-11-30T02:28:48.9097027Z ^^^^^^^^ -2025-11-30T02:28:48.9097265Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9097511Z children = children, -2025-11-30T02:28:48.9097576Z ^ -2025-11-30T02:28:48.9097816Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9097904Z components = components, -2025-11-30T02:28:48.9097969Z ^^^^^^^^^^ -2025-11-30T02:28:48.9098230Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9098320Z components = components, -2025-11-30T02:28:48.9098387Z ^ -2025-11-30T02:28:48.9098632Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9098720Z components = components, -2025-11-30T02:28:48.9098789Z ^^^^^^^^^^ -2025-11-30T02:28:48.9099029Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099116Z components = components, -2025-11-30T02:28:48.9099183Z ^ -2025-11-30T02:28:48.9099425Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099492Z ) -2025-11-30T02:28:48.9099551Z ^ -2025-11-30T02:28:48.9099795Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099886Z rootBones.forEach { index -> -2025-11-30T02:28:48.9099952Z ^^^^^^^^^ -2025-11-30T02:28:48.9100191Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9100271Z rootBones.forEach { index -> -2025-11-30T02:28:48.9100339Z ^ -2025-11-30T02:28:48.9100574Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9100657Z rootBones.forEach { index -> -2025-11-30T02:28:48.9100726Z ^^^^^^^ -2025-11-30T02:28:48.9100963Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9101042Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101107Z ^ -2025-11-30T02:28:48.9101342Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. -2025-11-30T02:28:48.9101545Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101611Z ^^^^^^^^^^ -2025-11-30T02:28:48.9101828Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. -2025-11-30T02:28:48.9101908Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101975Z ^^^^^ -2025-11-30T02:28:48.9102343Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9102432Z rootBones.forEach { index -> -2025-11-30T02:28:48.9102495Z ^^ -2025-11-30T02:28:48.9102716Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9102809Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9102872Z ^^^^^^^^^ -2025-11-30T02:28:48.9103088Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. -2025-11-30T02:28:48.9103179Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9103245Z ^^^^^^^ -2025-11-30T02:28:48.9103449Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. -2025-11-30T02:28:48.9103536Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9103605Z ^^^^^ -2025-11-30T02:28:48.9103806Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. -2025-11-30T02:28:48.9103971Z var nextNodeIndex = bones.size -2025-11-30T02:28:48.9104040Z ^^^^^ -2025-11-30T02:28:48.9104280Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9104367Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9104432Z ^^^ -2025-11-30T02:28:48.9104670Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9104757Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9104823Z ^ -2025-11-30T02:28:48.9105057Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105140Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105207Z ^^^^^^^^^ -2025-11-30T02:28:48.9105446Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105530Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105598Z ^^^^^ -2025-11-30T02:28:48.9105840Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105920Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105988Z ^ -2025-11-30T02:28:48.9106217Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9106306Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9106579Z ^^^^^^^ -2025-11-30T02:28:48.9106855Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9106948Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9107019Z ^ -2025-11-30T02:28:48.9107405Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9107547Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9107653Z ^ -2025-11-30T02:28:48.9108017Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. -2025-11-30T02:28:48.9108163Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9108284Z ^ -2025-11-30T02:28:48.9108833Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. -2025-11-30T02:28:48.9108977Z val bone = bones[boneIndex] -2025-11-30T02:28:48.9109099Z ^^^^^ -2025-11-30T02:28:48.9109421Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.9109506Z val bone = bones[boneIndex] -2025-11-30T02:28:48.9109580Z ^^^^^^^^^ -2025-11-30T02:28:48.9109802Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9109899Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.9109970Z ^^^^^^^ -2025-11-30T02:28:48.9110182Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.9110270Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.9110349Z ^^^^^^^^^ -2025-11-30T02:28:48.9110570Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. -2025-11-30T02:28:48.9110772Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() -2025-11-30T02:28:48.9110858Z ^^^^^^^^ -2025-11-30T02:28:48.9111079Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.9111337Z HumanoidTag.fromPmxJapanese(bone.nameLocal) -2025-11-30T02:28:48.9111418Z ^^^^^^^^^ -2025-11-30T02:28:48.9111655Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.9111781Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) -2025-11-30T02:28:48.9111864Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9112117Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.9112371Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() -2025-11-30T02:28:48.9112461Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9112701Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9112856Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9112917Z ^^^ -2025-11-30T02:28:48.9113158Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9113298Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9113359Z ^ -2025-11-30T02:28:48.9113596Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9113735Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9113796Z ^ -2025-11-30T02:28:48.9114030Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9114166Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9114232Z ^^^^^^^^^^ -2025-11-30T02:28:48.9114469Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9114598Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9114669Z ^ -2025-11-30T02:28:48.9114905Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9115033Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9115218Z ^^^^^^^^^ -2025-11-30T02:28:48.9115453Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9115583Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9115656Z ^ -2025-11-30T02:28:48.9115890Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9116020Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9116102Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9116342Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9116718Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9116800Z ^ -2025-11-30T02:28:48.9117064Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9117209Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9117292Z ^^^^^^^^^ -2025-11-30T02:28:48.9117537Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9117671Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9117876Z ^ -2025-11-30T02:28:48.9118117Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9118254Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9118337Z ^ -2025-11-30T02:28:48.9118582Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9118718Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9118799Z ^ -2025-11-30T02:28:48.9119036Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9119173Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9119254Z ^ -2025-11-30T02:28:48.9119489Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. -2025-11-30T02:28:48.9119625Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9119699Z ^ -2025-11-30T02:28:48.9119919Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. -2025-11-30T02:28:48.9120274Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.9120366Z ^^^^^^^^^^ -2025-11-30T02:28:48.9120705Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList -2025-11-30T02:28:48.9121013Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.9121109Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9121339Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. -2025-11-30T02:28:48.9121460Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9121539Z ^^^^^^^^^ -2025-11-30T02:28:48.9121836Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9122047Z fun Array.component1(): T -2025-11-30T02:28:48.9122136Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9122219Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9122301Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9122386Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9122465Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9122552Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9122646Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9122724Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9122804Z fun List.component1(): T -2025-11-30T02:28:48.9122895Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9122977Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9123057Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9123136Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9123227Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9123344Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9123426Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9123727Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9123811Z fun Array.component2(): T -2025-11-30T02:28:48.9123889Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9124051Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9124134Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9124212Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9124292Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9124377Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9124462Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9124539Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9124613Z fun List.component2(): T -2025-11-30T02:28:48.9124709Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9124786Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9124865Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9124948Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9125032Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9125142Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9125218Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9125576Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9125676Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9125767Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9125894Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9126090Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9126185Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9126302Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9126593Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9126677Z ^^^^ -2025-11-30T02:28:48.9126927Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.9127163Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) -2025-11-30T02:28:48.9127247Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9127499Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9127655Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9127723Z ^^^^^^^^^ -2025-11-30T02:28:48.9127966Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9128242Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9128304Z ^ -2025-11-30T02:28:48.9128561Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9128708Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9128774Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9129022Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9129160Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9129233Z ^ -2025-11-30T02:28:48.9129467Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. -2025-11-30T02:28:48.9129602Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9129685Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9129918Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9130056Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9130137Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9130506Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9130748Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9130831Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9131041Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. -2025-11-30T02:28:48.9131132Z val nodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.9131200Z ^^ -2025-11-30T02:28:48.9131424Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9131519Z val nodeId = NodeId(modelId, nodeIndex) -2025-11-30T02:28:48.9131588Z ^^^^^^^ -2025-11-30T02:28:48.9131803Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9131893Z val meshId = MeshId(modelId, nodeIndex) -2025-11-30T02:28:48.9131962Z ^^^^^^^ -2025-11-30T02:28:48.9132197Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9132300Z materialToMeshIds[materialIndex] = meshId -2025-11-30T02:28:48.9132369Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9132595Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9132757Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.9132834Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9133008Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. -2025-11-30T02:28:48.9133167Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.9133247Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9133546Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9133696Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.9133776Z ^^^^^^ -2025-11-30T02:28:48.9134079Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9134214Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.9134373Z ^ -2025-11-30T02:28:48.9134776Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. -2025-11-30T02:28:48.9134865Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.9134937Z ^^ -2025-11-30T02:28:48.9135152Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. -2025-11-30T02:28:48.9135238Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.9135311Z ^^^^^^^^ -2025-11-30T02:28:48.9135609Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9135676Z }?.let { -2025-11-30T02:28:48.9135739Z ^^^ -2025-11-30T02:28:48.9136020Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.9136089Z }?.let { -2025-11-30T02:28:48.9136151Z ^^^ -2025-11-30T02:28:48.9136615Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. -2025-11-30T02:28:48.9136688Z }?.let { -2025-11-30T02:28:48.9136751Z ^^^ -2025-11-30T02:28:48.9137045Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9137234Z }?.let { -2025-11-30T02:28:48.9137296Z ^ -2025-11-30T02:28:48.9137511Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. -2025-11-30T02:28:48.9137606Z textures.getOrNull(it) -2025-11-30T02:28:48.9137671Z ^^^^^^^^ -2025-11-30T02:28:48.9137968Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9138043Z }?.let { -2025-11-30T02:28:48.9138108Z ^^^ -2025-11-30T02:28:48.9138380Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.9138444Z }?.let { -2025-11-30T02:28:48.9138510Z ^^^ -2025-11-30T02:28:48.9138797Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9138863Z }?.let { -2025-11-30T02:28:48.9138929Z ^ -2025-11-30T02:28:48.9139147Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9139218Z rootNodes.add( -2025-11-30T02:28:48.9139284Z ^^^^^^^^^ -2025-11-30T02:28:48.9139510Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9139631Z attributes = materialData.vertexAttributes, -2025-11-30T02:28:48.9139714Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9139940Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9140061Z bufferView = materialData.indexBufferView, -2025-11-30T02:28:48.9140147Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9140387Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. -2025-11-30T02:28:48.9140492Z componentType = indexBufferType, -2025-11-30T02:28:48.9140577Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9140809Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9141062Z targets = materialMorphMap[materialIndex] ?: listOf(), -2025-11-30T02:28:48.9141146Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9141359Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. -2025-11-30T02:28:48.9141451Z val cameraNodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.9141524Z ^^ -2025-11-30T02:28:48.9141768Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9141842Z rootNodes.add( -2025-11-30T02:28:48.9141903Z ^^^^^^^^^ -2025-11-30T02:28:48.9142143Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142219Z rootNodes.add( -2025-11-30T02:28:48.9142279Z ^ -2025-11-30T02:28:48.9142518Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142593Z rootNodes.add( -2025-11-30T02:28:48.9142655Z ^^^ -2025-11-30T02:28:48.9142892Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142958Z rootNodes.add( -2025-11-30T02:28:48.9143024Z ^ -2025-11-30T02:28:48.9143374Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9143438Z Node( -2025-11-30T02:28:48.9143503Z ^^^^ -2025-11-30T02:28:48.9143741Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9143802Z Node( -2025-11-30T02:28:48.9143865Z ^ -2025-11-30T02:28:48.9144101Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144181Z name = "MMD Camera", -2025-11-30T02:28:48.9144244Z ^^^^ -2025-11-30T02:28:48.9144487Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144560Z name = "MMD Camera", -2025-11-30T02:28:48.9144622Z ^ -2025-11-30T02:28:48.9144863Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144937Z name = "MMD Camera", -2025-11-30T02:28:48.9145001Z ^ -2025-11-30T02:28:48.9145441Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9145525Z name = "MMD Camera", -2025-11-30T02:28:48.9145593Z ^^^^^^^^^^ -2025-11-30T02:28:48.9145842Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9145923Z name = "MMD Camera", -2025-11-30T02:28:48.9145990Z ^ -2025-11-30T02:28:48.9146309Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9146565Z name = "MMD Camera", -2025-11-30T02:28:48.9146673Z ^ -2025-11-30T02:28:48.9147071Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9147236Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9147329Z ^^ -2025-11-30T02:28:48.9147660Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9147758Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9147826Z ^ -2025-11-30T02:28:48.9148216Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9148309Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9148380Z ^^^^^^ -2025-11-30T02:28:48.9148615Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9148704Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9148774Z ^ -2025-11-30T02:28:48.9149015Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149104Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149171Z ^^^^^^^ -2025-11-30T02:28:48.9149411Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149506Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149576Z ^ -2025-11-30T02:28:48.9149822Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149915Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149992Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9150235Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9150435Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9150509Z ^ -2025-11-30T02:28:48.9150827Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9150991Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9151108Z ^ -2025-11-30T02:28:48.9151544Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9151695Z components = listOf( -2025-11-30T02:28:48.9151805Z ^^^^^^^^^^ -2025-11-30T02:28:48.9152232Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9152374Z components = listOf( -2025-11-30T02:28:48.9152486Z ^ -2025-11-30T02:28:48.9152927Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9153075Z components = listOf( -2025-11-30T02:28:48.9153192Z ^^^^^^ -2025-11-30T02:28:48.9153642Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9153773Z components = listOf( -2025-11-30T02:28:48.9153893Z ^ -2025-11-30T02:28:48.9154316Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9154489Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9154607Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9155006Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9155174Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9155291Z ^ -2025-11-30T02:28:48.9155705Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9155876Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9155999Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9156674Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9156845Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9157167Z ^ -2025-11-30T02:28:48.9157608Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9157773Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9157886Z ^^^^^^ -2025-11-30T02:28:48.9158329Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9158488Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9158600Z ^ -2025-11-30T02:28:48.9159005Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9159165Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9159276Z ^^^ -2025-11-30T02:28:48.9159693Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9159861Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9159975Z ^ -2025-11-30T02:28:48.9160386Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9160534Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9160649Z ^^^^ -2025-11-30T02:28:48.9161258Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9161409Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9161526Z ^ -2025-11-30T02:28:48.9161948Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9162087Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9162218Z ^ -2025-11-30T02:28:48.9162601Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9162747Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9162872Z ^^^^^^^^^^ -2025-11-30T02:28:48.9163265Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9163430Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9163565Z ^ -2025-11-30T02:28:48.9163963Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9164110Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9164239Z ^ -2025-11-30T02:28:48.9164630Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9164741Z ) -2025-11-30T02:28:48.9164845Z ^ -2025-11-30T02:28:48.9165293Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9165401Z ) -2025-11-30T02:28:48.9165497Z ^ -2025-11-30T02:28:48.9165916Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9166032Z ) -2025-11-30T02:28:48.9166131Z ^ -2025-11-30T02:28:48.9166793Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9166916Z ) -2025-11-30T02:28:48.9167012Z ^ -2025-11-30T02:28:48.9167370Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9167512Z val scene = Scene(nodes = rootNodes) -2025-11-30T02:28:48.9167854Z ^^^^^^^^^ -2025-11-30T02:28:48.9168249Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9168412Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9168506Z ^^^^^^ -2025-11-30T02:28:48.9168873Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9169017Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9169131Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9169516Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9169677Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9169801Z ^ -2025-11-30T02:28:48.9170233Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9170388Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9170514Z ^^^^^^^^^^ -2025-11-30T02:28:48.9170935Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9171103Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9171223Z ^ -2025-11-30T02:28:48.9171625Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9171993Z metadata = Metadata( -2025-11-30T02:28:48.9172106Z ^^^^^^^^ -2025-11-30T02:28:48.9172510Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9172627Z metadata = Metadata( -2025-11-30T02:28:48.9172724Z ^ -2025-11-30T02:28:48.9173102Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9173226Z metadata = Metadata( -2025-11-30T02:28:48.9173327Z ^^^^^^^^ -2025-11-30T02:28:48.9173700Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9173820Z metadata = Metadata( -2025-11-30T02:28:48.9173922Z ^ -2025-11-30T02:28:48.9174314Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9174498Z title = header.modelNameLocal, -2025-11-30T02:28:48.9174595Z ^^^^^ -2025-11-30T02:28:48.9174844Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9174937Z title = header.modelNameLocal, -2025-11-30T02:28:48.9175027Z ^ -2025-11-30T02:28:48.9175452Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9175613Z title = header.modelNameLocal, -2025-11-30T02:28:48.9175731Z ^^^^^^ -2025-11-30T02:28:48.9176154Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9176316Z title = header.modelNameLocal, -2025-11-30T02:28:48.9176613Z ^ -2025-11-30T02:28:48.9177034Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9177194Z title = header.modelNameLocal, -2025-11-30T02:28:48.9177319Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9177730Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9177886Z title = header.modelNameLocal, -2025-11-30T02:28:48.9177998Z ^ -2025-11-30T02:28:48.9178640Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9178839Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9178949Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9179380Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9179586Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9179695Z ^ -2025-11-30T02:28:48.9180055Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9180213Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9180315Z ^^^^^^ -2025-11-30T02:28:48.9180700Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9180886Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9181017Z ^ -2025-11-30T02:28:48.9181437Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9181648Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9181779Z ^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9182191Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9182621Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9182754Z ^ -2025-11-30T02:28:48.9183197Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9183365Z comment = header.commentLocal, -2025-11-30T02:28:48.9183476Z ^^^^^^^ -2025-11-30T02:28:48.9183902Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9184054Z comment = header.commentLocal, -2025-11-30T02:28:48.9184173Z ^ -2025-11-30T02:28:48.9184591Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9184749Z comment = header.commentLocal, -2025-11-30T02:28:48.9184877Z ^^^^^^ -2025-11-30T02:28:48.9185315Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9185455Z comment = header.commentLocal, -2025-11-30T02:28:48.9185557Z ^ -2025-11-30T02:28:48.9185950Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9186081Z comment = header.commentLocal, -2025-11-30T02:28:48.9186214Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9186859Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9187022Z comment = header.commentLocal, -2025-11-30T02:28:48.9187135Z ^ -2025-11-30T02:28:48.9187608Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9187803Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9187916Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9188329Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9188520Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9188642Z ^ -2025-11-30T02:28:48.9189063Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9189455Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9189586Z ^^^^^^ -2025-11-30T02:28:48.9190021Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9190219Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9190345Z ^ -2025-11-30T02:28:48.9190756Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9190926Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9191040Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9191419Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9191581Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9191693Z ^ -2025-11-30T02:28:48.9192065Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9192177Z ), -2025-11-30T02:28:48.9192282Z ^ -2025-11-30T02:28:48.9192697Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9192793Z ), -2025-11-30T02:28:48.9193126Z ^ -2025-11-30T02:28:48.9193559Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9193681Z model = Model( -2025-11-30T02:28:48.9193796Z ^^^^^ -2025-11-30T02:28:48.9194200Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9194317Z model = Model( -2025-11-30T02:28:48.9194417Z ^ -2025-11-30T02:28:48.9194858Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9194977Z model = Model( -2025-11-30T02:28:48.9195086Z ^^^^^ -2025-11-30T02:28:48.9195490Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9195609Z model = Model( -2025-11-30T02:28:48.9195718Z ^ -2025-11-30T02:28:48.9196170Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9196295Z scenes = listOf(scene), -2025-11-30T02:28:48.9196587Z ^^^^^^ -2025-11-30T02:28:48.9197013Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9197142Z scenes = listOf(scene), -2025-11-30T02:28:48.9197250Z ^ -2025-11-30T02:28:48.9197689Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9197830Z scenes = listOf(scene), -2025-11-30T02:28:48.9197945Z ^^^^^^ -2025-11-30T02:28:48.9198376Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9198530Z scenes = listOf(scene), -2025-11-30T02:28:48.9198646Z ^ -2025-11-30T02:28:48.9199056Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9199173Z scenes = listOf(scene), -2025-11-30T02:28:48.9199279Z ^^^^^ -2025-11-30T02:28:48.9199651Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9199762Z scenes = listOf(scene), -2025-11-30T02:28:48.9199862Z ^ -2025-11-30T02:28:48.9200475Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9200614Z scenes = listOf(scene), -2025-11-30T02:28:48.9200734Z ^ -2025-11-30T02:28:48.9201170Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9201300Z skins = listOf(skin), -2025-11-30T02:28:48.9201412Z ^^^^^ -2025-11-30T02:28:48.9201828Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9201958Z skins = listOf(skin), -2025-11-30T02:28:48.9202056Z ^ -2025-11-30T02:28:48.9202476Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9202609Z skins = listOf(skin), -2025-11-30T02:28:48.9202736Z ^^^^^^ -2025-11-30T02:28:48.9203178Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9203307Z skins = listOf(skin), -2025-11-30T02:28:48.9203416Z ^ -2025-11-30T02:28:48.9203825Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9203954Z skins = listOf(skin), -2025-11-30T02:28:48.9204253Z ^^^^ -2025-11-30T02:28:48.9204699Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9204822Z skins = listOf(skin), -2025-11-30T02:28:48.9204928Z ^ -2025-11-30T02:28:48.9205347Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9205490Z skins = listOf(skin), -2025-11-30T02:28:48.9205618Z ^ -2025-11-30T02:28:48.9206045Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9206293Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9206594Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9207043Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9207304Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9207426Z ^ -2025-11-30T02:28:48.9207849Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9208062Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9208179Z ^^^^ -2025-11-30T02:28:48.9208598Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9208829Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9208955Z ^ -2025-11-30T02:28:48.9209378Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9209598Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9209732Z ^^^^^^ -2025-11-30T02:28:48.9210168Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9210387Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9210508Z ^ -2025-11-30T02:28:48.9210939Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9211140Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9211488Z ^^^^^^^^^^ -2025-11-30T02:28:48.9211914Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9212123Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9212268Z ^ -2025-11-30T02:28:48.9212682Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. -2025-11-30T02:28:48.9212920Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9213056Z ^^^^^^^^^^ -2025-11-30T02:28:48.9213418Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9213645Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9213800Z ^^^^^ -2025-11-30T02:28:48.9214429Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9214652Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9214783Z ^^ -2025-11-30T02:28:48.9215145Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9215610Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9215734Z ^^^^^ -2025-11-30T02:28:48.9216158Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.9216673Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9216821Z ^^^ -2025-11-30T02:28:48.9217234Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.9217463Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9217589Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9217876Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. -2025-11-30T02:28:48.9218008Z return@mapNotNull null -2025-11-30T02:28:48.9218138Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9218505Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9218716Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9218833Z ^^^^^ -2025-11-30T02:28:48.9219258Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.9219485Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9219629Z ^^^ -2025-11-30T02:28:48.9220025Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.9220237Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9220371Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9220695Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. -2025-11-30T02:28:48.9220852Z return@mapNotNull null -2025-11-30T02:28:48.9220979Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9221342Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9221585Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9221680Z ^^^^^ -2025-11-30T02:28:48.9222551Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. -2025-11-30T02:28:48.9222748Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9222865Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9223338Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9223533Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9223647Z ^^^^^^ -2025-11-30T02:28:48.9224334Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.9224475Z fun CharSequence.isNotBlank(): Boolean -2025-11-30T02:28:48.9224666Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9224787Z ^^^^^^^^^^ -2025-11-30T02:28:48.9225268Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.9225420Z type = when (joint.type) { -2025-11-30T02:28:48.9225536Z ^^^^ -2025-11-30T02:28:48.9226733Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. -2025-11-30T02:28:48.9226900Z type = when (joint.type) { -2025-11-30T02:28:48.9227020Z ^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9227383Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9227516Z type = when (joint.type) { -2025-11-30T02:28:48.9227634Z ^^^^^ -2025-11-30T02:28:48.9228254Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.9228507Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9228649Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9229037Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9229275Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9229408Z ^^^^^^^ -2025-11-30T02:28:48.9229769Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9230019Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9230159Z ^^^^^ -2025-11-30T02:28:48.9230820Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.9231084Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9231238Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9231631Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9231895Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9232032Z ^^^^^^^ -2025-11-30T02:28:48.9232410Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9232676Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9233083Z ^^^^^ -2025-11-30T02:28:48.9233438Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9233605Z position = joint.position, -2025-11-30T02:28:48.9233727Z ^^^^^ -2025-11-30T02:28:48.9234100Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9234270Z rotation = joint.rotation, -2025-11-30T02:28:48.9234396Z ^^^^^ -2025-11-30T02:28:48.9234766Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9234956Z positionMin = joint.positionMinimum, -2025-11-30T02:28:48.9235091Z ^^^^^ -2025-11-30T02:28:48.9235549Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9235733Z positionMax = joint.positionMaximum, -2025-11-30T02:28:48.9235843Z ^^^^^ -2025-11-30T02:28:48.9236188Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9236362Z rotationMin = joint.rotationMinimum, -2025-11-30T02:28:48.9236696Z ^^^^^ -2025-11-30T02:28:48.9237281Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9237459Z rotationMax = joint.rotationMaximum, -2025-11-30T02:28:48.9237574Z ^^^^^ -2025-11-30T02:28:48.9237931Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9238120Z positionSpring = joint.positionSpring, -2025-11-30T02:28:48.9238244Z ^^^^^ -2025-11-30T02:28:48.9238579Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9238747Z rotationSpring = joint.rotationSpring, -2025-11-30T02:28:48.9238863Z ^^^^^ -2025-11-30T02:28:48.9239277Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9239404Z }, -2025-11-30T02:28:48.9239518Z ^ -2025-11-30T02:28:48.9239953Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9240120Z expressions = buildList { -2025-11-30T02:28:48.9240249Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9240640Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9240784Z expressions = buildList { -2025-11-30T02:28:48.9240908Z ^ -2025-11-30T02:28:48.9241345Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9241504Z expressions = buildList { -2025-11-30T02:28:48.9241626Z ^^^^^^^^^ -2025-11-30T02:28:48.9242042Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9242201Z expressions = buildList { -2025-11-30T02:28:48.9242322Z ^ -2025-11-30T02:28:48.9242714Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. -2025-11-30T02:28:48.9242853Z expressions = buildList { -2025-11-30T02:28:48.9242963Z ^ -2025-11-30T02:28:48.9243359Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. -2025-11-30T02:28:48.9243822Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9243961Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9244475Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9244635Z fun Array.component1(): T -2025-11-30T02:28:48.9244789Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9244937Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9245104Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9245237Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9245363Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9245503Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9245668Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9245810Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9245944Z fun List.component1(): T -2025-11-30T02:28:48.9246110Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9246264Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9246606Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9246758Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9246924Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9247144Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9247279Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9248046Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9248188Z fun Array.component2(): T -2025-11-30T02:28:48.9248335Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9248487Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9248626Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9248764Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9248904Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9249065Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9249225Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9249376Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9249521Z fun List.component2(): T -2025-11-30T02:28:48.9249675Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9249816Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9249966Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9250117Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9250284Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9250501Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9250645Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9251230Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9251410Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9251578Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9251785Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9252130Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9252305Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9252523Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9252730Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9252887Z ^^^^^^^^^ -2025-11-30T02:28:48.9253566Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. -2025-11-30T02:28:48.9253789Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9253932Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9254580Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.9254799Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9254925Z ^^^^^^^^^ -2025-11-30T02:28:48.9255345Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.9255553Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9255704Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9256069Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. -2025-11-30T02:28:48.9256223Z tag = target.tag, -2025-11-30T02:28:48.9256345Z ^^^ -2025-11-30T02:28:48.9257181Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. -2025-11-30T02:28:48.9257337Z isBinary = false, -2025-11-30T02:28:48.9257456Z ^^^^^ -2025-11-30T02:28:48.9258330Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.9258847Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9259208Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9260020Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. -2025-11-30T02:28:48.9260546Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9260719Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9261266Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9261782Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9261948Z ^^^^^^^^^^ -2025-11-30T02:28:48.9262770Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.9263044Z fun Iterable.mapNotNull(transform: (T) -> R?): List -2025-11-30T02:28:48.9263540Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9263702Z ^^^^^^^^^^ -2025-11-30T02:28:48.9264244Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9264735Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9264913Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9265477Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9265625Z fun Array.component1(): T -2025-11-30T02:28:48.9265774Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9265927Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9266259Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9266602Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9266755Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9266906Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9267065Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9267203Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9267337Z fun List.component1(): T -2025-11-30T02:28:48.9267488Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9267635Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9267776Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9267928Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9268079Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9268588Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9268768Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9269316Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9269461Z fun Array.component2(): T -2025-11-30T02:28:48.9269614Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9269761Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9269911Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9270055Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9270404Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9270556Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9270714Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9270865Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9271000Z fun List.component2(): T -2025-11-30T02:28:48.9271155Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9271297Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9271445Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9271593Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9271739Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9272254Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9272425Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9273007Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9273203Z } ?: listOf(), -2025-11-30T02:28:48.9273329Z ^^^^^^ -2025-11-30T02:28:48.9274085Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.9274225Z } ?: listOf(), -2025-11-30T02:28:48.9274344Z ^^^^^^^^ -2025-11-30T02:28:48.9274741Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. -2025-11-30T02:28:48.9274981Z pmxIndexToExpressions[target.pmxIndex] = expression -2025-11-30T02:28:48.9275125Z ^^^^^^^^ -2025-11-30T02:28:48.9275488Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.9275628Z add(expression) -2025-11-30T02:28:48.9275741Z ^^^ -2025-11-30T02:28:48.9276349Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9276708Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9276876Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9277080Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9277649Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9277835Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9278014Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9278155Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.9278266Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9278651Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. -2025-11-30T02:28:48.9278803Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.9278909Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9279232Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.9279329Z add( -2025-11-30T02:28:48.9279424Z ^^^ -2025-11-30T02:28:48.9279917Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9280126Z targets = group.items.mapNotNull { item -> -2025-11-30T02:28:48.9280270Z ^^^^ -2025-11-30T02:28:48.9280629Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. -2025-11-30T02:28:48.9280798Z val pmxMorphIndex = item.index -2025-11-30T02:28:48.9281138Z ^^^^^ -2025-11-30T02:28:48.9281544Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. -2025-11-30T02:28:48.9281733Z influence = item.influence, -2025-11-30T02:28:48.9281869Z ^^^^^^^^^ -2025-11-30T02:28:48.9282276Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9282394Z }, -2025-11-30T02:28:48.9282502Z ^ -2025-11-30T02:28:48.9282933Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9283090Z defaultScene = scene, -2025-11-30T02:28:48.9283210Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9283636Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9283788Z defaultScene = scene, -2025-11-30T02:28:48.9283920Z ^ -2025-11-30T02:28:48.9284337Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9284489Z defaultScene = scene, -2025-11-30T02:28:48.9284614Z ^^^^^ -2025-11-30T02:28:48.9285042Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9285185Z defaultScene = scene, -2025-11-30T02:28:48.9285297Z ^ -2025-11-30T02:28:48.9285674Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9285775Z ), -2025-11-30T02:28:48.9285869Z ^ -2025-11-30T02:28:48.9286281Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9286594Z ), -2025-11-30T02:28:48.9286708Z ^ -2025-11-30T02:28:48.9287161Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9287348Z animations = listOf(), -2025-11-30T02:28:48.9287452Z ^^^^^^^^^^ -2025-11-30T02:28:48.9287942Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9288110Z animations = listOf(), -2025-11-30T02:28:48.9288468Z ^ -2025-11-30T02:28:48.9288926Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9289087Z animations = listOf(), -2025-11-30T02:28:48.9289201Z ^^^^^^ -2025-11-30T02:28:48.9289639Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9289804Z animations = listOf(), -2025-11-30T02:28:48.9289926Z ^ -2025-11-30T02:28:48.9290395Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9290539Z animations = listOf(), -2025-11-30T02:28:48.9290664Z ^ -2025-11-30T02:28:48.9291096Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9291256Z animations = listOf(), -2025-11-30T02:28:48.9291382Z ^ -2025-11-30T02:28:48.9291799Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9291920Z ) -2025-11-30T02:28:48.9292032Z ^ -2025-11-30T02:28:48.9292490Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9292601Z } -2025-11-30T02:28:48.9292940Z ^ -2025-11-30T02:28:48.9293502Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. -2025-11-30T02:28:48.9293701Z override fun load(path: Path, basePath: Path) = -2025-11-30T02:28:48.9293802Z ^^^^^^^^ -2025-11-30T02:28:48.9294332Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9294652Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> -2025-11-30T02:28:48.9294817Z ^^^ -2025-11-30T02:28:48.9295225Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. -2025-11-30T02:28:48.9295390Z val context = Context(basePath) -2025-11-30T02:28:48.9295506Z ^^^^^^^ -2025-11-30T02:28:48.9295972Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9296097Z } -2025-11-30T02:28:49.0701935Z ^ -2025-11-30T02:28:49.0702249Z INFO: Elapsed time: 134.040s, Critical Path: 46.27s -2025-11-30T02:28:49.0702575Z INFO: 950 processes: 262 internal, 606 processwrapper-sandbox, 82 worker. -2025-11-30T02:28:49.0702744Z ERROR: Build did NOT complete successfully -2025-11-30T02:28:49.2475266Z ##[error]Process completed with exit code 1. diff --git a/logs_51071426239/build-with-bazel/system.txt b/logs_51071426239/build-with-bazel/system.txt deleted file mode 100644 index 2e66f0e0..00000000 --- a/logs_51071426239/build-with-bazel/system.txt +++ /dev/null @@ -1,5 +0,0 @@ -2025-11-30T02:26:15.3880000Z Requested labels: ubuntu-24.04 -2025-11-30T02:26:15.3880000Z Job defined at: Sylsatra/ArmorStand/.github/workflows/build.yml@refs/heads/my-physics -2025-11-30T02:26:15.3880000Z Waiting for a runner to pick up this job... -2025-11-30T02:26:15.8970000Z Job is about to start running on the hosted runner: GitHub Actions 1000000066 -2025-11-30T02:26:15.8970000Z Job is waiting for a hosted runner to come online. \ No newline at end of file From a26df2226bcc63723b66ba27907bc99512bf08dd Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 10:32:45 +0700 Subject: [PATCH 017/112] Fixed the uninitialized transforms --- .github/workflows/build.yml | 2 +- .../render/main/runtime/ModelInstanceImpl.kt | 5 + logs_51071426239/0_build-with-bazel.txt | 2834 ----------------- ...t Run bazel-contrib_setup-bazel@0.14.0.txt | 1 - .../14_Post checkout repository.txt | 14 - .../build-with-bazel/15_Complete job.txt | 2 - .../build-with-bazel/1_Set up job.txt | 44 - .../2_checkout repository.txt | 71 - ...3_Run bazel-contrib_setup-bazel@0.14.0.txt | 91 - logs_51071426239/build-with-bazel/4_build.txt | 2611 --------------- logs_51071426239/build-with-bazel/system.txt | 5 - 11 files changed, 6 insertions(+), 5674 deletions(-) delete mode 100644 logs_51071426239/0_build-with-bazel.txt delete mode 100644 logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt delete mode 100644 logs_51071426239/build-with-bazel/14_Post checkout repository.txt delete mode 100644 logs_51071426239/build-with-bazel/15_Complete job.txt delete mode 100644 logs_51071426239/build-with-bazel/1_Set up job.txt delete mode 100644 logs_51071426239/build-with-bazel/2_checkout repository.txt delete mode 100644 logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt delete mode 100644 logs_51071426239/build-with-bazel/4_build.txt delete mode 100644 logs_51071426239/build-with-bazel/system.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f752aea..e065aebe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - uses: bazel-contrib/setup-bazel@0.14.0 with: bazelisk-cache: true - disk-cache: false + disk-cache: true repository-cache: true - name: build run: | diff --git a/blazerod/render/main/runtime/ModelInstanceImpl.kt b/blazerod/render/main/runtime/ModelInstanceImpl.kt index 6a42c9fa..1f116b17 100644 --- a/blazerod/render/main/runtime/ModelInstanceImpl.kt +++ b/blazerod/render/main/runtime/ModelInstanceImpl.kt @@ -50,6 +50,11 @@ class ModelInstanceImpl( init { scene.increaseReferenceCount() scene.attachToInstance(this) + // Ensure transforms are calculated (Bind Pose) before initializing physics + // Otherwise rigid bodies will be initialized with Identity transforms, leading to incorrect offsets + for (i in scene.nodes.indices) { + updateNodeTransform(i) + } physicsData?.initialize() } diff --git a/logs_51071426239/0_build-with-bazel.txt b/logs_51071426239/0_build-with-bazel.txt deleted file mode 100644 index 60fb1284..00000000 --- a/logs_51071426239/0_build-with-bazel.txt +++ /dev/null @@ -1,2834 +0,0 @@ -2025-11-30T02:26:19.2751822Z Current runner version: '2.329.0' -2025-11-30T02:26:19.2777375Z ##[group]Runner Image Provisioner -2025-11-30T02:26:19.2778484Z Hosted Compute Agent -2025-11-30T02:26:19.2779430Z Version: 20251016.436 -2025-11-30T02:26:19.2780363Z Commit: 8ab8ac8bfd662a3739dab9fe09456aba92132568 -2025-11-30T02:26:19.2781427Z Build Date: 2025-10-15T20:44:12Z -2025-11-30T02:26:19.2782588Z ##[endgroup] -2025-11-30T02:26:19.2783485Z ##[group]Operating System -2025-11-30T02:26:19.2784429Z Ubuntu -2025-11-30T02:26:19.2785212Z 24.04.3 -2025-11-30T02:26:19.2786018Z LTS -2025-11-30T02:26:19.2786933Z ##[endgroup] -2025-11-30T02:26:19.2787893Z ##[group]Runner Image -2025-11-30T02:26:19.2788914Z Image: ubuntu-24.04 -2025-11-30T02:26:19.2789696Z Version: 20251112.124.1 -2025-11-30T02:26:19.2791452Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20251112.124/images/ubuntu/Ubuntu2404-Readme.md -2025-11-30T02:26:19.2793992Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20251112.124 -2025-11-30T02:26:19.2795807Z ##[endgroup] -2025-11-30T02:26:19.2800468Z ##[group]GITHUB_TOKEN Permissions -2025-11-30T02:26:19.2803435Z Actions: write -2025-11-30T02:26:19.2804366Z ArtifactMetadata: write -2025-11-30T02:26:19.2805332Z Attestations: write -2025-11-30T02:26:19.2806246Z Checks: write -2025-11-30T02:26:19.2807387Z Contents: write -2025-11-30T02:26:19.2808190Z Deployments: write -2025-11-30T02:26:19.2809156Z Discussions: write -2025-11-30T02:26:19.2810002Z Issues: write -2025-11-30T02:26:19.2810839Z Metadata: read -2025-11-30T02:26:19.2811537Z Models: read -2025-11-30T02:26:19.2812451Z Packages: write -2025-11-30T02:26:19.2813160Z Pages: write -2025-11-30T02:26:19.2813957Z PullRequests: write -2025-11-30T02:26:19.2815016Z RepositoryProjects: write -2025-11-30T02:26:19.2816103Z SecurityEvents: write -2025-11-30T02:26:19.2817200Z Statuses: write -2025-11-30T02:26:19.2818191Z ##[endgroup] -2025-11-30T02:26:19.2821078Z Secret source: Actions -2025-11-30T02:26:19.2822125Z Prepare workflow directory -2025-11-30T02:26:19.3263606Z Prepare all required actions -2025-11-30T02:26:19.3318780Z Getting action download info -2025-11-30T02:26:19.6583612Z Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5) -2025-11-30T02:26:19.9373728Z Download action repository 'bazel-contrib/setup-bazel@0.14.0' (SHA:e8776f58fb6a6e9055cbaf1b38c52ccc5247e9c4) -2025-11-30T02:26:20.7293768Z Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) -2025-11-30T02:26:20.9238531Z Complete job name: build-with-bazel -2025-11-30T02:26:20.9931468Z ##[group]Run actions/checkout@v4 -2025-11-30T02:26:20.9932333Z with: -2025-11-30T02:26:20.9932766Z repository: Sylsatra/ArmorStand -2025-11-30T02:26:20.9933448Z token: *** -2025-11-30T02:26:20.9934095Z ssh-strict: true -2025-11-30T02:26:20.9934824Z ssh-user: git -2025-11-30T02:26:20.9935515Z persist-credentials: true -2025-11-30T02:26:20.9936259Z clean: true -2025-11-30T02:26:20.9937256Z sparse-checkout-cone-mode: true -2025-11-30T02:26:20.9938208Z fetch-depth: 1 -2025-11-30T02:26:20.9938993Z fetch-tags: false -2025-11-30T02:26:20.9939786Z show-progress: true -2025-11-30T02:26:20.9940573Z lfs: false -2025-11-30T02:26:20.9941243Z submodules: false -2025-11-30T02:26:20.9941779Z set-safe-directory: true -2025-11-30T02:26:20.9942642Z ##[endgroup] -2025-11-30T02:26:21.1039267Z Syncing repository: Sylsatra/ArmorStand -2025-11-30T02:26:21.1041244Z ##[group]Getting Git version info -2025-11-30T02:26:21.1042029Z Working directory is '/home/runner/work/ArmorStand/ArmorStand' -2025-11-30T02:26:21.1043149Z [command]/usr/bin/git version -2025-11-30T02:26:21.1102761Z git version 2.51.2 -2025-11-30T02:26:21.1129381Z ##[endgroup] -2025-11-30T02:26:21.1142383Z Temporarily overriding HOME='/home/runner/work/_temp/6d2baab3-6bfd-4167-be5a-0a2cae9bfb19' before making global git config changes -2025-11-30T02:26:21.1143961Z Adding repository directory to the temporary git global config as a safe directory -2025-11-30T02:26:21.1154486Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:26:21.1190426Z Deleting the contents of '/home/runner/work/ArmorStand/ArmorStand' -2025-11-30T02:26:21.1193904Z ##[group]Initializing the repository -2025-11-30T02:26:21.1197804Z [command]/usr/bin/git init /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:26:21.1311527Z hint: Using 'master' as the name for the initial branch. This default branch name -2025-11-30T02:26:21.1312679Z hint: is subject to change. To configure the initial branch name to use in all -2025-11-30T02:26:21.1313686Z hint: of your new repositories, which will suppress this warning, call: -2025-11-30T02:26:21.1314423Z hint: -2025-11-30T02:26:21.1315075Z hint: git config --global init.defaultBranch -2025-11-30T02:26:21.1315698Z hint: -2025-11-30T02:26:21.1316276Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and -2025-11-30T02:26:21.1317379Z hint: 'development'. The just-created branch can be renamed via this command: -2025-11-30T02:26:21.1318417Z hint: -2025-11-30T02:26:21.1319113Z hint: git branch -m -2025-11-30T02:26:21.1319669Z hint: -2025-11-30T02:26:21.1320294Z hint: Disable this message with "git config set advice.defaultBranchName false" -2025-11-30T02:26:21.1321378Z Initialized empty Git repository in /home/runner/work/ArmorStand/ArmorStand/.git/ -2025-11-30T02:26:21.1329811Z [command]/usr/bin/git remote add origin https://github.com/Sylsatra/ArmorStand -2025-11-30T02:26:21.1376983Z ##[endgroup] -2025-11-30T02:26:21.1377795Z ##[group]Disabling automatic garbage collection -2025-11-30T02:26:21.1381104Z [command]/usr/bin/git config --local gc.auto 0 -2025-11-30T02:26:21.1412490Z ##[endgroup] -2025-11-30T02:26:21.1413869Z ##[group]Setting up auth -2025-11-30T02:26:21.1420021Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand -2025-11-30T02:26:21.1451219Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" -2025-11-30T02:26:21.1795938Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader -2025-11-30T02:26:21.1825811Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" -2025-11-30T02:26:21.2040220Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: -2025-11-30T02:26:21.2070448Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url -2025-11-30T02:26:21.2295801Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** -2025-11-30T02:26:21.2328873Z ##[endgroup] -2025-11-30T02:26:21.2330289Z ##[group]Fetching the repository -2025-11-30T02:26:21.2339008Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +3f0d9c3830614990305a25aac7f81a7df6678688:refs/remotes/origin/my-physics -2025-11-30T02:26:21.8875840Z From https://github.com/Sylsatra/ArmorStand -2025-11-30T02:26:21.8878177Z * [new ref] 3f0d9c3830614990305a25aac7f81a7df6678688 -> origin/my-physics -2025-11-30T02:26:21.8910578Z ##[endgroup] -2025-11-30T02:26:21.8912308Z ##[group]Determining the checkout info -2025-11-30T02:26:21.8914185Z ##[endgroup] -2025-11-30T02:26:21.8918809Z [command]/usr/bin/git sparse-checkout disable -2025-11-30T02:26:21.8958929Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig -2025-11-30T02:26:21.8984878Z ##[group]Checking out the ref -2025-11-30T02:26:21.8989301Z [command]/usr/bin/git checkout --progress --force -B my-physics refs/remotes/origin/my-physics -2025-11-30T02:26:22.0744505Z Switched to a new branch 'my-physics' -2025-11-30T02:26:22.0747171Z branch 'my-physics' set up to track 'origin/my-physics'. -2025-11-30T02:26:22.0760474Z ##[endgroup] -2025-11-30T02:26:22.0797543Z [command]/usr/bin/git log -1 --format=%H -2025-11-30T02:26:22.0818985Z 3f0d9c3830614990305a25aac7f81a7df6678688 -2025-11-30T02:26:22.1106827Z ##[group]Run bazel-contrib/setup-bazel@0.14.0 -2025-11-30T02:26:22.1108001Z with: -2025-11-30T02:26:22.1108709Z bazelisk-cache: true -2025-11-30T02:26:22.1109558Z disk-cache: false -2025-11-30T02:26:22.1110372Z repository-cache: true -2025-11-30T02:26:22.1111250Z cache-version: 1 -2025-11-30T02:26:22.1112039Z module-root: . -2025-11-30T02:26:22.1113065Z token: *** -2025-11-30T02:26:22.1113788Z ##[endgroup] -2025-11-30T02:26:22.2879076Z ##[group]Configure Bazel -2025-11-30T02:26:22.2880888Z Configuration: -2025-11-30T02:26:22.2882422Z { -2025-11-30T02:26:22.2884056Z "baseCacheKey": "setup-bazel-1-linux", -2025-11-30T02:26:22.2885848Z "bazeliskCache": { -2025-11-30T02:26:22.2887351Z "enabled": true, -2025-11-30T02:26:22.2888571Z "files": [ -2025-11-30T02:26:22.2889704Z "./.bazelversion" -2025-11-30T02:26:22.2890936Z ], -2025-11-30T02:26:22.2891991Z "name": "bazelisk", -2025-11-30T02:26:22.2893296Z "paths": [ -2025-11-30T02:26:22.2896011Z "/home/runner/.cache/bazelisk" -2025-11-30T02:26:22.2897782Z ] -2025-11-30T02:26:22.2898793Z }, -2025-11-30T02:26:22.2899836Z "bazeliskVersion": "", -2025-11-30T02:26:22.2901228Z "bazelrc": [ -2025-11-30T02:26:22.2903032Z "common --repository_cache=/home/runner/.cache/bazel-repo" -2025-11-30T02:26:22.2905427Z ], -2025-11-30T02:26:22.2906569Z "diskCache": { -2025-11-30T02:26:22.2907790Z "enabled": false, -2025-11-30T02:26:22.2909170Z "files": [ -2025-11-30T02:26:22.2921794Z "./MODULE.bazel", -2025-11-30T02:26:22.2923230Z "./WORKSPACE.bazel", -2025-11-30T02:26:22.2924705Z "./WORKSPACE.bzlmod", -2025-11-30T02:26:22.2926138Z "./WORKSPACE", -2025-11-30T02:26:22.2927646Z "./**/BUILD.bazel", -2025-11-30T02:26:22.2928988Z "./**/BUILD" -2025-11-30T02:26:22.2930086Z ], -2025-11-30T02:26:22.2930878Z "name": "disk", -2025-11-30T02:26:22.2932100Z "paths": [ -2025-11-30T02:26:22.2933358Z "/home/runner/.cache/bazel-disk" -2025-11-30T02:26:22.2935043Z ] -2025-11-30T02:26:22.2936093Z }, -2025-11-30T02:26:22.2937579Z "externalCache": {}, -2025-11-30T02:26:22.2939083Z "paths": { -2025-11-30T02:26:22.2940525Z "bazelExternal": "/home/runner/.bazel/external", -2025-11-30T02:26:22.2942495Z "bazelOutputBase": "/home/runner/.bazel", -2025-11-30T02:26:22.2944331Z "bazelrc": [ -2025-11-30T02:26:22.2945567Z "/home/runner/.bazelrc" -2025-11-30T02:26:22.2947369Z ] -2025-11-30T02:26:22.2948454Z }, -2025-11-30T02:26:22.2949462Z "os": { -2025-11-30T02:26:22.2950517Z "arch": "x64", -2025-11-30T02:26:22.2951767Z "platform": "linux" -2025-11-30T02:26:22.2953034Z }, -2025-11-30T02:26:22.2954146Z "repositoryCache": { -2025-11-30T02:26:22.2955484Z "enabled": true, -2025-11-30T02:26:22.2956876Z "files": [ -2025-11-30T02:26:22.2958132Z "./MODULE.bazel", -2025-11-30T02:26:22.2959462Z "./WORKSPACE.bazel", -2025-11-30T02:26:22.2961010Z "./WORKSPACE.bzlmod", -2025-11-30T02:26:22.2962411Z "./WORKSPACE" -2025-11-30T02:26:22.2963580Z ], -2025-11-30T02:26:22.2964700Z "name": "repository", -2025-11-30T02:26:22.2966075Z "paths": [ -2025-11-30T02:26:22.2967529Z "/home/runner/.cache/bazel-repo" -2025-11-30T02:26:22.2969229Z ] -2025-11-30T02:26:22.2970362Z } -2025-11-30T02:26:22.2971546Z } -2025-11-30T02:26:22.2973960Z ##[endgroup] -2025-11-30T02:26:22.2976327Z ##[group]Restore cache for bazelisk -2025-11-30T02:26:22.4571450Z Cache hit for: setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e -2025-11-30T02:26:22.9230715Z Received 57708694 of 57708694 (100.0%), 131.7 MBs/sec -2025-11-30T02:26:22.9260884Z Cache Size: ~55 MB (57708694 B) -2025-11-30T02:26:22.9262278Z [command]/usr/bin/tar -xf /home/runner/work/_temp/b3e15b1e-c1eb-4152-aaef-d9b65a2a8117/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd -2025-11-30T02:26:23.0176105Z Cache restored successfully -2025-11-30T02:26:23.0288687Z Successfully restored cache from setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e -2025-11-30T02:26:23.0290886Z ##[endgroup] -2025-11-30T02:26:23.0291918Z ##[group]Restore cache for repository -2025-11-30T02:26:23.0534581Z Cache hit for: setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e -2025-11-30T02:26:24.1170573Z Received 205520896 of 1349025797 (15.2%), 194.3 MBs/sec -2025-11-30T02:26:25.1159778Z Received 402653184 of 1349025797 (29.8%), 191.1 MBs/sec -2025-11-30T02:26:26.1172484Z Received 637534208 of 1349025797 (47.3%), 202.0 MBs/sec -2025-11-30T02:26:27.1205089Z Received 859832320 of 1349025797 (63.7%), 204.3 MBs/sec -2025-11-30T02:26:28.1196295Z Received 1073741824 of 1349025797 (79.6%), 204.3 MBs/sec -2025-11-30T02:26:29.1209674Z Received 1333788672 of 1349025797 (98.9%), 211.5 MBs/sec -2025-11-30T02:26:29.3337437Z Received 1349025797 of 1349025797 (100.0%), 206.6 MBs/sec -2025-11-30T02:26:29.3338445Z Cache Size: ~1287 MB (1349025797 B) -2025-11-30T02:26:29.3469178Z [command]/usr/bin/tar -xf /home/runner/work/_temp/42c2a257-3281-4f12-bdbd-3691fcbaf72d/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd -2025-11-30T02:26:31.2149646Z Cache restored successfully -2025-11-30T02:26:31.4668571Z Successfully restored cache from setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e -2025-11-30T02:26:31.4675002Z ##[endgroup] -2025-11-30T02:26:31.4910436Z ##[group]Run bazel build --config opt \ -2025-11-30T02:26:31.4910831Z bazel build --config opt \ -2025-11-30T02:26:31.4911128Z  --verbose_failures \ -2025-11-30T02:26:31.4911369Z  //mod:mod_fabric \ -2025-11-30T02:26:31.4911573Z  //mod:mod_neoforge \ -2025-11-30T02:26:31.4911800Z  //blazerod:blazerod_fabric \ -2025-11-30T02:26:31.4912054Z  //blazerod:blazerod_neoforge \ -2025-11-30T02:26:31.4912306Z  //blazerod/model/model-base \ -2025-11-30T02:26:31.4912574Z  //blazerod/model/model-formats \ -2025-11-30T02:26:31.4912844Z  //blazerod/model/model-gltf \ -2025-11-30T02:26:31.4913115Z  //blazerod/model/model-pmd \ -2025-11-30T02:26:31.4913353Z  //blazerod/model/model-pmx \ -2025-11-30T02:26:31.4913590Z  //blazerod/model/model-vmd \ -2025-11-30T02:26:31.4913901Z  //blazerod/model/model-assimp:model-assimp-merged \ -2025-11-30T02:26:31.4914247Z  //blazerod/example/ball_block -2025-11-30T02:26:31.4951978Z shell: /usr/bin/bash -e {0} -2025-11-30T02:26:31.4952216Z env: -2025-11-30T02:26:31.4952707Z BAZELISK_GITHUB_TOKEN: *** -2025-11-30T02:26:31.4952922Z ##[endgroup] -2025-11-30T02:26:34.9648246Z Extracting Bazel installation... -2025-11-30T02:26:36.1350419Z Starting local Bazel server (8.4.2) and connecting to it... -2025-11-30T02:26:37.5805449Z Computing main repo mapping: -2025-11-30T02:26:38.4491170Z Loading: -2025-11-30T02:26:38.4513683Z Loading: 0 packages loaded -2025-11-30T02:26:39.4737882Z Loading: 0 packages loaded -2025-11-30T02:26:40.5015388Z Analyzing: 12 targets (10 packages loaded) -2025-11-30T02:26:40.6840440Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) -2025-11-30T02:26:40.7097795Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) -2025-11-30T02:26:40.7098247Z -2025-11-30T02:26:41.3523381Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions: -2025-11-30T02:26:41.3529327Z com.google.code.gson:gson (versions: 2.10.1, 2.8.9) -2025-11-30T02:26:41.3533725Z com.google.errorprone:error_prone_annotations (versions: 2.23.0, 2.5.1) -2025-11-30T02:26:41.3538328Z com.google.guava:guava (versions: 32.0.1-jre, 33.0.0-jre) -2025-11-30T02:26:41.3616357Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:200:14: The maven repository 'maven' has contributions from multiple bzlmod modules, and will be resolved together: ["armorstand", "bazel_worker_java", "protobuf"]. -2025-11-30T02:26:41.3626625Z See https://github.com/bazel-contrib/rules_jvm_external/blob/master/docs/bzlmod.md#module-dependency-layering for more information. -2025-11-30T02:26:41.3628543Z To suppress this warning review the contributions from the other modules and add the following attribute in the root MODULE.bazel file: -2025-11-30T02:26:41.3629749Z maven.install( -2025-11-30T02:26:41.3630462Z known_contributing_modules = ["armorstand", "bazel_worker_java", "protobuf"], -2025-11-30T02:26:41.3631288Z ... -2025-11-30T02:26:41.3631778Z ) -2025-11-30T02:26:41.7257197Z Analyzing: 12 targets (50 packages loaded, 18 targets configured) -2025-11-30T02:26:41.7261478Z -2025-11-30T02:26:42.1938801Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/rules/coursier.bzl:777:18: Found duplicate artifact versions -2025-11-30T02:26:42.1940340Z com.google.code.gson:gson has multiple versions 2.8.9, 2.10.1 -2025-11-30T02:26:42.1941486Z com.google.errorprone:error_prone_annotations has multiple versions 2.5.1, 2.23.0 -2025-11-30T02:26:42.1943002Z com.google.guava:guava has multiple versions 32.0.1-jre, 33.0.0-jre -2025-11-30T02:26:42.1944246Z Please remove duplicate artifacts from the artifact list so you do not get unexpected artifact versions -2025-11-30T02:26:42.7343720Z Analyzing: 12 targets (95 packages loaded, 21 targets configured) -2025-11-30T02:26:42.7348423Z -2025-11-30T02:26:43.8255126Z Analyzing: 12 targets (174 packages loaded, 123 targets configured) -2025-11-30T02:26:43.8255993Z -2025-11-30T02:26:44.8638029Z Analyzing: 12 targets (199 packages loaded, 506 targets configured) -2025-11-30T02:26:44.8640128Z -2025-11-30T02:26:46.5827633Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:46.5828302Z -2025-11-30T02:26:52.0792144Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:52.0795487Z -2025-11-30T02:26:59.0377745Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:59.0378538Z -2025-11-30T02:27:00.5849632Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:27:00.5851005Z -2025-11-30T02:27:06.0490470Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:27:06.0490954Z -2025-11-30T02:27:07.0578673Z Analyzing: 12 targets (220 packages loaded, 3333 targets configured) -2025-11-30T02:27:07.0636900Z -2025-11-30T02:27:08.0614198Z Analyzing: 12 targets (394 packages loaded, 3922 targets configured) -2025-11-30T02:27:08.0614715Z -2025-11-30T02:27:09.0600181Z Analyzing: 12 targets (558 packages loaded, 9117 targets configured) -2025-11-30T02:27:09.0601041Z -2025-11-30T02:27:10.5329212Z Analyzing: 12 targets (584 packages loaded, 9209 targets configured) -2025-11-30T02:27:10.5329986Z -2025-11-30T02:27:11.5937838Z Analyzing: 12 targets (607 packages loaded, 12113 targets configured) -2025-11-30T02:27:11.5938733Z -2025-11-30T02:27:12.5922309Z Analyzing: 12 targets (610 packages loaded, 20072 targets configured) -2025-11-30T02:27:12.5922855Z -2025-11-30T02:27:14.0003413Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) -2025-11-30T02:27:14.0003901Z -2025-11-30T02:27:16.3762902Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) -2025-11-30T02:27:16.3763598Z -2025-11-30T02:27:17.3833523Z Analyzing: 12 targets (624 packages loaded, 35680 targets configured) -2025-11-30T02:27:17.3838798Z [4 / 77] Creating runfiles tree bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/jdeps_merger.runfiles [for tool]; 0s local ... (2 actions, 1 running) -2025-11-30T02:27:17.9095122Z INFO: Analyzed 12 targets (624 packages loaded, 35744 targets configured). -2025-11-30T02:27:18.3953559Z [156 / 1,333] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 0s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:19.4080345Z [211 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:20.5312065Z [225 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 2s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:21.5674285Z [247 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:22.5648529Z [268 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 2s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:23.6043867Z [279 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:24.6034158Z [346 / 1,419] Extracting interface for jar file/com/google/guava/guava/33.3.1-jre/guava-33.3.1-jre.jar; 0s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:27:25.8893252Z [391 / 1,419] Building repo/neoforge/rule/manifest_remover/manifest_remover.jar (1 source file) [for tool]; 1s multiplex-worker ... (3 actions, 2 running) -2025-11-30T02:27:27.0161706Z [408 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 0s worker ... (2 actions, 1 running) -2025-11-30T02:27:28.3243891Z [415 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 1s worker ... (2 actions, 1 running) -2025-11-30T02:27:29.4860296Z [416 / 1,427] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 2s worker ... (3 actions, 2 running) -2025-11-30T02:27:30.6060058Z [422 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) -2025-11-30T02:27:31.6067816Z [423 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 4s worker ... (3 actions running) -2025-11-30T02:27:32.6093524Z [424 / 1,604] Stamping the manifest of @maven//:it_unimi_dsi_fastutil [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:33.6101733Z [430 / 1,771] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:34.6154039Z [437 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:35.6181179Z [439 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:36.6180950Z [440 / 1,936] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:37.6228003Z [444 / 1,938] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 2s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:38.6257555Z [450 / 2,101] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:39.6260912Z [453 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 4s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:40.6281257Z [456 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 5s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:41.6312020Z [460 / 2,263] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 6s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:42.6351141Z [469 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:com_h2database_h2; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:43.6353238Z [482 / 2,265] Stamping the manifest of @maven//:net_fabricmc_sponge_mixin; 0s processwrapper-sandbox -2025-11-30T02:27:44.9239762Z [487 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava -2025-11-30T02:27:45.9503367Z [494 / 2,265] [Prepa] Stamping the manifest of @maven//:org_jetbrains_kotlinx_atomicfu_jvm -2025-11-30T02:27:46.9897690Z [510 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_fabric_api_fabric_content_registries_v0 -2025-11-30T02:27:48.2391953Z [525 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_intermediary_v2 -2025-11-30T02:27:49.2809634Z [539 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:net_fabricmc_fabric_api_fabric_resource_loader_v0 -2025-11-30T02:27:50.3323974Z [556 / 2,265] [Prepa] Stamping the manifest of @maven//:com_fasterxml_jackson_core_jackson_core [for tool] -2025-11-30T02:27:51.5858029Z [563 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava [for tool] -2025-11-30T02:27:52.5947704Z [570 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:org_jetbrains_kotlinx_kotlinx_serialization_core_jvm [for tool]; 0s processwrapper-sandbox ... (2 actions, 1 running) -2025-11-30T02:27:53.6057509Z [577 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 0s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:27:54.6386289Z [583 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:55.6427395Z [588 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 2s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:56.6431771Z [590 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 1s worker ... (3 actions running) -2025-11-30T02:27:58.4013733Z [592 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 3s worker ... (3 actions, 2 running) -2025-11-30T02:27:59.4873989Z [593 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 4s worker ... (3 actions, 2 running) -2025-11-30T02:28:00.6275008Z [597 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:it_unimi_dsi_fastutil; 4s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:28:01.6520553Z [601 / 2,265] KotlinCompile //blazerod/render/main/util/iterator:iterator { kt: 2, java: 0, srcjars: 0 } for k8; 0s worker ... (3 actions running) -2025-11-30T02:28:02.6446303Z [606 / 2,265] Stamping the manifest of @maven//:org_lwjgl_lwjgl_assimp_natives_windows; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:28:03.6488866Z [609 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 1s worker ... (3 actions running) -2025-11-30T02:28:04.6477490Z [613 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 2s worker ... (2 actions running) -2025-11-30T02:28:05.6573443Z [614 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) -2025-11-30T02:28:06.6569120Z [620 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 4s worker ... (4 actions running) -2025-11-30T02:28:07.8132473Z [626 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 5s worker ... (4 actions, 3 running) -2025-11-30T02:28:08.9142367Z [635 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 6s worker ... (4 actions, 3 running) -2025-11-30T02:28:09.9626627Z [650 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 7s worker ... (4 actions, 3 running) -2025-11-30T02:28:11.0765912Z [662 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 9s worker ... (4 actions, 3 running) -2025-11-30T02:28:12.1079223Z [668 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 10s worker ... (4 actions, 3 running) -2025-11-30T02:28:13.1404524Z [673 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 11s worker ... (4 actions, 3 running) -2025-11-30T02:28:14.2978006Z [679 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 12s worker ... (4 actions, 3 running) -2025-11-30T02:28:15.6614442Z [680 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 13s worker ... (4 actions running) -2025-11-30T02:28:16.6623783Z [688 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 14s worker ... (4 actions, 3 running) -2025-11-30T02:28:17.6628456Z [698 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 15s worker ... (4 actions running) -2025-11-30T02:28:18.6639555Z [713 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 16s worker ... (4 actions running) -2025-11-30T02:28:19.6656724Z [725 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 17s worker ... (4 actions running) -2025-11-30T02:28:20.6659687Z [759 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 18s worker ... (4 actions running) -2025-11-30T02:28:21.6678741Z [805 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 19s worker ... (4 actions running) -2025-11-30T02:28:22.6738409Z [823 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 12s worker ... (4 actions running) -2025-11-30T02:28:23.6711692Z [842 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 13s worker ... (4 actions running) -2025-11-30T02:28:24.6760714Z [845 / 2,265] Splitting resources from classes for joined_strip_client; 4s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:28:25.6767129Z [863 / 2,265] KotlinCompile //blazerod/model/model-pmd:model-pmd { kt: 4, java: 0, srcjars: 0 } for k8; 2s worker ... (4 actions running) -2025-11-30T02:28:26.8468219Z [885 / 2,265] Remapping remapped_client_named - client.jar; 0s worker ... (4 actions, 3 running) -2025-11-30T02:28:27.0983599Z INFO: From Running NeoForm function bundleExtractJar to create ../+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar: -2025-11-30T02:28:27.1109646Z Task: BUNDLER_EXTRACT -2025-11-30T02:28:27.1118362Z Input: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/external/+minecraft+minecraft_1.21.8_server/file/server.jar -2025-11-30T02:28:27.1120952Z Output: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/bazel-out/k8-opt/bin/external/+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar -2025-11-30T02:28:27.1122929Z All: false -2025-11-30T02:28:27.1123503Z JarOnly: true -2025-11-30T02:28:27.1124048Z Libs: false -2025-11-30T02:28:27.1124674Z Extracted: versions/1.21.8/server-1.21.8.jar -2025-11-30T02:28:28.3841839Z [892 / 2,265] Remapping remapped_client_named - client.jar; 2s worker ... (4 actions, 3 running) -2025-11-30T02:28:29.6133513Z [899 / 2,265] Remapping remapped_client_named - client.jar; 3s worker ... (4 actions, 3 running) -2025-11-30T02:28:30.6788966Z [900 / 2,265] Remapping remapped_client_named - client.jar; 4s worker ... (4 actions running) -2025-11-30T02:28:31.6815688Z [901 / 2,265] Remapping remapped_client_named - client.jar; 5s worker ... (4 actions running) -2025-11-30T02:28:34.0024263Z [902 / 2,265] Remapping remapped_client_named - client.jar; 8s worker ... (4 actions, 3 running) -2025-11-30T02:28:35.1868084Z [904 / 2,265] Remapping remapped_client_named - client.jar; 9s worker ... (4 actions, 3 running) -2025-11-30T02:28:36.6823164Z [907 / 2,265] Remapping remapped_client_named - client.jar; 10s worker ... (4 actions running) -2025-11-30T02:28:37.6820665Z [909 / 2,265] Remapping remapped_client_named - client.jar; 11s worker ... (4 actions running) -2025-11-30T02:28:38.6878229Z [912 / 2,265] Remapping remapped_client_named - client.jar; 12s worker ... (4 actions running) -2025-11-30T02:28:39.6851203Z [915 / 2,265] Remapping remapped_client_named - client.jar; 13s worker ... (4 actions running) -2025-11-30T02:28:41.6883066Z [921 / 2,265] Remapping remapped_client_named - client.jar; 15s worker ... (4 actions running) -2025-11-30T02:28:42.6882930Z [925 / 2,265] Remapping remapped_client_named - client.jar; 16s worker ... (4 actions running) -2025-11-30T02:28:43.6922591Z [928 / 2,265] Remapping remapped_client_named - client.jar; 17s worker ... (4 actions running) -2025-11-30T02:28:44.6984269Z [933 / 2,265] Remapping remapped_client_named - client.jar; 18s worker ... (4 actions running) -2025-11-30T02:28:45.6998090Z [934 / 2,265] Remapping remapped_client_named - client.jar; 19s worker ... (4 actions running) -2025-11-30T02:28:46.6997086Z [937 / 2,265] Remapping remapped_client_named - client.jar; 20s worker ... (4 actions running) -2025-11-30T02:28:47.6991228Z [941 / 2,265] Remapping remapped_client_named - client.jar; 21s worker ... (4 actions running) -2025-11-30T02:28:48.7120937Z [946 / 2,265] Remapping remapped_client_named - client.jar; 22s worker ... (4 actions, 3 running) -2025-11-30T02:28:48.7980297Z ERROR: /home/runner/work/ArmorStand/ArmorStand/blazerod/model/model-pmx/BUILD.bazel:14:15: KotlinCompile //blazerod/model/model-pmx:model-pmx { kt: 11, java: 0, srcjars: 0 } for k8 failed: (Exit 1): build failed: error executing KotlinCompile command (from target //blazerod/model/model-pmx:model-pmx) -2025-11-30T02:28:48.7982802Z (cd /home/runner/.bazel/execroot/_main && \ -2025-11-30T02:28:48.7983528Z exec env - \ -2025-11-30T02:28:48.7989684Z LC_CTYPE=en_US.UTF-8 \ -2025-11-30T02:28:48.7990681Z REPOSITORY_NAME=rules_kotlin+ \ -2025-11-30T02:28:48.8021393Z bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/build '--wrapper_script_flag=--main_advice_classpath=external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/annotations-13.0.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk7.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk8.jar' '--flagfile=bazel-out/k8-opt/bin/blazerod/model/model-pmx/model-pmx-kt.jar-0.params') -2025-11-30T02:28:48.8025866Z # Configuration: 7829eb418bfd28df94b3e08f612b6b762cc0317abf8117066b0bd699547ce494 -2025-11-30T02:28:48.8030263Z # Execution platform: @@platforms//host:host -2025-11-30T02:28:48.8031326Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: -2025-11-30T02:28:48.8033921Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult -2025-11-30T02:28:48.8034741Z class PmxLoader : ModelFileLoader { -2025-11-30T02:28:48.8036165Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8037120Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. -2025-11-30T02:28:48.8038206Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8038901Z ^^^^^^^^^ -2025-11-30T02:28:48.8039690Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8101263Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8103435Z ^^^^^^^^^ -2025-11-30T02:28:48.8104815Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8114419Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8115153Z ^ -2025-11-30T02:28:48.8115890Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. -2025-11-30T02:28:48.8116788Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8117295Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8117956Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8118673Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8119148Z ^^^^^^^^^ -2025-11-30T02:28:48.8120039Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8120910Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8121318Z ^ -2025-11-30T02:28:48.8122153Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. -2025-11-30T02:28:48.8122783Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8123170Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8123699Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8124308Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8124694Z ^^^^^^^^^ -2025-11-30T02:28:48.8125427Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8126190Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8126771Z ^ -2025-11-30T02:28:48.8127299Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. -2025-11-30T02:28:48.8127838Z mass = rigidBody.mass, -2025-11-30T02:28:48.8128175Z ^^^^ -2025-11-30T02:28:48.8128687Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8129246Z mass = rigidBody.mass, -2025-11-30T02:28:48.8129585Z ^^^^^^^^^ -2025-11-30T02:28:48.8130618Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8131372Z mass = rigidBody.mass, -2025-11-30T02:28:48.8131761Z ^ -2025-11-30T02:28:48.8132330Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. -2025-11-30T02:28:48.8132961Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8133351Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8133865Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8134450Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8134853Z ^^^^^^^^^ -2025-11-30T02:28:48.8135578Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8136816Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8137316Z ^ -2025-11-30T02:28:48.8138013Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. -2025-11-30T02:28:48.8138800Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8139287Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8139923Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8140670Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8141156Z ^^^^^^^^^ -2025-11-30T02:28:48.8142071Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8143073Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8143635Z ^ -2025-11-30T02:28:48.8144523Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. -2025-11-30T02:28:48.8145247Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8145687Z ^^^^^^^^^ -2025-11-30T02:28:48.8146338Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8147232Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8147681Z ^^^^^^^^^ -2025-11-30T02:28:48.8148575Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8149530Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8149979Z ^ -2025-11-30T02:28:48.8150657Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. -2025-11-30T02:28:48.8151413Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8151870Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8152516Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8153248Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8153714Z ^^^^^^^^^ -2025-11-30T02:28:48.8154622Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8155591Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8156075Z ^ -2025-11-30T02:28:48.8156914Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. -2025-11-30T02:28:48.8157670Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8158150Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8158917Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.8159764Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8160239Z ^^^^ -2025-11-30T02:28:48.8160890Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8161826Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8162309Z ^^^^^^^^^ -2025-11-30T02:28:48.8163235Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8164143Z }, -2025-11-30T02:28:48.8164513Z ^ -2025-11-30T02:28:48.8165141Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8165805Z ) -2025-11-30T02:28:48.8166153Z ^ -2025-11-30T02:28:48.8167164Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8168158Z }, -2025-11-30T02:28:48.8168599Z ^ -2025-11-30T02:28:48.8169287Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8169951Z ) -2025-11-30T02:28:48.8170283Z ^ -2025-11-30T02:28:48.8170964Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8257028Z ) -2025-11-30T02:28:48.8257393Z ^ -2025-11-30T02:28:48.8257966Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. -2025-11-30T02:28:48.8258618Z } -2025-11-30T02:28:48.8258924Z ^ -2025-11-30T02:28:48.8259476Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. -2025-11-30T02:28:48.8260067Z } -2025-11-30T02:28:48.8260347Z ^ -2025-11-30T02:28:48.8260989Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8261743Z return Node( -2025-11-30T02:28:48.8262098Z ^^^^^^ -2025-11-30T02:28:48.8262759Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8263505Z return Node( -2025-11-30T02:28:48.8263844Z ^^^^ -2025-11-30T02:28:48.8264529Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8265268Z return Node( -2025-11-30T02:28:48.8265623Z ^ -2025-11-30T02:28:48.8266291Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8267367Z name = bone.nameLocal, -2025-11-30T02:28:48.8267788Z ^^^^ -2025-11-30T02:28:48.8268468Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8269249Z name = bone.nameLocal, -2025-11-30T02:28:48.8269653Z ^ -2025-11-30T02:28:48.8270322Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8271077Z name = bone.nameLocal, -2025-11-30T02:28:48.8271488Z ^^^^ -2025-11-30T02:28:48.8272188Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8272948Z name = bone.nameLocal, -2025-11-30T02:28:48.8273358Z ^ -2025-11-30T02:28:48.8274052Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8274821Z name = bone.nameLocal, -2025-11-30T02:28:48.8275224Z ^^^^^^^^^ -2025-11-30T02:28:48.8275937Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8277205Z name = bone.nameLocal, -2025-11-30T02:28:48.8277625Z ^ -2025-11-30T02:28:48.8278347Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8279101Z id = boneNodeId, -2025-11-30T02:28:48.8279491Z ^^ -2025-11-30T02:28:48.8280158Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8280929Z id = boneNodeId, -2025-11-30T02:28:48.8281331Z ^ -2025-11-30T02:28:48.8282020Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8282784Z id = boneNodeId, -2025-11-30T02:28:48.8283163Z ^^^^^^^^^^ -2025-11-30T02:28:48.8283896Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8284662Z id = boneNodeId, -2025-11-30T02:28:48.8285056Z ^ -2025-11-30T02:28:48.8285772Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8286964Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8287736Z ^^^^^^^^^ -2025-11-30T02:28:48.8288452Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8289241Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8290070Z ^ -2025-11-30T02:28:48.8290710Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8291408Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8291804Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8292462Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8293151Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8293548Z ^ -2025-11-30T02:28:48.8294185Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8294892Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8295311Z ^^^^^^^^^^ -2025-11-30T02:28:48.8295986Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8296905Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8297301Z ^ -2025-11-30T02:28:48.8297945Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8298675Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8299102Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8299698Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8300403Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8300831Z ^ -2025-11-30T02:28:48.8301435Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8302147Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8302571Z ^^^^^^^^ -2025-11-30T02:28:48.8303195Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8303894Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8304547Z ^ -2025-11-30T02:28:48.8305185Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8305943Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8306622Z ^ -2025-11-30T02:28:48.8307303Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8308066Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8308530Z ^ -2025-11-30T02:28:48.8309200Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8309961Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8310410Z ^^^ -2025-11-30T02:28:48.8311202Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8311953Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8312415Z ^ -2025-11-30T02:28:48.8313084Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8314029Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8314500Z ^^^^ -2025-11-30T02:28:48.8315183Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8315933Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8316545Z ^ -2025-11-30T02:28:48.8317202Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8317927Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8318385Z ^^^^^^^^ -2025-11-30T02:28:48.8319043Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8319764Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8320215Z ^ -2025-11-30T02:28:48.8320869Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8321589Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8322030Z ^ -2025-11-30T02:28:48.8322684Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8323403Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8323855Z ^^^^ -2025-11-30T02:28:48.8324512Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8325222Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8325677Z ^ -2025-11-30T02:28:48.8326309Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. -2025-11-30T02:28:48.8327195Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8327706Z ^ -2025-11-30T02:28:48.8328453Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.8329171Z if (parentPosition != null) { -2025-11-30T02:28:48.8329837Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8330476Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. -2025-11-30T02:28:48.8331163Z it.sub(parentPosition) -2025-11-30T02:28:48.8331604Z ^^^ -2025-11-30T02:28:48.8332295Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.8333058Z it.sub(parentPosition) -2025-11-30T02:28:48.8333505Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8334254Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8334984Z }, -2025-11-30T02:28:48.8335313Z ^ -2025-11-30T02:28:48.8335991Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8336948Z rotation = Quaternionf(), -2025-11-30T02:28:48.8337373Z ^^^^^^^^ -2025-11-30T02:28:48.8338064Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8338841Z rotation = Quaternionf(), -2025-11-30T02:28:48.8339273Z ^ -2025-11-30T02:28:48.8340200Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8341007Z rotation = Quaternionf(), -2025-11-30T02:28:48.8341435Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8342156Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8342923Z rotation = Quaternionf(), -2025-11-30T02:28:48.8343348Z ^ -2025-11-30T02:28:48.8344075Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8344844Z rotation = Quaternionf(), -2025-11-30T02:28:48.8345227Z ^ -2025-11-30T02:28:48.8345929Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8346924Z rotation = Quaternionf(), -2025-11-30T02:28:48.8347365Z ^ -2025-11-30T02:28:48.8348058Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8348948Z scale = Vector3f(1f), -2025-11-30T02:28:48.8349351Z ^^^^^ -2025-11-30T02:28:48.8350024Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8350777Z scale = Vector3f(1f), -2025-11-30T02:28:48.8351193Z ^ -2025-11-30T02:28:48.8351871Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8352624Z scale = Vector3f(1f), -2025-11-30T02:28:48.8353035Z ^^^^^^^^ -2025-11-30T02:28:48.8353741Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8354485Z scale = Vector3f(1f), -2025-11-30T02:28:48.8354889Z ^ -2025-11-30T02:28:48.8355608Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8356972Z scale = Vector3f(1f), -2025-11-30T02:28:48.8357353Z ^^ -2025-11-30T02:28:48.8358001Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8358670Z scale = Vector3f(1f), -2025-11-30T02:28:48.8359263Z ^ -2025-11-30T02:28:48.8359891Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8360557Z scale = Vector3f(1f), -2025-11-30T02:28:48.8360905Z ^ -2025-11-30T02:28:48.8361546Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8362182Z ), -2025-11-30T02:28:48.8362438Z ^ -2025-11-30T02:28:48.8363000Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8363624Z ), -2025-11-30T02:28:48.8363888Z ^ -2025-11-30T02:28:48.8364444Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8365093Z children = children, -2025-11-30T02:28:48.8365438Z ^^^^^^^^ -2025-11-30T02:28:48.8366029Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8366911Z children = children, -2025-11-30T02:28:48.8367255Z ^ -2025-11-30T02:28:48.8367842Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8368642Z children = children, -2025-11-30T02:28:48.8368997Z ^^^^^^^^ -2025-11-30T02:28:48.8369612Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8370258Z children = children, -2025-11-30T02:28:48.8370602Z ^ -2025-11-30T02:28:48.8371210Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8371882Z components = components, -2025-11-30T02:28:48.8372243Z ^^^^^^^^^^ -2025-11-30T02:28:48.8372847Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8373519Z components = components, -2025-11-30T02:28:48.8373878Z ^ -2025-11-30T02:28:48.8374486Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8375162Z components = components, -2025-11-30T02:28:48.8375530Z ^^^^^^^^^^ -2025-11-30T02:28:48.8376163Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8376977Z components = components, -2025-11-30T02:28:48.8377340Z ^ -2025-11-30T02:28:48.8377971Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8378607Z ) -2025-11-30T02:28:48.8378860Z ^ -2025-11-30T02:28:48.8379411Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8380078Z rootBones.forEach { index -> -2025-11-30T02:28:48.8380435Z ^^^^^^^^^ -2025-11-30T02:28:48.8381003Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8381677Z rootBones.forEach { index -> -2025-11-30T02:28:48.8382023Z ^ -2025-11-30T02:28:48.8382585Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8383259Z rootBones.forEach { index -> -2025-11-30T02:28:48.8383607Z ^^^^^^^ -2025-11-30T02:28:48.8384209Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8384866Z rootBones.forEach { index -> -2025-11-30T02:28:48.8385387Z ^ -2025-11-30T02:28:48.8386521Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. -2025-11-30T02:28:48.8387266Z rootBones.forEach { index -> -2025-11-30T02:28:48.8387666Z ^^^^^^^^^^ -2025-11-30T02:28:48.8388318Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. -2025-11-30T02:28:48.8389021Z rootBones.forEach { index -> -2025-11-30T02:28:48.8389418Z ^^^^^ -2025-11-30T02:28:48.8390703Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8391702Z rootBones.forEach { index -> -2025-11-30T02:28:48.8392124Z ^^ -2025-11-30T02:28:48.8392803Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8393543Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8393965Z ^^^^^^^^^ -2025-11-30T02:28:48.8394562Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. -2025-11-30T02:28:48.8395277Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8395720Z ^^^^^^^ -2025-11-30T02:28:48.8396821Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. -2025-11-30T02:28:48.8397577Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8398012Z ^^^^^ -2025-11-30T02:28:48.8398638Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. -2025-11-30T02:28:48.8399366Z var nextNodeIndex = bones.size -2025-11-30T02:28:48.8399781Z ^^^^^ -2025-11-30T02:28:48.8400476Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8401251Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8401653Z ^^^ -2025-11-30T02:28:48.8402260Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8403006Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8403409Z ^ -2025-11-30T02:28:48.8404024Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8404768Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8405179Z ^^^^^^^^^ -2025-11-30T02:28:48.8405819Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8406775Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8407199Z ^^^^^ -2025-11-30T02:28:48.8407884Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8408623Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8409034Z ^ -2025-11-30T02:28:48.8409717Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8410470Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8410883Z ^^^^^^^ -2025-11-30T02:28:48.8411574Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8412314Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8412729Z ^ -2025-11-30T02:28:48.8413425Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8414161Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8414561Z ^ -2025-11-30T02:28:48.8415219Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. -2025-11-30T02:28:48.8416220Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8416839Z ^ -2025-11-30T02:28:48.8417491Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. -2025-11-30T02:28:48.8418162Z val bone = bones[boneIndex] -2025-11-30T02:28:48.8418544Z ^^^^^ -2025-11-30T02:28:48.8419131Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.8436194Z val bone = bones[boneIndex] -2025-11-30T02:28:48.8436793Z ^^^^^^^^^ -2025-11-30T02:28:48.8437402Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8438043Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.8438433Z ^^^^^^^ -2025-11-30T02:28:48.8439029Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.8439668Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.8440067Z ^^^^^^^^^ -2025-11-30T02:28:48.8440666Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. -2025-11-30T02:28:48.8441706Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() -2025-11-30T02:28:48.8442309Z ^^^^^^^^ -2025-11-30T02:28:48.8442934Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.8443614Z HumanoidTag.fromPmxJapanese(bone.nameLocal) -2025-11-30T02:28:48.8444050Z ^^^^^^^^^ -2025-11-30T02:28:48.8444684Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.8445404Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) -2025-11-30T02:28:48.8445870Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8446685Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.8447682Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() -2025-11-30T02:28:48.8448391Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8449069Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8449839Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8450294Z ^^^ -2025-11-30T02:28:48.8450867Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8451624Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8452063Z ^ -2025-11-30T02:28:48.8452616Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8453367Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8453813Z ^ -2025-11-30T02:28:48.8454348Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8455106Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8455591Z ^^^^^^^^^^ -2025-11-30T02:28:48.8456169Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8457784Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8484755Z ^ -2025-11-30T02:28:48.8485527Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8486858Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8487432Z ^^^^^^^^^ -2025-11-30T02:28:48.8488128Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8488955Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8489462Z ^ -2025-11-30T02:28:48.8490163Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8490998Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8491520Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8492253Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8493085Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8493603Z ^ -2025-11-30T02:28:48.8494354Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8495220Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8495980Z ^^^^^^^^^ -2025-11-30T02:28:48.8496953Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8497743Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8498238Z ^ -2025-11-30T02:28:48.8498898Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8499659Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8500139Z ^ -2025-11-30T02:28:48.8500791Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8501539Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8502011Z ^ -2025-11-30T02:28:48.8502671Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8503410Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8503881Z ^ -2025-11-30T02:28:48.8504512Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. -2025-11-30T02:28:48.8505241Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8505731Z ^ -2025-11-30T02:28:48.8506340Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. -2025-11-30T02:28:48.8512715Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.8552840Z ^^^^^^^^^^ -2025-11-30T02:28:48.8553830Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList -2025-11-30T02:28:48.8555197Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.8556081Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8557013Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. -2025-11-30T02:28:48.8557998Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8558482Z ^^^^^^^^^ -2025-11-30T02:28:48.8559293Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8560125Z fun Array.component1(): T -2025-11-30T02:28:48.8560538Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8560945Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8561354Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8561744Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8562114Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8562553Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8562946Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8563340Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8563699Z fun List.component1(): T -2025-11-30T02:28:48.8564084Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8564518Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8564926Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8565329Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8565742Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8566220Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8566983Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8567998Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8568807Z fun Array.component2(): T -2025-11-30T02:28:48.8569210Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8569590Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8569969Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8570322Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8570705Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8571101Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8571521Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8571936Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8572301Z fun List.component2(): T -2025-11-30T02:28:48.8572678Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8573090Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8573466Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8573840Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8574243Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8574681Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8575148Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8576016Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8577064Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8577513Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8577999Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8578678Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8579306Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8579789Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8580320Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8580761Z ^^^^ -2025-11-30T02:28:48.8581444Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.8582427Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) -2025-11-30T02:28:48.8583119Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8583829Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8584830Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8585343Z ^^^^^^^^^ -2025-11-30T02:28:48.8585947Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8587397Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8587885Z ^ -2025-11-30T02:28:48.8588485Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8589320Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8589826Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8590484Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8591305Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8591815Z ^ -2025-11-30T02:28:48.8592449Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. -2025-11-30T02:28:48.8593256Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8593766Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8594439Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8595407Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8595925Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8596992Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8598057Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8598619Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8599306Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. -2025-11-30T02:28:48.8600009Z val nodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.8600451Z ^^ -2025-11-30T02:28:48.8601108Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8601816Z val nodeId = NodeId(modelId, nodeIndex) -2025-11-30T02:28:48.8602237Z ^^^^^^^ -2025-11-30T02:28:48.8602866Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8603540Z val meshId = MeshId(modelId, nodeIndex) -2025-11-30T02:28:48.8603940Z ^^^^^^^ -2025-11-30T02:28:48.8604589Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8605312Z materialToMeshIds[materialIndex] = meshId -2025-11-30T02:28:48.8605745Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8607232Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8608112Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.8608701Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8609316Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. -2025-11-30T02:28:48.8610095Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.8610696Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8611574Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8612553Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.8613134Z ^^^^^^ -2025-11-30T02:28:48.8614222Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8615147Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.8615679Z ^ -2025-11-30T02:28:48.8616859Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. -2025-11-30T02:28:48.8617810Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.8618201Z ^^ -2025-11-30T02:28:48.8618792Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. -2025-11-30T02:28:48.8619486Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.8619915Z ^^^^^^^^ -2025-11-30T02:28:48.8620740Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8621564Z }?.let { -2025-11-30T02:28:48.8621895Z ^^^ -2025-11-30T02:28:48.8622581Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.8623331Z }?.let { -2025-11-30T02:28:48.8623652Z ^^^ -2025-11-30T02:28:48.8624491Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. -2025-11-30T02:28:48.8625215Z }?.let { -2025-11-30T02:28:48.8625514Z ^^^ -2025-11-30T02:28:48.8626230Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8627204Z }?.let { -2025-11-30T02:28:48.8627528Z ^ -2025-11-30T02:28:48.8628143Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. -2025-11-30T02:28:48.8628840Z textures.getOrNull(it) -2025-11-30T02:28:48.8629259Z ^^^^^^^^ -2025-11-30T02:28:48.8630035Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8630844Z }?.let { -2025-11-30T02:28:48.8631159Z ^^^ -2025-11-30T02:28:48.8631885Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.8632645Z }?.let { -2025-11-30T02:28:48.8632971Z ^^^ -2025-11-30T02:28:48.8633714Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8634531Z }?.let { -2025-11-30T02:28:48.8634874Z ^ -2025-11-30T02:28:48.8635495Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8636181Z rootNodes.add( -2025-11-30T02:28:48.8636737Z ^^^^^^^^^ -2025-11-30T02:28:48.8637397Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8638221Z attributes = materialData.vertexAttributes, -2025-11-30T02:28:48.8638742Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8639483Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8640250Z bufferView = materialData.indexBufferView, -2025-11-30T02:28:48.8640779Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8641541Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. -2025-11-30T02:28:48.8642313Z componentType = indexBufferType, -2025-11-30T02:28:48.8643024Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8643763Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8644630Z targets = materialMorphMap[materialIndex] ?: listOf(), -2025-11-30T02:28:48.8645218Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8645922Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. -2025-11-30T02:28:48.8646832Z val cameraNodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.8647284Z ^^ -2025-11-30T02:28:48.8648028Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8648781Z rootNodes.add( -2025-11-30T02:28:48.8649130Z ^^^^^^^^^ -2025-11-30T02:28:48.8649784Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8650541Z rootNodes.add( -2025-11-30T02:28:48.8650888Z ^ -2025-11-30T02:28:48.8651530Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8652294Z rootNodes.add( -2025-11-30T02:28:48.8652637Z ^^^ -2025-11-30T02:28:48.8653544Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8654315Z rootNodes.add( -2025-11-30T02:28:48.8654648Z ^ -2025-11-30T02:28:48.8655292Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8655985Z Node( -2025-11-30T02:28:48.8656254Z ^^^^ -2025-11-30T02:28:48.8657056Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8657768Z Node( -2025-11-30T02:28:48.8658065Z ^ -2025-11-30T02:28:48.8658684Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8659448Z name = "MMD Camera", -2025-11-30T02:28:48.8659853Z ^^^^ -2025-11-30T02:28:48.8660522Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8661267Z name = "MMD Camera", -2025-11-30T02:28:48.8661650Z ^ -2025-11-30T02:28:48.8662303Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8663021Z name = "MMD Camera", -2025-11-30T02:28:48.8663402Z ^ -2025-11-30T02:28:48.8664057Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8664767Z name = "MMD Camera", -2025-11-30T02:28:48.8665173Z ^^^^^^^^^^ -2025-11-30T02:28:48.8665883Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8666814Z name = "MMD Camera", -2025-11-30T02:28:48.8667196Z ^ -2025-11-30T02:28:48.8667897Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8668605Z name = "MMD Camera", -2025-11-30T02:28:48.8668968Z ^ -2025-11-30T02:28:48.8669670Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8670395Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8670789Z ^^ -2025-11-30T02:28:48.8671358Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8672275Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8672680Z ^ -2025-11-30T02:28:48.8673307Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8674052Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8674465Z ^^^^^^ -2025-11-30T02:28:48.8675132Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8675886Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8676338Z ^ -2025-11-30T02:28:48.8677205Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8677974Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8678411Z ^^^^^^^ -2025-11-30T02:28:48.8679126Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8679906Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8680338Z ^ -2025-11-30T02:28:48.8681054Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8682031Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8682499Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8683213Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8683985Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8684440Z ^ -2025-11-30T02:28:48.8685141Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8685946Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8686588Z ^ -2025-11-30T02:28:48.8687416Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8688195Z components = listOf( -2025-11-30T02:28:48.8688584Z ^^^^^^^^^^ -2025-11-30T02:28:48.8689258Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8689956Z components = listOf( -2025-11-30T02:28:48.8690324Z ^ -2025-11-30T02:28:48.8690997Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8691721Z components = listOf( -2025-11-30T02:28:48.8692091Z ^^^^^^ -2025-11-30T02:28:48.8692754Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8693473Z components = listOf( -2025-11-30T02:28:48.8693866Z ^ -2025-11-30T02:28:48.8694593Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8695388Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8695859Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8696795Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8697586Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8698029Z ^ -2025-11-30T02:28:48.8698708Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8699501Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8699948Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8700944Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8701736Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8702178Z ^ -2025-11-30T02:28:48.8702907Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8703672Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8704104Z ^^^^^^ -2025-11-30T02:28:48.8704793Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8705562Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8705999Z ^ -2025-11-30T02:28:48.8706899Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8707678Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8708092Z ^^^ -2025-11-30T02:28:48.8708792Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8709545Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8709974Z ^ -2025-11-30T02:28:48.8710838Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8711624Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8712066Z ^^^^ -2025-11-30T02:28:48.8712796Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8713568Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8714003Z ^ -2025-11-30T02:28:48.8714738Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8715508Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8715959Z ^ -2025-11-30T02:28:48.8716869Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8717654Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8718120Z ^^^^^^^^^^ -2025-11-30T02:28:48.8718850Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8719617Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8720062Z ^ -2025-11-30T02:28:48.8720780Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8721545Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8721978Z ^ -2025-11-30T02:28:48.8722697Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8723422Z ) -2025-11-30T02:28:48.8723744Z ^ -2025-11-30T02:28:48.8724396Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8725452Z ) -2025-11-30T02:28:48.8725760Z ^ -2025-11-30T02:28:48.8726546Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8727267Z ) -2025-11-30T02:28:48.8727522Z ^ -2025-11-30T02:28:48.8728095Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8728789Z ) -2025-11-30T02:28:48.8729309Z ^ -2025-11-30T02:28:48.8729877Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8730604Z val scene = Scene(nodes = rootNodes) -2025-11-30T02:28:48.8731046Z ^^^^^^^^^ -2025-11-30T02:28:48.8731759Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8732521Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8732938Z ^^^^^^ -2025-11-30T02:28:48.8733570Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8734336Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8734761Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8735432Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8736158Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8736790Z ^ -2025-11-30T02:28:48.8737410Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8738174Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8738612Z ^^^^^^^^^^ -2025-11-30T02:28:48.8739592Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8740402Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8740840Z ^ -2025-11-30T02:28:48.8741476Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8742177Z metadata = Metadata( -2025-11-30T02:28:48.8742549Z ^^^^^^^^ -2025-11-30T02:28:48.8743201Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8743957Z metadata = Metadata( -2025-11-30T02:28:48.8744346Z ^ -2025-11-30T02:28:48.8744982Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8745720Z metadata = Metadata( -2025-11-30T02:28:48.8746075Z ^^^^^^^^ -2025-11-30T02:28:48.8746923Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8747655Z metadata = Metadata( -2025-11-30T02:28:48.8748036Z ^ -2025-11-30T02:28:48.8748717Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8749524Z title = header.modelNameLocal, -2025-11-30T02:28:48.8749988Z ^^^^^ -2025-11-30T02:28:48.8764237Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8765028Z title = header.modelNameLocal, -2025-11-30T02:28:48.8765405Z ^ -2025-11-30T02:28:48.8766044Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8767030Z title = header.modelNameLocal, -2025-11-30T02:28:48.8767489Z ^^^^^^ -2025-11-30T02:28:48.8768151Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8768894Z title = header.modelNameLocal, -2025-11-30T02:28:48.8769323Z ^ -2025-11-30T02:28:48.8769999Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8770758Z title = header.modelNameLocal, -2025-11-30T02:28:48.8771207Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8771965Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8772978Z title = header.modelNameLocal, -2025-11-30T02:28:48.8773428Z ^ -2025-11-30T02:28:48.8774172Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8774977Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8775444Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8776112Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8777127Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8777609Z ^ -2025-11-30T02:28:48.8778298Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8779090Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8779582Z ^^^^^^ -2025-11-30T02:28:48.8780294Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8781067Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8781532Z ^ -2025-11-30T02:28:48.8782246Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8783256Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8783776Z ^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8784488Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8785245Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8785694Z ^ -2025-11-30T02:28:48.8786606Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8787409Z comment = header.commentLocal, -2025-11-30T02:28:48.8787824Z ^^^^^^^ -2025-11-30T02:28:48.8788488Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8789241Z comment = header.commentLocal, -2025-11-30T02:28:48.8789683Z ^ -2025-11-30T02:28:48.8790356Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8791097Z comment = header.commentLocal, -2025-11-30T02:28:48.8791503Z ^^^^^^ -2025-11-30T02:28:48.8792185Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8792952Z comment = header.commentLocal, -2025-11-30T02:28:48.8793365Z ^ -2025-11-30T02:28:48.8794069Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8794842Z comment = header.commentLocal, -2025-11-30T02:28:48.8795293Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8796000Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8796951Z comment = header.commentLocal, -2025-11-30T02:28:48.8797378Z ^ -2025-11-30T02:28:48.8798081Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8798882Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8799354Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8800061Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8800861Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8801588Z ^ -2025-11-30T02:28:48.8802319Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8803168Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8803661Z ^^^^^^ -2025-11-30T02:28:48.8804366Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8805147Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8805614Z ^ -2025-11-30T02:28:48.8806313Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8807338Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8807824Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8808586Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8809355Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8809845Z ^ -2025-11-30T02:28:48.8810585Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8811523Z ), -2025-11-30T02:28:48.8811853Z ^ -2025-11-30T02:28:48.8812496Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8813226Z ), -2025-11-30T02:28:48.8813513Z ^ -2025-11-30T02:28:48.8814134Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8814862Z model = Model( -2025-11-30T02:28:48.8815234Z ^^^^^ -2025-11-30T02:28:48.8815898Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8816841Z model = Model( -2025-11-30T02:28:48.8817214Z ^ -2025-11-30T02:28:48.8817861Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8818634Z model = Model( -2025-11-30T02:28:48.8819010Z ^^^^^ -2025-11-30T02:28:48.8819715Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8820441Z model = Model( -2025-11-30T02:28:48.8820775Z ^ -2025-11-30T02:28:48.8821442Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8822213Z scenes = listOf(scene), -2025-11-30T02:28:48.8822644Z ^^^^^^ -2025-11-30T02:28:48.8823316Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8824100Z scenes = listOf(scene), -2025-11-30T02:28:48.8824495Z ^ -2025-11-30T02:28:48.8825164Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8826323Z scenes = listOf(scene), -2025-11-30T02:28:48.8826932Z ^^^^^^ -2025-11-30T02:28:48.8827661Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8828381Z scenes = listOf(scene), -2025-11-30T02:28:48.8828791Z ^ -2025-11-30T02:28:48.8829466Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8830192Z scenes = listOf(scene), -2025-11-30T02:28:48.8830580Z ^^^^^ -2025-11-30T02:28:48.8831516Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8832243Z scenes = listOf(scene), -2025-11-30T02:28:48.8832627Z ^ -2025-11-30T02:28:48.8833325Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8834057Z scenes = listOf(scene), -2025-11-30T02:28:48.8834463Z ^ -2025-11-30T02:28:48.8835166Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8835867Z skins = listOf(skin), -2025-11-30T02:28:48.8836249Z ^^^^^ -2025-11-30T02:28:48.8837115Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8837839Z skins = listOf(skin), -2025-11-30T02:28:48.8838220Z ^ -2025-11-30T02:28:48.8838866Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8839586Z skins = listOf(skin), -2025-11-30T02:28:48.8839971Z ^^^^^^ -2025-11-30T02:28:48.8840649Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8841359Z skins = listOf(skin), -2025-11-30T02:28:48.8841937Z ^ -2025-11-30T02:28:48.8842600Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8843271Z skins = listOf(skin), -2025-11-30T02:28:48.8843610Z ^^^^ -2025-11-30T02:28:48.8844252Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8844985Z skins = listOf(skin), -2025-11-30T02:28:48.8845372Z ^ -2025-11-30T02:28:48.8846077Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8847006Z skins = listOf(skin), -2025-11-30T02:28:48.8847400Z ^ -2025-11-30T02:28:48.8848085Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8848897Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8849383Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8850037Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8850855Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8851344Z ^ -2025-11-30T02:28:48.8852038Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8852859Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8853338Z ^^^^ -2025-11-30T02:28:48.8854035Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8854865Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8855346Z ^ -2025-11-30T02:28:48.8856024Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8857019Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8857516Z ^^^^^^ -2025-11-30T02:28:48.8858233Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8859063Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8859785Z ^ -2025-11-30T02:28:48.8860516Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8861329Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8861868Z ^^^^^^^^^^ -2025-11-30T02:28:48.8862603Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8863432Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8863940Z ^ -2025-11-30T02:28:48.8864643Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. -2025-11-30T02:28:48.8865459Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8865963Z ^^^^^^^^^^ -2025-11-30T02:28:48.8866853Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8867739Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8868253Z ^^^^^ -2025-11-30T02:28:48.8869202Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8870455Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8871030Z ^^ -2025-11-30T02:28:48.8871681Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8872453Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8872974Z ^^^^^ -2025-11-30T02:28:48.8873665Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.8874491Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8875000Z ^^^ -2025-11-30T02:28:48.8875662Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.8876629Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8877170Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8877777Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. -2025-11-30T02:28:48.8878363Z return@mapNotNull null -2025-11-30T02:28:48.8878772Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8879417Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8880196Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8880684Z ^^^^^ -2025-11-30T02:28:48.8881381Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.8882235Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8882748Z ^^^ -2025-11-30T02:28:48.8883459Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.8884249Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8884789Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8885398Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. -2025-11-30T02:28:48.8886010Z return@mapNotNull null -2025-11-30T02:28:48.8886644Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8887367Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8888493Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8888980Z ^^^^^ -2025-11-30T02:28:48.8889960Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. -2025-11-30T02:28:48.8891059Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8891606Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8892494Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8893511Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8894048Z ^^^^^^ -2025-11-30T02:28:48.8895152Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.8896299Z fun CharSequence.isNotBlank(): Boolean -2025-11-30T02:28:48.8897061Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8897596Z ^^^^^^^^^^ -2025-11-30T02:28:48.8898672Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.8899571Z type = when (joint.type) { -2025-11-30T02:28:48.8900008Z ^^^^ -2025-11-30T02:28:48.8901119Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. -2025-11-30T02:28:48.8902275Z type = when (joint.type) { -2025-11-30T02:28:48.8902696Z ^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8903366Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8904052Z type = when (joint.type) { -2025-11-30T02:28:48.8904480Z ^^^^^ -2025-11-30T02:28:48.8905449Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.8906772Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8907351Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8908067Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8908900Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8909492Z ^^^^^^^ -2025-11-30T02:28:48.8910200Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8911023Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8911715Z ^^^^^ -2025-11-30T02:28:48.8912718Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.8913825Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8914403Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8915101Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8915918Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8916653Z ^^^^^^^ -2025-11-30T02:28:48.8917547Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8918315Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8918861Z ^^^^^ -2025-11-30T02:28:48.8919533Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8920243Z position = joint.position, -2025-11-30T02:28:48.8920669Z ^^^^^ -2025-11-30T02:28:48.8921298Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8921994Z rotation = joint.rotation, -2025-11-30T02:28:48.8922393Z ^^^^^ -2025-11-30T02:28:48.8923017Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8923722Z positionMin = joint.positionMinimum, -2025-11-30T02:28:48.8924176Z ^^^^^ -2025-11-30T02:28:48.8924827Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8925597Z positionMax = joint.positionMaximum, -2025-11-30T02:28:48.8926060Z ^^^^^ -2025-11-30T02:28:48.8927154Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8927900Z rotationMin = joint.rotationMinimum, -2025-11-30T02:28:48.8928357Z ^^^^^ -2025-11-30T02:28:48.8929005Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8929742Z rotationMax = joint.rotationMaximum, -2025-11-30T02:28:48.8930211Z ^^^^^ -2025-11-30T02:28:48.8930902Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8931652Z positionSpring = joint.positionSpring, -2025-11-30T02:28:48.8932155Z ^^^^^ -2025-11-30T02:28:48.8932835Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8933605Z rotationSpring = joint.rotationSpring, -2025-11-30T02:28:48.8934091Z ^^^^^ -2025-11-30T02:28:48.8934832Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8935584Z }, -2025-11-30T02:28:48.8935895Z ^ -2025-11-30T02:28:48.8936736Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8937525Z expressions = buildList { -2025-11-30T02:28:48.8937949Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8938664Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8939457Z expressions = buildList { -2025-11-30T02:28:48.8939875Z ^ -2025-11-30T02:28:48.8940559Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8941350Z expressions = buildList { -2025-11-30T02:28:48.8941765Z ^^^^^^^^^ -2025-11-30T02:28:48.8942498Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8943258Z expressions = buildList { -2025-11-30T02:28:48.8943669Z ^ -2025-11-30T02:28:48.8944362Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. -2025-11-30T02:28:48.8945090Z expressions = buildList { -2025-11-30T02:28:48.8945741Z ^ -2025-11-30T02:28:48.8946625Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. -2025-11-30T02:28:48.8947457Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8947971Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8948797Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8949644Z fun Array.component1(): T -2025-11-30T02:28:48.8950066Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8950485Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8950901Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8951279Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8951685Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8952112Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8952562Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8952706Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8952839Z fun List.component1(): T -2025-11-30T02:28:48.8952994Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8953144Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8953291Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8953436Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8953806Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8954033Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8954178Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8954734Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8954881Z fun Array.component2(): T -2025-11-30T02:28:48.8955030Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8955178Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8955339Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8955484Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8955635Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8955792Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8955956Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8956108Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8956238Z fun List.component2(): T -2025-11-30T02:28:48.8956584Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8956744Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8956893Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8957050Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8957205Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8957421Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8957566Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8958195Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8958372Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8958529Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8958759Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8959120Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8959288Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8959493Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8959703Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8959844Z ^^^^^^^^^ -2025-11-30T02:28:48.8960542Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. -2025-11-30T02:28:48.8960976Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8961118Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8961522Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.8961742Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8961887Z ^^^^^^^^^ -2025-11-30T02:28:48.8962332Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.8962544Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8962684Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8963050Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. -2025-11-30T02:28:48.8963197Z tag = target.tag, -2025-11-30T02:28:48.8963329Z ^^^ -2025-11-30T02:28:48.8963962Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. -2025-11-30T02:28:48.8964109Z isBinary = false, -2025-11-30T02:28:48.8964231Z ^^^^^ -2025-11-30T02:28:48.8965414Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.8966031Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8966216Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8967251Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. -2025-11-30T02:28:48.8967802Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8967983Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8968563Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8969107Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8969267Z ^^^^^^^^^^ -2025-11-30T02:28:48.8970098Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.8970390Z fun Iterable.mapNotNull(transform: (T) -> R?): List -2025-11-30T02:28:48.8970929Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8971095Z ^^^^^^^^^^ -2025-11-30T02:28:48.8971686Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8972245Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8972426Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8972993Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8973395Z fun Array.component1(): T -2025-11-30T02:28:48.8973556Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8973713Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8973873Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8974025Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8974175Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8974334Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8974508Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8974654Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8974790Z fun List.component1(): T -2025-11-30T02:28:48.8974960Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8975106Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8975255Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8975416Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8975580Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8976109Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8976311Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8977077Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8977235Z fun Array.component2(): T -2025-11-30T02:28:48.8977615Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8977793Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8977941Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8978087Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8978245Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8978402Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8978568Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8978718Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8978860Z fun List.component2(): T -2025-11-30T02:28:48.8979032Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8979179Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8979334Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8979488Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8979645Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8980180Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8980360Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8980898Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8981022Z } ?: listOf(), -2025-11-30T02:28:48.8981143Z ^^^^^^ -2025-11-30T02:28:48.8981883Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.8982036Z } ?: listOf(), -2025-11-30T02:28:48.8982168Z ^^^^^^^^ -2025-11-30T02:28:48.8982535Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. -2025-11-30T02:28:48.8982778Z pmxIndexToExpressions[target.pmxIndex] = expression -2025-11-30T02:28:48.8982925Z ^^^^^^^^ -2025-11-30T02:28:48.8983283Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.8983419Z add(expression) -2025-11-30T02:28:48.8983545Z ^^^ -2025-11-30T02:28:48.8984158Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8984330Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8984782Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8985007Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8985323Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8985495Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8985710Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8985888Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.8986016Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8986681Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. -2025-11-30T02:28:48.8986864Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.8986988Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8987398Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.8987535Z add( -2025-11-30T02:28:48.8987640Z ^^^ -2025-11-30T02:28:48.8988180Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8988417Z targets = group.items.mapNotNull { item -> -2025-11-30T02:28:48.8988795Z ^^^^ -2025-11-30T02:28:48.8989211Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. -2025-11-30T02:28:48.8989403Z val pmxMorphIndex = item.index -2025-11-30T02:28:48.8989547Z ^^^^^ -2025-11-30T02:28:48.8989956Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. -2025-11-30T02:28:48.8990132Z influence = item.influence, -2025-11-30T02:28:48.8990280Z ^^^^^^^^^ -2025-11-30T02:28:48.8990736Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8990858Z }, -2025-11-30T02:28:48.8990979Z ^ -2025-11-30T02:28:48.8991439Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8991597Z defaultScene = scene, -2025-11-30T02:28:48.8991725Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8992163Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8992307Z defaultScene = scene, -2025-11-30T02:28:48.8992430Z ^ -2025-11-30T02:28:48.8992866Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8993011Z defaultScene = scene, -2025-11-30T02:28:48.8993142Z ^^^^^ -2025-11-30T02:28:48.8993596Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8993732Z defaultScene = scene, -2025-11-30T02:28:48.8993845Z ^ -2025-11-30T02:28:48.8994307Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8994414Z ), -2025-11-30T02:28:48.8994518Z ^ -2025-11-30T02:28:48.8994965Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8995069Z ), -2025-11-30T02:28:48.8995176Z ^ -2025-11-30T02:28:48.8995622Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8995766Z animations = listOf(), -2025-11-30T02:28:48.8996109Z ^^^^^^^^^^ -2025-11-30T02:28:48.8996774Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8996929Z animations = listOf(), -2025-11-30T02:28:48.8997048Z ^ -2025-11-30T02:28:48.8997507Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8997670Z animations = listOf(), -2025-11-30T02:28:48.8997788Z ^^^^^^ -2025-11-30T02:28:48.8998249Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8998393Z animations = listOf(), -2025-11-30T02:28:48.8998523Z ^ -2025-11-30T02:28:48.8998970Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8999120Z animations = listOf(), -2025-11-30T02:28:48.8999266Z ^ -2025-11-30T02:28:48.8999711Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8999858Z animations = listOf(), -2025-11-30T02:28:48.8999991Z ^ -2025-11-30T02:28:48.9000441Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9000779Z ) -2025-11-30T02:28:48.9000898Z ^ -2025-11-30T02:28:48.9001394Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9001502Z } -2025-11-30T02:28:48.9001605Z ^ -2025-11-30T02:28:48.9002175Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. -2025-11-30T02:28:48.9002384Z override fun load(path: Path, basePath: Path) = -2025-11-30T02:28:48.9002493Z ^^^^^^^^ -2025-11-30T02:28:48.9003049Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9003360Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> -2025-11-30T02:28:48.9003500Z ^^^ -2025-11-30T02:28:48.9003899Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. -2025-11-30T02:28:48.9004072Z val context = Context(basePath) -2025-11-30T02:28:48.9004191Z ^^^^^^^ -2025-11-30T02:28:48.9004674Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9004790Z } -2025-11-30T02:28:48.9004891Z ^ -2025-11-30T02:28:48.9005039Z Nov 30, 2025 2:28:48 AM worker request 0 -2025-11-30T02:28:48.9005238Z SEVERE: Compilation failure: compile phase failed: -2025-11-30T02:28:48.9005841Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: -2025-11-30T02:28:48.9006151Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult -2025-11-30T02:28:48.9006312Z class PmxLoader : ModelFileLoader { -2025-11-30T02:28:48.9006630Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9007047Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. -2025-11-30T02:28:48.9007239Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9007385Z ^^^^^^^^^ -2025-11-30T02:28:48.9007795Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9007984Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9008126Z ^^^^^^^^^ -2025-11-30T02:28:48.9008798Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9009252Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9009400Z ^ -2025-11-30T02:28:48.9009850Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. -2025-11-30T02:28:48.9010065Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9010213Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9010635Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9010842Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9010992Z ^^^^^^^^^ -2025-11-30T02:28:48.9011669Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9011884Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9012030Z ^ -2025-11-30T02:28:48.9012459Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. -2025-11-30T02:28:48.9012655Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9012963Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9013366Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9013570Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9013710Z ^^^^^^^^^ -2025-11-30T02:28:48.9014363Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9014572Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9014710Z ^ -2025-11-30T02:28:48.9015088Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. -2025-11-30T02:28:48.9015256Z mass = rigidBody.mass, -2025-11-30T02:28:48.9015385Z ^^^^ -2025-11-30T02:28:48.9015781Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9015938Z mass = rigidBody.mass, -2025-11-30T02:28:48.9016065Z ^^^^^^^^^ -2025-11-30T02:28:48.9016907Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9017061Z mass = rigidBody.mass, -2025-11-30T02:28:48.9017200Z ^ -2025-11-30T02:28:48.9017625Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. -2025-11-30T02:28:48.9017841Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9017976Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9018365Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9018582Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9018723Z ^^^^^^^^^ -2025-11-30T02:28:48.9019360Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9019572Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9019918Z ^ -2025-11-30T02:28:48.9020371Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. -2025-11-30T02:28:48.9020597Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9020735Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9021148Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9021367Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9021514Z ^^^^^^^^^ -2025-11-30T02:28:48.9022174Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9022384Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9022535Z ^ -2025-11-30T02:28:48.9022941Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. -2025-11-30T02:28:48.9023116Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9023236Z ^^^^^^^^^ -2025-11-30T02:28:48.9023784Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9023962Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9024091Z ^^^^^^^^^ -2025-11-30T02:28:48.9024742Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9024921Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9025071Z ^ -2025-11-30T02:28:48.9025497Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. -2025-11-30T02:28:48.9025693Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9025819Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9026227Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9026599Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9026741Z ^^^^^^^^^ -2025-11-30T02:28:48.9027385Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9027581Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9027725Z ^ -2025-11-30T02:28:48.9028135Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. -2025-11-30T02:28:48.9028349Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9028476Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9028991Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.9029209Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9029335Z ^^^^ -2025-11-30T02:28:48.9029718Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9029922Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9030053Z ^^^^^^^^^ -2025-11-30T02:28:48.9030968Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9031096Z }, -2025-11-30T02:28:48.9031210Z ^ -2025-11-30T02:28:48.9031619Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9031738Z ) -2025-11-30T02:28:48.9031855Z ^ -2025-11-30T02:28:48.9032507Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9032626Z }, -2025-11-30T02:28:48.9032739Z ^ -2025-11-30T02:28:48.9033161Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9033325Z ) -2025-11-30T02:28:48.9033436Z ^ -2025-11-30T02:28:48.9033836Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9033947Z ) -2025-11-30T02:28:48.9034055Z ^ -2025-11-30T02:28:48.9034639Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. -2025-11-30T02:28:48.9034754Z } -2025-11-30T02:28:48.9034857Z ^ -2025-11-30T02:28:48.9035220Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. -2025-11-30T02:28:48.9035327Z } -2025-11-30T02:28:48.9035432Z ^ -2025-11-30T02:28:48.9035883Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9036016Z return Node( -2025-11-30T02:28:48.9036123Z ^^^^^^ -2025-11-30T02:28:48.9036758Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9036889Z return Node( -2025-11-30T02:28:48.9036999Z ^^^^ -2025-11-30T02:28:48.9037435Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9037555Z return Node( -2025-11-30T02:28:48.9037670Z ^ -2025-11-30T02:28:48.9038097Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9038236Z name = bone.nameLocal, -2025-11-30T02:28:48.9038354Z ^^^^ -2025-11-30T02:28:48.9038805Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9038961Z name = bone.nameLocal, -2025-11-30T02:28:48.9039087Z ^ -2025-11-30T02:28:48.9039544Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9039701Z name = bone.nameLocal, -2025-11-30T02:28:48.9039829Z ^^^^ -2025-11-30T02:28:48.9040277Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9040424Z name = bone.nameLocal, -2025-11-30T02:28:48.9040553Z ^ -2025-11-30T02:28:48.9041014Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9041159Z name = bone.nameLocal, -2025-11-30T02:28:48.9041276Z ^^^^^^^^^ -2025-11-30T02:28:48.9041724Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9041864Z name = bone.nameLocal, -2025-11-30T02:28:48.9041984Z ^ -2025-11-30T02:28:48.9042694Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9042828Z id = boneNodeId, -2025-11-30T02:28:48.9042940Z ^^ -2025-11-30T02:28:48.9043385Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9043542Z id = boneNodeId, -2025-11-30T02:28:48.9043983Z ^ -2025-11-30T02:28:48.9044537Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9044728Z id = boneNodeId, -2025-11-30T02:28:48.9044903Z ^^^^^^^^^^ -2025-11-30T02:28:48.9045468Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9045627Z id = boneNodeId, -2025-11-30T02:28:48.9045892Z ^ -2025-11-30T02:28:48.9046718Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9046962Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9047128Z ^^^^^^^^^ -2025-11-30T02:28:48.9047747Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9047964Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9048438Z ^ -2025-11-30T02:28:48.9049056Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9049298Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9049475Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9049977Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9050254Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9050552Z ^ -2025-11-30T02:28:48.9051106Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9051560Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9051758Z ^^^^^^^^^^ -2025-11-30T02:28:48.9052265Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9052530Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9052838Z ^ -2025-11-30T02:28:48.9053367Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9053718Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9053891Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9054403Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9054702Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9055009Z ^ -2025-11-30T02:28:48.9055544Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9055824Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9056115Z ^^^^^^^^ -2025-11-30T02:28:48.9056838Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9057117Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9057442Z ^ -2025-11-30T02:28:48.9057980Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9058488Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9058720Z ^ -2025-11-30T02:28:48.9059240Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9059526Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9059861Z ^ -2025-11-30T02:28:48.9060493Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9060786Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9060976Z ^^^ -2025-11-30T02:28:48.9061575Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9061863Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9062048Z ^ -2025-11-30T02:28:48.9062807Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9063086Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9063263Z ^^^^ -2025-11-30T02:28:48.9064037Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9064329Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9064495Z ^ -2025-11-30T02:28:48.9065238Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9065518Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9065726Z ^^^^^^^^ -2025-11-30T02:28:48.9066309Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9066799Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9066978Z ^ -2025-11-30T02:28:48.9067687Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9067974Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9068144Z ^ -2025-11-30T02:28:48.9082295Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9082537Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9082682Z ^^^^ -2025-11-30T02:28:48.9083181Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9083402Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9083541Z ^ -2025-11-30T02:28:48.9083965Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. -2025-11-30T02:28:48.9084184Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9084325Z ^ -2025-11-30T02:28:48.9084762Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.9084935Z if (parentPosition != null) { -2025-11-30T02:28:48.9085066Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9085457Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. -2025-11-30T02:28:48.9085835Z it.sub(parentPosition) -2025-11-30T02:28:48.9085961Z ^^^ -2025-11-30T02:28:48.9086605Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.9086778Z it.sub(parentPosition) -2025-11-30T02:28:48.9086864Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9087144Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9087242Z }, -2025-11-30T02:28:48.9087305Z ^ -2025-11-30T02:28:48.9087569Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9087658Z rotation = Quaternionf(), -2025-11-30T02:28:48.9087725Z ^^^^^^^^ -2025-11-30T02:28:48.9087983Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9088077Z rotation = Quaternionf(), -2025-11-30T02:28:48.9088145Z ^ -2025-11-30T02:28:48.9088498Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9088593Z rotation = Quaternionf(), -2025-11-30T02:28:48.9088821Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9089079Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089164Z rotation = Quaternionf(), -2025-11-30T02:28:48.9089237Z ^ -2025-11-30T02:28:48.9089479Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089558Z rotation = Quaternionf(), -2025-11-30T02:28:48.9089635Z ^ -2025-11-30T02:28:48.9089874Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089956Z rotation = Quaternionf(), -2025-11-30T02:28:48.9090030Z ^ -2025-11-30T02:28:48.9090274Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9090357Z scale = Vector3f(1f), -2025-11-30T02:28:48.9090429Z ^^^^^ -2025-11-30T02:28:48.9090666Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9090743Z scale = Vector3f(1f), -2025-11-30T02:28:48.9090809Z ^ -2025-11-30T02:28:48.9091049Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091123Z scale = Vector3f(1f), -2025-11-30T02:28:48.9091195Z ^^^^^^^^ -2025-11-30T02:28:48.9091432Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091505Z scale = Vector3f(1f), -2025-11-30T02:28:48.9091572Z ^ -2025-11-30T02:28:48.9091812Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091932Z scale = Vector3f(1f), -2025-11-30T02:28:48.9092051Z ^^ -2025-11-30T02:28:48.9092484Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9092626Z scale = Vector3f(1f), -2025-11-30T02:28:48.9092745Z ^ -2025-11-30T02:28:48.9093494Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9093899Z scale = Vector3f(1f), -2025-11-30T02:28:48.9094018Z ^ -2025-11-30T02:28:48.9094457Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9094579Z ), -2025-11-30T02:28:48.9094685Z ^ -2025-11-30T02:28:48.9095115Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9095222Z ), -2025-11-30T02:28:48.9095328Z ^ -2025-11-30T02:28:48.9095699Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9095785Z children = children, -2025-11-30T02:28:48.9095858Z ^^^^^^^^ -2025-11-30T02:28:48.9096234Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9096361Z children = children, -2025-11-30T02:28:48.9096635Z ^ -2025-11-30T02:28:48.9096885Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9096961Z children = children, -2025-11-30T02:28:48.9097028Z ^^^^^^^^ -2025-11-30T02:28:48.9097435Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9097513Z children = children, -2025-11-30T02:28:48.9097578Z ^ -2025-11-30T02:28:48.9097819Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9097906Z components = components, -2025-11-30T02:28:48.9097970Z ^^^^^^^^^^ -2025-11-30T02:28:48.9098233Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9098323Z components = components, -2025-11-30T02:28:48.9098389Z ^ -2025-11-30T02:28:48.9098634Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9098722Z components = components, -2025-11-30T02:28:48.9098791Z ^^^^^^^^^^ -2025-11-30T02:28:48.9099035Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099118Z components = components, -2025-11-30T02:28:48.9099184Z ^ -2025-11-30T02:28:48.9099427Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099494Z ) -2025-11-30T02:28:48.9099552Z ^ -2025-11-30T02:28:48.9099797Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099888Z rootBones.forEach { index -> -2025-11-30T02:28:48.9099954Z ^^^^^^^^^ -2025-11-30T02:28:48.9100193Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9100273Z rootBones.forEach { index -> -2025-11-30T02:28:48.9100341Z ^ -2025-11-30T02:28:48.9100579Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9100659Z rootBones.forEach { index -> -2025-11-30T02:28:48.9100729Z ^^^^^^^ -2025-11-30T02:28:48.9100965Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9101044Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101109Z ^ -2025-11-30T02:28:48.9101345Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. -2025-11-30T02:28:48.9101547Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101613Z ^^^^^^^^^^ -2025-11-30T02:28:48.9101830Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. -2025-11-30T02:28:48.9101910Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101977Z ^^^^^ -2025-11-30T02:28:48.9102354Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9102434Z rootBones.forEach { index -> -2025-11-30T02:28:48.9102497Z ^^ -2025-11-30T02:28:48.9102719Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9102811Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9102874Z ^^^^^^^^^ -2025-11-30T02:28:48.9103090Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. -2025-11-30T02:28:48.9103181Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9103247Z ^^^^^^^ -2025-11-30T02:28:48.9103451Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. -2025-11-30T02:28:48.9103537Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9103607Z ^^^^^ -2025-11-30T02:28:48.9103887Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. -2025-11-30T02:28:48.9103973Z var nextNodeIndex = bones.size -2025-11-30T02:28:48.9104041Z ^^^^^ -2025-11-30T02:28:48.9104281Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9104369Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9104434Z ^^^ -2025-11-30T02:28:48.9104672Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9104759Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9104825Z ^ -2025-11-30T02:28:48.9105059Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105142Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105209Z ^^^^^^^^^ -2025-11-30T02:28:48.9105450Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105532Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105600Z ^^^^^ -2025-11-30T02:28:48.9105841Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105922Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105990Z ^ -2025-11-30T02:28:48.9106223Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9106307Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9106585Z ^^^^^^^ -2025-11-30T02:28:48.9106858Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9106950Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9107024Z ^ -2025-11-30T02:28:48.9107409Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9107550Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9107656Z ^ -2025-11-30T02:28:48.9108021Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. -2025-11-30T02:28:48.9108167Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9108287Z ^ -2025-11-30T02:28:48.9108839Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. -2025-11-30T02:28:48.9108980Z val bone = bones[boneIndex] -2025-11-30T02:28:48.9109102Z ^^^^^ -2025-11-30T02:28:48.9109424Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.9109508Z val bone = bones[boneIndex] -2025-11-30T02:28:48.9109587Z ^^^^^^^^^ -2025-11-30T02:28:48.9109804Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9109901Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.9109972Z ^^^^^^^ -2025-11-30T02:28:48.9110184Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.9110271Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.9110351Z ^^^^^^^^^ -2025-11-30T02:28:48.9110572Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. -2025-11-30T02:28:48.9110775Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() -2025-11-30T02:28:48.9110860Z ^^^^^^^^ -2025-11-30T02:28:48.9111209Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.9111339Z HumanoidTag.fromPmxJapanese(bone.nameLocal) -2025-11-30T02:28:48.9111420Z ^^^^^^^^^ -2025-11-30T02:28:48.9111657Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.9111783Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) -2025-11-30T02:28:48.9111866Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9112120Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.9112373Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() -2025-11-30T02:28:48.9112463Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9112711Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9112858Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9112919Z ^^^ -2025-11-30T02:28:48.9113160Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9113300Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9113361Z ^ -2025-11-30T02:28:48.9113598Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9113737Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9113798Z ^ -2025-11-30T02:28:48.9114033Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9114168Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9114237Z ^^^^^^^^^^ -2025-11-30T02:28:48.9114471Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9114600Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9114671Z ^ -2025-11-30T02:28:48.9114907Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9115035Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9115220Z ^^^^^^^^^ -2025-11-30T02:28:48.9115456Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9115585Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9115658Z ^ -2025-11-30T02:28:48.9115892Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9116025Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9116109Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9116345Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9116721Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9116802Z ^ -2025-11-30T02:28:48.9117066Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9117211Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9117294Z ^^^^^^^^^ -2025-11-30T02:28:48.9117539Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9117793Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9117878Z ^ -2025-11-30T02:28:48.9118119Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9118256Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9118339Z ^ -2025-11-30T02:28:48.9118584Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9118720Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9118801Z ^ -2025-11-30T02:28:48.9119038Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9119175Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9119260Z ^ -2025-11-30T02:28:48.9119491Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. -2025-11-30T02:28:48.9119627Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9119701Z ^ -2025-11-30T02:28:48.9119921Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. -2025-11-30T02:28:48.9120277Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.9120369Z ^^^^^^^^^^ -2025-11-30T02:28:48.9120708Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList -2025-11-30T02:28:48.9121018Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.9121111Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9121341Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. -2025-11-30T02:28:48.9121462Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9121541Z ^^^^^^^^^ -2025-11-30T02:28:48.9121838Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9122050Z fun Array.component1(): T -2025-11-30T02:28:48.9122138Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9122221Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9122303Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9122388Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9122471Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9122554Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9122648Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9122726Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9122806Z fun List.component1(): T -2025-11-30T02:28:48.9122897Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9122979Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9123059Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9123138Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9123229Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9123346Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9123428Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9123734Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9123812Z fun Array.component2(): T -2025-11-30T02:28:48.9123971Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9124053Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9124136Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9124213Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9124294Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9124379Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9124464Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9124541Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9124614Z fun List.component2(): T -2025-11-30T02:28:48.9124711Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9124788Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9124867Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9124950Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9125034Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9125144Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9125223Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9125579Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9125678Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9125769Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9125896Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9126092Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9126187Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9126304Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9126599Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9126679Z ^^^^ -2025-11-30T02:28:48.9126935Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.9127170Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) -2025-11-30T02:28:48.9127249Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9127501Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9127658Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9127725Z ^^^^^^^^^ -2025-11-30T02:28:48.9127967Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9128244Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9128306Z ^ -2025-11-30T02:28:48.9128563Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9128710Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9128779Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9129024Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9129168Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9129236Z ^ -2025-11-30T02:28:48.9129469Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. -2025-11-30T02:28:48.9129604Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9129687Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9129921Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9130058Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9130139Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9130610Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9130750Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9130833Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9131044Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. -2025-11-30T02:28:48.9131134Z val nodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.9131207Z ^^ -2025-11-30T02:28:48.9131426Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9131521Z val nodeId = NodeId(modelId, nodeIndex) -2025-11-30T02:28:48.9131590Z ^^^^^^^ -2025-11-30T02:28:48.9131805Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9131896Z val meshId = MeshId(modelId, nodeIndex) -2025-11-30T02:28:48.9131966Z ^^^^^^^ -2025-11-30T02:28:48.9132199Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9132302Z materialToMeshIds[materialIndex] = meshId -2025-11-30T02:28:48.9132371Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9132602Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9132759Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.9132836Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9133010Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. -2025-11-30T02:28:48.9133169Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.9133249Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9133551Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9133698Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.9133777Z ^^^^^^ -2025-11-30T02:28:48.9134081Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9134216Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.9134375Z ^ -2025-11-30T02:28:48.9134778Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. -2025-11-30T02:28:48.9134868Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.9134939Z ^^ -2025-11-30T02:28:48.9135157Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. -2025-11-30T02:28:48.9135239Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.9135313Z ^^^^^^^^ -2025-11-30T02:28:48.9135611Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9135678Z }?.let { -2025-11-30T02:28:48.9135741Z ^^^ -2025-11-30T02:28:48.9136023Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.9136091Z }?.let { -2025-11-30T02:28:48.9136153Z ^^^ -2025-11-30T02:28:48.9136620Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. -2025-11-30T02:28:48.9136691Z }?.let { -2025-11-30T02:28:48.9136752Z ^^^ -2025-11-30T02:28:48.9137165Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9137236Z }?.let { -2025-11-30T02:28:48.9137298Z ^ -2025-11-30T02:28:48.9137514Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. -2025-11-30T02:28:48.9137608Z textures.getOrNull(it) -2025-11-30T02:28:48.9137673Z ^^^^^^^^ -2025-11-30T02:28:48.9137971Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9138045Z }?.let { -2025-11-30T02:28:48.9138110Z ^^^ -2025-11-30T02:28:48.9138382Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.9138446Z }?.let { -2025-11-30T02:28:48.9138512Z ^^^ -2025-11-30T02:28:48.9138802Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9138864Z }?.let { -2025-11-30T02:28:48.9138930Z ^ -2025-11-30T02:28:48.9139149Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9139220Z rootNodes.add( -2025-11-30T02:28:48.9139286Z ^^^^^^^^^ -2025-11-30T02:28:48.9139512Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9139633Z attributes = materialData.vertexAttributes, -2025-11-30T02:28:48.9139717Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9139942Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9140066Z bufferView = materialData.indexBufferView, -2025-11-30T02:28:48.9140149Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9140389Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. -2025-11-30T02:28:48.9140494Z componentType = indexBufferType, -2025-11-30T02:28:48.9140579Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9140811Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9141064Z targets = materialMorphMap[materialIndex] ?: listOf(), -2025-11-30T02:28:48.9141148Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9141361Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. -2025-11-30T02:28:48.9141457Z val cameraNodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.9141526Z ^^ -2025-11-30T02:28:48.9141775Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9141844Z rootNodes.add( -2025-11-30T02:28:48.9141905Z ^^^^^^^^^ -2025-11-30T02:28:48.9142145Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142220Z rootNodes.add( -2025-11-30T02:28:48.9142281Z ^ -2025-11-30T02:28:48.9142520Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142595Z rootNodes.add( -2025-11-30T02:28:48.9142657Z ^^^ -2025-11-30T02:28:48.9142894Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142960Z rootNodes.add( -2025-11-30T02:28:48.9143138Z ^ -2025-11-30T02:28:48.9143376Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9143440Z Node( -2025-11-30T02:28:48.9143505Z ^^^^ -2025-11-30T02:28:48.9143743Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9143804Z Node( -2025-11-30T02:28:48.9143866Z ^ -2025-11-30T02:28:48.9144103Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144183Z name = "MMD Camera", -2025-11-30T02:28:48.9144246Z ^^^^ -2025-11-30T02:28:48.9144489Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144562Z name = "MMD Camera", -2025-11-30T02:28:48.9144624Z ^ -2025-11-30T02:28:48.9144868Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144939Z name = "MMD Camera", -2025-11-30T02:28:48.9145002Z ^ -2025-11-30T02:28:48.9145450Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9145527Z name = "MMD Camera", -2025-11-30T02:28:48.9145594Z ^^^^^^^^^^ -2025-11-30T02:28:48.9145844Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9145925Z name = "MMD Camera", -2025-11-30T02:28:48.9145991Z ^ -2025-11-30T02:28:48.9146313Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9146570Z name = "MMD Camera", -2025-11-30T02:28:48.9146676Z ^ -2025-11-30T02:28:48.9147080Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9147240Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9147332Z ^^ -2025-11-30T02:28:48.9147663Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9147760Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9147828Z ^ -2025-11-30T02:28:48.9148219Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9148311Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9148382Z ^^^^^^ -2025-11-30T02:28:48.9148617Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9148706Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9148781Z ^ -2025-11-30T02:28:48.9149017Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149106Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149173Z ^^^^^^^ -2025-11-30T02:28:48.9149412Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149508Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149578Z ^ -2025-11-30T02:28:48.9149824Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149917Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149994Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9150343Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9150436Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9150511Z ^ -2025-11-30T02:28:48.9150838Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9150995Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9151111Z ^ -2025-11-30T02:28:48.9151548Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9151699Z components = listOf( -2025-11-30T02:28:48.9151808Z ^^^^^^^^^^ -2025-11-30T02:28:48.9152237Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9152377Z components = listOf( -2025-11-30T02:28:48.9152490Z ^ -2025-11-30T02:28:48.9152939Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9153079Z components = listOf( -2025-11-30T02:28:48.9153196Z ^^^^^^ -2025-11-30T02:28:48.9153647Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9153776Z components = listOf( -2025-11-30T02:28:48.9153897Z ^ -2025-11-30T02:28:48.9154320Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9154492Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9154610Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9155010Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9155177Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9155300Z ^ -2025-11-30T02:28:48.9155708Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9155879Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9156002Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9156680Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9156849Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9157172Z ^ -2025-11-30T02:28:48.9157612Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9157776Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9157888Z ^^^^^^ -2025-11-30T02:28:48.9158341Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9158491Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9158604Z ^ -2025-11-30T02:28:48.9159017Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9159168Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9159278Z ^^^ -2025-11-30T02:28:48.9159698Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9159865Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9159978Z ^ -2025-11-30T02:28:48.9160389Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9160537Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9160833Z ^^^^ -2025-11-30T02:28:48.9161261Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9161412Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9161530Z ^ -2025-11-30T02:28:48.9161952Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9162090Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9162221Z ^ -2025-11-30T02:28:48.9162606Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9162751Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9162875Z ^^^^^^^^^^ -2025-11-30T02:28:48.9163278Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9163433Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9163568Z ^ -2025-11-30T02:28:48.9163968Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9164113Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9164250Z ^ -2025-11-30T02:28:48.9164633Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9164744Z ) -2025-11-30T02:28:48.9164848Z ^ -2025-11-30T02:28:48.9165298Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9165405Z ) -2025-11-30T02:28:48.9165501Z ^ -2025-11-30T02:28:48.9165931Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9166036Z ) -2025-11-30T02:28:48.9166134Z ^ -2025-11-30T02:28:48.9166800Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9166921Z ) -2025-11-30T02:28:48.9167015Z ^ -2025-11-30T02:28:48.9167374Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9167515Z val scene = Scene(nodes = rootNodes) -2025-11-30T02:28:48.9167860Z ^^^^^^^^^ -2025-11-30T02:28:48.9168254Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9168415Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9168510Z ^^^^^^ -2025-11-30T02:28:48.9168876Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9169027Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9169135Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9169521Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9169681Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9169806Z ^ -2025-11-30T02:28:48.9170240Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9170391Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9170517Z ^^^^^^^^^^ -2025-11-30T02:28:48.9170941Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9171107Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9171227Z ^ -2025-11-30T02:28:48.9171837Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9171997Z metadata = Metadata( -2025-11-30T02:28:48.9172110Z ^^^^^^^^ -2025-11-30T02:28:48.9172515Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9172630Z metadata = Metadata( -2025-11-30T02:28:48.9172727Z ^ -2025-11-30T02:28:48.9173106Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9173230Z metadata = Metadata( -2025-11-30T02:28:48.9173330Z ^^^^^^^^ -2025-11-30T02:28:48.9173705Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9173823Z metadata = Metadata( -2025-11-30T02:28:48.9173925Z ^ -2025-11-30T02:28:48.9174327Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9174503Z title = header.modelNameLocal, -2025-11-30T02:28:48.9174597Z ^^^^^ -2025-11-30T02:28:48.9174846Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9174939Z title = header.modelNameLocal, -2025-11-30T02:28:48.9175031Z ^ -2025-11-30T02:28:48.9175458Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9175617Z title = header.modelNameLocal, -2025-11-30T02:28:48.9175735Z ^^^^^^ -2025-11-30T02:28:48.9176159Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9176322Z title = header.modelNameLocal, -2025-11-30T02:28:48.9176620Z ^ -2025-11-30T02:28:48.9177047Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9177197Z title = header.modelNameLocal, -2025-11-30T02:28:48.9177322Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9177734Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9177890Z title = header.modelNameLocal, -2025-11-30T02:28:48.9178007Z ^ -2025-11-30T02:28:48.9178646Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9178843Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9178952Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9179388Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9179598Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9179698Z ^ -2025-11-30T02:28:48.9180058Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9180215Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9180318Z ^^^^^^ -2025-11-30T02:28:48.9180703Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9180889Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9181021Z ^ -2025-11-30T02:28:48.9181443Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9181653Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9181784Z ^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9182406Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9182626Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9182757Z ^ -2025-11-30T02:28:48.9183203Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9183369Z comment = header.commentLocal, -2025-11-30T02:28:48.9183479Z ^^^^^^^ -2025-11-30T02:28:48.9183908Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9184066Z comment = header.commentLocal, -2025-11-30T02:28:48.9184177Z ^ -2025-11-30T02:28:48.9184596Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9184753Z comment = header.commentLocal, -2025-11-30T02:28:48.9184889Z ^^^^^^ -2025-11-30T02:28:48.9185320Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9185458Z comment = header.commentLocal, -2025-11-30T02:28:48.9185559Z ^ -2025-11-30T02:28:48.9185953Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9186084Z comment = header.commentLocal, -2025-11-30T02:28:48.9186217Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9186867Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9187026Z comment = header.commentLocal, -2025-11-30T02:28:48.9187139Z ^ -2025-11-30T02:28:48.9187621Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9187807Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9187919Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9188334Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9188525Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9188647Z ^ -2025-11-30T02:28:48.9189068Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9189462Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9189591Z ^^^^^^ -2025-11-30T02:28:48.9190033Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9190223Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9190356Z ^ -2025-11-30T02:28:48.9190760Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9190929Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9191043Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9191421Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9191584Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9191696Z ^ -2025-11-30T02:28:48.9192069Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9192181Z ), -2025-11-30T02:28:48.9192285Z ^ -2025-11-30T02:28:48.9192702Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9193014Z ), -2025-11-30T02:28:48.9193130Z ^ -2025-11-30T02:28:48.9193563Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9193684Z model = Model( -2025-11-30T02:28:48.9193799Z ^^^^^ -2025-11-30T02:28:48.9194203Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9194320Z model = Model( -2025-11-30T02:28:48.9194428Z ^ -2025-11-30T02:28:48.9194863Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9194980Z model = Model( -2025-11-30T02:28:48.9195089Z ^^^^^ -2025-11-30T02:28:48.9195495Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9195614Z model = Model( -2025-11-30T02:28:48.9195730Z ^ -2025-11-30T02:28:48.9196176Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9196298Z scenes = listOf(scene), -2025-11-30T02:28:48.9196591Z ^^^^^^ -2025-11-30T02:28:48.9197017Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9197145Z scenes = listOf(scene), -2025-11-30T02:28:48.9197253Z ^ -2025-11-30T02:28:48.9197693Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9197834Z scenes = listOf(scene), -2025-11-30T02:28:48.9197948Z ^^^^^^ -2025-11-30T02:28:48.9198383Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9198534Z scenes = listOf(scene), -2025-11-30T02:28:48.9198658Z ^ -2025-11-30T02:28:48.9199061Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9199183Z scenes = listOf(scene), -2025-11-30T02:28:48.9199281Z ^^^^^ -2025-11-30T02:28:48.9199653Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9199764Z scenes = listOf(scene), -2025-11-30T02:28:48.9199865Z ^ -2025-11-30T02:28:48.9200480Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9200617Z scenes = listOf(scene), -2025-11-30T02:28:48.9200736Z ^ -2025-11-30T02:28:48.9201173Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9201309Z skins = listOf(skin), -2025-11-30T02:28:48.9201421Z ^^^^^ -2025-11-30T02:28:48.9201831Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9201963Z skins = listOf(skin), -2025-11-30T02:28:48.9202059Z ^ -2025-11-30T02:28:48.9202481Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9202612Z skins = listOf(skin), -2025-11-30T02:28:48.9202739Z ^^^^^^ -2025-11-30T02:28:48.9203181Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9203311Z skins = listOf(skin), -2025-11-30T02:28:48.9203419Z ^ -2025-11-30T02:28:48.9203835Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9204140Z skins = listOf(skin), -2025-11-30T02:28:48.9204258Z ^^^^ -2025-11-30T02:28:48.9204706Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9204825Z skins = listOf(skin), -2025-11-30T02:28:48.9204931Z ^ -2025-11-30T02:28:48.9205352Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9205494Z skins = listOf(skin), -2025-11-30T02:28:48.9205623Z ^ -2025-11-30T02:28:48.9206051Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9206305Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9206600Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9207059Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9207310Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9207430Z ^ -2025-11-30T02:28:48.9207854Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9208066Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9208182Z ^^^^ -2025-11-30T02:28:48.9208603Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9208833Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9208958Z ^ -2025-11-30T02:28:48.9209382Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9209608Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9209742Z ^^^^^^ -2025-11-30T02:28:48.9210173Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9210391Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9210511Z ^ -2025-11-30T02:28:48.9210944Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9211143Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9211494Z ^^^^^^^^^^ -2025-11-30T02:28:48.9211920Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9212127Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9212273Z ^ -2025-11-30T02:28:48.9212698Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. -2025-11-30T02:28:48.9212925Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9213061Z ^^^^^^^^^^ -2025-11-30T02:28:48.9213430Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9213649Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9213804Z ^^^^^ -2025-11-30T02:28:48.9214436Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9214656Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9214786Z ^^ -2025-11-30T02:28:48.9215361Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9215615Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9215739Z ^^^^^ -2025-11-30T02:28:48.9216163Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.9216683Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9216828Z ^^^ -2025-11-30T02:28:48.9217240Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.9217467Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9217592Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9217879Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. -2025-11-30T02:28:48.9218019Z return@mapNotNull null -2025-11-30T02:28:48.9218141Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9218510Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9218721Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9218836Z ^^^^^ -2025-11-30T02:28:48.9219263Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.9219490Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9219633Z ^^^ -2025-11-30T02:28:48.9220030Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.9220241Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9220391Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9220701Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. -2025-11-30T02:28:48.9220856Z return@mapNotNull null -2025-11-30T02:28:48.9220982Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9221348Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9221588Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9221684Z ^^^^^ -2025-11-30T02:28:48.9222558Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. -2025-11-30T02:28:48.9222751Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9222867Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9223348Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9223535Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9223649Z ^^^^^^ -2025-11-30T02:28:48.9224338Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.9224478Z fun CharSequence.isNotBlank(): Boolean -2025-11-30T02:28:48.9224668Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9224790Z ^^^^^^^^^^ -2025-11-30T02:28:48.9225272Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.9225423Z type = when (joint.type) { -2025-11-30T02:28:48.9225705Z ^^^^ -2025-11-30T02:28:48.9226744Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. -2025-11-30T02:28:48.9226904Z type = when (joint.type) { -2025-11-30T02:28:48.9227023Z ^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9227388Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9227519Z type = when (joint.type) { -2025-11-30T02:28:48.9227638Z ^^^^^ -2025-11-30T02:28:48.9228261Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.9228511Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9228659Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9229040Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9229280Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9229411Z ^^^^^^^ -2025-11-30T02:28:48.9229782Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9230023Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9230162Z ^^^^^ -2025-11-30T02:28:48.9230826Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.9231089Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9231250Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9231641Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9231900Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9232037Z ^^^^^^^ -2025-11-30T02:28:48.9232415Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9232680Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9233089Z ^^^^^ -2025-11-30T02:28:48.9233441Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9233608Z position = joint.position, -2025-11-30T02:28:48.9233731Z ^^^^^ -2025-11-30T02:28:48.9234113Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9234274Z rotation = joint.rotation, -2025-11-30T02:28:48.9234401Z ^^^^^ -2025-11-30T02:28:48.9234771Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9234959Z positionMin = joint.positionMinimum, -2025-11-30T02:28:48.9235094Z ^^^^^ -2025-11-30T02:28:48.9235561Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9235737Z positionMax = joint.positionMaximum, -2025-11-30T02:28:48.9235846Z ^^^^^ -2025-11-30T02:28:48.9236194Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9236365Z rotationMin = joint.rotationMinimum, -2025-11-30T02:28:48.9236917Z ^^^^^ -2025-11-30T02:28:48.9237286Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9237463Z rotationMax = joint.rotationMaximum, -2025-11-30T02:28:48.9237578Z ^^^^^ -2025-11-30T02:28:48.9237934Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9238123Z positionSpring = joint.positionSpring, -2025-11-30T02:28:48.9238248Z ^^^^^ -2025-11-30T02:28:48.9238582Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9238750Z rotationSpring = joint.rotationSpring, -2025-11-30T02:28:48.9238866Z ^^^^^ -2025-11-30T02:28:48.9239286Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9239416Z }, -2025-11-30T02:28:48.9239521Z ^ -2025-11-30T02:28:48.9239960Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9240127Z expressions = buildList { -2025-11-30T02:28:48.9240253Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9240643Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9240787Z expressions = buildList { -2025-11-30T02:28:48.9240911Z ^ -2025-11-30T02:28:48.9241353Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9241509Z expressions = buildList { -2025-11-30T02:28:48.9241630Z ^^^^^^^^^ -2025-11-30T02:28:48.9242057Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9242204Z expressions = buildList { -2025-11-30T02:28:48.9242326Z ^ -2025-11-30T02:28:48.9242719Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. -2025-11-30T02:28:48.9242856Z expressions = buildList { -2025-11-30T02:28:48.9242966Z ^ -2025-11-30T02:28:48.9243373Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. -2025-11-30T02:28:48.9243828Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9243965Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9244482Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9244640Z fun Array.component1(): T -2025-11-30T02:28:48.9244792Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9244952Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9245109Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9245241Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9245365Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9245507Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9245672Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9245813Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9245948Z fun List.component1(): T -2025-11-30T02:28:48.9246115Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9246269Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9246612Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9246762Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9246931Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9247148Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9247512Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9248052Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9248192Z fun Array.component2(): T -2025-11-30T02:28:48.9248340Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9248491Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9248630Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9248768Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9248907Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9249068Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9249230Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9249380Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9249526Z fun List.component2(): T -2025-11-30T02:28:48.9249679Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9249820Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9249970Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9250129Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9250288Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9250505Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9250652Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9251239Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9251415Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9251583Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9251789Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9252135Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9252309Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9252527Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9252743Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9252893Z ^^^^^^^^^ -2025-11-30T02:28:48.9253575Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. -2025-11-30T02:28:48.9253792Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9253935Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9254586Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.9254803Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9254928Z ^^^^^^^^^ -2025-11-30T02:28:48.9255349Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.9255564Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9255708Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9256081Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. -2025-11-30T02:28:48.9256226Z tag = target.tag, -2025-11-30T02:28:48.9256347Z ^^^ -2025-11-30T02:28:48.9257187Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. -2025-11-30T02:28:48.9257340Z isBinary = false, -2025-11-30T02:28:48.9257459Z ^^^^^ -2025-11-30T02:28:48.9258335Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.9259035Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9259212Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9260025Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. -2025-11-30T02:28:48.9260550Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9260723Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9261271Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9261792Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9261952Z ^^^^^^^^^^ -2025-11-30T02:28:48.9262776Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.9263048Z fun Iterable.mapNotNull(transform: (T) -> R?): List -2025-11-30T02:28:48.9263544Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9263706Z ^^^^^^^^^^ -2025-11-30T02:28:48.9264247Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9264746Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9264917Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9265482Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9265628Z fun Array.component1(): T -2025-11-30T02:28:48.9265778Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9265931Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9266263Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9266607Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9266758Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9266909Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9267068Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9267206Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9267341Z fun List.component1(): T -2025-11-30T02:28:48.9267498Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9267638Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9267779Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9267931Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9268083Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9268593Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9268771Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9269320Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9269464Z fun Array.component2(): T -2025-11-30T02:28:48.9269617Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9269765Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9269914Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9270242Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9270408Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9270559Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9270717Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9270868Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9271003Z fun List.component2(): T -2025-11-30T02:28:48.9271158Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9271306Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9271448Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9271596Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9271742Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9272259Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9272429Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9273030Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9273207Z } ?: listOf(), -2025-11-30T02:28:48.9273332Z ^^^^^^ -2025-11-30T02:28:48.9274091Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.9274228Z } ?: listOf(), -2025-11-30T02:28:48.9274347Z ^^^^^^^^ -2025-11-30T02:28:48.9274745Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. -2025-11-30T02:28:48.9274990Z pmxIndexToExpressions[target.pmxIndex] = expression -2025-11-30T02:28:48.9275128Z ^^^^^^^^ -2025-11-30T02:28:48.9275497Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.9275631Z add(expression) -2025-11-30T02:28:48.9275745Z ^^^ -2025-11-30T02:28:48.9276354Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9276714Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9276881Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9277084Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9277657Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9277840Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9278017Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9278158Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.9278269Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9278661Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. -2025-11-30T02:28:48.9278806Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.9278912Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9279235Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.9279331Z add( -2025-11-30T02:28:48.9279427Z ^^^ -2025-11-30T02:28:48.9279921Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9280130Z targets = group.items.mapNotNull { item -> -2025-11-30T02:28:48.9280274Z ^^^^ -2025-11-30T02:28:48.9280634Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. -2025-11-30T02:28:48.9281001Z val pmxMorphIndex = item.index -2025-11-30T02:28:48.9281141Z ^^^^^ -2025-11-30T02:28:48.9281550Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. -2025-11-30T02:28:48.9281737Z influence = item.influence, -2025-11-30T02:28:48.9281875Z ^^^^^^^^^ -2025-11-30T02:28:48.9282279Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9282398Z }, -2025-11-30T02:28:48.9282505Z ^ -2025-11-30T02:28:48.9282940Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9283095Z defaultScene = scene, -2025-11-30T02:28:48.9283213Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9283650Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9283794Z defaultScene = scene, -2025-11-30T02:28:48.9283925Z ^ -2025-11-30T02:28:48.9284349Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9284493Z defaultScene = scene, -2025-11-30T02:28:48.9284618Z ^^^^^ -2025-11-30T02:28:48.9285049Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9285189Z defaultScene = scene, -2025-11-30T02:28:48.9285300Z ^ -2025-11-30T02:28:48.9285680Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9285778Z ), -2025-11-30T02:28:48.9285872Z ^ -2025-11-30T02:28:48.9286295Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9286600Z ), -2025-11-30T02:28:48.9286712Z ^ -2025-11-30T02:28:48.9287169Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9287352Z animations = listOf(), -2025-11-30T02:28:48.9287455Z ^^^^^^^^^^ -2025-11-30T02:28:48.9287960Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9288116Z animations = listOf(), -2025-11-30T02:28:48.9288475Z ^ -2025-11-30T02:28:48.9288934Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9289091Z animations = listOf(), -2025-11-30T02:28:48.9289205Z ^^^^^^ -2025-11-30T02:28:48.9289656Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9289809Z animations = listOf(), -2025-11-30T02:28:48.9289931Z ^ -2025-11-30T02:28:48.9290404Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9290551Z animations = listOf(), -2025-11-30T02:28:48.9290670Z ^ -2025-11-30T02:28:48.9291102Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9291261Z animations = listOf(), -2025-11-30T02:28:48.9291385Z ^ -2025-11-30T02:28:48.9291808Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9291924Z ) -2025-11-30T02:28:48.9292037Z ^ -2025-11-30T02:28:48.9292498Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9292818Z } -2025-11-30T02:28:48.9292945Z ^ -2025-11-30T02:28:48.9293509Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. -2025-11-30T02:28:48.9293705Z override fun load(path: Path, basePath: Path) = -2025-11-30T02:28:48.9293806Z ^^^^^^^^ -2025-11-30T02:28:48.9294343Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9294658Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> -2025-11-30T02:28:48.9294823Z ^^^ -2025-11-30T02:28:48.9295236Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. -2025-11-30T02:28:48.9295396Z val context = Context(basePath) -2025-11-30T02:28:48.9295510Z ^^^^^^^ -2025-11-30T02:28:48.9295987Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9296102Z } -2025-11-30T02:28:49.0701973Z ^ -2025-11-30T02:28:49.0702253Z INFO: Elapsed time: 134.040s, Critical Path: 46.27s -2025-11-30T02:28:49.0702579Z INFO: 950 processes: 262 internal, 606 processwrapper-sandbox, 82 worker. -2025-11-30T02:28:49.0702747Z ERROR: Build did NOT complete successfully -2025-11-30T02:28:49.2475292Z ##[error]Process completed with exit code 1. -2025-11-30T02:28:49.2599558Z Post job cleanup. -2025-11-30T02:28:49.4910946Z Post job cleanup. -2025-11-30T02:28:49.5880876Z [command]/usr/bin/git version -2025-11-30T02:28:49.5923578Z git version 2.51.2 -2025-11-30T02:28:49.5984734Z Temporarily overriding HOME='/home/runner/work/_temp/3753632d-b9a8-45a7-9920-1b04eb49d611' before making global git config changes -2025-11-30T02:28:49.5987068Z Adding repository directory to the temporary git global config as a safe directory -2025-11-30T02:28:49.5993338Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:28:49.6035929Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand -2025-11-30T02:28:49.6069139Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" -2025-11-30T02:28:49.6348697Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader -2025-11-30T02:28:49.6370735Z http.https://github.com/.extraheader -2025-11-30T02:28:49.6385311Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader -2025-11-30T02:28:49.6417643Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" -2025-11-30T02:28:49.6648989Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: -2025-11-30T02:28:49.6683215Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url -2025-11-30T02:28:49.7001361Z Cleaning up orphan processes -2025-11-30T02:28:49.7294889Z Terminate orphan process: pid (2139) (java.lang=ALL-UNNAMED) diff --git a/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt b/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt deleted file mode 100644 index ecfa35a6..00000000 --- a/logs_51071426239/build-with-bazel/13_Post Run bazel-contrib_setup-bazel@0.14.0.txt +++ /dev/null @@ -1 +0,0 @@ -2025-11-30T02:28:49.2599543Z Post job cleanup. diff --git a/logs_51071426239/build-with-bazel/14_Post checkout repository.txt b/logs_51071426239/build-with-bazel/14_Post checkout repository.txt deleted file mode 100644 index 5df49ba4..00000000 --- a/logs_51071426239/build-with-bazel/14_Post checkout repository.txt +++ /dev/null @@ -1,14 +0,0 @@ -2025-11-30T02:28:49.4910929Z Post job cleanup. -2025-11-30T02:28:49.5880835Z [command]/usr/bin/git version -2025-11-30T02:28:49.5923551Z git version 2.51.2 -2025-11-30T02:28:49.5984718Z Temporarily overriding HOME='/home/runner/work/_temp/3753632d-b9a8-45a7-9920-1b04eb49d611' before making global git config changes -2025-11-30T02:28:49.5987060Z Adding repository directory to the temporary git global config as a safe directory -2025-11-30T02:28:49.5993326Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:28:49.6035911Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand -2025-11-30T02:28:49.6069122Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" -2025-11-30T02:28:49.6348674Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader -2025-11-30T02:28:49.6370664Z http.https://github.com/.extraheader -2025-11-30T02:28:49.6385298Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader -2025-11-30T02:28:49.6417624Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" -2025-11-30T02:28:49.6648957Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: -2025-11-30T02:28:49.6683198Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url diff --git a/logs_51071426239/build-with-bazel/15_Complete job.txt b/logs_51071426239/build-with-bazel/15_Complete job.txt deleted file mode 100644 index 5e6c264e..00000000 --- a/logs_51071426239/build-with-bazel/15_Complete job.txt +++ /dev/null @@ -1,2 +0,0 @@ -2025-11-30T02:28:49.7001350Z Cleaning up orphan processes -2025-11-30T02:28:49.7294876Z Terminate orphan process: pid (2139) (java.lang=ALL-UNNAMED) diff --git a/logs_51071426239/build-with-bazel/1_Set up job.txt b/logs_51071426239/build-with-bazel/1_Set up job.txt deleted file mode 100644 index d54f099d..00000000 --- a/logs_51071426239/build-with-bazel/1_Set up job.txt +++ /dev/null @@ -1,44 +0,0 @@ -2025-11-30T02:26:19.2751311Z Current runner version: '2.329.0' -2025-11-30T02:26:19.2777349Z ##[group]Runner Image Provisioner -2025-11-30T02:26:19.2778466Z Hosted Compute Agent -2025-11-30T02:26:19.2779423Z Version: 20251016.436 -2025-11-30T02:26:19.2780352Z Commit: 8ab8ac8bfd662a3739dab9fe09456aba92132568 -2025-11-30T02:26:19.2781414Z Build Date: 2025-10-15T20:44:12Z -2025-11-30T02:26:19.2782571Z ##[endgroup] -2025-11-30T02:26:19.2783471Z ##[group]Operating System -2025-11-30T02:26:19.2784416Z Ubuntu -2025-11-30T02:26:19.2785199Z 24.04.3 -2025-11-30T02:26:19.2786004Z LTS -2025-11-30T02:26:19.2786915Z ##[endgroup] -2025-11-30T02:26:19.2787876Z ##[group]Runner Image -2025-11-30T02:26:19.2788899Z Image: ubuntu-24.04 -2025-11-30T02:26:19.2789687Z Version: 20251112.124.1 -2025-11-30T02:26:19.2791430Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20251112.124/images/ubuntu/Ubuntu2404-Readme.md -2025-11-30T02:26:19.2793774Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20251112.124 -2025-11-30T02:26:19.2795786Z ##[endgroup] -2025-11-30T02:26:19.2800443Z ##[group]GITHUB_TOKEN Permissions -2025-11-30T02:26:19.2803409Z Actions: write -2025-11-30T02:26:19.2804352Z ArtifactMetadata: write -2025-11-30T02:26:19.2805315Z Attestations: write -2025-11-30T02:26:19.2806230Z Checks: write -2025-11-30T02:26:19.2807368Z Contents: write -2025-11-30T02:26:19.2808176Z Deployments: write -2025-11-30T02:26:19.2809138Z Discussions: write -2025-11-30T02:26:19.2809988Z Issues: write -2025-11-30T02:26:19.2810826Z Metadata: read -2025-11-30T02:26:19.2811530Z Models: read -2025-11-30T02:26:19.2812445Z Packages: write -2025-11-30T02:26:19.2813154Z Pages: write -2025-11-30T02:26:19.2813944Z PullRequests: write -2025-11-30T02:26:19.2815000Z RepositoryProjects: write -2025-11-30T02:26:19.2816083Z SecurityEvents: write -2025-11-30T02:26:19.2817183Z Statuses: write -2025-11-30T02:26:19.2818168Z ##[endgroup] -2025-11-30T02:26:19.2821054Z Secret source: Actions -2025-11-30T02:26:19.2822109Z Prepare workflow directory -2025-11-30T02:26:19.3263556Z Prepare all required actions -2025-11-30T02:26:19.3318751Z Getting action download info -2025-11-30T02:26:19.6583574Z Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5) -2025-11-30T02:26:19.9373701Z Download action repository 'bazel-contrib/setup-bazel@0.14.0' (SHA:e8776f58fb6a6e9055cbaf1b38c52ccc5247e9c4) -2025-11-30T02:26:20.7293732Z Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) -2025-11-30T02:26:20.9238505Z Complete job name: build-with-bazel diff --git a/logs_51071426239/build-with-bazel/2_checkout repository.txt b/logs_51071426239/build-with-bazel/2_checkout repository.txt deleted file mode 100644 index a6221868..00000000 --- a/logs_51071426239/build-with-bazel/2_checkout repository.txt +++ /dev/null @@ -1,71 +0,0 @@ -2025-11-30T02:26:20.9931431Z ##[group]Run actions/checkout@v4 -2025-11-30T02:26:20.9932322Z with: -2025-11-30T02:26:20.9932761Z repository: Sylsatra/ArmorStand -2025-11-30T02:26:20.9933444Z token: *** -2025-11-30T02:26:20.9934084Z ssh-strict: true -2025-11-30T02:26:20.9934807Z ssh-user: git -2025-11-30T02:26:20.9935504Z persist-credentials: true -2025-11-30T02:26:20.9936248Z clean: true -2025-11-30T02:26:20.9937243Z sparse-checkout-cone-mode: true -2025-11-30T02:26:20.9938191Z fetch-depth: 1 -2025-11-30T02:26:20.9938972Z fetch-tags: false -2025-11-30T02:26:20.9939778Z show-progress: true -2025-11-30T02:26:20.9940555Z lfs: false -2025-11-30T02:26:20.9941235Z submodules: false -2025-11-30T02:26:20.9941773Z set-safe-directory: true -2025-11-30T02:26:20.9942630Z ##[endgroup] -2025-11-30T02:26:21.1039209Z Syncing repository: Sylsatra/ArmorStand -2025-11-30T02:26:21.1041223Z ##[group]Getting Git version info -2025-11-30T02:26:21.1042023Z Working directory is '/home/runner/work/ArmorStand/ArmorStand' -2025-11-30T02:26:21.1043067Z [command]/usr/bin/git version -2025-11-30T02:26:21.1102728Z git version 2.51.2 -2025-11-30T02:26:21.1129356Z ##[endgroup] -2025-11-30T02:26:21.1142354Z Temporarily overriding HOME='/home/runner/work/_temp/6d2baab3-6bfd-4167-be5a-0a2cae9bfb19' before making global git config changes -2025-11-30T02:26:21.1143932Z Adding repository directory to the temporary git global config as a safe directory -2025-11-30T02:26:21.1154452Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:26:21.1190397Z Deleting the contents of '/home/runner/work/ArmorStand/ArmorStand' -2025-11-30T02:26:21.1193885Z ##[group]Initializing the repository -2025-11-30T02:26:21.1197783Z [command]/usr/bin/git init /home/runner/work/ArmorStand/ArmorStand -2025-11-30T02:26:21.1311486Z hint: Using 'master' as the name for the initial branch. This default branch name -2025-11-30T02:26:21.1312671Z hint: is subject to change. To configure the initial branch name to use in all -2025-11-30T02:26:21.1313652Z hint: of your new repositories, which will suppress this warning, call: -2025-11-30T02:26:21.1314419Z hint: -2025-11-30T02:26:21.1315069Z hint: git config --global init.defaultBranch -2025-11-30T02:26:21.1315694Z hint: -2025-11-30T02:26:21.1316271Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and -2025-11-30T02:26:21.1317373Z hint: 'development'. The just-created branch can be renamed via this command: -2025-11-30T02:26:21.1318401Z hint: -2025-11-30T02:26:21.1319105Z hint: git branch -m -2025-11-30T02:26:21.1319664Z hint: -2025-11-30T02:26:21.1320289Z hint: Disable this message with "git config set advice.defaultBranchName false" -2025-11-30T02:26:21.1321374Z Initialized empty Git repository in /home/runner/work/ArmorStand/ArmorStand/.git/ -2025-11-30T02:26:21.1329776Z [command]/usr/bin/git remote add origin https://github.com/Sylsatra/ArmorStand -2025-11-30T02:26:21.1376960Z ##[endgroup] -2025-11-30T02:26:21.1377766Z ##[group]Disabling automatic garbage collection -2025-11-30T02:26:21.1381075Z [command]/usr/bin/git config --local gc.auto 0 -2025-11-30T02:26:21.1412461Z ##[endgroup] -2025-11-30T02:26:21.1413841Z ##[group]Setting up auth -2025-11-30T02:26:21.1419987Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand -2025-11-30T02:26:21.1451182Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" -2025-11-30T02:26:21.1795883Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader -2025-11-30T02:26:21.1825767Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" -2025-11-30T02:26:21.2040174Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir: -2025-11-30T02:26:21.2069998Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url -2025-11-30T02:26:21.2295742Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** -2025-11-30T02:26:21.2328844Z ##[endgroup] -2025-11-30T02:26:21.2330261Z ##[group]Fetching the repository -2025-11-30T02:26:21.2338969Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +3f0d9c3830614990305a25aac7f81a7df6678688:refs/remotes/origin/my-physics -2025-11-30T02:26:21.8875742Z From https://github.com/Sylsatra/ArmorStand -2025-11-30T02:26:21.8878158Z * [new ref] 3f0d9c3830614990305a25aac7f81a7df6678688 -> origin/my-physics -2025-11-30T02:26:21.8910556Z ##[endgroup] -2025-11-30T02:26:21.8912283Z ##[group]Determining the checkout info -2025-11-30T02:26:21.8914170Z ##[endgroup] -2025-11-30T02:26:21.8918782Z [command]/usr/bin/git sparse-checkout disable -2025-11-30T02:26:21.8958816Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig -2025-11-30T02:26:21.8984835Z ##[group]Checking out the ref -2025-11-30T02:26:21.8989273Z [command]/usr/bin/git checkout --progress --force -B my-physics refs/remotes/origin/my-physics -2025-11-30T02:26:22.0744406Z Switched to a new branch 'my-physics' -2025-11-30T02:26:22.0747151Z branch 'my-physics' set up to track 'origin/my-physics'. -2025-11-30T02:26:22.0760458Z ##[endgroup] -2025-11-30T02:26:22.0797519Z [command]/usr/bin/git log -1 --format=%H -2025-11-30T02:26:22.0818924Z 3f0d9c3830614990305a25aac7f81a7df6678688 diff --git a/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt b/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt deleted file mode 100644 index 0d7260bb..00000000 --- a/logs_51071426239/build-with-bazel/3_Run bazel-contrib_setup-bazel@0.14.0.txt +++ /dev/null @@ -1,91 +0,0 @@ -2025-11-30T02:26:22.1106802Z ##[group]Run bazel-contrib/setup-bazel@0.14.0 -2025-11-30T02:26:22.1107996Z with: -2025-11-30T02:26:22.1108705Z bazelisk-cache: true -2025-11-30T02:26:22.1109554Z disk-cache: false -2025-11-30T02:26:22.1110368Z repository-cache: true -2025-11-30T02:26:22.1111247Z cache-version: 1 -2025-11-30T02:26:22.1112036Z module-root: . -2025-11-30T02:26:22.1113061Z token: *** -2025-11-30T02:26:22.1113785Z ##[endgroup] -2025-11-30T02:26:22.2879009Z ##[group]Configure Bazel -2025-11-30T02:26:22.2880862Z Configuration: -2025-11-30T02:26:22.2882399Z { -2025-11-30T02:26:22.2884033Z "baseCacheKey": "setup-bazel-1-linux", -2025-11-30T02:26:22.2885827Z "bazeliskCache": { -2025-11-30T02:26:22.2887334Z "enabled": true, -2025-11-30T02:26:22.2888563Z "files": [ -2025-11-30T02:26:22.2889697Z "./.bazelversion" -2025-11-30T02:26:22.2890930Z ], -2025-11-30T02:26:22.2891985Z "name": "bazelisk", -2025-11-30T02:26:22.2893291Z "paths": [ -2025-11-30T02:26:22.2895920Z "/home/runner/.cache/bazelisk" -2025-11-30T02:26:22.2897758Z ] -2025-11-30T02:26:22.2898780Z }, -2025-11-30T02:26:22.2899824Z "bazeliskVersion": "", -2025-11-30T02:26:22.2901213Z "bazelrc": [ -2025-11-30T02:26:22.2903017Z "common --repository_cache=/home/runner/.cache/bazel-repo" -2025-11-30T02:26:22.2905415Z ], -2025-11-30T02:26:22.2906557Z "diskCache": { -2025-11-30T02:26:22.2907778Z "enabled": false, -2025-11-30T02:26:22.2909152Z "files": [ -2025-11-30T02:26:22.2921763Z "./MODULE.bazel", -2025-11-30T02:26:22.2923217Z "./WORKSPACE.bazel", -2025-11-30T02:26:22.2924691Z "./WORKSPACE.bzlmod", -2025-11-30T02:26:22.2926125Z "./WORKSPACE", -2025-11-30T02:26:22.2927627Z "./**/BUILD.bazel", -2025-11-30T02:26:22.2928970Z "./**/BUILD" -2025-11-30T02:26:22.2930072Z ], -2025-11-30T02:26:22.2930871Z "name": "disk", -2025-11-30T02:26:22.2932083Z "paths": [ -2025-11-30T02:26:22.2933343Z "/home/runner/.cache/bazel-disk" -2025-11-30T02:26:22.2935025Z ] -2025-11-30T02:26:22.2936063Z }, -2025-11-30T02:26:22.2937396Z "externalCache": {}, -2025-11-30T02:26:22.2939063Z "paths": { -2025-11-30T02:26:22.2940506Z "bazelExternal": "/home/runner/.bazel/external", -2025-11-30T02:26:22.2942474Z "bazelOutputBase": "/home/runner/.bazel", -2025-11-30T02:26:22.2944311Z "bazelrc": [ -2025-11-30T02:26:22.2945548Z "/home/runner/.bazelrc" -2025-11-30T02:26:22.2947345Z ] -2025-11-30T02:26:22.2948405Z }, -2025-11-30T02:26:22.2949449Z "os": { -2025-11-30T02:26:22.2950501Z "arch": "x64", -2025-11-30T02:26:22.2951749Z "platform": "linux" -2025-11-30T02:26:22.2953018Z }, -2025-11-30T02:26:22.2954131Z "repositoryCache": { -2025-11-30T02:26:22.2955469Z "enabled": true, -2025-11-30T02:26:22.2956862Z "files": [ -2025-11-30T02:26:22.2958122Z "./MODULE.bazel", -2025-11-30T02:26:22.2959445Z "./WORKSPACE.bazel", -2025-11-30T02:26:22.2960996Z "./WORKSPACE.bzlmod", -2025-11-30T02:26:22.2962398Z "./WORKSPACE" -2025-11-30T02:26:22.2963566Z ], -2025-11-30T02:26:22.2964668Z "name": "repository", -2025-11-30T02:26:22.2966060Z "paths": [ -2025-11-30T02:26:22.2967511Z "/home/runner/.cache/bazel-repo" -2025-11-30T02:26:22.2969209Z ] -2025-11-30T02:26:22.2970343Z } -2025-11-30T02:26:22.2971534Z } -2025-11-30T02:26:22.2973941Z ##[endgroup] -2025-11-30T02:26:22.2976309Z ##[group]Restore cache for bazelisk -2025-11-30T02:26:22.4571405Z Cache hit for: setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e -2025-11-30T02:26:22.9230656Z Received 57708694 of 57708694 (100.0%), 131.7 MBs/sec -2025-11-30T02:26:22.9260863Z Cache Size: ~55 MB (57708694 B) -2025-11-30T02:26:22.9262266Z [command]/usr/bin/tar -xf /home/runner/work/_temp/b3e15b1e-c1eb-4152-aaef-d9b65a2a8117/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd -2025-11-30T02:26:23.0176048Z Cache restored successfully -2025-11-30T02:26:23.0288346Z Successfully restored cache from setup-bazel-1-linux-bazelisk-4a495085fc8ffd6ef1b814636aef26cb8381825705fb543b27c9087e8c41d70e -2025-11-30T02:26:23.0290873Z ##[endgroup] -2025-11-30T02:26:23.0291908Z ##[group]Restore cache for repository -2025-11-30T02:26:23.0534561Z Cache hit for: setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e -2025-11-30T02:26:24.1170514Z Received 205520896 of 1349025797 (15.2%), 194.3 MBs/sec -2025-11-30T02:26:25.1159719Z Received 402653184 of 1349025797 (29.8%), 191.1 MBs/sec -2025-11-30T02:26:26.1172428Z Received 637534208 of 1349025797 (47.3%), 202.0 MBs/sec -2025-11-30T02:26:27.1205028Z Received 859832320 of 1349025797 (63.7%), 204.3 MBs/sec -2025-11-30T02:26:28.1196246Z Received 1073741824 of 1349025797 (79.6%), 204.3 MBs/sec -2025-11-30T02:26:29.1209606Z Received 1333788672 of 1349025797 (98.9%), 211.5 MBs/sec -2025-11-30T02:26:29.3336946Z Received 1349025797 of 1349025797 (100.0%), 206.6 MBs/sec -2025-11-30T02:26:29.3338432Z Cache Size: ~1287 MB (1349025797 B) -2025-11-30T02:26:29.3469121Z [command]/usr/bin/tar -xf /home/runner/work/_temp/42c2a257-3281-4f12-bdbd-3691fcbaf72d/cache.tzst -P -C /home/runner/work/ArmorStand/ArmorStand --use-compress-program unzstd -2025-11-30T02:26:31.2149601Z Cache restored successfully -2025-11-30T02:26:31.4668524Z Successfully restored cache from setup-bazel-1-linux-repository-342edd8860a862dcaf63c7159ac04acaaf5f6644b4833a2ff0e6d9d0e90dbc2e -2025-11-30T02:26:31.4674988Z ##[endgroup] diff --git a/logs_51071426239/build-with-bazel/4_build.txt b/logs_51071426239/build-with-bazel/4_build.txt deleted file mode 100644 index dab03eb0..00000000 --- a/logs_51071426239/build-with-bazel/4_build.txt +++ /dev/null @@ -1,2611 +0,0 @@ -2025-11-30T02:26:31.4910377Z ##[group]Run bazel build --config opt \ -2025-11-30T02:26:31.4910828Z bazel build --config opt \ -2025-11-30T02:26:31.4911125Z  --verbose_failures \ -2025-11-30T02:26:31.4911367Z  //mod:mod_fabric \ -2025-11-30T02:26:31.4911571Z  //mod:mod_neoforge \ -2025-11-30T02:26:31.4911798Z  //blazerod:blazerod_fabric \ -2025-11-30T02:26:31.4912052Z  //blazerod:blazerod_neoforge \ -2025-11-30T02:26:31.4912304Z  //blazerod/model/model-base \ -2025-11-30T02:26:31.4912571Z  //blazerod/model/model-formats \ -2025-11-30T02:26:31.4912841Z  //blazerod/model/model-gltf \ -2025-11-30T02:26:31.4913112Z  //blazerod/model/model-pmd \ -2025-11-30T02:26:31.4913351Z  //blazerod/model/model-pmx \ -2025-11-30T02:26:31.4913588Z  //blazerod/model/model-vmd \ -2025-11-30T02:26:31.4913898Z  //blazerod/model/model-assimp:model-assimp-merged \ -2025-11-30T02:26:31.4914213Z  //blazerod/example/ball_block -2025-11-30T02:26:31.4951967Z shell: /usr/bin/bash -e {0} -2025-11-30T02:26:31.4952213Z env: -2025-11-30T02:26:31.4952705Z BAZELISK_GITHUB_TOKEN: *** -2025-11-30T02:26:31.4952919Z ##[endgroup] -2025-11-30T02:26:34.9648215Z Extracting Bazel installation... -2025-11-30T02:26:36.1350375Z Starting local Bazel server (8.4.2) and connecting to it... -2025-11-30T02:26:37.5805411Z Computing main repo mapping: -2025-11-30T02:26:38.4491129Z Loading: -2025-11-30T02:26:38.4513657Z Loading: 0 packages loaded -2025-11-30T02:26:39.4737837Z Loading: 0 packages loaded -2025-11-30T02:26:40.5015344Z Analyzing: 12 targets (10 packages loaded) -2025-11-30T02:26:40.6840399Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) -2025-11-30T02:26:40.7097754Z Analyzing: 12 targets (10 packages loaded, 0 targets configured) -2025-11-30T02:26:40.7098243Z -2025-11-30T02:26:41.3523295Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions: -2025-11-30T02:26:41.3529312Z com.google.code.gson:gson (versions: 2.10.1, 2.8.9) -2025-11-30T02:26:41.3533714Z com.google.errorprone:error_prone_annotations (versions: 2.23.0, 2.5.1) -2025-11-30T02:26:41.3538317Z com.google.guava:guava (versions: 32.0.1-jre, 33.0.0-jre) -2025-11-30T02:26:41.3616337Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:200:14: The maven repository 'maven' has contributions from multiple bzlmod modules, and will be resolved together: ["armorstand", "bazel_worker_java", "protobuf"]. -2025-11-30T02:26:41.3626609Z See https://github.com/bazel-contrib/rules_jvm_external/blob/master/docs/bzlmod.md#module-dependency-layering for more information. -2025-11-30T02:26:41.3628521Z To suppress this warning review the contributions from the other modules and add the following attribute in the root MODULE.bazel file: -2025-11-30T02:26:41.3629744Z maven.install( -2025-11-30T02:26:41.3630456Z known_contributing_modules = ["armorstand", "bazel_worker_java", "protobuf"], -2025-11-30T02:26:41.3631283Z ... -2025-11-30T02:26:41.3631773Z ) -2025-11-30T02:26:41.7257155Z Analyzing: 12 targets (50 packages loaded, 18 targets configured) -2025-11-30T02:26:41.7261467Z -2025-11-30T02:26:42.1938759Z DEBUG: /home/runner/.bazel/external/rules_jvm_external+/private/rules/coursier.bzl:777:18: Found duplicate artifact versions -2025-11-30T02:26:42.1940326Z com.google.code.gson:gson has multiple versions 2.8.9, 2.10.1 -2025-11-30T02:26:42.1941475Z com.google.errorprone:error_prone_annotations has multiple versions 2.5.1, 2.23.0 -2025-11-30T02:26:42.1942993Z com.google.guava:guava has multiple versions 32.0.1-jre, 33.0.0-jre -2025-11-30T02:26:42.1944236Z Please remove duplicate artifacts from the artifact list so you do not get unexpected artifact versions -2025-11-30T02:26:42.7343163Z Analyzing: 12 targets (95 packages loaded, 21 targets configured) -2025-11-30T02:26:42.7348405Z -2025-11-30T02:26:43.8255086Z Analyzing: 12 targets (174 packages loaded, 123 targets configured) -2025-11-30T02:26:43.8255980Z -2025-11-30T02:26:44.8637991Z Analyzing: 12 targets (199 packages loaded, 506 targets configured) -2025-11-30T02:26:44.8640118Z -2025-11-30T02:26:46.5827589Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:46.5828296Z -2025-11-30T02:26:52.0792100Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:52.0795475Z -2025-11-30T02:26:59.0377706Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:26:59.0378530Z -2025-11-30T02:27:00.5849588Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:27:00.5850994Z -2025-11-30T02:27:06.0490424Z Analyzing: 12 targets (214 packages loaded, 2789 targets configured) -2025-11-30T02:27:06.0490949Z -2025-11-30T02:27:07.0578601Z Analyzing: 12 targets (220 packages loaded, 3333 targets configured) -2025-11-30T02:27:07.0636881Z -2025-11-30T02:27:08.0614153Z Analyzing: 12 targets (394 packages loaded, 3922 targets configured) -2025-11-30T02:27:08.0614709Z -2025-11-30T02:27:09.0600141Z Analyzing: 12 targets (558 packages loaded, 9117 targets configured) -2025-11-30T02:27:09.0601034Z -2025-11-30T02:27:10.5329172Z Analyzing: 12 targets (584 packages loaded, 9209 targets configured) -2025-11-30T02:27:10.5329980Z -2025-11-30T02:27:11.5937795Z Analyzing: 12 targets (607 packages loaded, 12113 targets configured) -2025-11-30T02:27:11.5938726Z -2025-11-30T02:27:12.5922260Z Analyzing: 12 targets (610 packages loaded, 20072 targets configured) -2025-11-30T02:27:12.5922847Z -2025-11-30T02:27:14.0003369Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) -2025-11-30T02:27:14.0003896Z -2025-11-30T02:27:16.3762864Z Analyzing: 12 targets (622 packages loaded, 34766 targets configured) -2025-11-30T02:27:16.3763592Z -2025-11-30T02:27:17.3833450Z Analyzing: 12 targets (624 packages loaded, 35680 targets configured) -2025-11-30T02:27:17.3838777Z [4 / 77] Creating runfiles tree bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/jdeps_merger.runfiles [for tool]; 0s local ... (2 actions, 1 running) -2025-11-30T02:27:17.9095072Z INFO: Analyzed 12 targets (624 packages loaded, 35744 targets configured). -2025-11-30T02:27:18.3953516Z [156 / 1,333] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 0s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:19.4080302Z [211 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:20.5312024Z [225 / 1,416] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes [for tool]; 2s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:21.5674208Z [247 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 1s processwrapper-sandbox ... (4 actions, 3 running) -2025-11-30T02:27:22.5648476Z [268 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 2s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:23.6043824Z [279 / 1,416] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:24.6034117Z [346 / 1,419] Extracting interface for jar file/com/google/guava/guava/33.3.1-jre/guava-33.3.1-jre.jar; 0s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:27:25.8893208Z [391 / 1,419] Building repo/neoforge/rule/manifest_remover/manifest_remover.jar (1 source file) [for tool]; 1s multiplex-worker ... (3 actions, 2 running) -2025-11-30T02:27:27.0161301Z [408 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 0s worker ... (2 actions, 1 running) -2025-11-30T02:27:28.3243854Z [415 / 1,419] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 1s worker ... (2 actions, 1 running) -2025-11-30T02:27:29.4860259Z [416 / 1,427] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 2s worker ... (3 actions, 2 running) -2025-11-30T02:27:30.6060013Z [422 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) -2025-11-30T02:27:31.6067770Z [423 / 1,604] KotlinCompile //blazerod:blazerod_fabric_without_jij { kt: 1, java: 0, srcjars: 0 } for k8; 4s worker ... (3 actions running) -2025-11-30T02:27:32.6093481Z [424 / 1,604] Stamping the manifest of @maven//:it_unimi_dsi_fastutil [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:33.6101659Z [430 / 1,771] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:34.6153999Z [437 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:35.6181129Z [439 / 1,936] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:36.6180902Z [440 / 1,936] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:37.6227964Z [444 / 1,938] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 2s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:38.6257517Z [450 / 2,101] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 3s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:39.6260844Z [453 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 4s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:40.6281219Z [456 / 2,261] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 5s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:41.6311974Z [460 / 2,263] Stamping the manifest of @maven//:net_neoforged_jst_jst_cli_bundle [for tool]; 6s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:27:42.6351103Z [469 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:com_h2database_h2; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:43.6353196Z [482 / 2,265] Stamping the manifest of @maven//:net_fabricmc_sponge_mixin; 0s processwrapper-sandbox -2025-11-30T02:27:44.9239715Z [487 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava -2025-11-30T02:27:45.9503320Z [494 / 2,265] [Prepa] Stamping the manifest of @maven//:org_jetbrains_kotlinx_atomicfu_jvm -2025-11-30T02:27:46.9897617Z [510 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_fabric_api_fabric_content_registries_v0 -2025-11-30T02:27:48.2391906Z [525 / 2,265] [Prepa] Stamping the manifest of @maven//:net_fabricmc_intermediary_v2 -2025-11-30T02:27:49.2809593Z [539 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:net_fabricmc_fabric_api_fabric_resource_loader_v0 -2025-11-30T02:27:50.3323935Z [556 / 2,265] [Prepa] Stamping the manifest of @maven//:com_fasterxml_jackson_core_jackson_core [for tool] -2025-11-30T02:27:51.5857980Z [563 / 2,265] [Prepa] Creating compile jar for @@rules_jvm_external++maven+maven//:com_google_guava_guava [for tool] -2025-11-30T02:27:52.5947658Z [570 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:org_jetbrains_kotlinx_kotlinx_serialization_core_jvm [for tool]; 0s processwrapper-sandbox ... (2 actions, 1 running) -2025-11-30T02:27:53.6057462Z [577 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 0s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:27:54.6385906Z [583 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 1s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:55.6427354Z [588 / 2,265] Stamping the manifest of @maven//:it_unimi_dsi_fastutil; 2s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:27:56.6431732Z [590 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 1s worker ... (3 actions running) -2025-11-30T02:27:58.4013685Z [592 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 3s worker ... (3 actions, 2 running) -2025-11-30T02:27:59.4873949Z [593 / 2,265] KotlinCompile //rule/fabric/jij_merger:jij_merger_library { kt: 3, java: 0, srcjars: 0 } for k8 [for tool]; 4s worker ... (3 actions, 2 running) -2025-11-30T02:28:00.6274968Z [597 / 2,265] Creating compile jar for @@rules_jvm_external++maven+maven//:it_unimi_dsi_fastutil; 4s processwrapper-sandbox ... (3 actions, 2 running) -2025-11-30T02:28:01.6520481Z [601 / 2,265] KotlinCompile //blazerod/render/main/util/iterator:iterator { kt: 2, java: 0, srcjars: 0 } for k8; 0s worker ... (3 actions running) -2025-11-30T02:28:02.6446261Z [606 / 2,265] Stamping the manifest of @maven//:org_lwjgl_lwjgl_assimp_natives_windows; 0s processwrapper-sandbox ... (3 actions running) -2025-11-30T02:28:03.6488820Z [609 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 1s worker ... (3 actions running) -2025-11-30T02:28:04.6477433Z [613 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 2s worker ... (2 actions running) -2025-11-30T02:28:05.6573394Z [614 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 3s worker ... (3 actions running) -2025-11-30T02:28:06.6569077Z [620 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 4s worker ... (4 actions running) -2025-11-30T02:28:07.8132391Z [626 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 5s worker ... (4 actions, 3 running) -2025-11-30T02:28:08.9142325Z [635 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 6s worker ... (4 actions, 3 running) -2025-11-30T02:28:09.9626584Z [650 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 7s worker ... (4 actions, 3 running) -2025-11-30T02:28:11.0765873Z [662 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 9s worker ... (4 actions, 3 running) -2025-11-30T02:28:12.1079183Z [668 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 10s worker ... (4 actions, 3 running) -2025-11-30T02:28:13.1404446Z [673 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 11s worker ... (4 actions, 3 running) -2025-11-30T02:28:14.2977963Z [679 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 12s worker ... (4 actions, 3 running) -2025-11-30T02:28:15.6614401Z [680 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 13s worker ... (4 actions running) -2025-11-30T02:28:16.6623746Z [688 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 14s worker ... (4 actions, 3 running) -2025-11-30T02:28:17.6628415Z [698 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 15s worker ... (4 actions running) -2025-11-30T02:28:18.6639512Z [713 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 16s worker ... (4 actions running) -2025-11-30T02:28:19.6656072Z [725 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 17s worker ... (4 actions running) -2025-11-30T02:28:20.6659645Z [759 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 18s worker ... (4 actions running) -2025-11-30T02:28:21.6678688Z [805 / 2,265] KotlinCompile //blazerod/model/model-base:model-base { kt: 41, java: 0, srcjars: 0 } for k8; 19s worker ... (4 actions running) -2025-11-30T02:28:22.6738367Z [823 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 12s worker ... (4 actions running) -2025-11-30T02:28:23.6711646Z [842 / 2,265] KotlinCompile //rule/access_widener_extractor:access_widener_extractor_library { kt: 2, java: 0, srcjars: 0 } for k8 [for tool]; 13s worker ... (4 actions running) -2025-11-30T02:28:24.6760676Z [845 / 2,265] Splitting resources from classes for joined_strip_client; 4s processwrapper-sandbox ... (4 actions running) -2025-11-30T02:28:25.6767052Z [863 / 2,265] KotlinCompile //blazerod/model/model-pmd:model-pmd { kt: 4, java: 0, srcjars: 0 } for k8; 2s worker ... (4 actions running) -2025-11-30T02:28:26.8468175Z [885 / 2,265] Remapping remapped_client_named - client.jar; 0s worker ... (4 actions, 3 running) -2025-11-30T02:28:27.0983558Z INFO: From Running NeoForm function bundleExtractJar to create ../+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar: -2025-11-30T02:28:27.1109610Z Task: BUNDLER_EXTRACT -2025-11-30T02:28:27.1118344Z Input: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/external/+minecraft+minecraft_1.21.8_server/file/server.jar -2025-11-30T02:28:27.1120935Z Output: /home/runner/.bazel/sandbox/processwrapper-sandbox/638/execroot/_main/bazel-out/k8-opt/bin/external/+neoform+neoform_1_21_8_20250717_133445/tasks/joined_extract_server/_neoform_bundleExtractJar/joined_extract_server.jar -2025-11-30T02:28:27.1122917Z All: false -2025-11-30T02:28:27.1123494Z JarOnly: true -2025-11-30T02:28:27.1124041Z Libs: false -2025-11-30T02:28:27.1124651Z Extracted: versions/1.21.8/server-1.21.8.jar -2025-11-30T02:28:28.3841798Z [892 / 2,265] Remapping remapped_client_named - client.jar; 2s worker ... (4 actions, 3 running) -2025-11-30T02:28:29.6133473Z [899 / 2,265] Remapping remapped_client_named - client.jar; 3s worker ... (4 actions, 3 running) -2025-11-30T02:28:30.6788928Z [900 / 2,265] Remapping remapped_client_named - client.jar; 4s worker ... (4 actions running) -2025-11-30T02:28:31.6815648Z [901 / 2,265] Remapping remapped_client_named - client.jar; 5s worker ... (4 actions running) -2025-11-30T02:28:34.0024220Z [902 / 2,265] Remapping remapped_client_named - client.jar; 8s worker ... (4 actions, 3 running) -2025-11-30T02:28:35.1868044Z [904 / 2,265] Remapping remapped_client_named - client.jar; 9s worker ... (4 actions, 3 running) -2025-11-30T02:28:36.6823123Z [907 / 2,265] Remapping remapped_client_named - client.jar; 10s worker ... (4 actions running) -2025-11-30T02:28:37.6820586Z [909 / 2,265] Remapping remapped_client_named - client.jar; 11s worker ... (4 actions running) -2025-11-30T02:28:38.6878184Z [912 / 2,265] Remapping remapped_client_named - client.jar; 12s worker ... (4 actions running) -2025-11-30T02:28:39.6851163Z [915 / 2,265] Remapping remapped_client_named - client.jar; 13s worker ... (4 actions running) -2025-11-30T02:28:41.6883023Z [921 / 2,265] Remapping remapped_client_named - client.jar; 15s worker ... (4 actions running) -2025-11-30T02:28:42.6882886Z [925 / 2,265] Remapping remapped_client_named - client.jar; 16s worker ... (4 actions running) -2025-11-30T02:28:43.6922547Z [928 / 2,265] Remapping remapped_client_named - client.jar; 17s worker ... (4 actions running) -2025-11-30T02:28:44.6984225Z [933 / 2,265] Remapping remapped_client_named - client.jar; 18s worker ... (4 actions running) -2025-11-30T02:28:45.6998047Z [934 / 2,265] Remapping remapped_client_named - client.jar; 19s worker ... (4 actions running) -2025-11-30T02:28:46.6996728Z [937 / 2,265] Remapping remapped_client_named - client.jar; 20s worker ... (4 actions running) -2025-11-30T02:28:47.6991186Z [941 / 2,265] Remapping remapped_client_named - client.jar; 21s worker ... (4 actions running) -2025-11-30T02:28:48.7120896Z [946 / 2,265] Remapping remapped_client_named - client.jar; 22s worker ... (4 actions, 3 running) -2025-11-30T02:28:48.7980243Z ERROR: /home/runner/work/ArmorStand/ArmorStand/blazerod/model/model-pmx/BUILD.bazel:14:15: KotlinCompile //blazerod/model/model-pmx:model-pmx { kt: 11, java: 0, srcjars: 0 } for k8 failed: (Exit 1): build failed: error executing KotlinCompile command (from target //blazerod/model/model-pmx:model-pmx) -2025-11-30T02:28:48.7982786Z (cd /home/runner/.bazel/execroot/_main && \ -2025-11-30T02:28:48.7983520Z exec env - \ -2025-11-30T02:28:48.7989671Z LC_CTYPE=en_US.UTF-8 \ -2025-11-30T02:28:48.7990668Z REPOSITORY_NAME=rules_kotlin+ \ -2025-11-30T02:28:48.8021343Z bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/rules_kotlin+/src/main/kotlin/build '--wrapper_script_flag=--main_advice_classpath=external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/annotations-13.0.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk7.jar:external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/kotlin-stdlib-jdk8.jar' '--flagfile=bazel-out/k8-opt/bin/blazerod/model/model-pmx/model-pmx-kt.jar-0.params') -2025-11-30T02:28:48.8025860Z # Configuration: 7829eb418bfd28df94b3e08f612b6b762cc0317abf8117066b0bd699547ce494 -2025-11-30T02:28:48.8030257Z # Execution platform: @@platforms//host:host -2025-11-30T02:28:48.8031321Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: -2025-11-30T02:28:48.8033915Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult -2025-11-30T02:28:48.8034730Z class PmxLoader : ModelFileLoader { -2025-11-30T02:28:48.8036160Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8037102Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. -2025-11-30T02:28:48.8038195Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8038897Z ^^^^^^^^^ -2025-11-30T02:28:48.8039686Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8101244Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8103426Z ^^^^^^^^^ -2025-11-30T02:28:48.8104810Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8114407Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.8115138Z ^ -2025-11-30T02:28:48.8115865Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. -2025-11-30T02:28:48.8116780Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8117289Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8117949Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8118667Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8119142Z ^^^^^^^^^ -2025-11-30T02:28:48.8120032Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8120900Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.8121315Z ^ -2025-11-30T02:28:48.8121900Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. -2025-11-30T02:28:48.8122780Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8123167Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8123696Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8124304Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8124690Z ^^^^^^^^^ -2025-11-30T02:28:48.8125423Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8126187Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.8126767Z ^ -2025-11-30T02:28:48.8127289Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. -2025-11-30T02:28:48.8127829Z mass = rigidBody.mass, -2025-11-30T02:28:48.8128172Z ^^^^ -2025-11-30T02:28:48.8128684Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8129242Z mass = rigidBody.mass, -2025-11-30T02:28:48.8129582Z ^^^^^^^^^ -2025-11-30T02:28:48.8130614Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8131369Z mass = rigidBody.mass, -2025-11-30T02:28:48.8131759Z ^ -2025-11-30T02:28:48.8132327Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. -2025-11-30T02:28:48.8132951Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8133348Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8133862Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8134447Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8134850Z ^^^^^^^^^ -2025-11-30T02:28:48.8135574Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8136807Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.8137310Z ^ -2025-11-30T02:28:48.8138008Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. -2025-11-30T02:28:48.8138786Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8139284Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8139919Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8140666Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8141152Z ^^^^^^^^^ -2025-11-30T02:28:48.8142067Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8143069Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.8143632Z ^ -2025-11-30T02:28:48.8144303Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. -2025-11-30T02:28:48.8145243Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8145683Z ^^^^^^^^^ -2025-11-30T02:28:48.8146334Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8147227Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8147677Z ^^^^^^^^^ -2025-11-30T02:28:48.8148571Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8149526Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.8149976Z ^ -2025-11-30T02:28:48.8150653Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. -2025-11-30T02:28:48.8151402Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8151867Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8152512Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8153238Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8153710Z ^^^^^^^^^ -2025-11-30T02:28:48.8154619Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8155588Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.8156071Z ^ -2025-11-30T02:28:48.8156909Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. -2025-11-30T02:28:48.8157659Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8158147Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8158913Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.8159760Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8160236Z ^^^^ -2025-11-30T02:28:48.8160886Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.8161816Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.8162306Z ^^^^^^^^^ -2025-11-30T02:28:48.8163231Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8164132Z }, -2025-11-30T02:28:48.8164510Z ^ -2025-11-30T02:28:48.8165137Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8165802Z ) -2025-11-30T02:28:48.8166150Z ^ -2025-11-30T02:28:48.8167157Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8168149Z }, -2025-11-30T02:28:48.8168591Z ^ -2025-11-30T02:28:48.8169282Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8169946Z ) -2025-11-30T02:28:48.8170279Z ^ -2025-11-30T02:28:48.8170950Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. -2025-11-30T02:28:48.8256221Z ) -2025-11-30T02:28:48.8257388Z ^ -2025-11-30T02:28:48.8257959Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. -2025-11-30T02:28:48.8258611Z } -2025-11-30T02:28:48.8258920Z ^ -2025-11-30T02:28:48.8259469Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. -2025-11-30T02:28:48.8260061Z } -2025-11-30T02:28:48.8260342Z ^ -2025-11-30T02:28:48.8260982Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8261736Z return Node( -2025-11-30T02:28:48.8262093Z ^^^^^^ -2025-11-30T02:28:48.8262752Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8263499Z return Node( -2025-11-30T02:28:48.8263840Z ^^^^ -2025-11-30T02:28:48.8264508Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8265260Z return Node( -2025-11-30T02:28:48.8265618Z ^ -2025-11-30T02:28:48.8266275Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8267359Z name = bone.nameLocal, -2025-11-30T02:28:48.8267782Z ^^^^ -2025-11-30T02:28:48.8268460Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8269243Z name = bone.nameLocal, -2025-11-30T02:28:48.8269648Z ^ -2025-11-30T02:28:48.8270314Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8271069Z name = bone.nameLocal, -2025-11-30T02:28:48.8271483Z ^^^^ -2025-11-30T02:28:48.8272172Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8272942Z name = bone.nameLocal, -2025-11-30T02:28:48.8273350Z ^ -2025-11-30T02:28:48.8274044Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8274815Z name = bone.nameLocal, -2025-11-30T02:28:48.8275220Z ^^^^^^^^^ -2025-11-30T02:28:48.8275929Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8277194Z name = bone.nameLocal, -2025-11-30T02:28:48.8277618Z ^ -2025-11-30T02:28:48.8278338Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8279094Z id = boneNodeId, -2025-11-30T02:28:48.8279486Z ^^ -2025-11-30T02:28:48.8280142Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8280920Z id = boneNodeId, -2025-11-30T02:28:48.8281316Z ^ -2025-11-30T02:28:48.8282013Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8282777Z id = boneNodeId, -2025-11-30T02:28:48.8283156Z ^^^^^^^^^^ -2025-11-30T02:28:48.8283887Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8284654Z id = boneNodeId, -2025-11-30T02:28:48.8285052Z ^ -2025-11-30T02:28:48.8285766Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8286953Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8287480Z ^^^^^^^^^ -2025-11-30T02:28:48.8288446Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8289237Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8290063Z ^ -2025-11-30T02:28:48.8290705Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8291404Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8291801Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8292458Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8293148Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8293544Z ^ -2025-11-30T02:28:48.8294181Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8294880Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8295307Z ^^^^^^^^^^ -2025-11-30T02:28:48.8295982Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8296900Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.8297297Z ^ -2025-11-30T02:28:48.8297942Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8298672Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8299098Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8299694Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8300400Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8300822Z ^ -2025-11-30T02:28:48.8301431Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8302143Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8302567Z ^^^^^^^^ -2025-11-30T02:28:48.8303192Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8303891Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8304543Z ^ -2025-11-30T02:28:48.8305182Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8305937Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8306616Z ^ -2025-11-30T02:28:48.8307292Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8308063Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8308520Z ^ -2025-11-30T02:28:48.8309197Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8309958Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8310407Z ^^^ -2025-11-30T02:28:48.8311198Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8311950Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8312403Z ^ -2025-11-30T02:28:48.8313081Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8313834Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8314497Z ^^^^ -2025-11-30T02:28:48.8315180Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8315930Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8316541Z ^ -2025-11-30T02:28:48.8317198Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8317924Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8318381Z ^^^^^^^^ -2025-11-30T02:28:48.8319040Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8319760Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8320206Z ^ -2025-11-30T02:28:48.8320866Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8321586Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8322026Z ^ -2025-11-30T02:28:48.8322681Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8323399Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8323852Z ^^^^ -2025-11-30T02:28:48.8324503Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8325219Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8325667Z ^ -2025-11-30T02:28:48.8326306Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. -2025-11-30T02:28:48.8327188Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.8327700Z ^ -2025-11-30T02:28:48.8328444Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.8329166Z if (parentPosition != null) { -2025-11-30T02:28:48.8329831Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8330470Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. -2025-11-30T02:28:48.8331155Z it.sub(parentPosition) -2025-11-30T02:28:48.8331599Z ^^^ -2025-11-30T02:28:48.8332279Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.8333052Z it.sub(parentPosition) -2025-11-30T02:28:48.8333498Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8334245Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8334977Z }, -2025-11-30T02:28:48.8335308Z ^ -2025-11-30T02:28:48.8335983Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8336941Z rotation = Quaternionf(), -2025-11-30T02:28:48.8337367Z ^^^^^^^^ -2025-11-30T02:28:48.8338051Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8338835Z rotation = Quaternionf(), -2025-11-30T02:28:48.8339267Z ^ -2025-11-30T02:28:48.8339954Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8340997Z rotation = Quaternionf(), -2025-11-30T02:28:48.8341430Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8342149Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8342910Z rotation = Quaternionf(), -2025-11-30T02:28:48.8343343Z ^ -2025-11-30T02:28:48.8344066Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8344834Z rotation = Quaternionf(), -2025-11-30T02:28:48.8345223Z ^ -2025-11-30T02:28:48.8345922Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8346917Z rotation = Quaternionf(), -2025-11-30T02:28:48.8347340Z ^ -2025-11-30T02:28:48.8348050Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8348942Z scale = Vector3f(1f), -2025-11-30T02:28:48.8349346Z ^^^^^ -2025-11-30T02:28:48.8350016Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8350769Z scale = Vector3f(1f), -2025-11-30T02:28:48.8351188Z ^ -2025-11-30T02:28:48.8351865Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8352618Z scale = Vector3f(1f), -2025-11-30T02:28:48.8353029Z ^^^^^^^^ -2025-11-30T02:28:48.8353733Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8354469Z scale = Vector3f(1f), -2025-11-30T02:28:48.8354882Z ^ -2025-11-30T02:28:48.8355601Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8356962Z scale = Vector3f(1f), -2025-11-30T02:28:48.8357349Z ^^ -2025-11-30T02:28:48.8357997Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8358666Z scale = Vector3f(1f), -2025-11-30T02:28:48.8359259Z ^ -2025-11-30T02:28:48.8359887Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8360553Z scale = Vector3f(1f), -2025-11-30T02:28:48.8360902Z ^ -2025-11-30T02:28:48.8361536Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8362179Z ), -2025-11-30T02:28:48.8362435Z ^ -2025-11-30T02:28:48.8362996Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8363620Z ), -2025-11-30T02:28:48.8363884Z ^ -2025-11-30T02:28:48.8364441Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8365090Z children = children, -2025-11-30T02:28:48.8365435Z ^^^^^^^^ -2025-11-30T02:28:48.8366026Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8366907Z children = children, -2025-11-30T02:28:48.8367251Z ^ -2025-11-30T02:28:48.8367838Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8368474Z children = children, -2025-11-30T02:28:48.8368994Z ^^^^^^^^ -2025-11-30T02:28:48.8369609Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8370255Z children = children, -2025-11-30T02:28:48.8370599Z ^ -2025-11-30T02:28:48.8371207Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8371879Z components = components, -2025-11-30T02:28:48.8372240Z ^^^^^^^^^^ -2025-11-30T02:28:48.8372844Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8373516Z components = components, -2025-11-30T02:28:48.8373876Z ^ -2025-11-30T02:28:48.8374478Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8375159Z components = components, -2025-11-30T02:28:48.8375527Z ^^^^^^^^^^ -2025-11-30T02:28:48.8376160Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8376972Z components = components, -2025-11-30T02:28:48.8377337Z ^ -2025-11-30T02:28:48.8377968Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8378603Z ) -2025-11-30T02:28:48.8378857Z ^ -2025-11-30T02:28:48.8379408Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8380074Z rootBones.forEach { index -> -2025-11-30T02:28:48.8380432Z ^^^^^^^^^ -2025-11-30T02:28:48.8380994Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8381673Z rootBones.forEach { index -> -2025-11-30T02:28:48.8382020Z ^ -2025-11-30T02:28:48.8382582Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8383250Z rootBones.forEach { index -> -2025-11-30T02:28:48.8383603Z ^^^^^^^ -2025-11-30T02:28:48.8384206Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8384862Z rootBones.forEach { index -> -2025-11-30T02:28:48.8385383Z ^ -2025-11-30T02:28:48.8386515Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. -2025-11-30T02:28:48.8387260Z rootBones.forEach { index -> -2025-11-30T02:28:48.8387660Z ^^^^^^^^^^ -2025-11-30T02:28:48.8388302Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. -2025-11-30T02:28:48.8389015Z rootBones.forEach { index -> -2025-11-30T02:28:48.8389414Z ^^^^^ -2025-11-30T02:28:48.8390691Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8391692Z rootBones.forEach { index -> -2025-11-30T02:28:48.8392118Z ^^ -2025-11-30T02:28:48.8392795Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8393535Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8393960Z ^^^^^^^^^ -2025-11-30T02:28:48.8394557Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. -2025-11-30T02:28:48.8395270Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8395711Z ^^^^^^^ -2025-11-30T02:28:48.8396569Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. -2025-11-30T02:28:48.8397568Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.8398007Z ^^^^^ -2025-11-30T02:28:48.8398632Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. -2025-11-30T02:28:48.8399359Z var nextNodeIndex = bones.size -2025-11-30T02:28:48.8399776Z ^^^^^ -2025-11-30T02:28:48.8400469Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8401244Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8401648Z ^^^ -2025-11-30T02:28:48.8402256Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8403001Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8403406Z ^ -2025-11-30T02:28:48.8404011Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8404764Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8405174Z ^^^^^^^^^ -2025-11-30T02:28:48.8405814Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8406765Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8407193Z ^^^^^ -2025-11-30T02:28:48.8407879Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8408608Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8409028Z ^ -2025-11-30T02:28:48.8409711Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8410464Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8410879Z ^^^^^^^ -2025-11-30T02:28:48.8411562Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8412308Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8412725Z ^ -2025-11-30T02:28:48.8413421Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8414158Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8414557Z ^ -2025-11-30T02:28:48.8415215Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. -2025-11-30T02:28:48.8416215Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.8416833Z ^ -2025-11-30T02:28:48.8417485Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. -2025-11-30T02:28:48.8418157Z val bone = bones[boneIndex] -2025-11-30T02:28:48.8418532Z ^^^^^ -2025-11-30T02:28:48.8419124Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.8436178Z val bone = bones[boneIndex] -2025-11-30T02:28:48.8436788Z ^^^^^^^^^ -2025-11-30T02:28:48.8437398Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8438039Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.8438430Z ^^^^^^^ -2025-11-30T02:28:48.8439017Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.8439664Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.8440064Z ^^^^^^^^^ -2025-11-30T02:28:48.8440663Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. -2025-11-30T02:28:48.8441490Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() -2025-11-30T02:28:48.8442305Z ^^^^^^^^ -2025-11-30T02:28:48.8442931Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.8443611Z HumanoidTag.fromPmxJapanese(bone.nameLocal) -2025-11-30T02:28:48.8444047Z ^^^^^^^^^ -2025-11-30T02:28:48.8444680Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.8445401Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) -2025-11-30T02:28:48.8445867Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8446681Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.8447672Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() -2025-11-30T02:28:48.8448387Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8449066Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8449835Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8450290Z ^^^ -2025-11-30T02:28:48.8450864Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8451620Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8452059Z ^ -2025-11-30T02:28:48.8452612Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8453363Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8453810Z ^ -2025-11-30T02:28:48.8454340Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8455103Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8455577Z ^^^^^^^^^^ -2025-11-30T02:28:48.8456166Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8457776Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8484737Z ^ -2025-11-30T02:28:48.8485521Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8486852Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8487428Z ^^^^^^^^^ -2025-11-30T02:28:48.8488116Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8488943Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8489457Z ^ -2025-11-30T02:28:48.8490158Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8490994Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8491516Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8492248Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8493080Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8493599Z ^ -2025-11-30T02:28:48.8494350Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8495216Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8495764Z ^^^^^^^^^ -2025-11-30T02:28:48.8496947Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8497740Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8498235Z ^ -2025-11-30T02:28:48.8498892Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8499656Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8500136Z ^ -2025-11-30T02:28:48.8500788Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8501531Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8502008Z ^ -2025-11-30T02:28:48.8502662Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8503407Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8503878Z ^ -2025-11-30T02:28:48.8504508Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. -2025-11-30T02:28:48.8505238Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8505729Z ^ -2025-11-30T02:28:48.8506336Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. -2025-11-30T02:28:48.8512698Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.8552826Z ^^^^^^^^^^ -2025-11-30T02:28:48.8553808Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList -2025-11-30T02:28:48.8555180Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.8556076Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8557006Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. -2025-11-30T02:28:48.8557991Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8558477Z ^^^^^^^^^ -2025-11-30T02:28:48.8559286Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8560120Z fun Array.component1(): T -2025-11-30T02:28:48.8560535Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8560933Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8561350Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8561739Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8562110Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8562550Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8562943Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8563336Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8563696Z fun List.component1(): T -2025-11-30T02:28:48.8564080Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8564515Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8564923Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8565326Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8565738Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8566207Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8566975Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8567782Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8568804Z fun Array.component2(): T -2025-11-30T02:28:48.8569207Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8569587Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8569966Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8570319Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8570702Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8571098Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8571518Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8571934Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8572299Z fun List.component2(): T -2025-11-30T02:28:48.8572675Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8573087Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8573463Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8573837Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8574234Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8574678Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8575145Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8576012Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8577060Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8577510Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8577996Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8578674Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8579303Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8579786Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8580318Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.8580753Z ^^^^ -2025-11-30T02:28:48.8581440Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.8582423Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) -2025-11-30T02:28:48.8583115Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8583816Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8584826Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8585339Z ^^^^^^^^^ -2025-11-30T02:28:48.8585944Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8587391Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8587882Z ^ -2025-11-30T02:28:48.8588474Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8589311Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8589823Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8590481Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8591301Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8591812Z ^ -2025-11-30T02:28:48.8592445Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. -2025-11-30T02:28:48.8593253Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8593757Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8594435Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8595236Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8595922Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8596986Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8598048Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.8598610Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8599300Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. -2025-11-30T02:28:48.8600003Z val nodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.8600446Z ^^ -2025-11-30T02:28:48.8601101Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8601812Z val nodeId = NodeId(modelId, nodeIndex) -2025-11-30T02:28:48.8602226Z ^^^^^^^ -2025-11-30T02:28:48.8602862Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8603536Z val meshId = MeshId(modelId, nodeIndex) -2025-11-30T02:28:48.8603938Z ^^^^^^^ -2025-11-30T02:28:48.8604586Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8605308Z materialToMeshIds[materialIndex] = meshId -2025-11-30T02:28:48.8605742Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8607226Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8608107Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.8608695Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8609309Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. -2025-11-30T02:28:48.8610080Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.8610691Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8611566Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8612544Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.8613128Z ^^^^^^ -2025-11-30T02:28:48.8614215Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8615143Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.8615675Z ^ -2025-11-30T02:28:48.8616842Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. -2025-11-30T02:28:48.8617805Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.8618197Z ^^ -2025-11-30T02:28:48.8618788Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. -2025-11-30T02:28:48.8619480Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.8619910Z ^^^^^^^^ -2025-11-30T02:28:48.8620734Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8621559Z }?.let { -2025-11-30T02:28:48.8621891Z ^^^ -2025-11-30T02:28:48.8622570Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.8623326Z }?.let { -2025-11-30T02:28:48.8623648Z ^^^ -2025-11-30T02:28:48.8624298Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. -2025-11-30T02:28:48.8625212Z }?.let { -2025-11-30T02:28:48.8625511Z ^^^ -2025-11-30T02:28:48.8626226Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8627200Z }?.let { -2025-11-30T02:28:48.8627525Z ^ -2025-11-30T02:28:48.8628137Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. -2025-11-30T02:28:48.8628834Z textures.getOrNull(it) -2025-11-30T02:28:48.8629253Z ^^^^^^^^ -2025-11-30T02:28:48.8630030Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8630838Z }?.let { -2025-11-30T02:28:48.8631154Z ^^^ -2025-11-30T02:28:48.8631870Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.8632640Z }?.let { -2025-11-30T02:28:48.8632967Z ^^^ -2025-11-30T02:28:48.8633707Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8634523Z }?.let { -2025-11-30T02:28:48.8634870Z ^ -2025-11-30T02:28:48.8635489Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8636177Z rootNodes.add( -2025-11-30T02:28:48.8636730Z ^^^^^^^^^ -2025-11-30T02:28:48.8637390Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8638214Z attributes = materialData.vertexAttributes, -2025-11-30T02:28:48.8638738Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8639465Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.8640245Z bufferView = materialData.indexBufferView, -2025-11-30T02:28:48.8640773Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8641526Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. -2025-11-30T02:28:48.8642308Z componentType = indexBufferType, -2025-11-30T02:28:48.8643018Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8643755Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.8644619Z targets = materialMorphMap[materialIndex] ?: listOf(), -2025-11-30T02:28:48.8645201Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8645917Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. -2025-11-30T02:28:48.8646822Z val cameraNodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.8647278Z ^^ -2025-11-30T02:28:48.8648018Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8648774Z rootNodes.add( -2025-11-30T02:28:48.8649123Z ^^^^^^^^^ -2025-11-30T02:28:48.8649776Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8650533Z rootNodes.add( -2025-11-30T02:28:48.8650884Z ^ -2025-11-30T02:28:48.8651524Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8652286Z rootNodes.add( -2025-11-30T02:28:48.8652632Z ^^^ -2025-11-30T02:28:48.8653303Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8654308Z rootNodes.add( -2025-11-30T02:28:48.8654645Z ^ -2025-11-30T02:28:48.8655286Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8655980Z Node( -2025-11-30T02:28:48.8656251Z ^^^^ -2025-11-30T02:28:48.8657051Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8657764Z Node( -2025-11-30T02:28:48.8658062Z ^ -2025-11-30T02:28:48.8658677Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8659437Z name = "MMD Camera", -2025-11-30T02:28:48.8659847Z ^^^^ -2025-11-30T02:28:48.8660502Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8661261Z name = "MMD Camera", -2025-11-30T02:28:48.8661646Z ^ -2025-11-30T02:28:48.8662297Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8663016Z name = "MMD Camera", -2025-11-30T02:28:48.8663398Z ^ -2025-11-30T02:28:48.8664052Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8664762Z name = "MMD Camera", -2025-11-30T02:28:48.8665166Z ^^^^^^^^^^ -2025-11-30T02:28:48.8665877Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8666808Z name = "MMD Camera", -2025-11-30T02:28:48.8667192Z ^ -2025-11-30T02:28:48.8667883Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8668595Z name = "MMD Camera", -2025-11-30T02:28:48.8668964Z ^ -2025-11-30T02:28:48.8669663Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8670391Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8670786Z ^^ -2025-11-30T02:28:48.8671354Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8672271Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8672677Z ^ -2025-11-30T02:28:48.8673303Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8674049Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8674462Z ^^^^^^ -2025-11-30T02:28:48.8675116Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8675879Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8676331Z ^ -2025-11-30T02:28:48.8677200Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8677967Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8678407Z ^^^^^^^ -2025-11-30T02:28:48.8679119Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8679899Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8680334Z ^ -2025-11-30T02:28:48.8681048Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8681814Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8682495Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8683209Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8683980Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8684436Z ^ -2025-11-30T02:28:48.8685137Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8685938Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.8686580Z ^ -2025-11-30T02:28:48.8687408Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8688189Z components = listOf( -2025-11-30T02:28:48.8688580Z ^^^^^^^^^^ -2025-11-30T02:28:48.8689243Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8689952Z components = listOf( -2025-11-30T02:28:48.8690320Z ^ -2025-11-30T02:28:48.8690994Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8691716Z components = listOf( -2025-11-30T02:28:48.8692087Z ^^^^^^ -2025-11-30T02:28:48.8692751Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8693469Z components = listOf( -2025-11-30T02:28:48.8693861Z ^ -2025-11-30T02:28:48.8694587Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8695381Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8695853Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8696767Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8697581Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8698025Z ^ -2025-11-30T02:28:48.8698703Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8699494Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8699942Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8700937Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8701730Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.8702174Z ^ -2025-11-30T02:28:48.8702899Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8703657Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8704101Z ^^^^^^ -2025-11-30T02:28:48.8704788Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8705555Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8705985Z ^ -2025-11-30T02:28:48.8706891Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8707671Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8708088Z ^^^ -2025-11-30T02:28:48.8708786Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8709541Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8709968Z ^ -2025-11-30T02:28:48.8710618Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8711619Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8712061Z ^^^^ -2025-11-30T02:28:48.8712788Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8713562Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8713997Z ^ -2025-11-30T02:28:48.8714732Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8715495Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8715952Z ^ -2025-11-30T02:28:48.8716857Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8717639Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8718115Z ^^^^^^^^^^ -2025-11-30T02:28:48.8718844Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8719612Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8720058Z ^ -2025-11-30T02:28:48.8720775Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8721539Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.8721973Z ^ -2025-11-30T02:28:48.8722692Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8723416Z ) -2025-11-30T02:28:48.8723740Z ^ -2025-11-30T02:28:48.8724375Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8725445Z ) -2025-11-30T02:28:48.8725757Z ^ -2025-11-30T02:28:48.8726537Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8727260Z ) -2025-11-30T02:28:48.8727518Z ^ -2025-11-30T02:28:48.8728091Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8728786Z ) -2025-11-30T02:28:48.8729305Z ^ -2025-11-30T02:28:48.8729861Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.8730597Z val scene = Scene(nodes = rootNodes) -2025-11-30T02:28:48.8731042Z ^^^^^^^^^ -2025-11-30T02:28:48.8731753Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8732508Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8732934Z ^^^^^^ -2025-11-30T02:28:48.8733564Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8734332Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8734757Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8735427Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8736154Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8736783Z ^ -2025-11-30T02:28:48.8737406Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8738170Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8738608Z ^^^^^^^^^^ -2025-11-30T02:28:48.8739327Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8740395Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.8740834Z ^ -2025-11-30T02:28:48.8741472Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8742169Z metadata = Metadata( -2025-11-30T02:28:48.8742543Z ^^^^^^^^ -2025-11-30T02:28:48.8743194Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8743950Z metadata = Metadata( -2025-11-30T02:28:48.8744334Z ^ -2025-11-30T02:28:48.8744978Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8745714Z metadata = Metadata( -2025-11-30T02:28:48.8746072Z ^^^^^^^^ -2025-11-30T02:28:48.8746910Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8747650Z metadata = Metadata( -2025-11-30T02:28:48.8748033Z ^ -2025-11-30T02:28:48.8748712Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8749509Z title = header.modelNameLocal, -2025-11-30T02:28:48.8749979Z ^^^^^ -2025-11-30T02:28:48.8764220Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8765022Z title = header.modelNameLocal, -2025-11-30T02:28:48.8765402Z ^ -2025-11-30T02:28:48.8766038Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8767022Z title = header.modelNameLocal, -2025-11-30T02:28:48.8767481Z ^^^^^^ -2025-11-30T02:28:48.8768137Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8768890Z title = header.modelNameLocal, -2025-11-30T02:28:48.8769318Z ^ -2025-11-30T02:28:48.8769994Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8770751Z title = header.modelNameLocal, -2025-11-30T02:28:48.8771201Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8771957Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8772972Z title = header.modelNameLocal, -2025-11-30T02:28:48.8773422Z ^ -2025-11-30T02:28:48.8774166Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8774972Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8775430Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8776107Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8777119Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8777604Z ^ -2025-11-30T02:28:48.8778292Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8779085Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8779577Z ^^^^^^ -2025-11-30T02:28:48.8780287Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8781062Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8781528Z ^ -2025-11-30T02:28:48.8782232Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8783042Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8783768Z ^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8784483Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8785241Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.8785690Z ^ -2025-11-30T02:28:48.8786600Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8787403Z comment = header.commentLocal, -2025-11-30T02:28:48.8787819Z ^^^^^^^ -2025-11-30T02:28:48.8788483Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8789236Z comment = header.commentLocal, -2025-11-30T02:28:48.8789670Z ^ -2025-11-30T02:28:48.8790351Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8791091Z comment = header.commentLocal, -2025-11-30T02:28:48.8791499Z ^^^^^^ -2025-11-30T02:28:48.8792180Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8792946Z comment = header.commentLocal, -2025-11-30T02:28:48.8793361Z ^ -2025-11-30T02:28:48.8794062Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8794833Z comment = header.commentLocal, -2025-11-30T02:28:48.8795288Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8795989Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8796935Z comment = header.commentLocal, -2025-11-30T02:28:48.8797372Z ^ -2025-11-30T02:28:48.8798074Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8798876Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8799349Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8800056Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8800844Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8801580Z ^ -2025-11-30T02:28:48.8802308Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8803162Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8803656Z ^^^^^^ -2025-11-30T02:28:48.8804350Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8805141Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8805600Z ^ -2025-11-30T02:28:48.8806305Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8807330Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8807813Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8808580Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8809349Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.8809839Z ^ -2025-11-30T02:28:48.8810579Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8811273Z ), -2025-11-30T02:28:48.8811846Z ^ -2025-11-30T02:28:48.8812490Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8813220Z ), -2025-11-30T02:28:48.8813509Z ^ -2025-11-30T02:28:48.8814127Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8814855Z model = Model( -2025-11-30T02:28:48.8815226Z ^^^^^ -2025-11-30T02:28:48.8815887Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8816830Z model = Model( -2025-11-30T02:28:48.8817206Z ^ -2025-11-30T02:28:48.8817849Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8818619Z model = Model( -2025-11-30T02:28:48.8819000Z ^^^^^ -2025-11-30T02:28:48.8819694Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8820425Z model = Model( -2025-11-30T02:28:48.8820771Z ^ -2025-11-30T02:28:48.8821433Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8822204Z scenes = listOf(scene), -2025-11-30T02:28:48.8822637Z ^^^^^^ -2025-11-30T02:28:48.8823306Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8824093Z scenes = listOf(scene), -2025-11-30T02:28:48.8824489Z ^ -2025-11-30T02:28:48.8825156Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8826313Z scenes = listOf(scene), -2025-11-30T02:28:48.8826925Z ^^^^^^ -2025-11-30T02:28:48.8827645Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8828374Z scenes = listOf(scene), -2025-11-30T02:28:48.8828786Z ^ -2025-11-30T02:28:48.8829461Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8830188Z scenes = listOf(scene), -2025-11-30T02:28:48.8830575Z ^^^^^ -2025-11-30T02:28:48.8831510Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8832238Z scenes = listOf(scene), -2025-11-30T02:28:48.8832623Z ^ -2025-11-30T02:28:48.8833320Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8834052Z scenes = listOf(scene), -2025-11-30T02:28:48.8834452Z ^ -2025-11-30T02:28:48.8835154Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8835863Z skins = listOf(skin), -2025-11-30T02:28:48.8836245Z ^^^^^ -2025-11-30T02:28:48.8837109Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8837832Z skins = listOf(skin), -2025-11-30T02:28:48.8838216Z ^ -2025-11-30T02:28:48.8838862Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8839582Z skins = listOf(skin), -2025-11-30T02:28:48.8839967Z ^^^^^^ -2025-11-30T02:28:48.8840645Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8841355Z skins = listOf(skin), -2025-11-30T02:28:48.8841730Z ^ -2025-11-30T02:28:48.8842596Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8843267Z skins = listOf(skin), -2025-11-30T02:28:48.8843607Z ^^^^ -2025-11-30T02:28:48.8844248Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8844981Z skins = listOf(skin), -2025-11-30T02:28:48.8845367Z ^ -2025-11-30T02:28:48.8846072Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8846999Z skins = listOf(skin), -2025-11-30T02:28:48.8847396Z ^ -2025-11-30T02:28:48.8848080Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8848883Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8849371Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8850033Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8850848Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8851340Z ^ -2025-11-30T02:28:48.8852030Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8852852Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8853334Z ^^^^ -2025-11-30T02:28:48.8854025Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8854860Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8855342Z ^ -2025-11-30T02:28:48.8856015Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8857012Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8857512Z ^^^^^^ -2025-11-30T02:28:48.8858225Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8859058Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8859777Z ^ -2025-11-30T02:28:48.8860510Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8861324Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8861860Z ^^^^^^^^^^ -2025-11-30T02:28:48.8862587Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8863424Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8863936Z ^ -2025-11-30T02:28:48.8864637Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. -2025-11-30T02:28:48.8865453Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8865958Z ^^^^^^^^^^ -2025-11-30T02:28:48.8866846Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8867734Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8868249Z ^^^^^ -2025-11-30T02:28:48.8869195Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.8870224Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.8871024Z ^^ -2025-11-30T02:28:48.8871676Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8872449Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8872969Z ^^^^^ -2025-11-30T02:28:48.8873660Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.8874486Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8874995Z ^^^ -2025-11-30T02:28:48.8875657Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.8876623Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.8877150Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8877771Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. -2025-11-30T02:28:48.8878357Z return@mapNotNull null -2025-11-30T02:28:48.8878768Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8879409Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8880190Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8880679Z ^^^^^ -2025-11-30T02:28:48.8881376Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.8882226Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8882744Z ^^^ -2025-11-30T02:28:48.8883436Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.8884243Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.8884779Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8885391Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. -2025-11-30T02:28:48.8886005Z return@mapNotNull null -2025-11-30T02:28:48.8886636Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8887362Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8888486Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8888975Z ^^^^^ -2025-11-30T02:28:48.8889954Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. -2025-11-30T02:28:48.8891040Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8891593Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8892482Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8893504Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8894042Z ^^^^^^ -2025-11-30T02:28:48.8895145Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.8896294Z fun CharSequence.isNotBlank(): Boolean -2025-11-30T02:28:48.8897052Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.8897591Z ^^^^^^^^^^ -2025-11-30T02:28:48.8898437Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.8899563Z type = when (joint.type) { -2025-11-30T02:28:48.8900003Z ^^^^ -2025-11-30T02:28:48.8901111Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. -2025-11-30T02:28:48.8902266Z type = when (joint.type) { -2025-11-30T02:28:48.8902691Z ^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8903358Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8904045Z type = when (joint.type) { -2025-11-30T02:28:48.8904476Z ^^^^^ -2025-11-30T02:28:48.8905435Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.8906765Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8907346Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8908063Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8908892Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8909486Z ^^^^^^^ -2025-11-30T02:28:48.8910194Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8911017Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.8911710Z ^^^^^ -2025-11-30T02:28:48.8912702Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.8913819Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8914389Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8915095Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.8915914Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8916647Z ^^^^^^^ -2025-11-30T02:28:48.8917542Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8918311Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.8918856Z ^^^^^ -2025-11-30T02:28:48.8919528Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8920231Z position = joint.position, -2025-11-30T02:28:48.8920665Z ^^^^^ -2025-11-30T02:28:48.8921292Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8921989Z rotation = joint.rotation, -2025-11-30T02:28:48.8922389Z ^^^^^ -2025-11-30T02:28:48.8923013Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8923718Z positionMin = joint.positionMinimum, -2025-11-30T02:28:48.8924172Z ^^^^^ -2025-11-30T02:28:48.8924821Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8925593Z positionMax = joint.positionMaximum, -2025-11-30T02:28:48.8926057Z ^^^^^ -2025-11-30T02:28:48.8926888Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8927895Z rotationMin = joint.rotationMinimum, -2025-11-30T02:28:48.8928353Z ^^^^^ -2025-11-30T02:28:48.8928999Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8929735Z rotationMax = joint.rotationMaximum, -2025-11-30T02:28:48.8930207Z ^^^^^ -2025-11-30T02:28:48.8930898Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8931647Z positionSpring = joint.positionSpring, -2025-11-30T02:28:48.8932151Z ^^^^^ -2025-11-30T02:28:48.8932822Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.8933589Z rotationSpring = joint.rotationSpring, -2025-11-30T02:28:48.8934086Z ^^^^^ -2025-11-30T02:28:48.8934827Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8935580Z }, -2025-11-30T02:28:48.8935889Z ^ -2025-11-30T02:28:48.8936730Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8937511Z expressions = buildList { -2025-11-30T02:28:48.8937943Z ^^^^^^^^^^^ -2025-11-30T02:28:48.8938655Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8939447Z expressions = buildList { -2025-11-30T02:28:48.8939869Z ^ -2025-11-30T02:28:48.8940553Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8941331Z expressions = buildList { -2025-11-30T02:28:48.8941760Z ^^^^^^^^^ -2025-11-30T02:28:48.8942493Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8943252Z expressions = buildList { -2025-11-30T02:28:48.8943665Z ^ -2025-11-30T02:28:48.8944358Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. -2025-11-30T02:28:48.8945086Z expressions = buildList { -2025-11-30T02:28:48.8945736Z ^ -2025-11-30T02:28:48.8946617Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. -2025-11-30T02:28:48.8947450Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8947965Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8948782Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8949639Z fun Array.component1(): T -2025-11-30T02:28:48.8950062Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8950480Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8950897Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8951274Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8951682Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8952108Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8952559Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8952703Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8952835Z fun List.component1(): T -2025-11-30T02:28:48.8952991Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8953141Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8953286Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8953433Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8953591Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8954028Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8954174Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8954722Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8954877Z fun Array.component2(): T -2025-11-30T02:28:48.8955026Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8955174Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8955335Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8955480Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8955631Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8955788Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8955952Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8956104Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8956234Z fun List.component2(): T -2025-11-30T02:28:48.8956572Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8956741Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8956890Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8957047Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8957201Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8957418Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8957563Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8958191Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8958369Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8958526Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8958755Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8959110Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8959285Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8959490Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8959699Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.8959841Z ^^^^^^^^^ -2025-11-30T02:28:48.8960531Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. -2025-11-30T02:28:48.8960970Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8961114Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8961518Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.8961739Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8961870Z ^^^^^^^^^ -2025-11-30T02:28:48.8962328Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.8962541Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.8962680Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.8963046Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. -2025-11-30T02:28:48.8963194Z tag = target.tag, -2025-11-30T02:28:48.8963326Z ^^^ -2025-11-30T02:28:48.8963957Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. -2025-11-30T02:28:48.8964106Z isBinary = false, -2025-11-30T02:28:48.8964228Z ^^^^^ -2025-11-30T02:28:48.8965170Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.8966021Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8966212Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8967243Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. -2025-11-30T02:28:48.8967796Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8967978Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8968549Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8969101Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8969263Z ^^^^^^^^^^ -2025-11-30T02:28:48.8970092Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.8970385Z fun Iterable.mapNotNull(transform: (T) -> R?): List -2025-11-30T02:28:48.8970920Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8971090Z ^^^^^^^^^^ -2025-11-30T02:28:48.8971654Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8972239Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8972422Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8972981Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.8973389Z fun Array.component1(): T -2025-11-30T02:28:48.8973551Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.8973708Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.8973868Z fun IntArray.component1(): Int -2025-11-30T02:28:48.8974021Z fun LongArray.component1(): Long -2025-11-30T02:28:48.8974170Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.8974329Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.8974492Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.8974651Z fun CharArray.component1(): Char -2025-11-30T02:28:48.8974786Z fun List.component1(): T -2025-11-30T02:28:48.8974957Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.8975102Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.8975250Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.8975413Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.8975575Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.8976103Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8976299Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8977068Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.8977231Z fun Array.component2(): T -2025-11-30T02:28:48.8977383Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.8977789Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.8977938Z fun IntArray.component2(): Int -2025-11-30T02:28:48.8978084Z fun LongArray.component2(): Long -2025-11-30T02:28:48.8978240Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.8978398Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.8978564Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.8978714Z fun CharArray.component2(): Char -2025-11-30T02:28:48.8978857Z fun List.component2(): T -2025-11-30T02:28:48.8979028Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.8979175Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.8979330Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.8979484Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.8979640Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.8980157Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.8980355Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8980891Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8981018Z } ?: listOf(), -2025-11-30T02:28:48.8981138Z ^^^^^^ -2025-11-30T02:28:48.8981875Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.8982031Z } ?: listOf(), -2025-11-30T02:28:48.8982165Z ^^^^^^^^ -2025-11-30T02:28:48.8982530Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. -2025-11-30T02:28:48.8982766Z pmxIndexToExpressions[target.pmxIndex] = expression -2025-11-30T02:28:48.8982921Z ^^^^^^^^ -2025-11-30T02:28:48.8983279Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.8983415Z add(expression) -2025-11-30T02:28:48.8983541Z ^^^ -2025-11-30T02:28:48.8984151Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.8984327Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.8984774Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.8985002Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.8985319Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.8985491Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.8985706Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.8985877Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.8986013Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8986672Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. -2025-11-30T02:28:48.8986859Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.8986984Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.8987391Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.8987532Z add( -2025-11-30T02:28:48.8987637Z ^^^ -2025-11-30T02:28:48.8988173Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.8988412Z targets = group.items.mapNotNull { item -> -2025-11-30T02:28:48.8988556Z ^^^^ -2025-11-30T02:28:48.8989205Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. -2025-11-30T02:28:48.8989398Z val pmxMorphIndex = item.index -2025-11-30T02:28:48.8989544Z ^^^^^ -2025-11-30T02:28:48.8989952Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. -2025-11-30T02:28:48.8990128Z influence = item.influence, -2025-11-30T02:28:48.8990276Z ^^^^^^^^^ -2025-11-30T02:28:48.8990729Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8990853Z }, -2025-11-30T02:28:48.8990975Z ^ -2025-11-30T02:28:48.8991433Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8991582Z defaultScene = scene, -2025-11-30T02:28:48.8991719Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.8992157Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8992304Z defaultScene = scene, -2025-11-30T02:28:48.8992427Z ^ -2025-11-30T02:28:48.8992860Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8993006Z defaultScene = scene, -2025-11-30T02:28:48.8993139Z ^^^^^ -2025-11-30T02:28:48.8993592Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8993729Z defaultScene = scene, -2025-11-30T02:28:48.8993842Z ^ -2025-11-30T02:28:48.8994296Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8994410Z ), -2025-11-30T02:28:48.8994515Z ^ -2025-11-30T02:28:48.8994962Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8995066Z ), -2025-11-30T02:28:48.8995174Z ^ -2025-11-30T02:28:48.8995618Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8995763Z animations = listOf(), -2025-11-30T02:28:48.8996104Z ^^^^^^^^^^ -2025-11-30T02:28:48.8996766Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8996925Z animations = listOf(), -2025-11-30T02:28:48.8997043Z ^ -2025-11-30T02:28:48.8997502Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8997657Z animations = listOf(), -2025-11-30T02:28:48.8997785Z ^^^^^^ -2025-11-30T02:28:48.8998242Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8998389Z animations = listOf(), -2025-11-30T02:28:48.8998519Z ^ -2025-11-30T02:28:48.8998964Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8999114Z animations = listOf(), -2025-11-30T02:28:48.8999259Z ^ -2025-11-30T02:28:48.8999706Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.8999853Z animations = listOf(), -2025-11-30T02:28:48.8999976Z ^ -2025-11-30T02:28:48.9000437Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9000545Z ) -2025-11-30T02:28:48.9000894Z ^ -2025-11-30T02:28:48.9001389Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9001499Z } -2025-11-30T02:28:48.9001602Z ^ -2025-11-30T02:28:48.9002170Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. -2025-11-30T02:28:48.9002379Z override fun load(path: Path, basePath: Path) = -2025-11-30T02:28:48.9002490Z ^^^^^^^^ -2025-11-30T02:28:48.9003043Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9003356Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> -2025-11-30T02:28:48.9003496Z ^^^ -2025-11-30T02:28:48.9003894Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. -2025-11-30T02:28:48.9004058Z val context = Context(basePath) -2025-11-30T02:28:48.9004186Z ^^^^^^^ -2025-11-30T02:28:48.9004669Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9004786Z } -2025-11-30T02:28:48.9004888Z ^ -2025-11-30T02:28:48.9005035Z Nov 30, 2025 2:28:48 AM worker request 0 -2025-11-30T02:28:48.9005234Z SEVERE: Compilation failure: compile phase failed: -2025-11-30T02:28:48.9005837Z blazerod/model/model-pmx/PmxLoader.kt:27:1: error: class 'PmxLoader' is not abstract and does not implement abstract member: -2025-11-30T02:28:48.9006146Z fun load(path: Path, basePath: Path = ...): ModelFileLoader.LoadResult -2025-11-30T02:28:48.9006307Z class PmxLoader : ModelFileLoader { -2025-11-30T02:28:48.9006624Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9007040Z blazerod/model/model-pmx/PmxLoader.kt:1169:41: error: unresolved reference 'shapeSize'. -2025-11-30T02:28:48.9007234Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9007372Z ^^^^^^^^^ -2025-11-30T02:28:48.9007789Z blazerod/model/model-pmx/PmxLoader.kt:1169:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9007979Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9008122Z ^^^^^^^^^ -2025-11-30T02:28:48.9008791Z blazerod/model/model-pmx/PmxLoader.kt:1169:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9009244Z shapeSize = rigidBody.shapeSize, -2025-11-30T02:28:48.9009396Z ^ -2025-11-30T02:28:48.9009844Z blazerod/model/model-pmx/PmxLoader.kt:1170:41: error: unresolved reference 'shapePosition'. -2025-11-30T02:28:48.9010061Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9010198Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9010629Z blazerod/model/model-pmx/PmxLoader.kt:1170:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9010837Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9010987Z ^^^^^^^^^ -2025-11-30T02:28:48.9011663Z blazerod/model/model-pmx/PmxLoader.kt:1170:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9011879Z shapePosition = rigidBody.shapePosition, -2025-11-30T02:28:48.9012026Z ^ -2025-11-30T02:28:48.9012454Z blazerod/model/model-pmx/PmxLoader.kt:1171:41: error: unresolved reference 'shapeRotation'. -2025-11-30T02:28:48.9012652Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9012780Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9013362Z blazerod/model/model-pmx/PmxLoader.kt:1171:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9013567Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9013707Z ^^^^^^^^^ -2025-11-30T02:28:48.9014359Z blazerod/model/model-pmx/PmxLoader.kt:1171:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9014569Z shapeRotation = rigidBody.shapeRotation, -2025-11-30T02:28:48.9014707Z ^ -2025-11-30T02:28:48.9015085Z blazerod/model/model-pmx/PmxLoader.kt:1172:41: error: unresolved reference 'mass'. -2025-11-30T02:28:48.9015252Z mass = rigidBody.mass, -2025-11-30T02:28:48.9015377Z ^^^^ -2025-11-30T02:28:48.9015777Z blazerod/model/model-pmx/PmxLoader.kt:1172:48: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9015934Z mass = rigidBody.mass, -2025-11-30T02:28:48.9016062Z ^^^^^^^^^ -2025-11-30T02:28:48.9016902Z blazerod/model/model-pmx/PmxLoader.kt:1172:62: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9017058Z mass = rigidBody.mass, -2025-11-30T02:28:48.9017197Z ^ -2025-11-30T02:28:48.9017619Z blazerod/model/model-pmx/PmxLoader.kt:1173:41: error: unresolved reference 'moveAttenuation'. -2025-11-30T02:28:48.9017837Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9017973Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9018355Z blazerod/model/model-pmx/PmxLoader.kt:1173:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9018579Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9018720Z ^^^^^^^^^ -2025-11-30T02:28:48.9019354Z blazerod/model/model-pmx/PmxLoader.kt:1173:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9019568Z moveAttenuation = rigidBody.moveAttenuation, -2025-11-30T02:28:48.9019914Z ^ -2025-11-30T02:28:48.9020367Z blazerod/model/model-pmx/PmxLoader.kt:1174:41: error: unresolved reference 'rotationDamping'. -2025-11-30T02:28:48.9020594Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9020732Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9021137Z blazerod/model/model-pmx/PmxLoader.kt:1174:59: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9021364Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9021504Z ^^^^^^^^^ -2025-11-30T02:28:48.9022170Z blazerod/model/model-pmx/PmxLoader.kt:1174:84: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9022380Z rotationDamping = rigidBody.rotationDamping, -2025-11-30T02:28:48.9022532Z ^ -2025-11-30T02:28:48.9022937Z blazerod/model/model-pmx/PmxLoader.kt:1175:41: error: unresolved reference 'repulsion'. -2025-11-30T02:28:48.9023113Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9023233Z ^^^^^^^^^ -2025-11-30T02:28:48.9023622Z blazerod/model/model-pmx/PmxLoader.kt:1175:53: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9023958Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9024088Z ^^^^^^^^^ -2025-11-30T02:28:48.9024737Z blazerod/model/model-pmx/PmxLoader.kt:1175:72: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9024917Z repulsion = rigidBody.repulsion, -2025-11-30T02:28:48.9025067Z ^ -2025-11-30T02:28:48.9025493Z blazerod/model/model-pmx/PmxLoader.kt:1176:41: error: unresolved reference 'frictionForce'. -2025-11-30T02:28:48.9025689Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9025816Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9026211Z blazerod/model/model-pmx/PmxLoader.kt:1176:57: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9026593Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9026738Z ^^^^^^^^^ -2025-11-30T02:28:48.9027381Z blazerod/model/model-pmx/PmxLoader.kt:1176:80: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9027577Z frictionForce = rigidBody.frictionForce, -2025-11-30T02:28:48.9027721Z ^ -2025-11-30T02:28:48.9028131Z blazerod/model/model-pmx/PmxLoader.kt:1177:41: error: unresolved reference 'physicsMode'. -2025-11-30T02:28:48.9028346Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9028472Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9028980Z blazerod/model/model-pmx/PmxLoader.kt:1177:55: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.9029205Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9029332Z ^^^^ -2025-11-30T02:28:48.9029715Z blazerod/model/model-pmx/PmxLoader.kt:1177:61: error: unresolved reference 'rigidBody'. -2025-11-30T02:28:48.9029918Z physicsMode = when (rigidBody.physicsMode) { -2025-11-30T02:28:48.9030049Z ^^^^^^^^^ -2025-11-30T02:28:48.9030959Z blazerod/model/model-pmx/PmxLoader.kt:1181:42: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9031092Z }, -2025-11-30T02:28:48.9031207Z ^ -2025-11-30T02:28:48.9031608Z blazerod/model/model-pmx/PmxLoader.kt:1182:37: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9031734Z ) -2025-11-30T02:28:48.9031851Z ^ -2025-11-30T02:28:48.9032502Z blazerod/model/model-pmx/PmxLoader.kt:1183:34: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9032622Z }, -2025-11-30T02:28:48.9032736Z ^ -2025-11-30T02:28:48.9033157Z blazerod/model/model-pmx/PmxLoader.kt:1184:29: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9033321Z ) -2025-11-30T02:28:48.9033433Z ^ -2025-11-30T02:28:48.9033832Z blazerod/model/model-pmx/PmxLoader.kt:1185:25: error: syntax error: Expecting an element. -2025-11-30T02:28:48.9033944Z ) -2025-11-30T02:28:48.9034053Z ^ -2025-11-30T02:28:48.9034416Z blazerod/model/model-pmx/PmxLoader.kt:1186:21: error: missing return statement. -2025-11-30T02:28:48.9034750Z } -2025-11-30T02:28:48.9034854Z ^ -2025-11-30T02:28:48.9035216Z blazerod/model/model-pmx/PmxLoader.kt:1187:17: error: missing return statement. -2025-11-30T02:28:48.9035324Z } -2025-11-30T02:28:48.9035429Z ^ -2025-11-30T02:28:48.9035879Z blazerod/model/model-pmx/PmxLoader.kt:1189:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9036012Z return Node( -2025-11-30T02:28:48.9036119Z ^^^^^^ -2025-11-30T02:28:48.9036750Z blazerod/model/model-pmx/PmxLoader.kt:1189:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9036884Z return Node( -2025-11-30T02:28:48.9036996Z ^^^^ -2025-11-30T02:28:48.9037431Z blazerod/model/model-pmx/PmxLoader.kt:1189:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9037552Z return Node( -2025-11-30T02:28:48.9037660Z ^ -2025-11-30T02:28:48.9038092Z blazerod/model/model-pmx/PmxLoader.kt:1190:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9038233Z name = bone.nameLocal, -2025-11-30T02:28:48.9038350Z ^^^^ -2025-11-30T02:28:48.9038797Z blazerod/model/model-pmx/PmxLoader.kt:1190:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9038955Z name = bone.nameLocal, -2025-11-30T02:28:48.9039083Z ^ -2025-11-30T02:28:48.9039538Z blazerod/model/model-pmx/PmxLoader.kt:1190:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9039698Z name = bone.nameLocal, -2025-11-30T02:28:48.9039816Z ^^^^ -2025-11-30T02:28:48.9040271Z blazerod/model/model-pmx/PmxLoader.kt:1190:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9040420Z name = bone.nameLocal, -2025-11-30T02:28:48.9040541Z ^ -2025-11-30T02:28:48.9041009Z blazerod/model/model-pmx/PmxLoader.kt:1190:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9041155Z name = bone.nameLocal, -2025-11-30T02:28:48.9041274Z ^^^^^^^^^ -2025-11-30T02:28:48.9041720Z blazerod/model/model-pmx/PmxLoader.kt:1190:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9041861Z name = bone.nameLocal, -2025-11-30T02:28:48.9041981Z ^ -2025-11-30T02:28:48.9042679Z blazerod/model/model-pmx/PmxLoader.kt:1191:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9042824Z id = boneNodeId, -2025-11-30T02:28:48.9042936Z ^^ -2025-11-30T02:28:48.9043380Z blazerod/model/model-pmx/PmxLoader.kt:1191:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9043537Z id = boneNodeId, -2025-11-30T02:28:48.9043962Z ^ -2025-11-30T02:28:48.9044530Z blazerod/model/model-pmx/PmxLoader.kt:1191:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9044724Z id = boneNodeId, -2025-11-30T02:28:48.9044898Z ^^^^^^^^^^ -2025-11-30T02:28:48.9045462Z blazerod/model/model-pmx/PmxLoader.kt:1191:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9045623Z id = boneNodeId, -2025-11-30T02:28:48.9045888Z ^ -2025-11-30T02:28:48.9046710Z blazerod/model/model-pmx/PmxLoader.kt:1192:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9046957Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9047124Z ^^^^^^^^^ -2025-11-30T02:28:48.9047738Z blazerod/model/model-pmx/PmxLoader.kt:1192:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9047960Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9048224Z ^ -2025-11-30T02:28:48.9048995Z blazerod/model/model-pmx/PmxLoader.kt:1192:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9049294Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9049470Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9049971Z blazerod/model/model-pmx/PmxLoader.kt:1192:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9050249Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9050547Z ^ -2025-11-30T02:28:48.9051098Z blazerod/model/model-pmx/PmxLoader.kt:1192:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9051552Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9051753Z ^^^^^^^^^^ -2025-11-30T02:28:48.9052248Z blazerod/model/model-pmx/PmxLoader.kt:1192:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9052525Z transform = NodeTransform.Decomposed( -2025-11-30T02:28:48.9052833Z ^ -2025-11-30T02:28:48.9053361Z blazerod/model/model-pmx/PmxLoader.kt:1193:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9053712Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9053886Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9054396Z blazerod/model/model-pmx/PmxLoader.kt:1193:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9054696Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9055003Z ^ -2025-11-30T02:28:48.9055538Z blazerod/model/model-pmx/PmxLoader.kt:1193:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9055812Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9056110Z ^^^^^^^^ -2025-11-30T02:28:48.9056829Z blazerod/model/model-pmx/PmxLoader.kt:1193:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9057111Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9057437Z ^ -2025-11-30T02:28:48.9057973Z blazerod/model/model-pmx/PmxLoader.kt:1193:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9058481Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9058715Z ^ -2025-11-30T02:28:48.9059233Z blazerod/model/model-pmx/PmxLoader.kt:1193:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9059521Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9059853Z ^ -2025-11-30T02:28:48.9060473Z blazerod/model/model-pmx/PmxLoader.kt:1193:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9060779Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9060970Z ^^^ -2025-11-30T02:28:48.9061565Z blazerod/model/model-pmx/PmxLoader.kt:1193:53: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9061857Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9062041Z ^ -2025-11-30T02:28:48.9062800Z blazerod/model/model-pmx/PmxLoader.kt:1193:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9063082Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9063259Z ^^^^ -2025-11-30T02:28:48.9063825Z blazerod/model/model-pmx/PmxLoader.kt:1193:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9064324Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9064492Z ^ -2025-11-30T02:28:48.9065230Z blazerod/model/model-pmx/PmxLoader.kt:1193:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9065512Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9065720Z ^^^^^^^^ -2025-11-30T02:28:48.9066300Z blazerod/model/model-pmx/PmxLoader.kt:1193:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9066791Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9066973Z ^ -2025-11-30T02:28:48.9067601Z blazerod/model/model-pmx/PmxLoader.kt:1193:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9067959Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9068141Z ^ -2025-11-30T02:28:48.9082280Z blazerod/model/model-pmx/PmxLoader.kt:1193:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9082532Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9082679Z ^^^^ -2025-11-30T02:28:48.9083176Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9083399Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9083537Z ^ -2025-11-30T02:28:48.9083962Z blazerod/model/model-pmx/PmxLoader.kt:1193:74: error: function declaration must have a name. -2025-11-30T02:28:48.9084172Z translation = Vector3f().set(bone.position).also { -2025-11-30T02:28:48.9084321Z ^ -2025-11-30T02:28:48.9084758Z blazerod/model/model-pmx/PmxLoader.kt:1194:33: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.9084930Z if (parentPosition != null) { -2025-11-30T02:28:48.9085061Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9085453Z blazerod/model/model-pmx/PmxLoader.kt:1195:36: error: unresolved reference 'sub'. -2025-11-30T02:28:48.9085830Z it.sub(parentPosition) -2025-11-30T02:28:48.9085958Z ^^^ -2025-11-30T02:28:48.9086598Z blazerod/model/model-pmx/PmxLoader.kt:1195:40: error: unresolved reference 'parentPosition'. -2025-11-30T02:28:48.9086774Z it.sub(parentPosition) -2025-11-30T02:28:48.9086862Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9087134Z blazerod/model/model-pmx/PmxLoader.kt:1197:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9087240Z }, -2025-11-30T02:28:48.9087302Z ^ -2025-11-30T02:28:48.9087562Z blazerod/model/model-pmx/PmxLoader.kt:1198:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9087656Z rotation = Quaternionf(), -2025-11-30T02:28:48.9087723Z ^^^^^^^^ -2025-11-30T02:28:48.9087981Z blazerod/model/model-pmx/PmxLoader.kt:1198:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9088075Z rotation = Quaternionf(), -2025-11-30T02:28:48.9088142Z ^ -2025-11-30T02:28:48.9088495Z blazerod/model/model-pmx/PmxLoader.kt:1198:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9088591Z rotation = Quaternionf(), -2025-11-30T02:28:48.9088664Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9089077Z blazerod/model/model-pmx/PmxLoader.kt:1198:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089162Z rotation = Quaternionf(), -2025-11-30T02:28:48.9089235Z ^ -2025-11-30T02:28:48.9089477Z blazerod/model/model-pmx/PmxLoader.kt:1198:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089556Z rotation = Quaternionf(), -2025-11-30T02:28:48.9089633Z ^ -2025-11-30T02:28:48.9089872Z blazerod/model/model-pmx/PmxLoader.kt:1198:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9089955Z rotation = Quaternionf(), -2025-11-30T02:28:48.9090028Z ^ -2025-11-30T02:28:48.9090272Z blazerod/model/model-pmx/PmxLoader.kt:1199:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9090352Z scale = Vector3f(1f), -2025-11-30T02:28:48.9090426Z ^^^^^ -2025-11-30T02:28:48.9090664Z blazerod/model/model-pmx/PmxLoader.kt:1199:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9090741Z scale = Vector3f(1f), -2025-11-30T02:28:48.9090807Z ^ -2025-11-30T02:28:48.9091047Z blazerod/model/model-pmx/PmxLoader.kt:1199:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091121Z scale = Vector3f(1f), -2025-11-30T02:28:48.9091193Z ^^^^^^^^ -2025-11-30T02:28:48.9091430Z blazerod/model/model-pmx/PmxLoader.kt:1199:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091503Z scale = Vector3f(1f), -2025-11-30T02:28:48.9091570Z ^ -2025-11-30T02:28:48.9091807Z blazerod/model/model-pmx/PmxLoader.kt:1199:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9091928Z scale = Vector3f(1f), -2025-11-30T02:28:48.9092048Z ^^ -2025-11-30T02:28:48.9092480Z blazerod/model/model-pmx/PmxLoader.kt:1199:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9092623Z scale = Vector3f(1f), -2025-11-30T02:28:48.9092741Z ^ -2025-11-30T02:28:48.9093480Z blazerod/model/model-pmx/PmxLoader.kt:1199:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9093893Z scale = Vector3f(1f), -2025-11-30T02:28:48.9094014Z ^ -2025-11-30T02:28:48.9094452Z blazerod/model/model-pmx/PmxLoader.kt:1200:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9094574Z ), -2025-11-30T02:28:48.9094681Z ^ -2025-11-30T02:28:48.9095099Z blazerod/model/model-pmx/PmxLoader.kt:1200:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9095218Z ), -2025-11-30T02:28:48.9095326Z ^ -2025-11-30T02:28:48.9095696Z blazerod/model/model-pmx/PmxLoader.kt:1201:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9095783Z children = children, -2025-11-30T02:28:48.9095857Z ^^^^^^^^ -2025-11-30T02:28:48.9096229Z blazerod/model/model-pmx/PmxLoader.kt:1201:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9096358Z children = children, -2025-11-30T02:28:48.9096630Z ^ -2025-11-30T02:28:48.9096883Z blazerod/model/model-pmx/PmxLoader.kt:1201:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9096959Z children = children, -2025-11-30T02:28:48.9097027Z ^^^^^^^^ -2025-11-30T02:28:48.9097265Z blazerod/model/model-pmx/PmxLoader.kt:1201:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9097511Z children = children, -2025-11-30T02:28:48.9097576Z ^ -2025-11-30T02:28:48.9097816Z blazerod/model/model-pmx/PmxLoader.kt:1202:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9097904Z components = components, -2025-11-30T02:28:48.9097969Z ^^^^^^^^^^ -2025-11-30T02:28:48.9098230Z blazerod/model/model-pmx/PmxLoader.kt:1202:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9098320Z components = components, -2025-11-30T02:28:48.9098387Z ^ -2025-11-30T02:28:48.9098632Z blazerod/model/model-pmx/PmxLoader.kt:1202:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9098720Z components = components, -2025-11-30T02:28:48.9098789Z ^^^^^^^^^^ -2025-11-30T02:28:48.9099029Z blazerod/model/model-pmx/PmxLoader.kt:1202:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099116Z components = components, -2025-11-30T02:28:48.9099183Z ^ -2025-11-30T02:28:48.9099425Z blazerod/model/model-pmx/PmxLoader.kt:1203:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099492Z ) -2025-11-30T02:28:48.9099551Z ^ -2025-11-30T02:28:48.9099795Z blazerod/model/model-pmx/PmxLoader.kt:1206:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9099886Z rootBones.forEach { index -> -2025-11-30T02:28:48.9099952Z ^^^^^^^^^ -2025-11-30T02:28:48.9100191Z blazerod/model/model-pmx/PmxLoader.kt:1206:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9100271Z rootBones.forEach { index -> -2025-11-30T02:28:48.9100339Z ^ -2025-11-30T02:28:48.9100574Z blazerod/model/model-pmx/PmxLoader.kt:1206:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9100657Z rootBones.forEach { index -> -2025-11-30T02:28:48.9100726Z ^^^^^^^ -2025-11-30T02:28:48.9100963Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9101042Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101107Z ^ -2025-11-30T02:28:48.9101342Z blazerod/model/model-pmx/PmxLoader.kt:1206:31: error: function declaration must have a name. -2025-11-30T02:28:48.9101545Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101611Z ^^^^^^^^^^ -2025-11-30T02:28:48.9101828Z blazerod/model/model-pmx/PmxLoader.kt:1206:33: error: unresolved reference 'index'. -2025-11-30T02:28:48.9101908Z rootBones.forEach { index -> -2025-11-30T02:28:48.9101975Z ^^^^^ -2025-11-30T02:28:48.9102343Z blazerod/model/model-pmx/PmxLoader.kt:1206:39: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9102432Z rootBones.forEach { index -> -2025-11-30T02:28:48.9102495Z ^^ -2025-11-30T02:28:48.9102716Z blazerod/model/model-pmx/PmxLoader.kt:1207:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9102809Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9102872Z ^^^^^^^^^ -2025-11-30T02:28:48.9103088Z blazerod/model/model-pmx/PmxLoader.kt:1207:31: error: unresolved reference 'addBone'. -2025-11-30T02:28:48.9103179Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9103245Z ^^^^^^^ -2025-11-30T02:28:48.9103449Z blazerod/model/model-pmx/PmxLoader.kt:1207:39: error: unresolved reference 'index'. -2025-11-30T02:28:48.9103536Z rootNodes.add(addBone(index)) -2025-11-30T02:28:48.9103605Z ^^^^^ -2025-11-30T02:28:48.9103806Z blazerod/model/model-pmx/PmxLoader.kt:1210:33: error: unresolved reference 'bones'. -2025-11-30T02:28:48.9103971Z var nextNodeIndex = bones.size -2025-11-30T02:28:48.9104040Z ^^^^^ -2025-11-30T02:28:48.9104280Z blazerod/model/model-pmx/PmxLoader.kt:1216:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9104367Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9104432Z ^^^ -2025-11-30T02:28:48.9104670Z blazerod/model/model-pmx/PmxLoader.kt:1216:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9104757Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9104823Z ^ -2025-11-30T02:28:48.9105057Z blazerod/model/model-pmx/PmxLoader.kt:1216:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105140Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105207Z ^^^^^^^^^ -2025-11-30T02:28:48.9105446Z blazerod/model/model-pmx/PmxLoader.kt:1216:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105530Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105598Z ^^^^^ -2025-11-30T02:28:48.9105840Z blazerod/model/model-pmx/PmxLoader.kt:1216:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9105920Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9105988Z ^ -2025-11-30T02:28:48.9106217Z blazerod/model/model-pmx/PmxLoader.kt:1216:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9106306Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9106579Z ^^^^^^^ -2025-11-30T02:28:48.9106855Z blazerod/model/model-pmx/PmxLoader.kt:1216:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9106948Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9107019Z ^ -2025-11-30T02:28:48.9107405Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9107547Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9107653Z ^ -2025-11-30T02:28:48.9108017Z blazerod/model/model-pmx/PmxLoader.kt:1216:46: error: function declaration must have a name. -2025-11-30T02:28:48.9108163Z for (boneIndex in bones.indices) { -2025-11-30T02:28:48.9108284Z ^ -2025-11-30T02:28:48.9108833Z blazerod/model/model-pmx/PmxLoader.kt:1217:28: error: unresolved reference 'bones'. -2025-11-30T02:28:48.9108977Z val bone = bones[boneIndex] -2025-11-30T02:28:48.9109099Z ^^^^^ -2025-11-30T02:28:48.9109421Z blazerod/model/model-pmx/PmxLoader.kt:1217:34: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.9109506Z val bone = bones[boneIndex] -2025-11-30T02:28:48.9109580Z ^^^^^^^^^ -2025-11-30T02:28:48.9109802Z blazerod/model/model-pmx/PmxLoader.kt:1218:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9109899Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.9109970Z ^^^^^^^ -2025-11-30T02:28:48.9110182Z blazerod/model/model-pmx/PmxLoader.kt:1218:46: error: unresolved reference 'boneIndex'. -2025-11-30T02:28:48.9110270Z val nodeId = NodeId(modelId, boneIndex) -2025-11-30T02:28:48.9110349Z ^^^^^^^^^ -2025-11-30T02:28:48.9110570Z blazerod/model/model-pmx/PmxLoader.kt:1221:69: error: unresolved reference 'position'. -2025-11-30T02:28:48.9110772Z val inverseBindMatrix = Matrix4f().translation(bone.position).invertAffine() -2025-11-30T02:28:48.9110858Z ^^^^^^^^ -2025-11-30T02:28:48.9111079Z blazerod/model/model-pmx/PmxLoader.kt:1225:54: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.9111337Z HumanoidTag.fromPmxJapanese(bone.nameLocal) -2025-11-30T02:28:48.9111418Z ^^^^^^^^^ -2025-11-30T02:28:48.9111655Z blazerod/model/model-pmx/PmxLoader.kt:1226:60: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.9111781Z ?: HumanoidTag.fromPmxEnglish(bone.nameUniversal) -2025-11-30T02:28:48.9111864Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9112117Z blazerod/model/model-pmx/PmxLoader.kt:1237:81: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.9112371Z val pmxMorphToMaterialMorphIndexMap = mutableMapOf>() -2025-11-30T02:28:48.9112461Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9112701Z blazerod/model/model-pmx/PmxLoader.kt:1239:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9112856Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9112917Z ^^^ -2025-11-30T02:28:48.9113158Z blazerod/model/model-pmx/PmxLoader.kt:1239:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9113298Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9113359Z ^ -2025-11-30T02:28:48.9113596Z blazerod/model/model-pmx/PmxLoader.kt:1239:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9113735Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9113796Z ^ -2025-11-30T02:28:48.9114030Z blazerod/model/model-pmx/PmxLoader.kt:1239:19: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9114166Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9114232Z ^^^^^^^^^^ -2025-11-30T02:28:48.9114469Z blazerod/model/model-pmx/PmxLoader.kt:1239:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9114598Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9114669Z ^ -2025-11-30T02:28:48.9114905Z blazerod/model/model-pmx/PmxLoader.kt:1239:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9115033Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9115218Z ^^^^^^^^^ -2025-11-30T02:28:48.9115453Z blazerod/model/model-pmx/PmxLoader.kt:1239:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9115583Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9115656Z ^ -2025-11-30T02:28:48.9115890Z blazerod/model/model-pmx/PmxLoader.kt:1239:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9116020Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9116102Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9116342Z blazerod/model/model-pmx/PmxLoader.kt:1239:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9116718Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9116800Z ^ -2025-11-30T02:28:48.9117064Z blazerod/model/model-pmx/PmxLoader.kt:1239:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9117209Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9117292Z ^^^^^^^^^ -2025-11-30T02:28:48.9117537Z blazerod/model/model-pmx/PmxLoader.kt:1239:67: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9117671Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9117876Z ^ -2025-11-30T02:28:48.9118117Z blazerod/model/model-pmx/PmxLoader.kt:1239:68: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9118254Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9118337Z ^ -2025-11-30T02:28:48.9118582Z blazerod/model/model-pmx/PmxLoader.kt:1239:69: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9118718Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9118799Z ^ -2025-11-30T02:28:48.9119036Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9119173Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9119254Z ^ -2025-11-30T02:28:48.9119489Z blazerod/model/model-pmx/PmxLoader.kt:1239:71: error: function declaration must have a name. -2025-11-30T02:28:48.9119625Z for ((morphIndex, pmxTarget) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9119699Z ^ -2025-11-30T02:28:48.9119919Z blazerod/model/model-pmx/PmxLoader.kt:1240:87: error: unresolved reference 'morphIndex'. -2025-11-30T02:28:48.9120274Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.9120366Z ^^^^^^^^^^ -2025-11-30T02:28:48.9120705Z blazerod/model/model-pmx/PmxLoader.kt:1240:101: error: inapplicable candidate(s): fun mutableListOf(): MutableList -2025-11-30T02:28:48.9121013Z val materialMorphIndexList = pmxMorphToMaterialMorphIndexMap.getOrPut(morphIndex, ::mutableListOf) -2025-11-30T02:28:48.9121109Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9121339Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: unresolved reference 'pmxTarget'. -2025-11-30T02:28:48.9121460Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9121539Z ^^^^^^^^^ -2025-11-30T02:28:48.9121836Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9122047Z fun Array.component1(): T -2025-11-30T02:28:48.9122136Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9122219Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9122301Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9122386Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9122465Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9122552Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9122646Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9122724Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9122804Z fun List.component1(): T -2025-11-30T02:28:48.9122895Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9122977Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9123057Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9123136Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9123227Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9123344Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9123426Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9123727Z blazerod/model/model-pmx/PmxLoader.kt:1241:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9123811Z fun Array.component2(): T -2025-11-30T02:28:48.9123889Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9124051Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9124134Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9124212Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9124292Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9124377Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9124462Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9124539Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9124613Z fun List.component2(): T -2025-11-30T02:28:48.9124709Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9124786Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9124865Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9124948Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9125032Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9125142Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9125218Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9125576Z blazerod/model/model-pmx/PmxLoader.kt:1241:59: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9125676Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9125767Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9125894Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9126090Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9126185Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9126302Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9126593Z for ((materialIndex, target) in pmxTarget.data) { -2025-11-30T02:28:48.9126677Z ^^^^ -2025-11-30T02:28:48.9126927Z blazerod/model/model-pmx/PmxLoader.kt:1245:48: error: unresolved reference 'MaterialMorphData'. -2025-11-30T02:28:48.9127163Z materialMorphIndexList.add(MaterialMorphData(materialIndex, materialMorphIndex)) -2025-11-30T02:28:48.9127247Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9127499Z blazerod/model/model-pmx/PmxLoader.kt:1250:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9127655Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9127723Z ^^^^^^^^^ -2025-11-30T02:28:48.9127966Z blazerod/model/model-pmx/PmxLoader.kt:1250:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9128242Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9128304Z ^ -2025-11-30T02:28:48.9128561Z blazerod/model/model-pmx/PmxLoader.kt:1250:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9128708Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9128774Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9129022Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9129160Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9129233Z ^ -2025-11-30T02:28:48.9129467Z blazerod/model/model-pmx/PmxLoader.kt:1250:38: error: function declaration must have a name. -2025-11-30T02:28:48.9129602Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9129685Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9129918Z blazerod/model/model-pmx/PmxLoader.kt:1250:40: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9130056Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9130137Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9130506Z blazerod/model/model-pmx/PmxLoader.kt:1250:53: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9130748Z materials.forEachIndexed { materialIndex, materialData -> -2025-11-30T02:28:48.9130831Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9131041Z blazerod/model/model-pmx/PmxLoader.kt:1251:46: error: unresolved reference 'size'. -2025-11-30T02:28:48.9131132Z val nodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.9131200Z ^^ -2025-11-30T02:28:48.9131424Z blazerod/model/model-pmx/PmxLoader.kt:1252:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9131519Z val nodeId = NodeId(modelId, nodeIndex) -2025-11-30T02:28:48.9131588Z ^^^^^^^ -2025-11-30T02:28:48.9131803Z blazerod/model/model-pmx/PmxLoader.kt:1253:37: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9131893Z val meshId = MeshId(modelId, nodeIndex) -2025-11-30T02:28:48.9131962Z ^^^^^^^ -2025-11-30T02:28:48.9132197Z blazerod/model/model-pmx/PmxLoader.kt:1254:35: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9132300Z materialToMeshIds[materialIndex] = meshId -2025-11-30T02:28:48.9132369Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9132595Z blazerod/model/model-pmx/PmxLoader.kt:1256:35: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9132757Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.9132834Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9133008Z blazerod/model/model-pmx/PmxLoader.kt:1256:67: error: unresolved label. -2025-11-30T02:28:48.9133167Z val pmxMaterial = materialData?.material ?: return@forEachIndexed -2025-11-30T02:28:48.9133247Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9133546Z blazerod/model/model-pmx/PmxLoader.kt:1260:65: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9133696Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.9133776Z ^^^^^^ -2025-11-30T02:28:48.9134079Z blazerod/model/model-pmx/PmxLoader.kt:1260:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9134214Z baseColorTexture = pmxMaterial.textureIndex.takeIf { -2025-11-30T02:28:48.9134373Z ^ -2025-11-30T02:28:48.9134776Z blazerod/model/model-pmx/PmxLoader.kt:1261:28: error: 'operator' modifier is required on 'FirNamedFunctionSymbol kotlin/compareTo' in 'compareTo'. -2025-11-30T02:28:48.9134865Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.9134937Z ^^ -2025-11-30T02:28:48.9135152Z blazerod/model/model-pmx/PmxLoader.kt:1261:42: error: unresolved reference 'textures'. -2025-11-30T02:28:48.9135238Z it >= 0 && it in textures.indices -2025-11-30T02:28:48.9135311Z ^^^^^^^^ -2025-11-30T02:28:48.9135609Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9135676Z }?.let { -2025-11-30T02:28:48.9135739Z ^^^ -2025-11-30T02:28:48.9136020Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.9136089Z }?.let { -2025-11-30T02:28:48.9136151Z ^^^ -2025-11-30T02:28:48.9136615Z blazerod/model/model-pmx/PmxLoader.kt:1262:24: error: not enough information to infer type argument for 'R'. -2025-11-30T02:28:48.9136688Z }?.let { -2025-11-30T02:28:48.9136751Z ^^^ -2025-11-30T02:28:48.9137045Z blazerod/model/model-pmx/PmxLoader.kt:1262:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9137234Z }?.let { -2025-11-30T02:28:48.9137296Z ^ -2025-11-30T02:28:48.9137511Z blazerod/model/model-pmx/PmxLoader.kt:1263:25: error: unresolved reference 'textures'. -2025-11-30T02:28:48.9137606Z textures.getOrNull(it) -2025-11-30T02:28:48.9137671Z ^^^^^^^^ -2025-11-30T02:28:48.9137968Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9138043Z }?.let { -2025-11-30T02:28:48.9138108Z ^^^ -2025-11-30T02:28:48.9138380Z blazerod/model/model-pmx/PmxLoader.kt:1264:24: error: not enough information to infer type argument for 'T'. -2025-11-30T02:28:48.9138444Z }?.let { -2025-11-30T02:28:48.9138510Z ^^^ -2025-11-30T02:28:48.9138797Z blazerod/model/model-pmx/PmxLoader.kt:1264:28: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9138863Z }?.let { -2025-11-30T02:28:48.9138929Z ^ -2025-11-30T02:28:48.9139147Z blazerod/model/model-pmx/PmxLoader.kt:1270:17: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9139218Z rootNodes.add( -2025-11-30T02:28:48.9139284Z ^^^^^^^^^ -2025-11-30T02:28:48.9139510Z blazerod/model/model-pmx/PmxLoader.kt:1284:62: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9139631Z attributes = materialData.vertexAttributes, -2025-11-30T02:28:48.9139714Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9139940Z blazerod/model/model-pmx/PmxLoader.kt:1286:66: error: unresolved reference 'materialData'. -2025-11-30T02:28:48.9140061Z bufferView = materialData.indexBufferView, -2025-11-30T02:28:48.9140147Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9140387Z blazerod/model/model-pmx/PmxLoader.kt:1287:69: error: unresolved reference 'indexBufferType'. -2025-11-30T02:28:48.9140492Z componentType = indexBufferType, -2025-11-30T02:28:48.9140577Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9140809Z blazerod/model/model-pmx/PmxLoader.kt:1292:76: error: unresolved reference 'materialIndex'. -2025-11-30T02:28:48.9141062Z targets = materialMorphMap[materialIndex] ?: listOf(), -2025-11-30T02:28:48.9141146Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9141359Z blazerod/model/model-pmx/PmxLoader.kt:1310:48: error: unresolved reference 'size'. -2025-11-30T02:28:48.9141451Z val cameraNodeIndex = nextNodeIndex++ -2025-11-30T02:28:48.9141524Z ^^ -2025-11-30T02:28:48.9141768Z blazerod/model/model-pmx/PmxLoader.kt:1311:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9141842Z rootNodes.add( -2025-11-30T02:28:48.9141903Z ^^^^^^^^^ -2025-11-30T02:28:48.9142143Z blazerod/model/model-pmx/PmxLoader.kt:1311:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142219Z rootNodes.add( -2025-11-30T02:28:48.9142279Z ^ -2025-11-30T02:28:48.9142518Z blazerod/model/model-pmx/PmxLoader.kt:1311:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142593Z rootNodes.add( -2025-11-30T02:28:48.9142655Z ^^^ -2025-11-30T02:28:48.9142892Z blazerod/model/model-pmx/PmxLoader.kt:1311:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9142958Z rootNodes.add( -2025-11-30T02:28:48.9143024Z ^ -2025-11-30T02:28:48.9143374Z blazerod/model/model-pmx/PmxLoader.kt:1312:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9143438Z Node( -2025-11-30T02:28:48.9143503Z ^^^^ -2025-11-30T02:28:48.9143741Z blazerod/model/model-pmx/PmxLoader.kt:1312:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9143802Z Node( -2025-11-30T02:28:48.9143865Z ^ -2025-11-30T02:28:48.9144101Z blazerod/model/model-pmx/PmxLoader.kt:1313:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144181Z name = "MMD Camera", -2025-11-30T02:28:48.9144244Z ^^^^ -2025-11-30T02:28:48.9144487Z blazerod/model/model-pmx/PmxLoader.kt:1313:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144560Z name = "MMD Camera", -2025-11-30T02:28:48.9144622Z ^ -2025-11-30T02:28:48.9144863Z blazerod/model/model-pmx/PmxLoader.kt:1313:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9144937Z name = "MMD Camera", -2025-11-30T02:28:48.9145001Z ^ -2025-11-30T02:28:48.9145441Z blazerod/model/model-pmx/PmxLoader.kt:1313:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9145525Z name = "MMD Camera", -2025-11-30T02:28:48.9145593Z ^^^^^^^^^^ -2025-11-30T02:28:48.9145842Z blazerod/model/model-pmx/PmxLoader.kt:1313:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9145923Z name = "MMD Camera", -2025-11-30T02:28:48.9145990Z ^ -2025-11-30T02:28:48.9146309Z blazerod/model/model-pmx/PmxLoader.kt:1313:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9146565Z name = "MMD Camera", -2025-11-30T02:28:48.9146673Z ^ -2025-11-30T02:28:48.9147071Z blazerod/model/model-pmx/PmxLoader.kt:1314:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9147236Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9147329Z ^^ -2025-11-30T02:28:48.9147660Z blazerod/model/model-pmx/PmxLoader.kt:1314:24: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9147758Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9147826Z ^ -2025-11-30T02:28:48.9148216Z blazerod/model/model-pmx/PmxLoader.kt:1314:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9148309Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9148380Z ^^^^^^ -2025-11-30T02:28:48.9148615Z blazerod/model/model-pmx/PmxLoader.kt:1314:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9148704Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9148774Z ^ -2025-11-30T02:28:48.9149015Z blazerod/model/model-pmx/PmxLoader.kt:1314:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149104Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149171Z ^^^^^^^ -2025-11-30T02:28:48.9149411Z blazerod/model/model-pmx/PmxLoader.kt:1314:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149506Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149576Z ^ -2025-11-30T02:28:48.9149822Z blazerod/model/model-pmx/PmxLoader.kt:1314:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9149915Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9149992Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9150235Z blazerod/model/model-pmx/PmxLoader.kt:1314:57: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9150435Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9150509Z ^ -2025-11-30T02:28:48.9150827Z blazerod/model/model-pmx/PmxLoader.kt:1314:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9150991Z id = NodeId(modelId, cameraNodeIndex), -2025-11-30T02:28:48.9151108Z ^ -2025-11-30T02:28:48.9151544Z blazerod/model/model-pmx/PmxLoader.kt:1315:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9151695Z components = listOf( -2025-11-30T02:28:48.9151805Z ^^^^^^^^^^ -2025-11-30T02:28:48.9152232Z blazerod/model/model-pmx/PmxLoader.kt:1315:32: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9152374Z components = listOf( -2025-11-30T02:28:48.9152486Z ^ -2025-11-30T02:28:48.9152927Z blazerod/model/model-pmx/PmxLoader.kt:1315:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9153075Z components = listOf( -2025-11-30T02:28:48.9153192Z ^^^^^^ -2025-11-30T02:28:48.9153642Z blazerod/model/model-pmx/PmxLoader.kt:1315:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9153773Z components = listOf( -2025-11-30T02:28:48.9153893Z ^ -2025-11-30T02:28:48.9154316Z blazerod/model/model-pmx/PmxLoader.kt:1316:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9154489Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9154607Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9155006Z blazerod/model/model-pmx/PmxLoader.kt:1316:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9155174Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9155291Z ^ -2025-11-30T02:28:48.9155705Z blazerod/model/model-pmx/PmxLoader.kt:1316:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9155876Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9155999Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9156674Z blazerod/model/model-pmx/PmxLoader.kt:1316:54: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9156845Z NodeComponent.CameraComponent( -2025-11-30T02:28:48.9157167Z ^ -2025-11-30T02:28:48.9157608Z blazerod/model/model-pmx/PmxLoader.kt:1317:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9157773Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9157886Z ^^^^^^ -2025-11-30T02:28:48.9158329Z blazerod/model/model-pmx/PmxLoader.kt:1317:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9158488Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9158600Z ^ -2025-11-30T02:28:48.9159005Z blazerod/model/model-pmx/PmxLoader.kt:1317:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9159165Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9159276Z ^^^ -2025-11-30T02:28:48.9159693Z blazerod/model/model-pmx/PmxLoader.kt:1317:39: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9159861Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9159975Z ^ -2025-11-30T02:28:48.9160386Z blazerod/model/model-pmx/PmxLoader.kt:1317:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9160534Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9160649Z ^^^^ -2025-11-30T02:28:48.9161258Z blazerod/model/model-pmx/PmxLoader.kt:1317:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9161409Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9161526Z ^ -2025-11-30T02:28:48.9161948Z blazerod/model/model-pmx/PmxLoader.kt:1317:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9162087Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9162218Z ^ -2025-11-30T02:28:48.9162601Z blazerod/model/model-pmx/PmxLoader.kt:1317:48: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9162747Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9162872Z ^^^^^^^^^^ -2025-11-30T02:28:48.9163265Z blazerod/model/model-pmx/PmxLoader.kt:1317:58: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9163430Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9163565Z ^ -2025-11-30T02:28:48.9163963Z blazerod/model/model-pmx/PmxLoader.kt:1317:59: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9164110Z Camera.MMD(name = "MMD Camera") -2025-11-30T02:28:48.9164239Z ^ -2025-11-30T02:28:48.9164630Z blazerod/model/model-pmx/PmxLoader.kt:1318:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9164741Z ) -2025-11-30T02:28:48.9164845Z ^ -2025-11-30T02:28:48.9165293Z blazerod/model/model-pmx/PmxLoader.kt:1319:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9165401Z ) -2025-11-30T02:28:48.9165497Z ^ -2025-11-30T02:28:48.9165916Z blazerod/model/model-pmx/PmxLoader.kt:1320:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9166032Z ) -2025-11-30T02:28:48.9166131Z ^ -2025-11-30T02:28:48.9166793Z blazerod/model/model-pmx/PmxLoader.kt:1321:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9166916Z ) -2025-11-30T02:28:48.9167012Z ^ -2025-11-30T02:28:48.9167370Z blazerod/model/model-pmx/PmxLoader.kt:1323:39: error: unresolved reference 'rootNodes'. -2025-11-30T02:28:48.9167512Z val scene = Scene(nodes = rootNodes) -2025-11-30T02:28:48.9167854Z ^^^^^^^^^ -2025-11-30T02:28:48.9168249Z blazerod/model/model-pmx/PmxLoader.kt:1326:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9168412Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9168506Z ^^^^^^ -2025-11-30T02:28:48.9168873Z blazerod/model/model-pmx/PmxLoader.kt:1326:20: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9169017Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9169131Z ^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9169516Z blazerod/model/model-pmx/PmxLoader.kt:1326:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9169677Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9169801Z ^ -2025-11-30T02:28:48.9170233Z blazerod/model/model-pmx/PmxLoader.kt:1326:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9170388Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9170514Z ^^^^^^^^^^ -2025-11-30T02:28:48.9170935Z blazerod/model/model-pmx/PmxLoader.kt:1326:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9171103Z return ModelFileLoader.LoadResult( -2025-11-30T02:28:48.9171223Z ^ -2025-11-30T02:28:48.9171625Z blazerod/model/model-pmx/PmxLoader.kt:1327:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9171993Z metadata = Metadata( -2025-11-30T02:28:48.9172106Z ^^^^^^^^ -2025-11-30T02:28:48.9172510Z blazerod/model/model-pmx/PmxLoader.kt:1327:26: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9172627Z metadata = Metadata( -2025-11-30T02:28:48.9172724Z ^ -2025-11-30T02:28:48.9173102Z blazerod/model/model-pmx/PmxLoader.kt:1327:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9173226Z metadata = Metadata( -2025-11-30T02:28:48.9173327Z ^^^^^^^^ -2025-11-30T02:28:48.9173700Z blazerod/model/model-pmx/PmxLoader.kt:1327:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9173820Z metadata = Metadata( -2025-11-30T02:28:48.9173922Z ^ -2025-11-30T02:28:48.9174314Z blazerod/model/model-pmx/PmxLoader.kt:1328:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9174498Z title = header.modelNameLocal, -2025-11-30T02:28:48.9174595Z ^^^^^ -2025-11-30T02:28:48.9174844Z blazerod/model/model-pmx/PmxLoader.kt:1328:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9174937Z title = header.modelNameLocal, -2025-11-30T02:28:48.9175027Z ^ -2025-11-30T02:28:48.9175452Z blazerod/model/model-pmx/PmxLoader.kt:1328:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9175613Z title = header.modelNameLocal, -2025-11-30T02:28:48.9175731Z ^^^^^^ -2025-11-30T02:28:48.9176154Z blazerod/model/model-pmx/PmxLoader.kt:1328:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9176316Z title = header.modelNameLocal, -2025-11-30T02:28:48.9176613Z ^ -2025-11-30T02:28:48.9177034Z blazerod/model/model-pmx/PmxLoader.kt:1328:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9177194Z title = header.modelNameLocal, -2025-11-30T02:28:48.9177319Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9177730Z blazerod/model/model-pmx/PmxLoader.kt:1328:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9177886Z title = header.modelNameLocal, -2025-11-30T02:28:48.9177998Z ^ -2025-11-30T02:28:48.9178640Z blazerod/model/model-pmx/PmxLoader.kt:1329:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9178839Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9178949Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9179380Z blazerod/model/model-pmx/PmxLoader.kt:1329:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9179586Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9179695Z ^ -2025-11-30T02:28:48.9180055Z blazerod/model/model-pmx/PmxLoader.kt:1329:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9180213Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9180315Z ^^^^^^ -2025-11-30T02:28:48.9180700Z blazerod/model/model-pmx/PmxLoader.kt:1329:44: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9180886Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9181017Z ^ -2025-11-30T02:28:48.9181437Z blazerod/model/model-pmx/PmxLoader.kt:1329:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9181648Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9181779Z ^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9182191Z blazerod/model/model-pmx/PmxLoader.kt:1329:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9182621Z titleUniversal = header.modelNameUniversal, -2025-11-30T02:28:48.9182754Z ^ -2025-11-30T02:28:48.9183197Z blazerod/model/model-pmx/PmxLoader.kt:1330:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9183365Z comment = header.commentLocal, -2025-11-30T02:28:48.9183476Z ^^^^^^^ -2025-11-30T02:28:48.9183902Z blazerod/model/model-pmx/PmxLoader.kt:1330:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9184054Z comment = header.commentLocal, -2025-11-30T02:28:48.9184173Z ^ -2025-11-30T02:28:48.9184591Z blazerod/model/model-pmx/PmxLoader.kt:1330:31: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9184749Z comment = header.commentLocal, -2025-11-30T02:28:48.9184877Z ^^^^^^ -2025-11-30T02:28:48.9185315Z blazerod/model/model-pmx/PmxLoader.kt:1330:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9185455Z comment = header.commentLocal, -2025-11-30T02:28:48.9185557Z ^ -2025-11-30T02:28:48.9185950Z blazerod/model/model-pmx/PmxLoader.kt:1330:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9186081Z comment = header.commentLocal, -2025-11-30T02:28:48.9186214Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9186859Z blazerod/model/model-pmx/PmxLoader.kt:1330:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9187022Z comment = header.commentLocal, -2025-11-30T02:28:48.9187135Z ^ -2025-11-30T02:28:48.9187608Z blazerod/model/model-pmx/PmxLoader.kt:1331:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9187803Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9187916Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9188329Z blazerod/model/model-pmx/PmxLoader.kt:1331:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9188520Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9188642Z ^ -2025-11-30T02:28:48.9189063Z blazerod/model/model-pmx/PmxLoader.kt:1331:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9189455Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9189586Z ^^^^^^ -2025-11-30T02:28:48.9190021Z blazerod/model/model-pmx/PmxLoader.kt:1331:46: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9190219Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9190345Z ^ -2025-11-30T02:28:48.9190756Z blazerod/model/model-pmx/PmxLoader.kt:1331:47: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9190926Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9191040Z ^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9191419Z blazerod/model/model-pmx/PmxLoader.kt:1331:63: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9191581Z commentUniversal = header.commentUniversal, -2025-11-30T02:28:48.9191693Z ^ -2025-11-30T02:28:48.9192065Z blazerod/model/model-pmx/PmxLoader.kt:1332:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9192177Z ), -2025-11-30T02:28:48.9192282Z ^ -2025-11-30T02:28:48.9192697Z blazerod/model/model-pmx/PmxLoader.kt:1332:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9192793Z ), -2025-11-30T02:28:48.9193126Z ^ -2025-11-30T02:28:48.9193559Z blazerod/model/model-pmx/PmxLoader.kt:1333:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9193681Z model = Model( -2025-11-30T02:28:48.9193796Z ^^^^^ -2025-11-30T02:28:48.9194200Z blazerod/model/model-pmx/PmxLoader.kt:1333:23: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9194317Z model = Model( -2025-11-30T02:28:48.9194417Z ^ -2025-11-30T02:28:48.9194858Z blazerod/model/model-pmx/PmxLoader.kt:1333:25: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9194977Z model = Model( -2025-11-30T02:28:48.9195086Z ^^^^^ -2025-11-30T02:28:48.9195490Z blazerod/model/model-pmx/PmxLoader.kt:1333:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9195609Z model = Model( -2025-11-30T02:28:48.9195718Z ^ -2025-11-30T02:28:48.9196170Z blazerod/model/model-pmx/PmxLoader.kt:1334:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9196295Z scenes = listOf(scene), -2025-11-30T02:28:48.9196587Z ^^^^^^ -2025-11-30T02:28:48.9197013Z blazerod/model/model-pmx/PmxLoader.kt:1334:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9197142Z scenes = listOf(scene), -2025-11-30T02:28:48.9197250Z ^ -2025-11-30T02:28:48.9197689Z blazerod/model/model-pmx/PmxLoader.kt:1334:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9197830Z scenes = listOf(scene), -2025-11-30T02:28:48.9197945Z ^^^^^^ -2025-11-30T02:28:48.9198376Z blazerod/model/model-pmx/PmxLoader.kt:1334:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9198530Z scenes = listOf(scene), -2025-11-30T02:28:48.9198646Z ^ -2025-11-30T02:28:48.9199056Z blazerod/model/model-pmx/PmxLoader.kt:1334:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9199173Z scenes = listOf(scene), -2025-11-30T02:28:48.9199279Z ^^^^^ -2025-11-30T02:28:48.9199651Z blazerod/model/model-pmx/PmxLoader.kt:1334:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9199762Z scenes = listOf(scene), -2025-11-30T02:28:48.9199862Z ^ -2025-11-30T02:28:48.9200475Z blazerod/model/model-pmx/PmxLoader.kt:1334:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9200614Z scenes = listOf(scene), -2025-11-30T02:28:48.9200734Z ^ -2025-11-30T02:28:48.9201170Z blazerod/model/model-pmx/PmxLoader.kt:1335:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9201300Z skins = listOf(skin), -2025-11-30T02:28:48.9201412Z ^^^^^ -2025-11-30T02:28:48.9201828Z blazerod/model/model-pmx/PmxLoader.kt:1335:27: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9201958Z skins = listOf(skin), -2025-11-30T02:28:48.9202056Z ^ -2025-11-30T02:28:48.9202476Z blazerod/model/model-pmx/PmxLoader.kt:1335:29: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9202609Z skins = listOf(skin), -2025-11-30T02:28:48.9202736Z ^^^^^^ -2025-11-30T02:28:48.9203178Z blazerod/model/model-pmx/PmxLoader.kt:1335:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9203307Z skins = listOf(skin), -2025-11-30T02:28:48.9203416Z ^ -2025-11-30T02:28:48.9203825Z blazerod/model/model-pmx/PmxLoader.kt:1335:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9203954Z skins = listOf(skin), -2025-11-30T02:28:48.9204253Z ^^^^ -2025-11-30T02:28:48.9204699Z blazerod/model/model-pmx/PmxLoader.kt:1335:40: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9204822Z skins = listOf(skin), -2025-11-30T02:28:48.9204928Z ^ -2025-11-30T02:28:48.9205347Z blazerod/model/model-pmx/PmxLoader.kt:1335:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9205490Z skins = listOf(skin), -2025-11-30T02:28:48.9205618Z ^ -2025-11-30T02:28:48.9206045Z blazerod/model/model-pmx/PmxLoader.kt:1336:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9206293Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9206594Z ^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9207043Z blazerod/model/model-pmx/PmxLoader.kt:1336:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9207304Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9207426Z ^ -2025-11-30T02:28:48.9207849Z blazerod/model/model-pmx/PmxLoader.kt:1336:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9208062Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9208179Z ^^^^ -2025-11-30T02:28:48.9208598Z blazerod/model/model-pmx/PmxLoader.kt:1336:42: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9208829Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9208955Z ^ -2025-11-30T02:28:48.9209378Z blazerod/model/model-pmx/PmxLoader.kt:1336:43: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9209598Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9209732Z ^^^^^^ -2025-11-30T02:28:48.9210168Z blazerod/model/model-pmx/PmxLoader.kt:1336:49: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9210387Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9210508Z ^ -2025-11-30T02:28:48.9210939Z blazerod/model/model-pmx/PmxLoader.kt:1336:50: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9211140Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9211488Z ^^^^^^^^^^ -2025-11-30T02:28:48.9211914Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9212123Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9212268Z ^ -2025-11-30T02:28:48.9212682Z blazerod/model/model-pmx/PmxLoader.kt:1336:61: error: function declaration must have a name. -2025-11-30T02:28:48.9212920Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9213056Z ^^^^^^^^^^ -2025-11-30T02:28:48.9213418Z blazerod/model/model-pmx/PmxLoader.kt:1336:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9213645Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9213800Z ^^^^^ -2025-11-30T02:28:48.9214429Z blazerod/model/model-pmx/PmxLoader.kt:1336:69: error: syntax error: Unexpected tokens (use ';' to separate expressions on the same line). -2025-11-30T02:28:48.9214652Z physicalJoints = this.joints.mapNotNull { joint -> -2025-11-30T02:28:48.9214783Z ^^ -2025-11-30T02:28:48.9215145Z blazerod/model/model-pmx/PmxLoader.kt:1337:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9215610Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9215734Z ^^^^^ -2025-11-30T02:28:48.9216158Z blazerod/model/model-pmx/PmxLoader.kt:1337:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.9216673Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9216821Z ^^^ -2025-11-30T02:28:48.9217234Z blazerod/model/model-pmx/PmxLoader.kt:1337:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.9217463Z if (joint.rigidBodyIndexA !in rigidBodies.indices) { -2025-11-30T02:28:48.9217589Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9217876Z blazerod/model/model-pmx/PmxLoader.kt:1338:35: error: unresolved label. -2025-11-30T02:28:48.9218008Z return@mapNotNull null -2025-11-30T02:28:48.9218138Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9218505Z blazerod/model/model-pmx/PmxLoader.kt:1340:29: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9218716Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9218833Z ^^^^^ -2025-11-30T02:28:48.9219258Z blazerod/model/model-pmx/PmxLoader.kt:1340:51: error: unresolved reference 'not' for operator '!'. -2025-11-30T02:28:48.9219485Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9219629Z ^^^ -2025-11-30T02:28:48.9220025Z blazerod/model/model-pmx/PmxLoader.kt:1340:55: error: unresolved reference 'rigidBodies'. -2025-11-30T02:28:48.9220237Z if (joint.rigidBodyIndexB !in rigidBodies.indices) { -2025-11-30T02:28:48.9220371Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9220695Z blazerod/model/model-pmx/PmxLoader.kt:1341:35: error: unresolved label. -2025-11-30T02:28:48.9220852Z return@mapNotNull null -2025-11-30T02:28:48.9220979Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9221342Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9221585Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9221680Z ^^^^^ -2025-11-30T02:28:48.9222551Z blazerod/model/model-pmx/PmxLoader.kt:1344:36: error: argument type mismatch: actual type is 'T? (of fun T.takeIf)', but 'String?' was expected. -2025-11-30T02:28:48.9222748Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9222865Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9223338Z blazerod/model/model-pmx/PmxLoader.kt:1344:52: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9223533Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9223647Z ^^^^^^ -2025-11-30T02:28:48.9224334Z blazerod/model/model-pmx/PmxLoader.kt:1344:67: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.9224475Z fun CharSequence.isNotBlank(): Boolean -2025-11-30T02:28:48.9224666Z name = joint.nameLocal.takeIf(String::isNotBlank), -2025-11-30T02:28:48.9224787Z ^^^^^^^^^^ -2025-11-30T02:28:48.9225268Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: 'when' expression must be exhaustive. Add an 'else' branch. -2025-11-30T02:28:48.9225420Z type = when (joint.type) { -2025-11-30T02:28:48.9225536Z ^^^^ -2025-11-30T02:28:48.9226733Z blazerod/model/model-pmx/PmxLoader.kt:1345:36: error: argument type mismatch: actual type is 'PhysicalJoint.JointType', but 'PhysicalJoint.JointType' was expected. -2025-11-30T02:28:48.9226900Z type = when (joint.type) { -2025-11-30T02:28:48.9227020Z ^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9227383Z blazerod/model/model-pmx/PmxLoader.kt:1345:42: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9227516Z type = when (joint.type) { -2025-11-30T02:28:48.9227634Z ^^^^^ -2025-11-30T02:28:48.9228254Z blazerod/model/model-pmx/PmxLoader.kt:1348:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.9228507Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9228649Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9229037Z blazerod/model/model-pmx/PmxLoader.kt:1348:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9229275Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9229408Z ^^^^^^^ -2025-11-30T02:28:48.9229769Z blazerod/model/model-pmx/PmxLoader.kt:1348:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9230019Z rigidBodyA = RigidBodyId(modelId, joint.rigidBodyIndexA), -2025-11-30T02:28:48.9230159Z ^^^^^ -2025-11-30T02:28:48.9230820Z blazerod/model/model-pmx/PmxLoader.kt:1349:42: error: argument type mismatch: actual type is 'RigidBodyId', but 'RigidBodyId' was expected. -2025-11-30T02:28:48.9231084Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9231238Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9231631Z blazerod/model/model-pmx/PmxLoader.kt:1349:54: error: unresolved reference 'modelId'. -2025-11-30T02:28:48.9231895Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9232032Z ^^^^^^^ -2025-11-30T02:28:48.9232410Z blazerod/model/model-pmx/PmxLoader.kt:1349:63: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9232676Z rigidBodyB = RigidBodyId(modelId, joint.rigidBodyIndexB), -2025-11-30T02:28:48.9233083Z ^^^^^ -2025-11-30T02:28:48.9233438Z blazerod/model/model-pmx/PmxLoader.kt:1350:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9233605Z position = joint.position, -2025-11-30T02:28:48.9233727Z ^^^^^ -2025-11-30T02:28:48.9234100Z blazerod/model/model-pmx/PmxLoader.kt:1351:40: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9234270Z rotation = joint.rotation, -2025-11-30T02:28:48.9234396Z ^^^^^ -2025-11-30T02:28:48.9234766Z blazerod/model/model-pmx/PmxLoader.kt:1352:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9234956Z positionMin = joint.positionMinimum, -2025-11-30T02:28:48.9235091Z ^^^^^ -2025-11-30T02:28:48.9235549Z blazerod/model/model-pmx/PmxLoader.kt:1353:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9235733Z positionMax = joint.positionMaximum, -2025-11-30T02:28:48.9235843Z ^^^^^ -2025-11-30T02:28:48.9236188Z blazerod/model/model-pmx/PmxLoader.kt:1354:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9236362Z rotationMin = joint.rotationMinimum, -2025-11-30T02:28:48.9236696Z ^^^^^ -2025-11-30T02:28:48.9237281Z blazerod/model/model-pmx/PmxLoader.kt:1355:43: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9237459Z rotationMax = joint.rotationMaximum, -2025-11-30T02:28:48.9237574Z ^^^^^ -2025-11-30T02:28:48.9237931Z blazerod/model/model-pmx/PmxLoader.kt:1356:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9238120Z positionSpring = joint.positionSpring, -2025-11-30T02:28:48.9238244Z ^^^^^ -2025-11-30T02:28:48.9238579Z blazerod/model/model-pmx/PmxLoader.kt:1357:46: error: unresolved reference 'joint'. -2025-11-30T02:28:48.9238747Z rotationSpring = joint.rotationSpring, -2025-11-30T02:28:48.9238863Z ^^^^^ -2025-11-30T02:28:48.9239277Z blazerod/model/model-pmx/PmxLoader.kt:1359:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9239404Z }, -2025-11-30T02:28:48.9239518Z ^ -2025-11-30T02:28:48.9239953Z blazerod/model/model-pmx/PmxLoader.kt:1360:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9240120Z expressions = buildList { -2025-11-30T02:28:48.9240249Z ^^^^^^^^^^^ -2025-11-30T02:28:48.9240640Z blazerod/model/model-pmx/PmxLoader.kt:1360:33: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9240784Z expressions = buildList { -2025-11-30T02:28:48.9240908Z ^ -2025-11-30T02:28:48.9241345Z blazerod/model/model-pmx/PmxLoader.kt:1360:35: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9241504Z expressions = buildList { -2025-11-30T02:28:48.9241626Z ^^^^^^^^^ -2025-11-30T02:28:48.9242042Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9242201Z expressions = buildList { -2025-11-30T02:28:48.9242322Z ^ -2025-11-30T02:28:48.9242714Z blazerod/model/model-pmx/PmxLoader.kt:1360:45: error: function declaration must have a name. -2025-11-30T02:28:48.9242853Z expressions = buildList { -2025-11-30T02:28:48.9242963Z ^ -2025-11-30T02:28:48.9243359Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: unresolved reference 'morphTargets'. -2025-11-30T02:28:48.9243822Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9243961Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9244475Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9244635Z fun Array.component1(): T -2025-11-30T02:28:48.9244789Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9244937Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9245104Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9245237Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9245363Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9245503Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9245668Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9245810Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9245944Z fun List.component1(): T -2025-11-30T02:28:48.9246110Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9246264Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9246606Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9246758Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9246924Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9247144Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9247279Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9248046Z blazerod/model/model-pmx/PmxLoader.kt:1361:49: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9248188Z fun Array.component2(): T -2025-11-30T02:28:48.9248335Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9248487Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9248626Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9248764Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9248904Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9249065Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9249225Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9249376Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9249521Z fun List.component2(): T -2025-11-30T02:28:48.9249675Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9249816Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9249966Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9250117Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9250284Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9250501Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9250645Z ^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9251230Z blazerod/model/model-pmx/PmxLoader.kt:1361:62: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9251410Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9251578Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9251785Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9252130Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9252305Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9252523Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9252730Z for ((index, target) in morphTargets.withIndex()) { -2025-11-30T02:28:48.9252887Z ^^^^^^^^^ -2025-11-30T02:28:48.9253566Z blazerod/model/model-pmx/PmxLoader.kt:1363:40: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'String?' was expected. -2025-11-30T02:28:48.9253789Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9253932Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9254580Z blazerod/model/model-pmx/PmxLoader.kt:1363:47: error: unresolved reference 'nameLocal'. -2025-11-30T02:28:48.9254799Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9254925Z ^^^^^^^^^ -2025-11-30T02:28:48.9255345Z blazerod/model/model-pmx/PmxLoader.kt:1363:67: error: unresolved reference 'nameUniversal'. -2025-11-30T02:28:48.9255553Z name = target.nameLocal ?: target.nameUniversal, -2025-11-30T02:28:48.9255704Z ^^^^^^^^^^^^^ -2025-11-30T02:28:48.9256069Z blazerod/model/model-pmx/PmxLoader.kt:1364:46: error: unresolved reference 'tag'. -2025-11-30T02:28:48.9256223Z tag = target.tag, -2025-11-30T02:28:48.9256345Z ^^^ -2025-11-30T02:28:48.9257181Z blazerod/model/model-pmx/PmxLoader.kt:1365:44: error: argument type mismatch: actual type is 'Boolean', but 'Boolean' was expected. -2025-11-30T02:28:48.9257337Z isBinary = false, -2025-11-30T02:28:48.9257456Z ^^^^^ -2025-11-30T02:28:48.9258330Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'List Iterable.mapNotNull)>?', but 'K? (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.9258847Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9259208Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9260020Z blazerod/model/model-pmx/PmxLoader.kt:1366:44: error: argument type mismatch: actual type is 'K (of fun ELVIS_CALL)', but 'List' was expected. -2025-11-30T02:28:48.9260546Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9260719Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9261266Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9261782Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9261948Z ^^^^^^^^^^ -2025-11-30T02:28:48.9262770Z blazerod/model/model-pmx/PmxLoader.kt:1366:84: error: unresolved reference. None of the following candidates is applicable because of a receiver type mismatch: -2025-11-30T02:28:48.9263044Z fun Iterable.mapNotNull(transform: (T) -> R?): List -2025-11-30T02:28:48.9263540Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9263702Z ^^^^^^^^^^ -2025-11-30T02:28:48.9264244Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9264735Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9264913Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9265477Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component1()' is ambiguous for this expression: -2025-11-30T02:28:48.9265625Z fun Array.component1(): T -2025-11-30T02:28:48.9265774Z fun ByteArray.component1(): Byte -2025-11-30T02:28:48.9265927Z fun ShortArray.component1(): Short -2025-11-30T02:28:48.9266259Z fun IntArray.component1(): Int -2025-11-30T02:28:48.9266602Z fun LongArray.component1(): Long -2025-11-30T02:28:48.9266755Z fun FloatArray.component1(): Float -2025-11-30T02:28:48.9266906Z fun DoubleArray.component1(): Double -2025-11-30T02:28:48.9267065Z fun BooleanArray.component1(): Boolean -2025-11-30T02:28:48.9267203Z fun CharArray.component1(): Char -2025-11-30T02:28:48.9267337Z fun List.component1(): T -2025-11-30T02:28:48.9267488Z fun Map.Entry.component1(): K -2025-11-30T02:28:48.9267635Z fun UIntArray.component1(): UInt -2025-11-30T02:28:48.9267776Z fun ULongArray.component1(): ULong -2025-11-30T02:28:48.9267928Z fun UByteArray.component1(): UByte -2025-11-30T02:28:48.9268079Z fun UShortArray.component1(): UShort. -2025-11-30T02:28:48.9268588Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9268768Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9269316Z blazerod/model/model-pmx/PmxLoader.kt:1366:97: error: function 'component2()' is ambiguous for this expression: -2025-11-30T02:28:48.9269461Z fun Array.component2(): T -2025-11-30T02:28:48.9269614Z fun ByteArray.component2(): Byte -2025-11-30T02:28:48.9269761Z fun ShortArray.component2(): Short -2025-11-30T02:28:48.9269911Z fun IntArray.component2(): Int -2025-11-30T02:28:48.9270055Z fun LongArray.component2(): Long -2025-11-30T02:28:48.9270404Z fun FloatArray.component2(): Float -2025-11-30T02:28:48.9270556Z fun DoubleArray.component2(): Double -2025-11-30T02:28:48.9270714Z fun BooleanArray.component2(): Boolean -2025-11-30T02:28:48.9270865Z fun CharArray.component2(): Char -2025-11-30T02:28:48.9271000Z fun List.component2(): T -2025-11-30T02:28:48.9271155Z fun Map.Entry.component2(): V -2025-11-30T02:28:48.9271297Z fun UIntArray.component2(): UInt -2025-11-30T02:28:48.9271445Z fun ULongArray.component2(): ULong -2025-11-30T02:28:48.9271593Z fun UByteArray.component2(): UByte -2025-11-30T02:28:48.9271739Z fun UShortArray.component2(): UShort. -2025-11-30T02:28:48.9272254Z bindings = pmxMorphToMaterialMorphIndexMap[index]?.mapNotNull { (materialIndex, targetIndex) -> -2025-11-30T02:28:48.9272425Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9273007Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9273203Z } ?: listOf(), -2025-11-30T02:28:48.9273329Z ^^^^^^ -2025-11-30T02:28:48.9274085Z blazerod/model/model-pmx/PmxLoader.kt:1372:38: error: argument type mismatch: actual type is 'List listOf)>', but 'K (of fun ELVIS_CALL)' was expected. -2025-11-30T02:28:48.9274225Z } ?: listOf(), -2025-11-30T02:28:48.9274344Z ^^^^^^^^ -2025-11-30T02:28:48.9274741Z blazerod/model/model-pmx/PmxLoader.kt:1374:58: error: unresolved reference 'pmxIndex'. -2025-11-30T02:28:48.9274981Z pmxIndexToExpressions[target.pmxIndex] = expression -2025-11-30T02:28:48.9275125Z ^^^^^^^^ -2025-11-30T02:28:48.9275488Z blazerod/model/model-pmx/PmxLoader.kt:1375:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.9275628Z add(expression) -2025-11-30T02:28:48.9275741Z ^^^ -2025-11-30T02:28:48.9276349Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: method 'iterator()' is ambiguous for this expression. Applicable candidates: -2025-11-30T02:28:48.9276708Z fun Enumeration.iterator(): Iterator -2025-11-30T02:28:48.9276876Z fun Iterator.iterator(): Iterator -2025-11-30T02:28:48.9277080Z fun Map.iterator(): Iterator> -2025-11-30T02:28:48.9277649Z fun MutableMap.iterator(): MutableIterator> -2025-11-30T02:28:48.9277835Z fun CharSequence.iterator(): CharIterator -2025-11-30T02:28:48.9278014Z fun BufferedInputStream.iterator(): ByteIterator -2025-11-30T02:28:48.9278155Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.9278266Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9278651Z blazerod/model/model-pmx/PmxLoader.kt:1377:39: error: unresolved reference 'morphTargetGroups'. -2025-11-30T02:28:48.9278803Z for (group in morphTargetGroups) { -2025-11-30T02:28:48.9278909Z ^^^^^^^^^^^^^^^^^ -2025-11-30T02:28:48.9279232Z blazerod/model/model-pmx/PmxLoader.kt:1378:29: error: unresolved reference 'add'. -2025-11-30T02:28:48.9279329Z add( -2025-11-30T02:28:48.9279424Z ^^^ -2025-11-30T02:28:48.9279917Z blazerod/model/model-pmx/PmxLoader.kt:1382:72: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9280126Z targets = group.items.mapNotNull { item -> -2025-11-30T02:28:48.9280270Z ^^^^ -2025-11-30T02:28:48.9280629Z blazerod/model/model-pmx/PmxLoader.kt:1383:66: error: unresolved reference 'index'. -2025-11-30T02:28:48.9280798Z val pmxMorphIndex = item.index -2025-11-30T02:28:48.9281138Z ^^^^^ -2025-11-30T02:28:48.9281544Z blazerod/model/model-pmx/PmxLoader.kt:1387:62: error: unresolved reference 'influence'. -2025-11-30T02:28:48.9281733Z influence = item.influence, -2025-11-30T02:28:48.9281869Z ^^^^^^^^^ -2025-11-30T02:28:48.9282276Z blazerod/model/model-pmx/PmxLoader.kt:1393:22: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9282394Z }, -2025-11-30T02:28:48.9282502Z ^ -2025-11-30T02:28:48.9282933Z blazerod/model/model-pmx/PmxLoader.kt:1394:21: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9283090Z defaultScene = scene, -2025-11-30T02:28:48.9283210Z ^^^^^^^^^^^^ -2025-11-30T02:28:48.9283636Z blazerod/model/model-pmx/PmxLoader.kt:1394:34: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9283788Z defaultScene = scene, -2025-11-30T02:28:48.9283920Z ^ -2025-11-30T02:28:48.9284337Z blazerod/model/model-pmx/PmxLoader.kt:1394:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9284489Z defaultScene = scene, -2025-11-30T02:28:48.9284614Z ^^^^^ -2025-11-30T02:28:48.9285042Z blazerod/model/model-pmx/PmxLoader.kt:1394:41: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9285185Z defaultScene = scene, -2025-11-30T02:28:48.9285297Z ^ -2025-11-30T02:28:48.9285674Z blazerod/model/model-pmx/PmxLoader.kt:1395:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9285775Z ), -2025-11-30T02:28:48.9285869Z ^ -2025-11-30T02:28:48.9286281Z blazerod/model/model-pmx/PmxLoader.kt:1395:18: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9286594Z ), -2025-11-30T02:28:48.9286708Z ^ -2025-11-30T02:28:48.9287161Z blazerod/model/model-pmx/PmxLoader.kt:1396:17: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9287348Z animations = listOf(), -2025-11-30T02:28:48.9287452Z ^^^^^^^^^^ -2025-11-30T02:28:48.9287942Z blazerod/model/model-pmx/PmxLoader.kt:1396:28: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9288110Z animations = listOf(), -2025-11-30T02:28:48.9288468Z ^ -2025-11-30T02:28:48.9288926Z blazerod/model/model-pmx/PmxLoader.kt:1396:30: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9289087Z animations = listOf(), -2025-11-30T02:28:48.9289201Z ^^^^^^ -2025-11-30T02:28:48.9289639Z blazerod/model/model-pmx/PmxLoader.kt:1396:36: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9289804Z animations = listOf(), -2025-11-30T02:28:48.9289926Z ^ -2025-11-30T02:28:48.9290395Z blazerod/model/model-pmx/PmxLoader.kt:1396:37: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9290539Z animations = listOf(), -2025-11-30T02:28:48.9290664Z ^ -2025-11-30T02:28:48.9291096Z blazerod/model/model-pmx/PmxLoader.kt:1396:38: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9291256Z animations = listOf(), -2025-11-30T02:28:48.9291382Z ^ -2025-11-30T02:28:48.9291799Z blazerod/model/model-pmx/PmxLoader.kt:1397:13: error: syntax error: Expecting member declaration. -2025-11-30T02:28:48.9291920Z ) -2025-11-30T02:28:48.9292032Z ^ -2025-11-30T02:28:48.9292490Z blazerod/model/model-pmx/PmxLoader.kt:1399:5: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9292601Z } -2025-11-30T02:28:48.9292940Z ^ -2025-11-30T02:28:48.9293502Z blazerod/model/model-pmx/PmxLoader.kt:1401:5: error: modifier 'override' is not applicable to 'top level function'. -2025-11-30T02:28:48.9293701Z override fun load(path: Path, basePath: Path) = -2025-11-30T02:28:48.9293802Z ^^^^^^^^ -2025-11-30T02:28:48.9294332Z blazerod/model/model-pmx/PmxLoader.kt:1402:57: error: cannot infer type for this parameter. Specify it explicitly. -2025-11-30T02:28:48.9294652Z FileChannel.open(path, StandardOpenOption.READ).use { channel -> -2025-11-30T02:28:48.9294817Z ^^^ -2025-11-30T02:28:48.9295225Z blazerod/model/model-pmx/PmxLoader.kt:1416:27: error: unresolved reference 'Context'. -2025-11-30T02:28:48.9295390Z val context = Context(basePath) -2025-11-30T02:28:48.9295506Z ^^^^^^^ -2025-11-30T02:28:48.9295972Z blazerod/model/model-pmx/PmxLoader.kt:1420:1: error: syntax error: Expecting a top level declaration. -2025-11-30T02:28:48.9296097Z } -2025-11-30T02:28:49.0701935Z ^ -2025-11-30T02:28:49.0702249Z INFO: Elapsed time: 134.040s, Critical Path: 46.27s -2025-11-30T02:28:49.0702575Z INFO: 950 processes: 262 internal, 606 processwrapper-sandbox, 82 worker. -2025-11-30T02:28:49.0702744Z ERROR: Build did NOT complete successfully -2025-11-30T02:28:49.2475266Z ##[error]Process completed with exit code 1. diff --git a/logs_51071426239/build-with-bazel/system.txt b/logs_51071426239/build-with-bazel/system.txt deleted file mode 100644 index 2e66f0e0..00000000 --- a/logs_51071426239/build-with-bazel/system.txt +++ /dev/null @@ -1,5 +0,0 @@ -2025-11-30T02:26:15.3880000Z Requested labels: ubuntu-24.04 -2025-11-30T02:26:15.3880000Z Job defined at: Sylsatra/ArmorStand/.github/workflows/build.yml@refs/heads/my-physics -2025-11-30T02:26:15.3880000Z Waiting for a runner to pick up this job... -2025-11-30T02:26:15.8970000Z Job is about to start running on the hosted runner: GitHub Actions 1000000066 -2025-11-30T02:26:15.8970000Z Job is waiting for a hosted runner to come online. \ No newline at end of file From fd897cbcea4bf79b944c4ee8363d6588870c70bc Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 11:39:40 +0700 Subject: [PATCH 018/112] Fixed the Matrix Accumulation Bug --- .../main/runtime/node/component/RigidBodyComponent.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index 277b5e67..7e819ad1 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -83,10 +83,10 @@ class RigidBodyComponent( val inverseNodeWorldMatrix = instance.getWorldTransform(node).invert(inverseNodeWorldMatrix) instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { - // Correct math: NewLayer = OldLayer * W^-1 * P - // 'this' is OldLayer - this.matrix.mul(inverseNodeWorldMatrix) // OldLayer * W^-1 - this.matrix.mul(physicsMatrix) // OldLayer * W^-1 * P + // Correct math: NewLayer = W^-1 * P + // 'this' is OldLayer, but we overwrite it + this.matrix.set(inverseNodeWorldMatrix) // W^-1 + this.matrix.mul(physicsMatrix) // W^-1 * P } } From 5560892e66a75b6d483c4bb696ec3e10c8ea0101 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 12:30:12 +0700 Subject: [PATCH 019/112] Changed rotation construction & added z-rotation flip --- blazerod/render/main/physics/PhysicsWorld.cpp | 33 +++++++++++++++++-- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 6da92311..86b5ba1c 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -30,14 +30,32 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec transform.setIdentity(); btMatrix3x3 rotation_matrix; - rotation_matrix.setEulerZYX(rotation.x, rotation.y, rotation.z); + // Match Saba's rotation order: Ry * Rx * Rz + // And flip Z rotation to match PmxLoader's X-Mirror world (PmxLoader flips Y, we flip Z to complete the mirror?) + // Actually, if PmxLoader flips Y, and we want to match Saba which uses InvZ (Z-flip). + // Let's just replicate Saba's Ry * Rx * Rz logic, but with our Z-flipped input? + // PmxLoader: y *= -1. + // We: z *= -1. + + float rx_val = rotation.x; + float ry_val = rotation.y; + float rz_val = -rotation.z; // Flip Z to match coordinate mirror + + btMatrix3x3 rot_x(1, 0, 0, 0, cos(rx_val), -sin(rx_val), 0, sin(rx_val), cos(rx_val)); + btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), 0, 1, 0, -sin(ry_val), 0, cos(ry_val)); + btMatrix3x3 rot_z(cos(rz_val), -sin(rz_val), 0, sin(rz_val), cos(rz_val), 0, 0, 0, 1); + + rotation_matrix = rot_y * rot_x * rot_z; + btVector3 pos(position.x, position.y, position.z); btTransform rigidbody_transform; rigidbody_transform.setIdentity(); rigidbody_transform.setBasis(rotation_matrix); btTransform initial_lh = initial_transform; - from_node_to_world.mult(initial_lh, rigidbody_transform); + // Correct offset calculation: Offset = Bone^-1 * Body + // This gives the Body's position relative to the Bone. + from_node_to_world.mult(initial_lh.inverse(), rigidbody_transform); from_world_to_node = from_node_to_world.inverse(); } @@ -274,7 +292,16 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c for (const Joint& joint_item : joints) { size_t joint_index = joint_count++; btMatrix3x3 rotation_matrix; - rotation_matrix.setEulerZYX(joint_item.rotation.x, joint_item.rotation.y, joint_item.rotation.z); + // rotation_matrix.setEulerZYX(joint_item.rotation.x, joint_item.rotation.y, joint_item.rotation.z); + float rx_val = joint_item.rotation.x; + float ry_val = joint_item.rotation.y; + float rz_val = -joint_item.rotation.z; + + btMatrix3x3 rot_x(1, 0, 0, 0, cos(rx_val), -sin(rx_val), 0, sin(rx_val), cos(rx_val)); + btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), 0, 1, 0, -sin(ry_val), 0, cos(ry_val)); + btMatrix3x3 rot_z(cos(rz_val), -sin(rz_val), 0, sin(rz_val), cos(rz_val), 0, 0, 0, 1); + + rotation_matrix = rot_y * rot_x * rot_z; btTransform transform; transform.setIdentity(); From 7c6ee2ffd4446e288dae45c10497e5830bd1bbd9 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 12:44:55 +0700 Subject: [PATCH 020/112] Revert RigidBodyComponent to its original logic --- .../main/runtime/node/component/RigidBodyComponent.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index 7e819ad1..277b5e67 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -83,10 +83,10 @@ class RigidBodyComponent( val inverseNodeWorldMatrix = instance.getWorldTransform(node).invert(inverseNodeWorldMatrix) instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { - // Correct math: NewLayer = W^-1 * P - // 'this' is OldLayer, but we overwrite it - this.matrix.set(inverseNodeWorldMatrix) // W^-1 - this.matrix.mul(physicsMatrix) // W^-1 * P + // Correct math: NewLayer = OldLayer * W^-1 * P + // 'this' is OldLayer + this.matrix.mul(inverseNodeWorldMatrix) // OldLayer * W^-1 + this.matrix.mul(physicsMatrix) // OldLayer * W^-1 * P } } From fc34b6d1d9f572eac7684e5e791c80f57708ba0d Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 13:00:25 +0700 Subject: [PATCH 021/112] Added missing translation in PhysicMotionState constructor --- blazerod/render/main/physics/PhysicsWorld.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 86b5ba1c..fe4fb282 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -51,12 +51,15 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec btTransform rigidbody_transform; rigidbody_transform.setIdentity(); rigidbody_transform.setBasis(rotation_matrix); + rigidbody_transform.setOrigin(pos); btTransform initial_lh = initial_transform; // Correct offset calculation: Offset = Bone^-1 * Body // This gives the Body's position relative to the Bone. from_node_to_world.mult(initial_lh.inverse(), rigidbody_transform); from_world_to_node = from_node_to_world.inverse(); + + this->transform = rigidbody_transform; } class FollowBoneObjectMotionState : public PhysicsMotionState { From cc18b01144c74b880661ef006e9178a020bc991d Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 13:25:42 +0700 Subject: [PATCH 022/112] Fixed wrong origin --- blazerod/render/main/physics/PhysicsWorld.cpp | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index fe4fb282..ffb78be7 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -30,16 +30,13 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec transform.setIdentity(); btMatrix3x3 rotation_matrix; - // Match Saba's rotation order: Ry * Rx * Rz - // And flip Z rotation to match PmxLoader's X-Mirror world (PmxLoader flips Y, we flip Z to complete the mirror?) - // Actually, if PmxLoader flips Y, and we want to match Saba which uses InvZ (Z-flip). - // Let's just replicate Saba's Ry * Rx * Rz logic, but with our Z-flipped input? - // PmxLoader: y *= -1. - // We: z *= -1. + // PmxLoader already flips Y. + // We need to flip X to match PmxLoader's limits/springs logic and Saba's InvZ behavior (which negates Rx and Ry). + // We keep Z as is (Saba InvZ preserves Rz). - float rx_val = rotation.x; + float rx_val = -rotation.x; float ry_val = rotation.y; - float rz_val = -rotation.z; // Flip Z to match coordinate mirror + float rz_val = rotation.z; btMatrix3x3 rot_x(1, 0, 0, 0, cos(rx_val), -sin(rx_val), 0, sin(rx_val), cos(rx_val)); btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), 0, 1, 0, -sin(ry_val), 0, cos(ry_val)); @@ -296,9 +293,9 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c size_t joint_index = joint_count++; btMatrix3x3 rotation_matrix; // rotation_matrix.setEulerZYX(joint_item.rotation.x, joint_item.rotation.y, joint_item.rotation.z); - float rx_val = joint_item.rotation.x; + float rx_val = -joint_item.rotation.x; float ry_val = joint_item.rotation.y; - float rz_val = -joint_item.rotation.z; + float rz_val = joint_item.rotation.z; btMatrix3x3 rot_x(1, 0, 0, 0, cos(rx_val), -sin(rx_val), 0, sin(rx_val), cos(rx_val)); btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), 0, 1, 0, -sin(ry_val), 0, cos(ry_val)); From db7fa2943132f99e14dd293f72ba58c6087a44cb Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 13:46:31 +0700 Subject: [PATCH 023/112] Reverted RigidBodyComponent to use accumulation logic (again) --- blazerod/render/main/physics/PhysicsWorld.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index ffb78be7..06556692 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -56,7 +56,9 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec from_node_to_world.mult(initial_lh.inverse(), rigidbody_transform); from_world_to_node = from_node_to_world.inverse(); - this->transform = rigidbody_transform; + // Initialize the Physics Body to the current Bone position + Offset. + // This ensures that even if the model is posed (not in Bind Pose), the body starts aligned with the bone. + this->transform.mult(initial_lh, from_node_to_world); } class FollowBoneObjectMotionState : public PhysicsMotionState { @@ -297,11 +299,11 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c float ry_val = joint_item.rotation.y; float rz_val = joint_item.rotation.z; - btMatrix3x3 rot_x(1, 0, 0, 0, cos(rx_val), -sin(rx_val), 0, sin(rx_val), cos(rx_val)); - btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), 0, 1, 0, -sin(ry_val), 0, cos(ry_val)); - btMatrix3x3 rot_z(cos(rz_val), -sin(rz_val), 0, sin(rz_val), cos(rz_val), 0, 0, 0, 1); - - rotation_matrix = rot_y * rot_x * rot_z; + // Saba uses setEulerZYX for Joints (unlike RigidBodies where it constructs manually). + // We must match this convention to ensure Constraint Frames are correct. + // setEulerZYX(yaw, pitch, roll) -> (y, x, z) usually, but Saba passes (x, y, z). + // We pass our corrected coordinates (-x, -y, z). + rotation_matrix.setEulerZYX(rx_val, ry_val, rz_val); btTransform transform; transform.setIdentity(); From f2ab302c8b18eb8b0f44c09d8d047244c44f56a6 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 14:02:11 +0700 Subject: [PATCH 024/112] Correct Joint Initialization --- blazerod/render/main/physics/PhysicsWorld.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 06556692..f5fbd054 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -321,11 +321,11 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c } const auto& rigidbody_b = this->rigidbodies[joint_item.rigidbody_b_index]; - btTransform body_a_transform; - body_a_transform.setFromOpenGLMatrix(initial_transform + rigidbody_a_index * 16); + const btTransform& body_a_transform = this->rigidbodies[rigidbody_a_index].rigidbody->getWorldTransform(); btTransform body_b_transform; - body_b_transform.setFromOpenGLMatrix(initial_transform + rigidbody_b_index * 16); + // body_b_transform.setFromOpenGLMatrix(initial_transform + rigidbody_b_index * 16); + const btTransform& body_b_transform = this->rigidbodies[rigidbody_b_index].rigidbody->getWorldTransform(); btTransform inverse_a = body_a_transform.inverse() * transform; btTransform inverse_b = body_b_transform.inverse() * transform; @@ -385,7 +385,10 @@ PhysicsWorld::~PhysicsWorld() { void PhysicsWorld::Step(float delta_time, int max_sub_steps, float fixed_time_step) { size_t rigidbody_index = 0; for (auto& rigidbody : this->rigidbodies) { - rigidbody.motion_state->GetFromWorld(this, rigidbody_index++); + if (rigidbody.physics_mode == PhysicsMode::FOLLOW_BONE || rigidbody.physics_mode == PhysicsMode::PHYSICS_PLUS_BONE) { + rigidbody.motion_state->GetFromWorld(this, rigidbody_index); + } + rigidbody_index++; } this->world->stepSimulation(delta_time, max_sub_steps, fixed_time_step); rigidbody_index = 0; From f492e8dbb784ae391280d106c2cbc30263bc3f8c Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 14:08:45 +0700 Subject: [PATCH 025/112] Fixed compilation errors --- blazerod/render/main/physics/PhysicsWorld.cpp | 2 +- blazerod/render/main/physics/PhysicsWorld.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index f5fbd054..1e7964c4 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -284,6 +284,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c rigidbody_data.shape = std::move(shape); rigidbody_data.motion_state = std::move(motion_state); rigidbody_data.rigidbody = std::move(rigidbody); + rigidbody_data.physics_mode = rigidbody_item.physics_mode; this->rigidbodies.push_back(std::move(rigidbody_data)); } @@ -323,7 +324,6 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c const btTransform& body_a_transform = this->rigidbodies[rigidbody_a_index].rigidbody->getWorldTransform(); - btTransform body_b_transform; // body_b_transform.setFromOpenGLMatrix(initial_transform + rigidbody_b_index * 16); const btTransform& body_b_transform = this->rigidbodies[rigidbody_b_index].rigidbody->getWorldTransform(); diff --git a/blazerod/render/main/physics/PhysicsWorld.h b/blazerod/render/main/physics/PhysicsWorld.h index d09e1a85..8b7c9cc1 100644 --- a/blazerod/render/main/physics/PhysicsWorld.h +++ b/blazerod/render/main/physics/PhysicsWorld.h @@ -35,6 +35,7 @@ struct RigidBodyData { std::unique_ptr shape; std::unique_ptr motion_state; std::unique_ptr rigidbody; + PhysicsMode physics_mode; }; class PhysicsWorld { From b997bd558bccbcfabf430260961f49e0f053f98c Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 14:27:33 +0700 Subject: [PATCH 026/112] Tried Unifing The Coordinate System --- blazerod/model/model-pmx/PmxLoader.kt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 7b6cbd93..23365314 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -360,9 +360,9 @@ class PmxLoader : ModelFileLoader { val x = buffer.getFloat(inputPosition) val y = buffer.getFloat(inputPosition + 4) val z = buffer.getFloat(inputPosition + 8) - outputBuffer.putFloat(outputPosition, x * -MMD_SCALE) + outputBuffer.putFloat(outputPosition, x * MMD_SCALE) outputBuffer.putFloat(outputPosition + 4, y * MMD_SCALE) - outputBuffer.putFloat(outputPosition + 8, z * MMD_SCALE) + outputBuffer.putFloat(outputPosition + 8, z * -MMD_SCALE) outputPosition += 12 inputPosition += 12 @@ -370,9 +370,9 @@ class PmxLoader : ModelFileLoader { val nx = buffer.getFloat(inputPosition) val ny = buffer.getFloat(inputPosition + 4) val nz = buffer.getFloat(inputPosition + 8) - outputBuffer.putFloat(outputPosition, -nx) + outputBuffer.putFloat(outputPosition, nx) outputBuffer.putFloat(outputPosition + 4, ny) - outputBuffer.putFloat(outputPosition + 8, nz) + outputBuffer.putFloat(outputPosition + 8, -nz) outputPosition += 12 inputPosition += 12 @@ -695,7 +695,7 @@ class PmxLoader : ModelFileLoader { private fun Vector3f.transformPosition() = also { mul(MMD_SCALE) - x = -x + z = -z } private fun loadBones(buffer: ByteBuffer) { @@ -855,9 +855,9 @@ class PmxLoader : ModelFileLoader { val vertexIndex = loadVertexIndex(buffer) // Push data into corresponding building morph target - val x = buffer.getFloat() * -MMD_SCALE + val x = buffer.getFloat() * MMD_SCALE val y = buffer.getFloat() * MMD_SCALE - val z = buffer.getFloat() * MMD_SCALE + val z = buffer.getFloat() * -MMD_SCALE // Lookup each material for (materialIndex in materials.indices) { @@ -1064,13 +1064,13 @@ class PmxLoader : ModelFileLoader { val positionMinimumOrig = loadVector3f(buffer).transformPosition() val positionMaximumOrig = loadVector3f(buffer).transformPosition() - val positionMinimum = Vector3f(positionMaximumOrig.x, positionMinimumOrig.y, positionMinimumOrig.z) - val positionMaximum = Vector3f(positionMinimumOrig.x, positionMaximumOrig.y, positionMaximumOrig.z) + val positionMinimum = Vector3f(positionMinimumOrig.x, positionMinimumOrig.y, positionMaximumOrig.z) + val positionMaximum = Vector3f(positionMaximumOrig.x, positionMaximumOrig.y, positionMinimumOrig.z) val rotationMinimumOrig = loadVector3f(buffer) val rotationMaximumOrig = loadVector3f(buffer) - val rotationMinimum = Vector3f(-rotationMaximumOrig.x, rotationMinimumOrig.y, rotationMinimumOrig.z) - val rotationMaximum = Vector3f(-rotationMinimumOrig.x, rotationMaximumOrig.y, rotationMaximumOrig.z) + val rotationMinimum = Vector3f(-rotationMaximumOrig.x, -rotationMaximumOrig.y, rotationMinimumOrig.z) + val rotationMaximum = Vector3f(-rotationMinimumOrig.x, -rotationMinimumOrig.y, rotationMaximumOrig.z) val positionSpring = loadVector3f(buffer) val rotationSpring = loadVector3f(buffer).also { it.x *= -1 } From 2c3f93f055824475028e3765e51d131e0e75ac88 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 15:03:58 +0700 Subject: [PATCH 027/112] Tried Unifing The Coordinate System Again --- blazerod/model/model-pmx/PmxLoader.kt | 22 +++--- blazerod/render/main/physics/PhysicsWorld.cpp | 78 +++++++++++-------- 2 files changed, 56 insertions(+), 44 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 23365314..7b6cbd93 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -360,9 +360,9 @@ class PmxLoader : ModelFileLoader { val x = buffer.getFloat(inputPosition) val y = buffer.getFloat(inputPosition + 4) val z = buffer.getFloat(inputPosition + 8) - outputBuffer.putFloat(outputPosition, x * MMD_SCALE) + outputBuffer.putFloat(outputPosition, x * -MMD_SCALE) outputBuffer.putFloat(outputPosition + 4, y * MMD_SCALE) - outputBuffer.putFloat(outputPosition + 8, z * -MMD_SCALE) + outputBuffer.putFloat(outputPosition + 8, z * MMD_SCALE) outputPosition += 12 inputPosition += 12 @@ -370,9 +370,9 @@ class PmxLoader : ModelFileLoader { val nx = buffer.getFloat(inputPosition) val ny = buffer.getFloat(inputPosition + 4) val nz = buffer.getFloat(inputPosition + 8) - outputBuffer.putFloat(outputPosition, nx) + outputBuffer.putFloat(outputPosition, -nx) outputBuffer.putFloat(outputPosition + 4, ny) - outputBuffer.putFloat(outputPosition + 8, -nz) + outputBuffer.putFloat(outputPosition + 8, nz) outputPosition += 12 inputPosition += 12 @@ -695,7 +695,7 @@ class PmxLoader : ModelFileLoader { private fun Vector3f.transformPosition() = also { mul(MMD_SCALE) - z = -z + x = -x } private fun loadBones(buffer: ByteBuffer) { @@ -855,9 +855,9 @@ class PmxLoader : ModelFileLoader { val vertexIndex = loadVertexIndex(buffer) // Push data into corresponding building morph target - val x = buffer.getFloat() * MMD_SCALE + val x = buffer.getFloat() * -MMD_SCALE val y = buffer.getFloat() * MMD_SCALE - val z = buffer.getFloat() * -MMD_SCALE + val z = buffer.getFloat() * MMD_SCALE // Lookup each material for (materialIndex in materials.indices) { @@ -1064,13 +1064,13 @@ class PmxLoader : ModelFileLoader { val positionMinimumOrig = loadVector3f(buffer).transformPosition() val positionMaximumOrig = loadVector3f(buffer).transformPosition() - val positionMinimum = Vector3f(positionMinimumOrig.x, positionMinimumOrig.y, positionMaximumOrig.z) - val positionMaximum = Vector3f(positionMaximumOrig.x, positionMaximumOrig.y, positionMinimumOrig.z) + val positionMinimum = Vector3f(positionMaximumOrig.x, positionMinimumOrig.y, positionMinimumOrig.z) + val positionMaximum = Vector3f(positionMinimumOrig.x, positionMaximumOrig.y, positionMaximumOrig.z) val rotationMinimumOrig = loadVector3f(buffer) val rotationMaximumOrig = loadVector3f(buffer) - val rotationMinimum = Vector3f(-rotationMaximumOrig.x, -rotationMaximumOrig.y, rotationMinimumOrig.z) - val rotationMaximum = Vector3f(-rotationMinimumOrig.x, -rotationMinimumOrig.y, rotationMaximumOrig.z) + val rotationMinimum = Vector3f(-rotationMaximumOrig.x, rotationMinimumOrig.y, rotationMinimumOrig.z) + val rotationMaximum = Vector3f(-rotationMinimumOrig.x, rotationMaximumOrig.y, rotationMaximumOrig.z) val positionSpring = loadVector3f(buffer) val rotationSpring = loadVector3f(buffer).also { it.x *= -1 } diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 1e7964c4..9e633e3e 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -32,10 +32,10 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec btMatrix3x3 rotation_matrix; // PmxLoader already flips Y. // We need to flip X to match PmxLoader's limits/springs logic and Saba's InvZ behavior (which negates Rx and Ry). - // We keep Z as is (Saba InvZ preserves Rz). + // We also need to flip Y and Z-position to fully convert from MMD (LH) to Bullet (RH). float rx_val = -rotation.x; - float ry_val = rotation.y; + float ry_val = -rotation.y; float rz_val = rotation.z; btMatrix3x3 rot_x(1, 0, 0, 0, cos(rx_val), -sin(rx_val), 0, sin(rx_val), cos(rx_val)); @@ -44,7 +44,7 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec rotation_matrix = rot_y * rot_x * rot_z; - btVector3 pos(position.x, position.y, position.z); + btVector3 pos(position.x, position.y, -position.z); btTransform rigidbody_transform; rigidbody_transform.setIdentity(); rigidbody_transform.setBasis(rotation_matrix); @@ -69,11 +69,15 @@ class FollowBoneObjectMotionState : public PhysicsMotionState { void GetFromWorld(const PhysicsWorld* world, size_t rigidbody_index) override { btTransform node_transform; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; - node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); - node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); + // Input: MMD (LH) -> Bullet (RH) + // Flip Z position. + node_transform.setOrigin(btVector3(buffer[0], buffer[1], -buffer[2])); + // Flip X and Y rotation (preserve Z rotation direction relative to flipped axis). + // MMD Quaternion (x, y, z, w) -> Bullet Quaternion (-x, -y, z, w) + node_transform.setRotation(btQuaternion(-buffer[3], -buffer[4], buffer[5], buffer[6])); - btTransform node_lh = node_transform; - this->transform.mult(node_lh, this->from_node_to_world); + btTransform node_rh = node_transform; + this->transform.mult(node_rh, this->from_node_to_world); } void setWorldTransform(const btTransform& world_transform) override {} @@ -89,28 +93,33 @@ class PhysicsObjectMotionState : public PhysicsMotionState { void GetFromWorld(const PhysicsWorld* world, size_t rigidbody_index) override { btTransform node_transform; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; - node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); - node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); + // Input: MMD (LH) -> Bullet (RH) + node_transform.setOrigin(btVector3(buffer[0], buffer[1], -buffer[2])); + node_transform.setRotation(btQuaternion(-buffer[3], -buffer[4], buffer[5], buffer[6])); - btTransform node_lh = node_transform; - this->transform.mult(node_lh, this->from_node_to_world); + btTransform node_rh = node_transform; + this->transform.mult(node_rh, this->from_node_to_world); } void SetToWorld(PhysicsWorld* world, size_t rigidbody_index) override { this->isDirty = false; - btTransform node_transform_lh; - node_transform_lh.mult(this->transform, this->from_world_to_node); + btTransform node_transform_rh; + node_transform_rh.mult(this->transform, this->from_world_to_node); - btTransform node_transform = node_transform_lh; + btTransform node_transform = node_transform_rh; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; btVector3 pos = node_transform.getOrigin(); btQuaternion rot = node_transform.getRotation(); + + // Output: Bullet (RH) -> MMD (LH) + // Flip Z back. buffer[0] = pos.x(); buffer[1] = pos.y(); - buffer[2] = pos.z(); - buffer[3] = rot.x(); - buffer[4] = rot.y(); + buffer[2] = -pos.z(); + // Flip X and Y back. + buffer[3] = -rot.x(); + buffer[4] = -rot.y(); buffer[5] = rot.z(); buffer[6] = rot.w(); } @@ -127,11 +136,12 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { void GetFromWorld(const PhysicsWorld* world, size_t rigidbody_index) override { btTransform node_transform; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; - node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); - node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); + // Input: MMD (LH) -> Bullet (RH) + node_transform.setOrigin(btVector3(buffer[0], buffer[1], -buffer[2])); + node_transform.setRotation(btQuaternion(-buffer[3], -buffer[4], buffer[5], buffer[6])); - btTransform node_lh = node_transform; - this->transform.mult(node_lh, this->from_node_to_world); + btTransform node_rh = node_transform; + this->transform.mult(node_rh, this->from_node_to_world); this->origin = transform.getOrigin(); } @@ -139,19 +149,21 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { this->isDirty = false; btTransform world_transform = this->transform; world_transform.setOrigin(this->origin); - btTransform node_transform_lh; - node_transform_lh.mult(world_transform, this->from_world_to_node); + btTransform node_transform_rh; + node_transform_rh.mult(world_transform, this->from_world_to_node); - btTransform node_transform = node_transform_lh; + btTransform node_transform = node_transform_rh; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; btVector3 pos = node_transform.getOrigin(); btQuaternion rot = node_transform.getRotation(); + + // Output: Bullet (RH) -> MMD (LH) buffer[0] = pos.x(); buffer[1] = pos.y(); - buffer[2] = pos.z(); - buffer[3] = rot.x(); - buffer[4] = rot.y(); + buffer[2] = -pos.z(); + buffer[3] = -rot.x(); + buffer[4] = -rot.y(); buffer[5] = rot.z(); buffer[6] = rot.w(); } @@ -297,7 +309,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c btMatrix3x3 rotation_matrix; // rotation_matrix.setEulerZYX(joint_item.rotation.x, joint_item.rotation.y, joint_item.rotation.z); float rx_val = -joint_item.rotation.x; - float ry_val = joint_item.rotation.y; + float ry_val = -joint_item.rotation.y; float rz_val = joint_item.rotation.z; // Saba uses setEulerZYX for Joints (unlike RigidBodies where it constructs manually). @@ -308,7 +320,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c btTransform transform; transform.setIdentity(); - transform.setOrigin(btVector3(joint_item.position.x, joint_item.position.y, joint_item.position.z)); + transform.setOrigin(btVector3(joint_item.position.x, joint_item.position.y, -joint_item.position.z)); transform.setBasis(rotation_matrix); size_t rigidbody_a_index = joint_item.rigidbody_a_index; @@ -333,14 +345,14 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c auto constraint = std::make_unique( *rigidbody_a.rigidbody, *rigidbody_b.rigidbody, inverse_a, inverse_b, true); constraint->setLinearLowerLimit( - btVector3(joint_item.position_min.x, joint_item.position_min.y, joint_item.position_min.z)); + btVector3(joint_item.position_min.x, joint_item.position_min.y, -joint_item.position_max.z)); constraint->setLinearUpperLimit( - btVector3(joint_item.position_max.x, joint_item.position_max.y, joint_item.position_max.z)); + btVector3(joint_item.position_max.x, joint_item.position_max.y, -joint_item.position_min.z)); constraint->setAngularLowerLimit( - btVector3(joint_item.rotation_min.x, joint_item.rotation_min.y, joint_item.rotation_min.z)); + btVector3(-joint_item.rotation_max.x, -joint_item.rotation_max.y, joint_item.rotation_min.z)); constraint->setAngularUpperLimit( - btVector3(joint_item.rotation_max.x, joint_item.rotation_max.y, joint_item.rotation_max.z)); + btVector3(-joint_item.rotation_min.x, -joint_item.rotation_min.y, joint_item.rotation_max.z)); if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); From f13296f085b809ed6749639496c7ec423373909c Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 15:20:38 +0700 Subject: [PATCH 028/112] Removed Double Negation -Y --- blazerod/render/main/physics/PhysicsWorld.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 9e633e3e..19b8e20d 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -35,7 +35,7 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec // We also need to flip Y and Z-position to fully convert from MMD (LH) to Bullet (RH). float rx_val = -rotation.x; - float ry_val = -rotation.y; + float ry_val = rotation.y; // PmxLoader already negated Y. Keep it as is (so it is -y). float rz_val = rotation.z; btMatrix3x3 rot_x(1, 0, 0, 0, cos(rx_val), -sin(rx_val), 0, sin(rx_val), cos(rx_val)); @@ -309,7 +309,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c btMatrix3x3 rotation_matrix; // rotation_matrix.setEulerZYX(joint_item.rotation.x, joint_item.rotation.y, joint_item.rotation.z); float rx_val = -joint_item.rotation.x; - float ry_val = -joint_item.rotation.y; + float ry_val = joint_item.rotation.y; // PmxLoader already negated Y. float rz_val = joint_item.rotation.z; // Saba uses setEulerZYX for Joints (unlike RigidBodies where it constructs manually). @@ -350,9 +350,9 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c btVector3(joint_item.position_max.x, joint_item.position_max.y, -joint_item.position_min.z)); constraint->setAngularLowerLimit( - btVector3(-joint_item.rotation_max.x, -joint_item.rotation_max.y, joint_item.rotation_min.z)); + btVector3(joint_item.rotation_min.x, -joint_item.rotation_max.y, joint_item.rotation_min.z)); constraint->setAngularUpperLimit( - btVector3(-joint_item.rotation_min.x, -joint_item.rotation_min.y, joint_item.rotation_max.z)); + btVector3(joint_item.rotation_max.x, -joint_item.rotation_min.y, joint_item.rotation_max.z)); if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); From 2206fa0b1aacb6474e9b4edc38f7c8eb29b27a28 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 16:29:52 +0700 Subject: [PATCH 029/112] Changed the handling of transform_buffer --- blazerod/render/main/physics/PhysicsWorld.cpp | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 19b8e20d..7c9d544b 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -44,7 +44,7 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec rotation_matrix = rot_y * rot_x * rot_z; - btVector3 pos(position.x, position.y, -position.z); + btVector3 pos(position.x, position.y, position.z); btTransform rigidbody_transform; rigidbody_transform.setIdentity(); rigidbody_transform.setBasis(rotation_matrix); @@ -71,10 +71,10 @@ class FollowBoneObjectMotionState : public PhysicsMotionState { float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; // Input: MMD (LH) -> Bullet (RH) // Flip Z position. - node_transform.setOrigin(btVector3(buffer[0], buffer[1], -buffer[2])); + node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); // Flip X and Y rotation (preserve Z rotation direction relative to flipped axis). // MMD Quaternion (x, y, z, w) -> Bullet Quaternion (-x, -y, z, w) - node_transform.setRotation(btQuaternion(-buffer[3], -buffer[4], buffer[5], buffer[6])); + node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); btTransform node_rh = node_transform; this->transform.mult(node_rh, this->from_node_to_world); @@ -94,8 +94,8 @@ class PhysicsObjectMotionState : public PhysicsMotionState { btTransform node_transform; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; // Input: MMD (LH) -> Bullet (RH) - node_transform.setOrigin(btVector3(buffer[0], buffer[1], -buffer[2])); - node_transform.setRotation(btQuaternion(-buffer[3], -buffer[4], buffer[5], buffer[6])); + node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); + node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); btTransform node_rh = node_transform; this->transform.mult(node_rh, this->from_node_to_world); @@ -116,10 +116,10 @@ class PhysicsObjectMotionState : public PhysicsMotionState { // Flip Z back. buffer[0] = pos.x(); buffer[1] = pos.y(); - buffer[2] = -pos.z(); + buffer[2] = pos.z(); // Flip X and Y back. - buffer[3] = -rot.x(); - buffer[4] = -rot.y(); + buffer[3] = rot.x(); + buffer[4] = rot.y(); buffer[5] = rot.z(); buffer[6] = rot.w(); } @@ -137,8 +137,8 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { btTransform node_transform; float* buffer = &world->GetTransformBuffer()[rigidbody_index * 7]; // Input: MMD (LH) -> Bullet (RH) - node_transform.setOrigin(btVector3(buffer[0], buffer[1], -buffer[2])); - node_transform.setRotation(btQuaternion(-buffer[3], -buffer[4], buffer[5], buffer[6])); + node_transform.setOrigin(btVector3(buffer[0], buffer[1], buffer[2])); + node_transform.setRotation(btQuaternion(buffer[3], buffer[4], buffer[5], buffer[6])); btTransform node_rh = node_transform; this->transform.mult(node_rh, this->from_node_to_world); @@ -161,9 +161,9 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { // Output: Bullet (RH) -> MMD (LH) buffer[0] = pos.x(); buffer[1] = pos.y(); - buffer[2] = -pos.z(); - buffer[3] = -rot.x(); - buffer[4] = -rot.y(); + buffer[2] = pos.z(); + buffer[3] = rot.x(); + buffer[4] = rot.y(); buffer[5] = rot.z(); buffer[6] = rot.w(); } @@ -320,7 +320,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c btTransform transform; transform.setIdentity(); - transform.setOrigin(btVector3(joint_item.position.x, joint_item.position.y, -joint_item.position.z)); + transform.setOrigin(btVector3(joint_item.position.x, joint_item.position.y, joint_item.position.z)); transform.setBasis(rotation_matrix); size_t rigidbody_a_index = joint_item.rigidbody_a_index; @@ -345,14 +345,14 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c auto constraint = std::make_unique( *rigidbody_a.rigidbody, *rigidbody_b.rigidbody, inverse_a, inverse_b, true); constraint->setLinearLowerLimit( - btVector3(joint_item.position_min.x, joint_item.position_min.y, -joint_item.position_max.z)); + btVector3(joint_item.position_min.x, joint_item.position_min.y, joint_item.position_min.z)); constraint->setLinearUpperLimit( - btVector3(joint_item.position_max.x, joint_item.position_max.y, -joint_item.position_min.z)); + btVector3(joint_item.position_max.x, joint_item.position_max.y, joint_item.position_max.z)); constraint->setAngularLowerLimit( - btVector3(joint_item.rotation_min.x, -joint_item.rotation_max.y, joint_item.rotation_min.z)); + btVector3(joint_item.rotation_min.x, joint_item.rotation_min.y, joint_item.rotation_min.z)); constraint->setAngularUpperLimit( - btVector3(joint_item.rotation_max.x, -joint_item.rotation_min.y, joint_item.rotation_max.z)); + btVector3(joint_item.rotation_max.x, joint_item.rotation_max.y, joint_item.rotation_max.z)); if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); From 7e1c908aa5354c1db5041fce6fdf6e58b3f8c8c7 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 16:51:42 +0700 Subject: [PATCH 030/112] Fixed mismatched Y --- blazerod/render/main/physics/PhysicsWorld.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 7c9d544b..17c05604 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -349,10 +349,17 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c constraint->setLinearUpperLimit( btVector3(joint_item.position_max.x, joint_item.position_max.y, joint_item.position_max.z)); + // Kotlin/PmxLoader keeps Y-angle limits in original PMX sign space, but + // joint_item.rotation.y (used for the frame) has Y already negated. + // Map Y limits into the same flipped-Y basis as the joint frame: + // y_phys = -y_pmx => [min_pmx, max_pmx] -> [-max_pmx, -min_pmx] + btScalar angYLower = -joint_item.rotation_max.y; + btScalar angYUpper = -joint_item.rotation_min.y; + constraint->setAngularLowerLimit( - btVector3(joint_item.rotation_min.x, joint_item.rotation_min.y, joint_item.rotation_min.z)); + btVector3(joint_item.rotation_min.x, angYLower, joint_item.rotation_min.z)); constraint->setAngularUpperLimit( - btVector3(joint_item.rotation_max.x, joint_item.rotation_max.y, joint_item.rotation_max.z)); + btVector3(joint_item.rotation_max.x, angYUpper, joint_item.rotation_max.z)); if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); From 1aab2e076b27bc7c14f17acf78891645de8d73dc Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 17:17:43 +0700 Subject: [PATCH 031/112] Added loggings to inspect --- blazerod/render/main/physics/PhysicsWorld.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 17c05604..fff47300 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -45,15 +45,13 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec rotation_matrix = rot_y * rot_x * rot_z; btVector3 pos(position.x, position.y, position.z); - btTransform rigidbody_transform; - rigidbody_transform.setIdentity(); - rigidbody_transform.setBasis(rotation_matrix); - rigidbody_transform.setOrigin(pos); + btTransform local_offset; + local_offset.setIdentity(); + local_offset.setBasis(rotation_matrix); + local_offset.setOrigin(pos); btTransform initial_lh = initial_transform; - // Correct offset calculation: Offset = Bone^-1 * Body - // This gives the Body's position relative to the Bone. - from_node_to_world.mult(initial_lh.inverse(), rigidbody_transform); + from_node_to_world = local_offset; from_world_to_node = from_node_to_world.inverse(); // Initialize the Physics Body to the current Bone position + Offset. From 993c0c7b2f199176c0712da1015d21154fe542cd Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 17:35:59 +0700 Subject: [PATCH 032/112] Added more loggings to inspect --- blazerod/render/main/physics/PhysicsWorld.cpp | 44 +++++++++++++++ .../render/main/runtime/ModelInstanceImpl.kt | 38 +++++++++++++ .../main/runtime/load/ModelPreprocessor.kt | 54 +++++++++++++------ 3 files changed, 120 insertions(+), 16 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index fff47300..3bd9b7ad 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -1,5 +1,6 @@ #include "PhysicsWorld.h" +#include #include #include @@ -296,6 +297,22 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c rigidbody_data.rigidbody = std::move(rigidbody); rigidbody_data.physics_mode = rigidbody_item.physics_mode; this->rigidbodies.push_back(std::move(rigidbody_data)); + + if (rigidbody_index < 16) { + const btTransform& rb_world = this->rigidbodies[rigidbody_index].rigidbody->getWorldTransform(); + btVector3 rb_pos = rb_world.getOrigin(); + btQuaternion rb_rot = rb_world.getRotation(); + std::cout << "PHYSDBG RB_CPP " + << "idx=" << rigidbody_index + << " mode=" << rigidbody_item.physics_mode + << " shapePos=(" << rigidbody_item.shape_position.x << "," << rigidbody_item.shape_position.y + << "," << rigidbody_item.shape_position.z << ")" + << " shapeRot=(" << rigidbody_item.shape_rotation.x << "," << rigidbody_item.shape_rotation.y + << "," << rigidbody_item.shape_rotation.z << ")" + << " bodyPos=(" << rb_pos.x() << "," << rb_pos.y() << "," << rb_pos.z() << ")" + << " bodyRot=(" << rb_rot.x() << "," << rb_rot.y() << "," << rb_rot.z() << "," << rb_rot.w() + << ")" << std::endl; + } } const auto& joints = scene.GetJoints(); @@ -359,6 +376,33 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c constraint->setAngularUpperLimit( btVector3(joint_item.rotation_max.x, angYUpper, joint_item.rotation_max.z)); + if (joint_index < 16) { + btVector3 body_a_pos = body_a_transform.getOrigin(); + btVector3 body_b_pos = body_b_transform.getOrigin(); + btVector3 anchor_pos = transform.getOrigin(); + btVector3 lin_ll, lin_ul, ang_ll, ang_ul; + constraint->getLinearLowerLimit(lin_ll); + constraint->getLinearUpperLimit(lin_ul); + constraint->getAngularLowerLimit(ang_ll); + constraint->getAngularUpperLimit(ang_ul); + + std::cout << "PHYSDBG JOINT_CPP " + << "idx=" << joint_index + << " A=" << rigidbody_a_index + << " B=" << rigidbody_b_index + << " anchor=(" << anchor_pos.x() << "," << anchor_pos.y() << "," << anchor_pos.z() + << ")" + << " bodyAPos=(" << body_a_pos.x() << "," << body_a_pos.y() << "," << body_a_pos.z() + << ")" + << " bodyBPos=(" << body_b_pos.x() << "," << body_b_pos.y() << "," << body_b_pos.z() + << ")" + << " linLL=(" << lin_ll.x() << "," << lin_ll.y() << "," << lin_ll.z() << ")" + << " linUL=(" << lin_ul.x() << "," << lin_ul.y() << "," << lin_ul.z() << ")" + << " angLL=(" << ang_ll.x() << "," << ang_ll.y() << "," << ang_ll.z() << ")" + << " angUL=(" << ang_ul.x() << "," << ang_ul.y() << "," << ang_ul.z() << ")" + << std::endl; + } + if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); constraint->setStiffness(0, joint_item.position_spring.x); diff --git a/blazerod/render/main/runtime/ModelInstanceImpl.kt b/blazerod/render/main/runtime/ModelInstanceImpl.kt index 1f116b17..1d55c8fe 100644 --- a/blazerod/render/main/runtime/ModelInstanceImpl.kt +++ b/blazerod/render/main/runtime/ModelInstanceImpl.kt @@ -3,6 +3,8 @@ package top.fifthlight.blazerod.runtime import net.minecraft.client.render.VertexConsumerProvider import org.joml.Matrix4f import org.joml.Matrix4fc +import org.joml.Quaternionf +import org.joml.Vector3f import org.lwjgl.system.MemoryStack import org.lwjgl.system.MemoryUtil import top.fifthlight.blazerod.api.refcount.AbstractRefCount @@ -84,6 +86,42 @@ class ModelInstanceImpl( transformArray = FloatArray(scene.rigidBodyComponents.size * 7) // Initial pull to populate array _world!!.pullTransforms(transformArray) + + // Debug: log initial bone vs rigidbody transforms for the first few bodies + val world = _world!! + val maxLogged = minOf(scene.rigidBodyComponents.size, 16) + for (i in 0 until maxLogged) { + val (nodeIndex, component) = scene.rigidBodyComponents[i] + val node = scene.nodes[nodeIndex] + + val boneWorld = modelData.worldTransforms[nodeIndex] + val bonePos = Vector3f() + val boneRot = Quaternionf() + boneWorld.getTranslation(bonePos) + boneWorld.getUnnormalizedRotation(boneRot) + + val bodyMatrix = Matrix4f() + world.getTransform(component.rigidBodyIndex, bodyMatrix) + val bodyPos = Vector3f() + val bodyRot = Quaternionf() + bodyMatrix.getTranslation(bodyPos) + bodyMatrix.getUnnormalizedRotation(bodyRot) + + val rb = component.rigidBodyData + println( + "PHYSDBG RB_INIT " + + "idx=${component.rigidBodyIndex} " + + "nodeIndex=$nodeIndex " + + "nodeName=${node.nodeName} " + + "mode=${rb.physicsMode} " + + "shapePos=(${rb.shapePosition.x()},${rb.shapePosition.y()},${rb.shapePosition.z()}) " + + "shapeRot=(${rb.shapeRotation.x()},${rb.shapeRotation.y()},${rb.shapeRotation.z()}) " + + "bonePos=(${bonePos.x},${bonePos.y},${bonePos.z}) " + + "boneRot=(${boneRot.x},${boneRot.y},${boneRot.z},${boneRot.w}) " + + "bodyPos=(${bodyPos.x},${bodyPos.y},${bodyPos.z}) " + + "bodyRot=(${bodyRot.x},${bodyRot.y},${bodyRot.z},${bodyRot.w})" + ) + } } } diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 37d6dd15..b03596c7 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -632,22 +632,44 @@ class ModelPreprocessor private constructor( return Pair(expressions, expressionGroups) } - private fun loadPhysicalJoints(modelPhysicalJoints: List) = modelPhysicalJoints.mapNotNull { - RenderPhysicsJoint( - name = it.name, - type = it.type, - rigidBodyAIndex = rigidBodyIdToIndexMap[it.rigidBodyA] ?: return@mapNotNull null, - rigidBodyBIndex = rigidBodyIdToIndexMap[it.rigidBodyB] ?: return@mapNotNull null, - position = it.position, - rotation = it.rotation, - positionMin = it.positionMin, - positionMax = it.positionMax, - rotationMin = it.rotationMin, - rotationMax = it.rotationMax, - positionSpring = it.positionSpring, - rotationSpring = it.rotationSpring, - ) - } + private fun loadPhysicalJoints(modelPhysicalJoints: List) = + modelPhysicalJoints.mapIndexedNotNull { index, joint -> + val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null + val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null + + if (index < 16) { + println( + "PHYSDBG JOINT_KT " + + "idx=$index " + + "name=${joint.name} " + + "A=$rigidBodyAIndex " + + "B=$rigidBodyBIndex " + + "pos=(${joint.position.x()},${joint.position.y()},${joint.position.z()}) " + + "rot=(${joint.rotation.x()},${joint.rotation.y()},${joint.rotation.z()}) " + + "posMin=(${joint.positionMin.x()},${joint.positionMin.y()},${joint.positionMin.z()}) " + + "posMax=(${joint.positionMax.x()},${joint.positionMax.y()},${joint.positionMax.z()}) " + + "rotMin=(${joint.rotationMin.x()},${joint.rotationMin.y()},${joint.rotationMin.z()}) " + + "rotMax=(${joint.rotationMax.x()},${joint.rotationMax.y()},${joint.rotationMax.z()}) " + + "posSpring=(${joint.positionSpring.x()},${joint.positionSpring.y()},${joint.positionSpring.z()}) " + + "rotSpring=(${joint.rotationSpring.x()},${joint.rotationSpring.y()},${joint.rotationSpring.z()})" + ) + } + + RenderPhysicsJoint( + name = joint.name, + type = joint.type, + rigidBodyAIndex = rigidBodyAIndex, + rigidBodyBIndex = rigidBodyBIndex, + position = joint.position, + rotation = joint.rotation, + positionMin = joint.positionMin, + positionMax = joint.positionMax, + rotationMin = joint.rotationMin, + rotationMax = joint.rotationMax, + positionSpring = joint.positionSpring, + rotationSpring = joint.rotationSpring, + ) + } private fun loadScene(scene: Scene, expressions: List): PreProcessModelLoadInfo { val rootNode = NodeLoadInfo( From 2bed2f8d23b15d4012e0ab0e7d43e709fca676f1 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 17:59:29 +0700 Subject: [PATCH 033/112] Fixed problem with identity --- blazerod/render/main/physics/PhysicsWorld.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 3bd9b7ad..c74ed781 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -454,10 +454,10 @@ void PhysicsWorld::Step(float delta_time, int max_sub_steps, float fixed_time_st this->world->stepSimulation(delta_time, max_sub_steps, fixed_time_step); rigidbody_index = 0; for (auto& rigidbody : this->rigidbodies) { - if (!rigidbody.motion_state->IsDirty()) { - continue; + if (rigidbody.motion_state->IsDirty()) { + rigidbody.motion_state->SetToWorld(this, rigidbody_index); } - rigidbody.motion_state->SetToWorld(this, rigidbody_index++); + rigidbody_index++; } } From 180ebbf2f70e03bad5ff9281f83ce8fbaae0dea1 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 18:33:10 +0700 Subject: [PATCH 034/112] Fixed Transform buffer index misalignment --- blazerod/render/main/physics/PhysicsWorld.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index c74ed781..33cde815 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -1,5 +1,6 @@ #include "PhysicsWorld.h" +#include #include #include #include @@ -405,27 +406,27 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); - constraint->setStiffness(0, joint_item.position_spring.x); + constraint->setStiffness(0, std::abs(joint_item.position_spring.x)); } if (joint_item.position_spring.y != 0.0f) { constraint->enableSpring(1, true); - constraint->setStiffness(1, joint_item.position_spring.y); + constraint->setStiffness(1, std::abs(joint_item.position_spring.y)); } if (joint_item.position_spring.z != 0.0f) { constraint->enableSpring(2, true); - constraint->setStiffness(2, joint_item.position_spring.z); + constraint->setStiffness(2, std::abs(joint_item.position_spring.z)); } if (joint_item.rotation_spring.x != 0.0f) { constraint->enableSpring(3, true); - constraint->setStiffness(3, joint_item.rotation_spring.x); + constraint->setStiffness(3, std::abs(joint_item.rotation_spring.x)); } if (joint_item.rotation_spring.y != 0.0f) { constraint->enableSpring(4, true); - constraint->setStiffness(4, joint_item.rotation_spring.y); + constraint->setStiffness(4, std::abs(joint_item.rotation_spring.y)); } if (joint_item.rotation_spring.z != 0.0f) { constraint->enableSpring(5, true); - constraint->setStiffness(5, joint_item.rotation_spring.z); + constraint->setStiffness(5, std::abs(joint_item.rotation_spring.z)); } this->world->addConstraint(constraint.get(), true); From ad4b90896fbbe713a6bdc4a418cd9ae998f7da01 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 19:00:38 +0700 Subject: [PATCH 035/112] Apply angular limits --- blazerod/render/main/physics/PhysicsWorld.cpp | 27 ++++++------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 33cde815..c9d95760 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -323,16 +323,11 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c for (const Joint& joint_item : joints) { size_t joint_index = joint_count++; btMatrix3x3 rotation_matrix; - // rotation_matrix.setEulerZYX(joint_item.rotation.x, joint_item.rotation.y, joint_item.rotation.z); - float rx_val = -joint_item.rotation.x; - float ry_val = joint_item.rotation.y; // PmxLoader already negated Y. - float rz_val = joint_item.rotation.z; - - // Saba uses setEulerZYX for Joints (unlike RigidBodies where it constructs manually). - // We must match this convention to ensure Constraint Frames are correct. - // setEulerZYX(yaw, pitch, roll) -> (y, x, z) usually, but Saba passes (x, y, z). - // We pass our corrected coordinates (-x, -y, z). - rotation_matrix.setEulerZYX(rx_val, ry_val, rz_val); + // Match Saba's MMDPhysics PMX joint path: use preprocessed joint rotation directly. + rotation_matrix.setEulerZYX( + joint_item.rotation.x, + joint_item.rotation.y, + joint_item.rotation.z); btTransform transform; transform.setIdentity(); @@ -365,17 +360,11 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c constraint->setLinearUpperLimit( btVector3(joint_item.position_max.x, joint_item.position_max.y, joint_item.position_max.z)); - // Kotlin/PmxLoader keeps Y-angle limits in original PMX sign space, but - // joint_item.rotation.y (used for the frame) has Y already negated. - // Map Y limits into the same flipped-Y basis as the joint frame: - // y_phys = -y_pmx => [min_pmx, max_pmx] -> [-max_pmx, -min_pmx] - btScalar angYLower = -joint_item.rotation_max.y; - btScalar angYUpper = -joint_item.rotation_min.y; - + // Apply angular limits directly from the preprocessed min/max values. constraint->setAngularLowerLimit( - btVector3(joint_item.rotation_min.x, angYLower, joint_item.rotation_min.z)); + btVector3(joint_item.rotation_min.x, joint_item.rotation_min.y, joint_item.rotation_min.z)); constraint->setAngularUpperLimit( - btVector3(joint_item.rotation_max.x, angYUpper, joint_item.rotation_max.z)); + btVector3(joint_item.rotation_max.x, joint_item.rotation_max.y, joint_item.rotation_max.z)); if (joint_index < 16) { btVector3 body_a_pos = body_a_transform.getOrigin(); From a491b415fedb444aaaa1a512261a547f96d64d45 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 20:33:42 +0700 Subject: [PATCH 036/112] Even more logs --- .../render/main/runtime/ModelInstanceImpl.kt | 1 + .../render/main/runtime/RenderSceneImpl.kt | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/blazerod/render/main/runtime/ModelInstanceImpl.kt b/blazerod/render/main/runtime/ModelInstanceImpl.kt index 1d55c8fe..c0d69b97 100644 --- a/blazerod/render/main/runtime/ModelInstanceImpl.kt +++ b/blazerod/render/main/runtime/ModelInstanceImpl.kt @@ -66,6 +66,7 @@ class ModelInstanceImpl( private val physicsScene: PhysicsScene, ) : AutoCloseable { var lastPhysicsTime: Float = -1f + var debugStepCount: Int = 0 private var _world: PhysicsWorld? = null val world: PhysicsWorld get() = _world ?: error("PhysicsWorld is not initialized") diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index cc28fc86..bf0c8271 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -3,6 +3,8 @@ package top.fifthlight.blazerod.runtime import it.unimi.dsi.fastutil.ints.Int2ReferenceOpenHashMap import net.minecraft.client.render.VertexConsumerProvider import org.joml.Matrix4fc +import org.joml.Quaternionf +import org.joml.Vector3f import top.fifthlight.blazerod.api.refcount.AbstractRefCount import top.fifthlight.blazerod.api.resource.RenderExpression import top.fifthlight.blazerod.api.resource.RenderExpressionGroup @@ -165,6 +167,45 @@ class RenderSceneImpl( println("Physics step time: $it, timeStep: $timeStep") } data.world.pullTransforms(data.transformArray) + + if (data.debugStepCount < 10) { + val maxLogged = minOf(rigidBodyComponents.size, 16) + for (i in 0 until maxLogged) { + val (nodeIndex, component) = rigidBodyComponents[i] + val node = nodes[nodeIndex] + + val boneWorld = instance.modelData.worldTransforms[nodeIndex] + val bonePos = Vector3f() + val boneRot = Quaternionf() + boneWorld.getTranslation(bonePos) + boneWorld.getUnnormalizedRotation(boneRot) + + val offset = component.rigidBodyIndex * 7 + val array = data.transformArray + val px = array[offset + 0] + val py = array[offset + 1] + val pz = array[offset + 2] + val qx = array[offset + 3] + val qy = array[offset + 4] + val qz = array[offset + 5] + val qw = array[offset + 6] + + println( + "PHYSDBG RB_STEP " + + "step=${data.debugStepCount} " + + "idx=${component.rigidBodyIndex} " + + "nodeIndex=$nodeIndex " + + "nodeName=${node.nodeName} " + + "mode=${component.rigidBodyData.physicsMode} " + + "bonePos=(${bonePos.x},${bonePos.y},${bonePos.z}) " + + "boneRot=(${boneRot.x},${boneRot.y},${boneRot.z},${boneRot.w}) " + + "bodyPos=($px,$py,$pz) " + + "bodyRot=($qx,$qy,$qz,$qw)" + ) + } + } + data.debugStepCount++ + executePhase(instance, UpdatePhase.PhysicsUpdatePost) executePhase(instance, UpdatePhase.GlobalTransformPropagation) } From fcdcfaf0141e72f4ef2de84dd4dd3d8baab7b899 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 21:46:36 +0700 Subject: [PATCH 037/112] Stabilize hair/skirts --- blazerod/render/main/physics/PhysicsWorld.cpp | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index c9d95760..0be43219 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -46,7 +46,14 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec rotation_matrix = rot_y * rot_x * rot_z; - btVector3 pos(position.x, position.y, position.z); + // Kotlin / PMX loader passes shape_position in world/model space. + // We need a LOCAL offset from the bone (initial_transform's origin) so that: + // world_COM = bone_world * local_offset + // and world_COM matches the original shape_position. + btVector3 bone_origin = initial_transform.getOrigin(); + btVector3 pos(position.x - bone_origin.x(), + position.y - bone_origin.y(), + position.z - bone_origin.z()); btTransform local_offset; local_offset.setIdentity(); local_offset.setBasis(rotation_matrix); @@ -55,9 +62,9 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec btTransform initial_lh = initial_transform; from_node_to_world = local_offset; from_world_to_node = from_node_to_world.inverse(); - - // Initialize the Physics Body to the current Bone position + Offset. - // This ensures that even if the model is posed (not in Bind Pose), the body starts aligned with the bone. + + // Initialize the rigidbody so that its center-of-mass is at the PMX shape_position in world space. + // world_COM = bone_world * local_offset this->transform.mult(initial_lh, from_node_to_world); } @@ -142,7 +149,11 @@ class PhysicsPlusBoneObjectMotionState : public PhysicsMotionState { btTransform node_rh = node_transform; this->transform.mult(node_rh, this->from_node_to_world); - this->origin = transform.getOrigin(); + // For PHYSICS_PLUS_BONE, keep translation locked to the bone (node) position + // and only let Bullet drive the rotation. Use the node's origin here so that + // we don't propagate the rigidbody's center-of-mass offset back into the + // engine space, which was causing hair bodies to jump far away. + this->origin = node_rh.getOrigin(); } void SetToWorld(PhysicsWorld* world, size_t rigidbody_index) override { From 5b77161c653565bf89f136c5c95c9d3ec9eb07fa Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 22:24:22 +0700 Subject: [PATCH 038/112] Stabilize hair/skirts again --- .../main/runtime/node/component/RigidBodyComponent.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index 277b5e67..5a62f6b5 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -70,6 +70,7 @@ class RigidBodyComponent( RigidBody.PhysicsMode.PHYSICS, RigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> { val offset = rigidBodyIndex * 7 val array = physicsData.transformArray + val px = array[offset + 0] val py = array[offset + 1] val pz = array[offset + 2] @@ -77,9 +78,14 @@ class RigidBodyComponent( val qy = array[offset + 4] val qz = array[offset + 5] val qw = array[offset + 6] - physicsMatrix.translationRotate(px, py, pz, qx, qy, qz, qw) - + + if (rigidBodyData.physicsMode == RigidBody.PhysicsMode.PHYSICS_PLUS_BONE) { + val nodeTransformMatrix = instance.getWorldTransform(node) + nodeTransformMatrix.getTranslation(tempPos) + physicsMatrix.setTranslation(tempPos) + } + val inverseNodeWorldMatrix = instance.getWorldTransform(node).invert(inverseNodeWorldMatrix) instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { From f93a67564d4ff99e52884239c4cad047419db50d Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 30 Nov 2025 22:53:48 +0700 Subject: [PATCH 039/112] Use Euler convention in PhysicsWorld --- blazerod/render/main/physics/PhysicsWorld.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 0be43219..680703eb 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -36,15 +36,11 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec // We need to flip X to match PmxLoader's limits/springs logic and Saba's InvZ behavior (which negates Rx and Ry). // We also need to flip Y and Z-position to fully convert from MMD (LH) to Bullet (RH). - float rx_val = -rotation.x; - float ry_val = rotation.y; // PmxLoader already negated Y. Keep it as is (so it is -y). + float rx_val = rotation.x; + float ry_val = rotation.y; float rz_val = rotation.z; - btMatrix3x3 rot_x(1, 0, 0, 0, cos(rx_val), -sin(rx_val), 0, sin(rx_val), cos(rx_val)); - btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), 0, 1, 0, -sin(ry_val), 0, cos(ry_val)); - btMatrix3x3 rot_z(cos(rz_val), -sin(rz_val), 0, sin(rz_val), cos(rz_val), 0, 0, 0, 1); - - rotation_matrix = rot_y * rot_x * rot_z; + rotation_matrix.setEulerZYX(rx_val, ry_val, rz_val); // Kotlin / PMX loader passes shape_position in world/model space. // We need a LOCAL offset from the bone (initial_transform's origin) so that: From 81770887d24113580974cf177a2226b492386cb8 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 00:15:55 +0700 Subject: [PATCH 040/112] Fix Rigidbody orientation order --- blazerod/render/main/physics/PhysicsWorld.cpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 680703eb..3b417485 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -40,7 +40,17 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec float ry_val = rotation.y; float rz_val = rotation.z; - rotation_matrix.setEulerZYX(rx_val, ry_val, rz_val); + btMatrix3x3 rot_x(1, 0, 0, + 0, cos(rx_val), -sin(rx_val), + 0, sin(rx_val), cos(rx_val)); + btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), + 0, 1, 0, + -sin(ry_val), 0, cos(ry_val)); + btMatrix3x3 rot_z(cos(rz_val), -sin(rz_val), 0, + sin(rz_val), cos(rz_val), 0, + 0, 0, 1); + + rotation_matrix = rot_y * rot_x * rot_z; // Kotlin / PMX loader passes shape_position in world/model space. // We need a LOCAL offset from the bone (initial_transform's origin) so that: @@ -285,7 +295,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c } } - btRigidBody::btRigidBodyConstructionInfo rigidbody_info(rigidbody_item.mass, motion_state.get(), shape.get(), + btRigidBody::btRigidBodyConstructionInfo rigidbody_info(mass, motion_state.get(), shape.get(), local_inertia); rigidbody_info.m_linearDamping = rigidbody_item.move_attenuation; rigidbody_info.m_angularDamping = rigidbody_item.rotation_damping; From 209c7ad49a7a5541cd0732ad455653a4cd191ca8 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 07:34:25 +0700 Subject: [PATCH 041/112] Bump PHYSICS_MAX_SUB_STEP_COUNT from 1 to 10 --- blazerod/render/main/runtime/RenderSceneImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index bf0c8271..d8ee515c 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -37,7 +37,7 @@ class RenderSceneImpl( val renderTransform: NodeTransform?, ) : AbstractRefCount(), RenderScene { companion object { - private const val PHYSICS_MAX_SUB_STEP_COUNT = 1 + private const val PHYSICS_MAX_SUB_STEP_COUNT = 10 private const val PHYSICS_FPS = 120f private const val PHYSICS_TIME_STEP = 1f / PHYSICS_FPS } From 12092f159e8e0a62f3e08b82d2d8f8112c8d206b Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 08:09:39 +0700 Subject: [PATCH 042/112] Even more logs --- .../render/main/runtime/ModelInstanceImpl.kt | 1 + .../render/main/runtime/RenderSceneImpl.kt | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/blazerod/render/main/runtime/ModelInstanceImpl.kt b/blazerod/render/main/runtime/ModelInstanceImpl.kt index c0d69b97..2ae37412 100644 --- a/blazerod/render/main/runtime/ModelInstanceImpl.kt +++ b/blazerod/render/main/runtime/ModelInstanceImpl.kt @@ -67,6 +67,7 @@ class ModelInstanceImpl( ) : AutoCloseable { var lastPhysicsTime: Float = -1f var debugStepCount: Int = 0 + var explosionLogCount: Int = 0 private var _world: PhysicsWorld? = null val world: PhysicsWorld get() = _world ?: error("PhysicsWorld is not initialized") diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index d8ee515c..1963e869 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -168,6 +168,48 @@ class RenderSceneImpl( } data.world.pullTransforms(data.transformArray) + if (data.explosionLogCount < 64) { + val array = data.transformArray + val bonePos = Vector3f() + for (i in 0 until rigidBodyComponents.size) { + val (nodeIndex, component) = rigidBodyComponents[i] + val offset = component.rigidBodyIndex * 7 + val px = array[offset + 0] + val py = array[offset + 1] + val pz = array[offset + 2] + + val boneWorld = instance.modelData.worldTransforms[nodeIndex] + boneWorld.getTranslation(bonePos) + + val dx = px - bonePos.x + val dy = py - bonePos.y + val dz = pz - bonePos.z + val distSq = dx * dx + dy * dy + dz * dz + val bodyRadiusSq = px * px + py * py + pz * pz + + if (distSq > 9.0f || bodyRadiusSq > 400.0f) { + val node = nodes[nodeIndex] + val mode = component.rigidBodyData.physicsMode + println( + "PHYSERR RB_EXPLODE " + + "step=${data.debugStepCount} " + + "idx=${component.rigidBodyIndex} " + + "nodeIndex=$nodeIndex " + + "nodeName=${node.nodeName} " + + "mode=$mode " + + "bodyPos=($px,$py,$pz) " + + "bonePos=(${bonePos.x},${bonePos.y},${bonePos.z}) " + + "distSq=$distSq " + + "bodyRadiusSq=$bodyRadiusSq" + ) + data.explosionLogCount++ + if (data.explosionLogCount >= 64) { + break + } + } + } + } + if (data.debugStepCount < 10) { val maxLogged = minOf(rigidBodyComponents.size, 16) for (i in 0 until maxLogged) { From df6750f0fe61dae9d68caf0e820b356d7cfd9517 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 08:49:46 +0700 Subject: [PATCH 043/112] change the PHYSICS bone --- .../node/component/RigidBodyComponent.kt | 38 +++++++++++++++---- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index 5a62f6b5..aa918fa4 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -9,6 +9,7 @@ import top.fifthlight.blazerod.model.TransformId import top.fifthlight.blazerod.runtime.ModelInstanceImpl import top.fifthlight.blazerod.runtime.node.RenderNodeImpl import top.fifthlight.blazerod.runtime.node.UpdatePhase +import top.fifthlight.blazerod.runtime.node.getTransformMap import top.fifthlight.blazerod.runtime.node.getWorldTransform class RigidBodyComponent( @@ -31,6 +32,8 @@ class RigidBodyComponent( private val physicsMatrix = Matrix4f() private val inverseNodeWorldMatrix = Matrix4f() + private val baseWorldMatrix = Matrix4f() + private val tempPos = Vector3f() private val tempRot = Quaternionf() @@ -69,6 +72,7 @@ class RigidBodyComponent( when (rigidBodyData.physicsMode) { RigidBody.PhysicsMode.PHYSICS, RigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> { val offset = rigidBodyIndex * 7 + val array = physicsData.transformArray val px = array[offset + 0] @@ -86,13 +90,33 @@ class RigidBodyComponent( physicsMatrix.setTranslation(tempPos) } - val inverseNodeWorldMatrix = instance.getWorldTransform(node).invert(inverseNodeWorldMatrix) - - instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { - // Correct math: NewLayer = OldLayer * W^-1 * P - // 'this' is OldLayer - this.matrix.mul(inverseNodeWorldMatrix) // OldLayer * W^-1 - this.matrix.mul(physicsMatrix) // OldLayer * W^-1 * P + if (rigidBodyData.physicsMode == RigidBody.PhysicsMode.PHYSICS) { + val transformMap = instance.getTransformMap(node) + val baseLocal = transformMap.getSum(TransformId.EXTERNAL_PARENT_DEFORM) + + val parent = node.parent + if (parent != null) { + baseWorldMatrix.set(instance.getWorldTransform(parent)) + } else { + baseWorldMatrix.identity() + } + + baseWorldMatrix.mul(baseLocal) + baseWorldMatrix.invert(inverseNodeWorldMatrix) + inverseNodeWorldMatrix.mul(physicsMatrix) + + instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { + this.matrix.set(inverseNodeWorldMatrix) + } + } else { + val inverseNodeWorldMatrix = instance.getWorldTransform(node).invert(inverseNodeWorldMatrix) + + instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { + // Correct math: NewLayer = OldLayer * W^-1 * P + // 'this' is OldLayer + this.matrix.mul(inverseNodeWorldMatrix) // OldLayer * W^-1 + this.matrix.mul(physicsMatrix) // OldLayer * W^-1 * P + } } } From 2df45d825645684dea77291e4d363c36cc06f217 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 09:40:24 +0700 Subject: [PATCH 044/112] Why the bangs are flying away :( --- .../render/main/runtime/ModelInstanceImpl.kt | 20 +++++++++++++++++++ .../render/main/runtime/RenderSceneImpl.kt | 1 + .../main/runtime/node/RenderNodeImpl.kt | 2 ++ .../node/component/RigidBodyComponent.kt | 14 ++----------- 4 files changed, 25 insertions(+), 12 deletions(-) diff --git a/blazerod/render/main/runtime/ModelInstanceImpl.kt b/blazerod/render/main/runtime/ModelInstanceImpl.kt index 2ae37412..6ae5f677 100644 --- a/blazerod/render/main/runtime/ModelInstanceImpl.kt +++ b/blazerod/render/main/runtime/ModelInstanceImpl.kt @@ -142,6 +142,7 @@ class ModelInstanceImpl( val transformDirty = Array(scene.nodes.size) { true } val worldTransforms = Array(scene.nodes.size) { Matrix4f() } + val worldTransformsNoPhysics = Array(scene.nodes.size) { Matrix4f() } val localMatricesBuffer = run { val buffer = LocalMatricesBuffer(scene.primitiveComponents.size) @@ -306,6 +307,25 @@ class ModelInstanceImpl( } } + internal fun updateNodeTransformNoPhysics(node: RenderNodeImpl) { + val nodeIndex = node.nodeIndex + val localBase = modelData.transformMaps[nodeIndex].getSum(TransformId.EXTERNAL_PARENT_DEFORM) + val parent = node.parent + val dst = modelData.worldTransformsNoPhysics[nodeIndex] + if (parent != null) { + dst.set(modelData.worldTransformsNoPhysics[parent.nodeIndex]).mul(localBase) + } else { + dst.set(localBase) + } + for (child in node.children) { + updateNodeTransformNoPhysics(child) + } + } + + internal fun updateWorldTransformsNoPhysics() { + updateNodeTransformNoPhysics(scene.rootNode) + } + override fun createRenderTask( modelMatrix: Matrix4fc, light: Int, diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 1963e869..55e5278c 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -159,6 +159,7 @@ class RenderSceneImpl( data.lastPhysicsTime = time + instance.updateWorldTransformsNoPhysics() executePhase(instance, UpdatePhase.PhysicsUpdatePre) data.world.pushTransforms(data.transformArray) measureTime { diff --git a/blazerod/render/main/runtime/node/RenderNodeImpl.kt b/blazerod/render/main/runtime/node/RenderNodeImpl.kt index 1b621ac7..5c97e2ff 100644 --- a/blazerod/render/main/runtime/node/RenderNodeImpl.kt +++ b/blazerod/render/main/runtime/node/RenderNodeImpl.kt @@ -105,6 +105,8 @@ fun ModelInstanceImpl.getTransformMap(node: RenderNodeImpl) = modelData.transfor fun ModelInstanceImpl.getWorldTransform(node: RenderNodeImpl) = modelData.worldTransforms[node.nodeIndex] fun ModelInstanceImpl.getTransformMap(nodeIndex: Int) = modelData.transformMaps[nodeIndex] fun ModelInstanceImpl.getWorldTransform(nodeIndex: Int) = modelData.worldTransforms[nodeIndex] +fun ModelInstanceImpl.getWorldTransformNoPhysics(node: RenderNodeImpl) = modelData.worldTransformsNoPhysics[node.nodeIndex] +fun ModelInstanceImpl.getWorldTransformNoPhysics(nodeIndex: Int) = modelData.worldTransformsNoPhysics[nodeIndex] private fun ModelInstanceImpl.isNodeTransformDirty(node: RenderNodeImpl) = modelData.transformDirty[node.nodeIndex] fun ModelInstanceImpl.markNodeTransformDirty(node: RenderNodeImpl) { if (!modelData.transformDirty[node.nodeIndex]) { diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index aa918fa4..230724e4 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -9,8 +9,8 @@ import top.fifthlight.blazerod.model.TransformId import top.fifthlight.blazerod.runtime.ModelInstanceImpl import top.fifthlight.blazerod.runtime.node.RenderNodeImpl import top.fifthlight.blazerod.runtime.node.UpdatePhase -import top.fifthlight.blazerod.runtime.node.getTransformMap import top.fifthlight.blazerod.runtime.node.getWorldTransform +import top.fifthlight.blazerod.runtime.node.getWorldTransformNoPhysics class RigidBodyComponent( val rigidBodyIndex: Int, @@ -91,17 +91,7 @@ class RigidBodyComponent( } if (rigidBodyData.physicsMode == RigidBody.PhysicsMode.PHYSICS) { - val transformMap = instance.getTransformMap(node) - val baseLocal = transformMap.getSum(TransformId.EXTERNAL_PARENT_DEFORM) - - val parent = node.parent - if (parent != null) { - baseWorldMatrix.set(instance.getWorldTransform(parent)) - } else { - baseWorldMatrix.identity() - } - - baseWorldMatrix.mul(baseLocal) + baseWorldMatrix.set(instance.getWorldTransformNoPhysics(node)) baseWorldMatrix.invert(inverseNodeWorldMatrix) inverseNodeWorldMatrix.mul(physicsMatrix) From cac0337758688e657d56898e0f9172c9045b3840 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 10:18:20 +0700 Subject: [PATCH 045/112] Snap back if flew too far --- .../render/main/runtime/RenderSceneImpl.kt | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 55e5278c..546dd5ed 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -169,6 +169,47 @@ class RenderSceneImpl( } data.world.pullTransforms(data.transformArray) + run { + val array = data.transformArray + val basePos = Vector3f() + val baseRot = Quaternionf() + val clampMatrix = Matrix4f() + val maxDistSq = 4.0f + val maxRadiusSq = 100.0f + + for (i in 0 until rigidBodyComponents.size) { + val (nodeIndex, component) = rigidBodyComponents[i] + val offset = component.rigidBodyIndex * 7 + + val px = array[offset + 0] + val py = array[offset + 1] + val pz = array[offset + 2] + + val baseWorld = instance.modelData.worldTransformsNoPhysics[nodeIndex] + baseWorld.getTranslation(basePos) + baseWorld.getUnnormalizedRotation(baseRot) + + val dx = px - basePos.x + val dy = py - basePos.y + val dz = pz - basePos.z + val distSq = dx * dx + dy * dy + dz * dz + val bodyRadiusSq = px * px + py * py + pz * pz + + if (distSq > maxDistSq || bodyRadiusSq > maxRadiusSq) { + array[offset + 0] = basePos.x + array[offset + 1] = basePos.y + array[offset + 2] = basePos.z + array[offset + 3] = baseRot.x + array[offset + 4] = baseRot.y + array[offset + 5] = baseRot.z + array[offset + 6] = baseRot.w + + clampMatrix.translationRotate(basePos, baseRot) + data.world.setTransform(component.rigidBodyIndex, clampMatrix) + } + } + } + if (data.explosionLogCount < 64) { val array = data.transformArray val bonePos = Vector3f() From e494bf71a7165c28c59f2bc357acc90efde783b0 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 10:24:50 +0700 Subject: [PATCH 046/112] Oopsie --- blazerod/render/main/runtime/RenderSceneImpl.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 546dd5ed..80cb3dfd 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -2,6 +2,7 @@ package top.fifthlight.blazerod.runtime import it.unimi.dsi.fastutil.ints.Int2ReferenceOpenHashMap import net.minecraft.client.render.VertexConsumerProvider +import org.joml.Matrix4f import org.joml.Matrix4fc import org.joml.Quaternionf import org.joml.Vector3f From a07b1f0d00b090620c9e67c2003bf367d67c00b1 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 10:50:51 +0700 Subject: [PATCH 047/112] simplifying physics --- .../node/component/RigidBodyComponent.kt | 26 +++++-------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index 230724e4..9331a978 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -84,29 +84,17 @@ class RigidBodyComponent( val qw = array[offset + 6] physicsMatrix.translationRotate(px, py, pz, qx, qy, qz, qw) + baseWorldMatrix.set(instance.getWorldTransformNoPhysics(node)) if (rigidBodyData.physicsMode == RigidBody.PhysicsMode.PHYSICS_PLUS_BONE) { - val nodeTransformMatrix = instance.getWorldTransform(node) - nodeTransformMatrix.getTranslation(tempPos) + baseWorldMatrix.getTranslation(tempPos) physicsMatrix.setTranslation(tempPos) } - if (rigidBodyData.physicsMode == RigidBody.PhysicsMode.PHYSICS) { - baseWorldMatrix.set(instance.getWorldTransformNoPhysics(node)) - baseWorldMatrix.invert(inverseNodeWorldMatrix) - inverseNodeWorldMatrix.mul(physicsMatrix) - - instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { - this.matrix.set(inverseNodeWorldMatrix) - } - } else { - val inverseNodeWorldMatrix = instance.getWorldTransform(node).invert(inverseNodeWorldMatrix) - - instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { - // Correct math: NewLayer = OldLayer * W^-1 * P - // 'this' is OldLayer - this.matrix.mul(inverseNodeWorldMatrix) // OldLayer * W^-1 - this.matrix.mul(physicsMatrix) // OldLayer * W^-1 * P - } + baseWorldMatrix.invert(inverseNodeWorldMatrix) + inverseNodeWorldMatrix.mul(physicsMatrix) + + instance.setTransformMatrix(node.nodeIndex, TransformId.PHYSICS) { + this.matrix.set(inverseNodeWorldMatrix) } } From c9b9923cf9270402a073157c27bec5c63b6ce1ed Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 11:33:45 +0700 Subject: [PATCH 048/112] Even more loggings --- blazerod/render/main/runtime/RenderSceneImpl.kt | 2 +- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 80cb3dfd..148767f4 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -254,7 +254,7 @@ class RenderSceneImpl( } if (data.debugStepCount < 10) { - val maxLogged = minOf(rigidBodyComponents.size, 16) + val maxLogged = minOf(rigidBodyComponents.size, 48) for (i in 0 until maxLogged) { val (nodeIndex, component) = rigidBodyComponents[i] val node = nodes[nodeIndex] diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index b03596c7..16fcd62f 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -637,7 +637,7 @@ class ModelPreprocessor private constructor( val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null - if (index < 16) { + if (index < 64) { println( "PHYSDBG JOINT_KT " + "idx=$index " + From a02126246b35ad31c3be4a377f0b1743e884ad1e Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 13:13:39 +0700 Subject: [PATCH 049/112] More Natural Hair --- blazerod/render/main/physics/PhysicsWorld.cpp | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 3b417485..2bf6ba91 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -339,6 +339,9 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c size_t joint_count = 0; for (const Joint& joint_item : joints) { size_t joint_index = joint_count++; + const float POSITION_SPRING_SCALE = 0.25f; + const float ROTATION_SPRING_SCALE = 0.25f; + const float SPRING_DAMPING = 0.8f; btMatrix3x3 rotation_matrix; // Match Saba's MMDPhysics PMX joint path: use preprocessed joint rotation directly. rotation_matrix.setEulerZYX( @@ -412,27 +415,33 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); - constraint->setStiffness(0, std::abs(joint_item.position_spring.x)); + constraint->setStiffness(0, std::abs(joint_item.position_spring.x) * POSITION_SPRING_SCALE); + constraint->setDamping(0, SPRING_DAMPING); } if (joint_item.position_spring.y != 0.0f) { constraint->enableSpring(1, true); - constraint->setStiffness(1, std::abs(joint_item.position_spring.y)); + constraint->setStiffness(1, std::abs(joint_item.position_spring.y) * POSITION_SPRING_SCALE); + constraint->setDamping(1, SPRING_DAMPING); } if (joint_item.position_spring.z != 0.0f) { constraint->enableSpring(2, true); - constraint->setStiffness(2, std::abs(joint_item.position_spring.z)); + constraint->setStiffness(2, std::abs(joint_item.position_spring.z) * POSITION_SPRING_SCALE); + constraint->setDamping(2, SPRING_DAMPING); } if (joint_item.rotation_spring.x != 0.0f) { constraint->enableSpring(3, true); - constraint->setStiffness(3, std::abs(joint_item.rotation_spring.x)); + constraint->setStiffness(3, std::abs(joint_item.rotation_spring.x) * ROTATION_SPRING_SCALE); + constraint->setDamping(3, SPRING_DAMPING); } if (joint_item.rotation_spring.y != 0.0f) { constraint->enableSpring(4, true); - constraint->setStiffness(4, std::abs(joint_item.rotation_spring.y)); + constraint->setStiffness(4, std::abs(joint_item.rotation_spring.y) * ROTATION_SPRING_SCALE); + constraint->setDamping(4, SPRING_DAMPING); } if (joint_item.rotation_spring.z != 0.0f) { constraint->enableSpring(5, true); - constraint->setStiffness(5, std::abs(joint_item.rotation_spring.z)); + constraint->setStiffness(5, std::abs(joint_item.rotation_spring.z) * ROTATION_SPRING_SCALE); + constraint->setDamping(5, SPRING_DAMPING); } this->world->addConstraint(constraint.get(), true); From 70b0c730e4ebbdaca776431a7040e7fd83ff9719 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 13:38:47 +0700 Subject: [PATCH 050/112] More Natural Hair and Skirt --- blazerod/render/main/physics/PhysicsWorld.cpp | 4 +- .../main/runtime/load/ModelPreprocessor.kt | 700 ++---------------- 2 files changed, 61 insertions(+), 643 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 2bf6ba91..8ab58a67 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -340,8 +340,8 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c for (const Joint& joint_item : joints) { size_t joint_index = joint_count++; const float POSITION_SPRING_SCALE = 0.25f; - const float ROTATION_SPRING_SCALE = 0.25f; - const float SPRING_DAMPING = 0.8f; + const float ROTATION_SPRING_SCALE = 0.10f; + const float SPRING_DAMPING = 1.0f; btMatrix3x3 rotation_matrix; // Match Saba's MMDPhysics PMX joint path: use preprocessed joint rotation directly. rotation_matrix.setEulerZYX( diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 16fcd62f..aae6f553 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -6,676 +6,94 @@ import com.mojang.blaze3d.vertex.VertexFormatElement import kotlinx.coroutines.* import top.fifthlight.blazerod.api.resource.RenderExpression import top.fifthlight.blazerod.api.resource.RenderExpressionGroup +import org.joml.Vector3f + import top.fifthlight.blazerod.extension.NativeImageExt import top.fifthlight.blazerod.extension.TextureFormatExt import top.fifthlight.blazerod.model.* import top.fifthlight.blazerod.render.BlazerodVertexFormatElements import top.fifthlight.blazerod.render.BlazerodVertexFormats -import top.fifthlight.blazerod.runtime.resource.MorphTargetGroup -import top.fifthlight.blazerod.runtime.resource.RenderPhysicsJoint -import top.fifthlight.blazerod.runtime.resource.RenderSkin -import java.nio.ByteBuffer -import java.nio.ByteOrder - -class ModelPreprocessor private constructor( - private val coroutineScope: CoroutineScope, - private val dispatcher: CoroutineDispatcher, - private val model: Model, -) { - data class SkinJointData( - val skinIndex: Int, - val jointIndex: Int, - val humanoidTag: HumanoidTag?, - ) - - private lateinit var skinsList: List - private lateinit var skinJointsData: Map> - - private fun loadSkins() { - val skinJointMap = mutableMapOf>() - val skinsList = mutableListOf() - for ((index, skin) in model.skins.withIndex()) { - val renderSkin = RenderSkin( - name = skin.name, - inverseBindMatrices = skin.inverseBindMatrices, - jointSize = skin.joints.size, - ) - for ((jointIndex, joint) in skin.joints.withIndex()) { - skinJointMap.getOrPut(joint) { mutableListOf() }.add( - SkinJointData( - skinIndex = index, - jointIndex = jointIndex, - humanoidTag = skin.jointHumanoidTags?.getOrNull(jointIndex), - ) - ) - } - skinsList.add(renderSkin) - } - this.skinsList = skinsList - this.skinJointsData = skinJointMap - } - - private val textures = mutableListOf>() - private val textureIndexMap = mutableMapOf() - private fun loadTextureIndex(texture: Texture) = textureIndexMap.getOrPut(texture) { - val texture = coroutineScope.async(dispatcher) { - val bufferView = texture.bufferView ?: return@async null - val byteBuffer = bufferView.buffer.buffer - .slice(bufferView.byteOffset, bufferView.byteLength) - .order(ByteOrder.nativeOrder()) - val nativeImage = try { - NativeImageExt.read(null, texture.type, byteBuffer) - } catch (ex: Exception) { - throw Exception("Failed to load texture ${texture.name ?: "unnamed"}", ex) - } - TextureLoadData( - name = texture.name, - nativeImage = nativeImage, - sampler = texture.sampler, - ) - } - val index = textures.size - textures.add(texture) - index - } - - private fun loadTextureInfo(textureInfo: Material.TextureInfo?) = textureInfo?.let { - MaterialLoadInfo.TextureInfo( - textureIndex = loadTextureIndex(textureInfo.texture), - textureCoordinate = textureInfo.textureCoordinate, - ) - } - - private fun loadMaterial( - material: Material, - skinned: Boolean, - morphed: Boolean, - ) = when (material) { - // TODO: Pbr is not really supported for now - is Material.Pbr -> MaterialLoadInfo.Unlit( - name = material.name, - baseColor = material.baseColor, - baseColorTexture = loadTextureInfo(material.baseColorTexture), - alphaMode = material.alphaMode, - alphaCutoff = material.alphaCutoff, - doubleSided = material.doubleSided, - skinned = skinned, - morphed = morphed, - ) - - is Material.Unlit -> MaterialLoadInfo.Unlit( - name = material.name, - baseColor = material.baseColor, - baseColorTexture = loadTextureInfo(material.baseColorTexture), - alphaMode = material.alphaMode, - alphaCutoff = material.alphaCutoff, - doubleSided = material.doubleSided, - skinned = skinned, - morphed = morphed, - ) - - is Material.Vanilla -> MaterialLoadInfo.Vanilla( - name = material.name, - baseColor = material.baseColor, - baseColorTexture = loadTextureInfo(material.baseColorTexture), - alphaMode = material.alphaMode, - alphaCutoff = material.alphaCutoff, - doubleSided = material.doubleSided, - skinned = skinned, - morphed = morphed, - ) - } - - private data class IndexBufferLoadInfo( - val type: VertexFormat.IndexType, - val bufferIndex: Int, - ) - - private val indexBuffers = mutableListOf>() - private fun loadIndexBuffer(accessor: Accessor): IndexBufferLoadInfo { - check(accessor.type == Accessor.AccessorType.SCALAR) { "Index buffer must be scalar" } - return when (accessor.componentType) { - Accessor.ComponentType.UNSIGNED_SHORT, Accessor.ComponentType.UNSIGNED_INT -> { - val byteBuffer = accessor.readByteBuffer() - val index = indexBuffers.size - indexBuffers.add( - CompletableDeferred( - IndexBufferLoadData( - type = when (accessor.componentType) { - Accessor.ComponentType.UNSIGNED_SHORT -> VertexFormat.IndexType.SHORT - Accessor.ComponentType.UNSIGNED_INT -> VertexFormat.IndexType.INT - else -> error("Bad index type: ${accessor.componentType}") - }, - length = accessor.count, - buffer = byteBuffer, - ) - ) - ) - IndexBufferLoadInfo( - type = when (accessor.componentType) { - Accessor.ComponentType.UNSIGNED_SHORT -> VertexFormat.IndexType.SHORT - Accessor.ComponentType.UNSIGNED_INT -> VertexFormat.IndexType.INT - else -> throw AssertionError() - }, - bufferIndex = index, - ) - } - - Accessor.ComponentType.UNSIGNED_BYTE -> { - val loadData = coroutineScope.async(dispatcher) { - val byteBuffer = - ByteBuffer.allocateDirect(2 * accessor.count).order(ByteOrder.nativeOrder()).apply { - accessor.read { input -> - val index = input.get().toUByte() - putShort(index.toShort()) - } - flip() - } - IndexBufferLoadData( - type = VertexFormat.IndexType.SHORT, - length = accessor.count, - buffer = byteBuffer, - ) - } - val index = indexBuffers.size - indexBuffers.add(loadData) - IndexBufferLoadInfo( - type = VertexFormat.IndexType.SHORT, - bufferIndex = index, - ) - } - - else -> throw IllegalArgumentException("Unsupported component type for index: ${accessor.componentType}") - } - } - - private val vertexBuffers = mutableListOf>() - private fun loadVertexBuffer( - material: MaterialLoadInfo?, - skinned: Boolean, - attributes: Primitive.Attributes.Primitive, - ): Int { - val vertexFormat = material?.getVertexFormat(skinned) ?: BlazerodVertexFormats.POSITION_COLOR_TEXTURE - val vertexBuffer = coroutineScope.async(dispatcher) { - val vertices = attributes.position.count - val stride = vertexFormat.vertexSize - val buffer = ByteBuffer.allocateDirect(stride * vertices).order(ByteOrder.nativeOrder()) - - for (element in vertexFormat.elements) { - val dstOffset = vertexFormat.getOffset(element) - - when (element) { - VertexFormatElement.POSITION -> { - val srcAttribute = attributes.position - VertexLoadUtil.copyAttributeData( - vertices = vertices, - stride = stride, - element = element, - normalized = false, - srcAttribute = srcAttribute, - dstBuffer = buffer, - dstOffset = dstOffset, - ) - } - - VertexFormatElement.UV0 -> { - val srcAttribute = attributes.texcoords.firstOrNull() ?: continue - VertexLoadUtil.copyAttributeData( - vertices = vertices, - stride = stride, - element = element, - normalized = false, - srcAttribute = srcAttribute, - dstBuffer = buffer, - dstOffset = dstOffset, - ) - } - - VertexFormatElement.NORMAL -> { - val srcAttribute = attributes.normal ?: continue - VertexLoadUtil.copyAttributeData( - vertices = vertices, - stride = stride, - element = element, - normalized = true, - srcAttribute = srcAttribute, - dstBuffer = buffer, - dstOffset = dstOffset, - ) - } - VertexFormatElement.COLOR -> { - val srcAttribute = attributes.colors.firstOrNull() - if (srcAttribute != null) { - VertexLoadUtil.copyAttributeData( - vertices = vertices, - stride = stride, - element = element, - normalized = true, - srcAttribute = srcAttribute, - dstBuffer = buffer, - dstOffset = dstOffset, - ) - } else { - repeat(vertices) { - buffer.putInt(dstOffset + it * stride, 0xFFFFFFFF.toInt()) - } - } - } +// ... (rest of the code remains the same) - BlazerodVertexFormatElements.JOINT -> { - val srcAttribute = attributes.joints.firstOrNull() ?: continue - VertexLoadUtil.copyAttributeData( - vertices = vertices, - stride = stride, - element = element, - normalized = false, - srcAttribute = srcAttribute, - dstBuffer = buffer, - dstOffset = dstOffset, - ) - } - - BlazerodVertexFormatElements.WEIGHT -> { - val srcAttribute = attributes.weights.firstOrNull() ?: continue - VertexLoadUtil.copyAttributeData( - vertices = vertices, - stride = stride, - element = element, - normalized = true, - srcAttribute = srcAttribute, - dstBuffer = buffer, - dstOffset = dstOffset, - ) - } - - else -> {} - } - } - - buffer - } - val index = vertexBuffers.size - vertexBuffers.add(vertexBuffer) - return index - } - - private var morphTargetInfos = mutableListOf>>() - - @ConsistentCopyVisibility - private data class BuildingTarget private constructor( - val buffer: ByteBuffer, - val itemStride: Int, - val targetsCount: Int, - ) { - companion object { - fun of( - textureFormat: TextureFormat, - itemCount: Int, - targetsCount: Int, - ) = BuildingTarget( - buffer = ByteBuffer.allocateDirect(textureFormat.pixelSize() * itemCount * targetsCount) - .order(ByteOrder.nativeOrder()), - itemStride = textureFormat.pixelSize(), - targetsCount = targetsCount, - ) - } - - fun toLoadData(): MorphTargetsLoadData.TargetInfo { - buffer.position(0) - return MorphTargetsLoadData.TargetInfo( - buffer = buffer, - itemStride = itemStride, - targetsCount = targetsCount, - ) - } - } - - private fun loadMorphTargets( - primitive: Primitive, - weights: List? = null, - ): Int { - val verticesCount = primitive.attributes.position.count - val targets = primitive.targets - val loadedTargets = coroutineScope.async(dispatcher) { - val positionTarget = BuildingTarget.of( - textureFormat = TextureFormatExt.RGBA32F, - itemCount = verticesCount, - targetsCount = targets.count { it.position != null }, - ) - val colorTarget = BuildingTarget.of( - textureFormat = TextureFormatExt.RGBA32F, - itemCount = verticesCount, - targetsCount = targets.count { it.colors.isNotEmpty() }, - ) - val texCoordTarget = BuildingTarget.of( - textureFormat = TextureFormatExt.RG32F, - itemCount = verticesCount, - targetsCount = targets.count { it.texcoords.isNotEmpty() }, - ) - var posIndex = 0 - var colorIndex = 0 - var texCoordIndex = 0 - var posElements = 0 - val groups = mutableListOf() - for ((index, target) in targets.withIndex()) { - val position = target.position?.let { position -> - position.read { input -> - positionTarget.buffer.position(posElements * 16) - positionTarget.buffer.put(input) - posElements++ - } - posIndex++ - } - val color = target.colors.firstOrNull()?.let { color -> - when (color.type) { - Accessor.AccessorType.VEC3 -> { - var index = 0 - color.readNormalized { input -> - colorTarget.buffer.putFloat(input) - index++ - if (index == 3) { - // For padding - colorTarget.buffer.putFloat(0f) - index = 0 - } - } - } - - Accessor.AccessorType.VEC4 -> color.readNormalized { - colorTarget.buffer.putFloat(it) - } - - else -> throw AssertionError("Bad morph target: accessor type of color is ${color.type}") - } - colorIndex++ - } - val texCoord = target.texcoords.firstOrNull()?.let { texCoord -> - texCoord.readNormalized { - texCoordTarget.buffer.putFloat(it) - } - texCoordIndex++ - } - groups.add( - MorphTargetGroup( - position = position, - color = color, - texCoord = texCoord, - weight = weights?.getOrNull(index) ?: 0f, - ) - ) - } - MorphTargetsLoadData( - targetGroups = groups, - position = positionTarget.toLoadData(), - color = colorTarget.toLoadData(), - texCoord = texCoordTarget.toLoadData(), - ) - } - val targetIndex = morphTargetInfos.size - morphTargetInfos.add(loadedTargets) - return targetIndex - } - - private val nodeToMorphedPrimitiveMap = mutableMapOf>() - private val meshToMorphedPrimitiveMap = mutableMapOf>() - private fun loadPrimitive( - node: Node, - mesh: Mesh, - skinIndex: Int?, - primitive: Primitive, - ): PrimitiveLoadInfo? { - val vertexFormatMode = when (primitive.mode) { - Primitive.Mode.POINTS -> return null - Primitive.Mode.LINE_STRIP -> VertexFormat.DrawMode.LINE_STRIP - Primitive.Mode.LINE_LOOP -> return null - Primitive.Mode.LINES -> VertexFormat.DrawMode.LINES - Primitive.Mode.TRIANGLES -> VertexFormat.DrawMode.TRIANGLES - Primitive.Mode.TRIANGLE_STRIP -> VertexFormat.DrawMode.TRIANGLE_STRIP - Primitive.Mode.TRIANGLE_FAN -> VertexFormat.DrawMode.TRIANGLE_FAN - } - val skinned = - skinIndex != null && primitive.attributes.joints.isNotEmpty() && primitive.attributes.weights.isNotEmpty() - val morphed = primitive.targets.isNotEmpty() - if (primitive.material?.baseColor?.a == 0f) { - return null - } - val material = primitive.material?.let { - loadMaterial( - material = it, - skinned = skinned, - morphed = morphed, - ) - } - val morphedPrimitiveIndex = if (material?.morphed == true) { - loadMorphTargets(primitive, mesh.weights) - } else { - null - } - if (morphedPrimitiveIndex != null) { - meshToMorphedPrimitiveMap.getOrPut(mesh.id) { mutableListOf() }.add(morphedPrimitiveIndex) - nodeToMorphedPrimitiveMap.getOrPut(node.id) { mutableListOf() }.add(morphedPrimitiveIndex) - } - return PrimitiveLoadInfo( - vertices = primitive.attributes.position.count, - vertexFormatMode = vertexFormatMode, - materialInfo = material, - indexBufferIndex = primitive.indices?.let { loadIndexBuffer(it).bufferIndex }, - vertexBufferIndex = loadVertexBuffer( - material = material, - skinned = skinned, - attributes = primitive.attributes, - ), - skinIndex = skinIndex.takeIf { skinned }, - morphedPrimitiveIndex = morphedPrimitiveIndex, - ) - } - - private val primitiveInfos = mutableListOf() - private fun loadMesh( - node: Node, - mesh: Mesh, - skinIndex: Int?, - ) = mesh.primitives.mapNotNull { primitive -> - val primitiveInfo = loadPrimitive( - node = node, - mesh = mesh, - skinIndex = skinIndex, - primitive = primitive, - ) ?: return@mapNotNull null - val index = primitiveInfos.size - primitiveInfos.add(primitiveInfo) - NodeLoadInfo.Component.Primitive(index) - } - - private var ikCount = 0 - private var rigidBodyCount = 0 - private val rigidBodyIdToIndexMap = mutableMapOf() - private val nodes = mutableListOf() - private fun loadNode(node: Node): Int { - val skinJointData = skinJointsData[node.id] - val node = NodeLoadInfo( - nodeId = node.id, - nodeName = node.name, - humanoidTags = skinJointData?.mapNotNull { it.humanoidTag } ?: listOf(), - transform = node.transform, - components = buildList { - skinJointData?.forEach { (skinIndex, jointIndex) -> - add( - NodeLoadInfo.Component.Joint( - skinIndex = skinIndex, - jointIndex = jointIndex, - ) - ) - } - node.components.forEach { component -> - when (component) { - is NodeComponent.MeshComponent -> { - val skin = node.meshIdToSkinMap[component.mesh.id] - val skinIndex = skin?.skin?.let { skin -> model.skins.indexOf(skin) }?.takeIf { it >= 0 } - addAll( - loadMesh( - node = node, - mesh = component.mesh, - skinIndex = skinIndex, - ) - ) - } - - is NodeComponent.CameraComponent -> { - add( - NodeLoadInfo.Component.Camera( - camera = component.camera, - ) - ) - } - - is NodeComponent.IkTargetComponent -> { - add( - NodeLoadInfo.Component.IkTarget( - ikIndex = ikCount++, - ikTarget = component.ikTarget, - transformId = component.transformId, - ) - ) - } - - is NodeComponent.InfluenceSourceComponent -> { - add( - NodeLoadInfo.Component.InfluenceSource( - influence = component.influence, - transformId = component.transformId, - ) - ) - } - - is NodeComponent.RigidBodyComponent -> { - rigidBodyIdToIndexMap[component.rigidBodyId] = rigidBodyCount - add( - NodeLoadInfo.Component.RigidBody( - rigidBodyIndex = rigidBodyCount++, - rigidBody = component.rigidBody, - ) - ) - } - - else -> {} - } - } - }, - childrenIndices = node.children.map { loadNode(it) }, - ) - val nodeIndex = nodes.size - nodes.add(node) - return nodeIndex - } + private fun loadPhysicalJoints(modelPhysicalJoints: List) = + modelPhysicalJoints.mapIndexedNotNull { index, joint -> + val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null + val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null - private fun loadExpressions(modelExpressions: List): Pair, List> { - val expressionTargetMap = mutableMapOf() - val expressions = buildList { - for ((expressionIndex, expression) in modelExpressions.withIndex()) { - if (expression !is Expression.Target) { - continue + val name = joint.name ?: "" + + val position = joint.position + val rotation = joint.rotation + val positionMin = joint.positionMin + val positionMax = joint.positionMax + val rotationMin = Vector3f(joint.rotationMin) + val rotationMax = Vector3f(joint.rotationMax) + val positionSpring = Vector3f(joint.positionSpring) + val rotationSpring = Vector3f(joint.rotationSpring) + + // Heuristic tweak: many PMX skirts use extremely tiny angle limits (|angle| < 0.5°) + // and zero rotation springs. In Bullet with our gravity/scale this makes the skirt + // behave like a rigid cage that gets pushed around instead of a flexible cloth. + // For joints whose name starts with "Skirt_", relax the limits a bit and add a + // gentle restoring spring so the skirt can bend and fall back naturally. + if (name.startsWith("Skirt_")) { + val tinyLimit = 0.02f // ~1.1 degrees + val allTiny = + kotlin.math.abs(rotationMin.x) < tinyLimit && kotlin.math.abs(rotationMax.x) < tinyLimit && + kotlin.math.abs(rotationMin.y) < tinyLimit && kotlin.math.abs(rotationMax.y) < tinyLimit && + kotlin.math.abs(rotationMin.z) < tinyLimit && kotlin.math.abs(rotationMax.z) < tinyLimit + + if (allTiny) { + // Allow the skirt segment to swing by roughly +/- 20 degrees on all axes. + val base = 0.35f + rotationMin.set(-base, -base, -base) + rotationMax.set(base, base, base) } - val expression = RenderExpression( - name = expression.name, - tag = expression.tag, - isBinary = expression.isBinary, - bindings = expression.bindings.flatMap { - when (it) { - is Expression.Target.Binding.MeshMorphTarget -> { - meshToMorphedPrimitiveMap[it.meshId]?.map { index -> - RenderExpression.Binding.MorphTarget( - morphedPrimitiveIndex = index, - groupIndex = it.index, - weight = it.weight, - ) - } ?: listOf() - } - is Expression.Target.Binding.NodeMorphTarget -> { - nodeToMorphedPrimitiveMap[it.nodeId]?.map { index -> - RenderExpression.Binding.MorphTarget( - morphedPrimitiveIndex = index, - groupIndex = it.index, - weight = it.weight, - ) - } ?: listOf() - } - } - } - ) - if (expression.bindings.isEmpty()) { - continue + if (rotationSpring.x == 0f && rotationSpring.y == 0f && rotationSpring.z == 0f) { + // Small rotational spring mostly around lateral axes (Y/Z). This is intentionally + // much weaker than hair springs; Bullet-side scaling and damping will further + // soften it. + rotationSpring.set(0f, 0.5f, 0.5f) } - expressionTargetMap[expressionIndex] = this.size - add(expression) - } - } - val expressionGroups = modelExpressions.mapNotNull { expression -> - if (expression !is Expression.Group) { - return@mapNotNull null } - RenderExpressionGroup( - name = expression.name, - tag = expression.tag, - items = expression.targets.mapNotNull { - val targetIndex = - modelExpressions.indexOf(it.target).takeIf { index -> index != -1 } ?: return@mapNotNull null - RenderExpressionGroup.Item( - expressionIndex = expressionTargetMap[targetIndex] ?: return@mapNotNull null, - influence = it.influence, - ) - } - ) - } - return Pair(expressions, expressionGroups) - } - - private fun loadPhysicalJoints(modelPhysicalJoints: List) = - modelPhysicalJoints.mapIndexedNotNull { index, joint -> - val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null - val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null if (index < 64) { println( "PHYSDBG JOINT_KT " + "idx=$index " + - "name=${joint.name} " + + "name=$name " + "A=$rigidBodyAIndex " + "B=$rigidBodyBIndex " + - "pos=(${joint.position.x()},${joint.position.y()},${joint.position.z()}) " + - "rot=(${joint.rotation.x()},${joint.rotation.y()},${joint.rotation.z()}) " + - "posMin=(${joint.positionMin.x()},${joint.positionMin.y()},${joint.positionMin.z()}) " + - "posMax=(${joint.positionMax.x()},${joint.positionMax.y()},${joint.positionMax.z()}) " + - "rotMin=(${joint.rotationMin.x()},${joint.rotationMin.y()},${joint.rotationMin.z()}) " + - "rotMax=(${joint.rotationMax.x()},${joint.rotationMax.y()},${joint.rotationMax.z()}) " + - "posSpring=(${joint.positionSpring.x()},${joint.positionSpring.y()},${joint.positionSpring.z()}) " + - "rotSpring=(${joint.rotationSpring.x()},${joint.rotationSpring.y()},${joint.rotationSpring.z()})" + "pos=(${position.x()},${position.y()},${position.z()}) " + + "rot=(${rotation.x()},${rotation.y()},${rotation.z()}) " + + "posMin=(${positionMin.x()},${positionMin.y()},${positionMin.z()}) " + + "posMax=(${positionMax.x()},${positionMax.y()},${positionMax.z()}) " + + "rotMin=(${rotationMin.x},${rotationMin.y},${rotationMin.z}) " + + "rotMax=(${rotationMax.x},${rotationMax.y},${rotationMax.z}) " + + "posSpring=(${positionSpring.x},${positionSpring.y},${positionSpring.z}) " + + "rotSpring=(${rotationSpring.x},${rotationSpring.y},${rotationSpring.z})" ) } RenderPhysicsJoint( - name = joint.name, + name = name, type = joint.type, rigidBodyAIndex = rigidBodyAIndex, rigidBodyBIndex = rigidBodyBIndex, - position = joint.position, - rotation = joint.rotation, - positionMin = joint.positionMin, - positionMax = joint.positionMax, - rotationMin = joint.rotationMin, - rotationMax = joint.rotationMax, - positionSpring = joint.positionSpring, - rotationSpring = joint.rotationSpring, + position = position, + rotation = rotation, + positionMin = positionMin, + positionMax = positionMax, + rotationMin = rotationMin, + rotationMax = rotationMax, + positionSpring = positionSpring, + rotationSpring = rotationSpring, ) } - private fun loadScene(scene: Scene, expressions: List): PreProcessModelLoadInfo { - val rootNode = NodeLoadInfo( - nodeId = null, - nodeName = "Root node", - humanoidTags = listOf(), + // ... (rest of the code remains the same) transform = null, components = listOf(), childrenIndices = scene.nodes.map { loadNode(it) }, From 769117eb0543afc8b493b42d487c5c7d60ea4553 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 13:50:05 +0700 Subject: [PATCH 051/112] More Logging --- blazerod/render/main/physics/PhysicsWorld.cpp | 4 +- .../render/main/runtime/RenderSceneImpl.kt | 2 +- .../main/runtime/load/ModelPreprocessor.kt | 700 ++++++++++++++++-- 3 files changed, 644 insertions(+), 62 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 8ab58a67..bfefdccb 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -339,8 +339,8 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c size_t joint_count = 0; for (const Joint& joint_item : joints) { size_t joint_index = joint_count++; - const float POSITION_SPRING_SCALE = 0.25f; - const float ROTATION_SPRING_SCALE = 0.10f; + const float POSITION_SPRING_SCALE = 0.15f; + const float ROTATION_SPRING_SCALE = 0.15f; const float SPRING_DAMPING = 1.0f; btMatrix3x3 rotation_matrix; // Match Saba's MMDPhysics PMX joint path: use preprocessed joint rotation directly. diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 148767f4..b99c4787 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -254,7 +254,7 @@ class RenderSceneImpl( } if (data.debugStepCount < 10) { - val maxLogged = minOf(rigidBodyComponents.size, 48) + val maxLogged = minOf(rigidBodyComponents.size, 160) for (i in 0 until maxLogged) { val (nodeIndex, component) = rigidBodyComponents[i] val node = nodes[nodeIndex] diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index aae6f553..16fcd62f 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -6,94 +6,676 @@ import com.mojang.blaze3d.vertex.VertexFormatElement import kotlinx.coroutines.* import top.fifthlight.blazerod.api.resource.RenderExpression import top.fifthlight.blazerod.api.resource.RenderExpressionGroup -import org.joml.Vector3f - import top.fifthlight.blazerod.extension.NativeImageExt import top.fifthlight.blazerod.extension.TextureFormatExt import top.fifthlight.blazerod.model.* import top.fifthlight.blazerod.render.BlazerodVertexFormatElements import top.fifthlight.blazerod.render.BlazerodVertexFormats +import top.fifthlight.blazerod.runtime.resource.MorphTargetGroup +import top.fifthlight.blazerod.runtime.resource.RenderPhysicsJoint +import top.fifthlight.blazerod.runtime.resource.RenderSkin +import java.nio.ByteBuffer +import java.nio.ByteOrder -// ... (rest of the code remains the same) +class ModelPreprocessor private constructor( + private val coroutineScope: CoroutineScope, + private val dispatcher: CoroutineDispatcher, + private val model: Model, +) { + data class SkinJointData( + val skinIndex: Int, + val jointIndex: Int, + val humanoidTag: HumanoidTag?, + ) - private fun loadPhysicalJoints(modelPhysicalJoints: List) = - modelPhysicalJoints.mapIndexedNotNull { index, joint -> - val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null - val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null + private lateinit var skinsList: List + private lateinit var skinJointsData: Map> + + private fun loadSkins() { + val skinJointMap = mutableMapOf>() + val skinsList = mutableListOf() + for ((index, skin) in model.skins.withIndex()) { + val renderSkin = RenderSkin( + name = skin.name, + inverseBindMatrices = skin.inverseBindMatrices, + jointSize = skin.joints.size, + ) + for ((jointIndex, joint) in skin.joints.withIndex()) { + skinJointMap.getOrPut(joint) { mutableListOf() }.add( + SkinJointData( + skinIndex = index, + jointIndex = jointIndex, + humanoidTag = skin.jointHumanoidTags?.getOrNull(jointIndex), + ) + ) + } + skinsList.add(renderSkin) + } + this.skinsList = skinsList + this.skinJointsData = skinJointMap + } + + private val textures = mutableListOf>() + private val textureIndexMap = mutableMapOf() + private fun loadTextureIndex(texture: Texture) = textureIndexMap.getOrPut(texture) { + val texture = coroutineScope.async(dispatcher) { + val bufferView = texture.bufferView ?: return@async null + val byteBuffer = bufferView.buffer.buffer + .slice(bufferView.byteOffset, bufferView.byteLength) + .order(ByteOrder.nativeOrder()) + val nativeImage = try { + NativeImageExt.read(null, texture.type, byteBuffer) + } catch (ex: Exception) { + throw Exception("Failed to load texture ${texture.name ?: "unnamed"}", ex) + } + TextureLoadData( + name = texture.name, + nativeImage = nativeImage, + sampler = texture.sampler, + ) + } + val index = textures.size + textures.add(texture) + index + } + + private fun loadTextureInfo(textureInfo: Material.TextureInfo?) = textureInfo?.let { + MaterialLoadInfo.TextureInfo( + textureIndex = loadTextureIndex(textureInfo.texture), + textureCoordinate = textureInfo.textureCoordinate, + ) + } + + private fun loadMaterial( + material: Material, + skinned: Boolean, + morphed: Boolean, + ) = when (material) { + // TODO: Pbr is not really supported for now + is Material.Pbr -> MaterialLoadInfo.Unlit( + name = material.name, + baseColor = material.baseColor, + baseColorTexture = loadTextureInfo(material.baseColorTexture), + alphaMode = material.alphaMode, + alphaCutoff = material.alphaCutoff, + doubleSided = material.doubleSided, + skinned = skinned, + morphed = morphed, + ) + + is Material.Unlit -> MaterialLoadInfo.Unlit( + name = material.name, + baseColor = material.baseColor, + baseColorTexture = loadTextureInfo(material.baseColorTexture), + alphaMode = material.alphaMode, + alphaCutoff = material.alphaCutoff, + doubleSided = material.doubleSided, + skinned = skinned, + morphed = morphed, + ) + + is Material.Vanilla -> MaterialLoadInfo.Vanilla( + name = material.name, + baseColor = material.baseColor, + baseColorTexture = loadTextureInfo(material.baseColorTexture), + alphaMode = material.alphaMode, + alphaCutoff = material.alphaCutoff, + doubleSided = material.doubleSided, + skinned = skinned, + morphed = morphed, + ) + } + + private data class IndexBufferLoadInfo( + val type: VertexFormat.IndexType, + val bufferIndex: Int, + ) - val name = joint.name ?: "" - - val position = joint.position - val rotation = joint.rotation - val positionMin = joint.positionMin - val positionMax = joint.positionMax - val rotationMin = Vector3f(joint.rotationMin) - val rotationMax = Vector3f(joint.rotationMax) - val positionSpring = Vector3f(joint.positionSpring) - val rotationSpring = Vector3f(joint.rotationSpring) - - // Heuristic tweak: many PMX skirts use extremely tiny angle limits (|angle| < 0.5°) - // and zero rotation springs. In Bullet with our gravity/scale this makes the skirt - // behave like a rigid cage that gets pushed around instead of a flexible cloth. - // For joints whose name starts with "Skirt_", relax the limits a bit and add a - // gentle restoring spring so the skirt can bend and fall back naturally. - if (name.startsWith("Skirt_")) { - val tinyLimit = 0.02f // ~1.1 degrees - val allTiny = - kotlin.math.abs(rotationMin.x) < tinyLimit && kotlin.math.abs(rotationMax.x) < tinyLimit && - kotlin.math.abs(rotationMin.y) < tinyLimit && kotlin.math.abs(rotationMax.y) < tinyLimit && - kotlin.math.abs(rotationMin.z) < tinyLimit && kotlin.math.abs(rotationMax.z) < tinyLimit - - if (allTiny) { - // Allow the skirt segment to swing by roughly +/- 20 degrees on all axes. - val base = 0.35f - rotationMin.set(-base, -base, -base) - rotationMax.set(base, base, base) + private val indexBuffers = mutableListOf>() + private fun loadIndexBuffer(accessor: Accessor): IndexBufferLoadInfo { + check(accessor.type == Accessor.AccessorType.SCALAR) { "Index buffer must be scalar" } + return when (accessor.componentType) { + Accessor.ComponentType.UNSIGNED_SHORT, Accessor.ComponentType.UNSIGNED_INT -> { + val byteBuffer = accessor.readByteBuffer() + val index = indexBuffers.size + indexBuffers.add( + CompletableDeferred( + IndexBufferLoadData( + type = when (accessor.componentType) { + Accessor.ComponentType.UNSIGNED_SHORT -> VertexFormat.IndexType.SHORT + Accessor.ComponentType.UNSIGNED_INT -> VertexFormat.IndexType.INT + else -> error("Bad index type: ${accessor.componentType}") + }, + length = accessor.count, + buffer = byteBuffer, + ) + ) + ) + IndexBufferLoadInfo( + type = when (accessor.componentType) { + Accessor.ComponentType.UNSIGNED_SHORT -> VertexFormat.IndexType.SHORT + Accessor.ComponentType.UNSIGNED_INT -> VertexFormat.IndexType.INT + else -> throw AssertionError() + }, + bufferIndex = index, + ) + } + + Accessor.ComponentType.UNSIGNED_BYTE -> { + val loadData = coroutineScope.async(dispatcher) { + val byteBuffer = + ByteBuffer.allocateDirect(2 * accessor.count).order(ByteOrder.nativeOrder()).apply { + accessor.read { input -> + val index = input.get().toUByte() + putShort(index.toShort()) + } + flip() + } + IndexBufferLoadData( + type = VertexFormat.IndexType.SHORT, + length = accessor.count, + buffer = byteBuffer, + ) } + val index = indexBuffers.size + indexBuffers.add(loadData) + IndexBufferLoadInfo( + type = VertexFormat.IndexType.SHORT, + bufferIndex = index, + ) + } + + else -> throw IllegalArgumentException("Unsupported component type for index: ${accessor.componentType}") + } + } + + private val vertexBuffers = mutableListOf>() + private fun loadVertexBuffer( + material: MaterialLoadInfo?, + skinned: Boolean, + attributes: Primitive.Attributes.Primitive, + ): Int { + val vertexFormat = material?.getVertexFormat(skinned) ?: BlazerodVertexFormats.POSITION_COLOR_TEXTURE + val vertexBuffer = coroutineScope.async(dispatcher) { + val vertices = attributes.position.count + val stride = vertexFormat.vertexSize + val buffer = ByteBuffer.allocateDirect(stride * vertices).order(ByteOrder.nativeOrder()) + + for (element in vertexFormat.elements) { + val dstOffset = vertexFormat.getOffset(element) + + when (element) { + VertexFormatElement.POSITION -> { + val srcAttribute = attributes.position + VertexLoadUtil.copyAttributeData( + vertices = vertices, + stride = stride, + element = element, + normalized = false, + srcAttribute = srcAttribute, + dstBuffer = buffer, + dstOffset = dstOffset, + ) + } + + VertexFormatElement.UV0 -> { + val srcAttribute = attributes.texcoords.firstOrNull() ?: continue + VertexLoadUtil.copyAttributeData( + vertices = vertices, + stride = stride, + element = element, + normalized = false, + srcAttribute = srcAttribute, + dstBuffer = buffer, + dstOffset = dstOffset, + ) + } + + VertexFormatElement.NORMAL -> { + val srcAttribute = attributes.normal ?: continue + VertexLoadUtil.copyAttributeData( + vertices = vertices, + stride = stride, + element = element, + normalized = true, + srcAttribute = srcAttribute, + dstBuffer = buffer, + dstOffset = dstOffset, + ) + } - if (rotationSpring.x == 0f && rotationSpring.y == 0f && rotationSpring.z == 0f) { - // Small rotational spring mostly around lateral axes (Y/Z). This is intentionally - // much weaker than hair springs; Bullet-side scaling and damping will further - // soften it. - rotationSpring.set(0f, 0.5f, 0.5f) + VertexFormatElement.COLOR -> { + val srcAttribute = attributes.colors.firstOrNull() + if (srcAttribute != null) { + VertexLoadUtil.copyAttributeData( + vertices = vertices, + stride = stride, + element = element, + normalized = true, + srcAttribute = srcAttribute, + dstBuffer = buffer, + dstOffset = dstOffset, + ) + } else { + repeat(vertices) { + buffer.putInt(dstOffset + it * stride, 0xFFFFFFFF.toInt()) + } + } + } + + BlazerodVertexFormatElements.JOINT -> { + val srcAttribute = attributes.joints.firstOrNull() ?: continue + VertexLoadUtil.copyAttributeData( + vertices = vertices, + stride = stride, + element = element, + normalized = false, + srcAttribute = srcAttribute, + dstBuffer = buffer, + dstOffset = dstOffset, + ) + } + + BlazerodVertexFormatElements.WEIGHT -> { + val srcAttribute = attributes.weights.firstOrNull() ?: continue + VertexLoadUtil.copyAttributeData( + vertices = vertices, + stride = stride, + element = element, + normalized = true, + srcAttribute = srcAttribute, + dstBuffer = buffer, + dstOffset = dstOffset, + ) + } + + else -> {} } } + buffer + } + val index = vertexBuffers.size + vertexBuffers.add(vertexBuffer) + return index + } + + private var morphTargetInfos = mutableListOf>>() + + @ConsistentCopyVisibility + private data class BuildingTarget private constructor( + val buffer: ByteBuffer, + val itemStride: Int, + val targetsCount: Int, + ) { + companion object { + fun of( + textureFormat: TextureFormat, + itemCount: Int, + targetsCount: Int, + ) = BuildingTarget( + buffer = ByteBuffer.allocateDirect(textureFormat.pixelSize() * itemCount * targetsCount) + .order(ByteOrder.nativeOrder()), + itemStride = textureFormat.pixelSize(), + targetsCount = targetsCount, + ) + } + + fun toLoadData(): MorphTargetsLoadData.TargetInfo { + buffer.position(0) + return MorphTargetsLoadData.TargetInfo( + buffer = buffer, + itemStride = itemStride, + targetsCount = targetsCount, + ) + } + } + + private fun loadMorphTargets( + primitive: Primitive, + weights: List? = null, + ): Int { + val verticesCount = primitive.attributes.position.count + val targets = primitive.targets + val loadedTargets = coroutineScope.async(dispatcher) { + val positionTarget = BuildingTarget.of( + textureFormat = TextureFormatExt.RGBA32F, + itemCount = verticesCount, + targetsCount = targets.count { it.position != null }, + ) + val colorTarget = BuildingTarget.of( + textureFormat = TextureFormatExt.RGBA32F, + itemCount = verticesCount, + targetsCount = targets.count { it.colors.isNotEmpty() }, + ) + val texCoordTarget = BuildingTarget.of( + textureFormat = TextureFormatExt.RG32F, + itemCount = verticesCount, + targetsCount = targets.count { it.texcoords.isNotEmpty() }, + ) + var posIndex = 0 + var colorIndex = 0 + var texCoordIndex = 0 + var posElements = 0 + val groups = mutableListOf() + for ((index, target) in targets.withIndex()) { + val position = target.position?.let { position -> + position.read { input -> + positionTarget.buffer.position(posElements * 16) + positionTarget.buffer.put(input) + posElements++ + } + posIndex++ + } + val color = target.colors.firstOrNull()?.let { color -> + when (color.type) { + Accessor.AccessorType.VEC3 -> { + var index = 0 + color.readNormalized { input -> + colorTarget.buffer.putFloat(input) + index++ + if (index == 3) { + // For padding + colorTarget.buffer.putFloat(0f) + index = 0 + } + } + } + + Accessor.AccessorType.VEC4 -> color.readNormalized { + colorTarget.buffer.putFloat(it) + } + + else -> throw AssertionError("Bad morph target: accessor type of color is ${color.type}") + } + colorIndex++ + } + val texCoord = target.texcoords.firstOrNull()?.let { texCoord -> + texCoord.readNormalized { + texCoordTarget.buffer.putFloat(it) + } + texCoordIndex++ + } + groups.add( + MorphTargetGroup( + position = position, + color = color, + texCoord = texCoord, + weight = weights?.getOrNull(index) ?: 0f, + ) + ) + } + MorphTargetsLoadData( + targetGroups = groups, + position = positionTarget.toLoadData(), + color = colorTarget.toLoadData(), + texCoord = texCoordTarget.toLoadData(), + ) + } + val targetIndex = morphTargetInfos.size + morphTargetInfos.add(loadedTargets) + return targetIndex + } + + private val nodeToMorphedPrimitiveMap = mutableMapOf>() + private val meshToMorphedPrimitiveMap = mutableMapOf>() + private fun loadPrimitive( + node: Node, + mesh: Mesh, + skinIndex: Int?, + primitive: Primitive, + ): PrimitiveLoadInfo? { + val vertexFormatMode = when (primitive.mode) { + Primitive.Mode.POINTS -> return null + Primitive.Mode.LINE_STRIP -> VertexFormat.DrawMode.LINE_STRIP + Primitive.Mode.LINE_LOOP -> return null + Primitive.Mode.LINES -> VertexFormat.DrawMode.LINES + Primitive.Mode.TRIANGLES -> VertexFormat.DrawMode.TRIANGLES + Primitive.Mode.TRIANGLE_STRIP -> VertexFormat.DrawMode.TRIANGLE_STRIP + Primitive.Mode.TRIANGLE_FAN -> VertexFormat.DrawMode.TRIANGLE_FAN + } + val skinned = + skinIndex != null && primitive.attributes.joints.isNotEmpty() && primitive.attributes.weights.isNotEmpty() + val morphed = primitive.targets.isNotEmpty() + if (primitive.material?.baseColor?.a == 0f) { + return null + } + val material = primitive.material?.let { + loadMaterial( + material = it, + skinned = skinned, + morphed = morphed, + ) + } + val morphedPrimitiveIndex = if (material?.morphed == true) { + loadMorphTargets(primitive, mesh.weights) + } else { + null + } + if (morphedPrimitiveIndex != null) { + meshToMorphedPrimitiveMap.getOrPut(mesh.id) { mutableListOf() }.add(morphedPrimitiveIndex) + nodeToMorphedPrimitiveMap.getOrPut(node.id) { mutableListOf() }.add(morphedPrimitiveIndex) + } + return PrimitiveLoadInfo( + vertices = primitive.attributes.position.count, + vertexFormatMode = vertexFormatMode, + materialInfo = material, + indexBufferIndex = primitive.indices?.let { loadIndexBuffer(it).bufferIndex }, + vertexBufferIndex = loadVertexBuffer( + material = material, + skinned = skinned, + attributes = primitive.attributes, + ), + skinIndex = skinIndex.takeIf { skinned }, + morphedPrimitiveIndex = morphedPrimitiveIndex, + ) + } + + private val primitiveInfos = mutableListOf() + private fun loadMesh( + node: Node, + mesh: Mesh, + skinIndex: Int?, + ) = mesh.primitives.mapNotNull { primitive -> + val primitiveInfo = loadPrimitive( + node = node, + mesh = mesh, + skinIndex = skinIndex, + primitive = primitive, + ) ?: return@mapNotNull null + val index = primitiveInfos.size + primitiveInfos.add(primitiveInfo) + NodeLoadInfo.Component.Primitive(index) + } + + private var ikCount = 0 + private var rigidBodyCount = 0 + private val rigidBodyIdToIndexMap = mutableMapOf() + private val nodes = mutableListOf() + private fun loadNode(node: Node): Int { + val skinJointData = skinJointsData[node.id] + val node = NodeLoadInfo( + nodeId = node.id, + nodeName = node.name, + humanoidTags = skinJointData?.mapNotNull { it.humanoidTag } ?: listOf(), + transform = node.transform, + components = buildList { + skinJointData?.forEach { (skinIndex, jointIndex) -> + add( + NodeLoadInfo.Component.Joint( + skinIndex = skinIndex, + jointIndex = jointIndex, + ) + ) + } + node.components.forEach { component -> + when (component) { + is NodeComponent.MeshComponent -> { + val skin = node.meshIdToSkinMap[component.mesh.id] + val skinIndex = skin?.skin?.let { skin -> model.skins.indexOf(skin) }?.takeIf { it >= 0 } + addAll( + loadMesh( + node = node, + mesh = component.mesh, + skinIndex = skinIndex, + ) + ) + } + + is NodeComponent.CameraComponent -> { + add( + NodeLoadInfo.Component.Camera( + camera = component.camera, + ) + ) + } + + is NodeComponent.IkTargetComponent -> { + add( + NodeLoadInfo.Component.IkTarget( + ikIndex = ikCount++, + ikTarget = component.ikTarget, + transformId = component.transformId, + ) + ) + } + + is NodeComponent.InfluenceSourceComponent -> { + add( + NodeLoadInfo.Component.InfluenceSource( + influence = component.influence, + transformId = component.transformId, + ) + ) + } + + is NodeComponent.RigidBodyComponent -> { + rigidBodyIdToIndexMap[component.rigidBodyId] = rigidBodyCount + add( + NodeLoadInfo.Component.RigidBody( + rigidBodyIndex = rigidBodyCount++, + rigidBody = component.rigidBody, + ) + ) + } + + else -> {} + } + } + }, + childrenIndices = node.children.map { loadNode(it) }, + ) + val nodeIndex = nodes.size + nodes.add(node) + return nodeIndex + } + + private fun loadExpressions(modelExpressions: List): Pair, List> { + val expressionTargetMap = mutableMapOf() + val expressions = buildList { + for ((expressionIndex, expression) in modelExpressions.withIndex()) { + if (expression !is Expression.Target) { + continue + } + val expression = RenderExpression( + name = expression.name, + tag = expression.tag, + isBinary = expression.isBinary, + bindings = expression.bindings.flatMap { + when (it) { + is Expression.Target.Binding.MeshMorphTarget -> { + meshToMorphedPrimitiveMap[it.meshId]?.map { index -> + RenderExpression.Binding.MorphTarget( + morphedPrimitiveIndex = index, + groupIndex = it.index, + weight = it.weight, + ) + } ?: listOf() + } + + is Expression.Target.Binding.NodeMorphTarget -> { + nodeToMorphedPrimitiveMap[it.nodeId]?.map { index -> + RenderExpression.Binding.MorphTarget( + morphedPrimitiveIndex = index, + groupIndex = it.index, + weight = it.weight, + ) + } ?: listOf() + } + } + } + ) + if (expression.bindings.isEmpty()) { + continue + } + expressionTargetMap[expressionIndex] = this.size + add(expression) + } + } + val expressionGroups = modelExpressions.mapNotNull { expression -> + if (expression !is Expression.Group) { + return@mapNotNull null + } + RenderExpressionGroup( + name = expression.name, + tag = expression.tag, + items = expression.targets.mapNotNull { + val targetIndex = + modelExpressions.indexOf(it.target).takeIf { index -> index != -1 } ?: return@mapNotNull null + RenderExpressionGroup.Item( + expressionIndex = expressionTargetMap[targetIndex] ?: return@mapNotNull null, + influence = it.influence, + ) + } + ) + } + return Pair(expressions, expressionGroups) + } + + private fun loadPhysicalJoints(modelPhysicalJoints: List) = + modelPhysicalJoints.mapIndexedNotNull { index, joint -> + val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null + val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null + if (index < 64) { println( "PHYSDBG JOINT_KT " + "idx=$index " + - "name=$name " + + "name=${joint.name} " + "A=$rigidBodyAIndex " + "B=$rigidBodyBIndex " + - "pos=(${position.x()},${position.y()},${position.z()}) " + - "rot=(${rotation.x()},${rotation.y()},${rotation.z()}) " + - "posMin=(${positionMin.x()},${positionMin.y()},${positionMin.z()}) " + - "posMax=(${positionMax.x()},${positionMax.y()},${positionMax.z()}) " + - "rotMin=(${rotationMin.x},${rotationMin.y},${rotationMin.z}) " + - "rotMax=(${rotationMax.x},${rotationMax.y},${rotationMax.z}) " + - "posSpring=(${positionSpring.x},${positionSpring.y},${positionSpring.z}) " + - "rotSpring=(${rotationSpring.x},${rotationSpring.y},${rotationSpring.z})" + "pos=(${joint.position.x()},${joint.position.y()},${joint.position.z()}) " + + "rot=(${joint.rotation.x()},${joint.rotation.y()},${joint.rotation.z()}) " + + "posMin=(${joint.positionMin.x()},${joint.positionMin.y()},${joint.positionMin.z()}) " + + "posMax=(${joint.positionMax.x()},${joint.positionMax.y()},${joint.positionMax.z()}) " + + "rotMin=(${joint.rotationMin.x()},${joint.rotationMin.y()},${joint.rotationMin.z()}) " + + "rotMax=(${joint.rotationMax.x()},${joint.rotationMax.y()},${joint.rotationMax.z()}) " + + "posSpring=(${joint.positionSpring.x()},${joint.positionSpring.y()},${joint.positionSpring.z()}) " + + "rotSpring=(${joint.rotationSpring.x()},${joint.rotationSpring.y()},${joint.rotationSpring.z()})" ) } RenderPhysicsJoint( - name = name, + name = joint.name, type = joint.type, rigidBodyAIndex = rigidBodyAIndex, rigidBodyBIndex = rigidBodyBIndex, - position = position, - rotation = rotation, - positionMin = positionMin, - positionMax = positionMax, - rotationMin = rotationMin, - rotationMax = rotationMax, - positionSpring = positionSpring, - rotationSpring = rotationSpring, + position = joint.position, + rotation = joint.rotation, + positionMin = joint.positionMin, + positionMax = joint.positionMax, + rotationMin = joint.rotationMin, + rotationMax = joint.rotationMax, + positionSpring = joint.positionSpring, + rotationSpring = joint.rotationSpring, ) } - // ... (rest of the code remains the same) + private fun loadScene(scene: Scene, expressions: List): PreProcessModelLoadInfo { + val rootNode = NodeLoadInfo( + nodeId = null, + nodeName = "Root node", + humanoidTags = listOf(), transform = null, components = listOf(), childrenIndices = scene.nodes.map { loadNode(it) }, From cab026de78dc9bfa903cda4fe306ac89f53585ba Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 14:30:51 +0700 Subject: [PATCH 052/112] Ajust skirt physics --- .../main/runtime/load/ModelPreprocessor.kt | 64 ++++++++++++++----- 1 file changed, 47 insertions(+), 17 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 16fcd62f..3aaadd1e 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -4,6 +4,7 @@ import com.mojang.blaze3d.textures.TextureFormat import com.mojang.blaze3d.vertex.VertexFormat import com.mojang.blaze3d.vertex.VertexFormatElement import kotlinx.coroutines.* +import org.joml.Vector3f import top.fifthlight.blazerod.api.resource.RenderExpression import top.fifthlight.blazerod.api.resource.RenderExpressionGroup import top.fifthlight.blazerod.extension.NativeImageExt @@ -637,21 +638,50 @@ class ModelPreprocessor private constructor( val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null + val name = joint.name + + var position = joint.position + var rotation = joint.rotation + var positionMin = joint.positionMin + var positionMax = joint.positionMax + var rotationMin = joint.rotationMin + var rotationMax = joint.rotationMax + var positionSpring = joint.positionSpring + var rotationSpring = joint.rotationSpring + + if (name != null && name.startsWith("Skirt_")) { + val angleScale = 20f + rotationMin = Vector3f(rotationMin).mul(angleScale) + rotationMax = Vector3f(rotationMax).mul(angleScale) + + val skirtSpring = 2.0f + rotationSpring = Vector3f( + if (rotationSpring.x() == 0f) skirtSpring else rotationSpring.x(), + if (rotationSpring.y() == 0f) skirtSpring else rotationSpring.y(), + if (rotationSpring.z() == 0f) skirtSpring else rotationSpring.z(), + ) + } + + if (name != null && (name.startsWith("Hair_") || name.startsWith("Braid_") || name.startsWith("Ribbon_"))) { + val hairSpringScale = 0.25f + rotationSpring = Vector3f(rotationSpring).mul(hairSpringScale) + } + if (index < 64) { println( "PHYSDBG JOINT_KT " + "idx=$index " + - "name=${joint.name} " + + "name=$name " + "A=$rigidBodyAIndex " + "B=$rigidBodyBIndex " + - "pos=(${joint.position.x()},${joint.position.y()},${joint.position.z()}) " + - "rot=(${joint.rotation.x()},${joint.rotation.y()},${joint.rotation.z()}) " + - "posMin=(${joint.positionMin.x()},${joint.positionMin.y()},${joint.positionMin.z()}) " + - "posMax=(${joint.positionMax.x()},${joint.positionMax.y()},${joint.positionMax.z()}) " + - "rotMin=(${joint.rotationMin.x()},${joint.rotationMin.y()},${joint.rotationMin.z()}) " + - "rotMax=(${joint.rotationMax.x()},${joint.rotationMax.y()},${joint.rotationMax.z()}) " + - "posSpring=(${joint.positionSpring.x()},${joint.positionSpring.y()},${joint.positionSpring.z()}) " + - "rotSpring=(${joint.rotationSpring.x()},${joint.rotationSpring.y()},${joint.rotationSpring.z()})" + "pos=(${position.x()},${position.y()},${position.z()}) " + + "rot=(${rotation.x()},${rotation.y()},${rotation.z()}) " + + "posMin=(${positionMin.x()},${positionMin.y()},${positionMin.z()}) " + + "posMax=(${positionMax.x()},${positionMax.y()},${positionMax.z()}) " + + "rotMin=(${rotationMin.x()},${rotationMin.y()},${rotationMin.z()}) " + + "rotMax=(${rotationMax.x()},${rotationMax.y()},${rotationMax.z()}) " + + "posSpring=(${positionSpring.x()},${positionSpring.y()},${positionSpring.z()}) " + + "rotSpring=(${rotationSpring.x()},${rotationSpring.y()},${rotationSpring.z()})" ) } @@ -660,14 +690,14 @@ class ModelPreprocessor private constructor( type = joint.type, rigidBodyAIndex = rigidBodyAIndex, rigidBodyBIndex = rigidBodyBIndex, - position = joint.position, - rotation = joint.rotation, - positionMin = joint.positionMin, - positionMax = joint.positionMax, - rotationMin = joint.rotationMin, - rotationMax = joint.rotationMax, - positionSpring = joint.positionSpring, - rotationSpring = joint.rotationSpring, + position = position, + rotation = rotation, + positionMin = positionMin, + positionMax = positionMax, + rotationMin = rotationMin, + rotationMax = rotationMax, + positionSpring = positionSpring, + rotationSpring = rotationSpring, ) } From 4ae2e7e0f7a83747b848e149cc0e9733860254fd Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 15:04:44 +0700 Subject: [PATCH 053/112] Try to fix the skirt --- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 3aaadd1e..1db8a679 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -650,11 +650,11 @@ class ModelPreprocessor private constructor( var rotationSpring = joint.rotationSpring if (name != null && name.startsWith("Skirt_")) { - val angleScale = 20f + val angleScale = 8f rotationMin = Vector3f(rotationMin).mul(angleScale) rotationMax = Vector3f(rotationMax).mul(angleScale) - val skirtSpring = 2.0f + val skirtSpring = 4.0f rotationSpring = Vector3f( if (rotationSpring.x() == 0f) skirtSpring else rotationSpring.x(), if (rotationSpring.y() == 0f) skirtSpring else rotationSpring.y(), @@ -667,7 +667,7 @@ class ModelPreprocessor private constructor( rotationSpring = Vector3f(rotationSpring).mul(hairSpringScale) } - if (index < 64) { + if (index < 128) { println( "PHYSDBG JOINT_KT " + "idx=$index " + From 8fb70ccafe9562aa0201e8efbe6af4e19918a90d Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 16:08:13 +0700 Subject: [PATCH 054/112] More loggings --- blazerod/render/main/runtime/RenderSceneImpl.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index b99c4787..ccba420f 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -287,6 +287,22 @@ class RenderSceneImpl( "bodyPos=($px,$py,$pz) " + "bodyRot=($qx,$qy,$qz,$qw)" ) + + if (node.nodeName != null && node.nodeName.startsWith("Skirt_")) { + val shapePos = component.rigidBodyData.shapePosition + val shapeRot = component.rigidBodyData.shapeRotation + println( + "PHYSDBG RB_SKIRT " + + "step=${data.debugStepCount} " + + "idx=${component.rigidBodyIndex} " + + "nodeIndex=$nodeIndex " + + "nodeName=${node.nodeName} " + + "shapePos=(${shapePos.x()},${shapePos.y()},${shapePos.z()}) " + + "shapeRot=(${shapeRot.x()},${shapeRot.y()},${shapeRot.z()}) " + + "bonePos=(${bonePos.x},${bonePos.y},${bonePos.z}) " + + "bodyPos=($px,$py,$pz)" + ) + } } } data.debugStepCount++ From 81a0ee99d488eb826e5beabe4100677e21cf65bf Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 1 Dec 2025 23:04:36 +0700 Subject: [PATCH 055/112] Fix the math --- blazerod/render/main/physics/PhysicsWorld.cpp | 39 +++++++++---------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index bfefdccb..230b90f4 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -32,10 +32,7 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec transform.setIdentity(); btMatrix3x3 rotation_matrix; - // PmxLoader already flips Y. - // We need to flip X to match PmxLoader's limits/springs logic and Saba's InvZ behavior (which negates Rx and Ry). - // We also need to flip Y and Z-position to fully convert from MMD (LH) to Bullet (RH). - + // PmxLoader already applies the necessary axis flips to the Euler angles. float rx_val = rotation.x; float ry_val = rotation.y; float rz_val = rotation.z; @@ -52,26 +49,26 @@ PhysicsMotionState::PhysicsMotionState(btTransform& initial_transform, const Vec rotation_matrix = rot_y * rot_x * rot_z; - // Kotlin / PMX loader passes shape_position in world/model space. - // We need a LOCAL offset from the bone (initial_transform's origin) so that: - // world_COM = bone_world * local_offset - // and world_COM matches the original shape_position. - btVector3 bone_origin = initial_transform.getOrigin(); - btVector3 pos(position.x - bone_origin.x(), - position.y - bone_origin.y(), - position.z - bone_origin.z()); - btTransform local_offset; - local_offset.setIdentity(); - local_offset.setBasis(rotation_matrix); - local_offset.setOrigin(pos); - - btTransform initial_lh = initial_transform; + // Build the rigid-body transform in model/world space from the PMX + // shape position and rotation. + btTransform bone_transform = initial_transform; + btTransform rb_transform; + rb_transform.setIdentity(); + rb_transform.setBasis(rotation_matrix); + rb_transform.setOrigin(btVector3(position.x, position.y, position.z)); + + // Local offset from the bone to the rigid body, matching Saba's + // MMDPhysics logic: offset = inverse(boneGlobal) * rbMat. + btTransform bone_inverse = bone_transform.inverse(); + btTransform local_offset = bone_inverse * rb_transform; + from_node_to_world = local_offset; from_world_to_node = from_node_to_world.inverse(); - // Initialize the rigidbody so that its center-of-mass is at the PMX shape_position in world space. - // world_COM = bone_world * local_offset - this->transform.mult(initial_lh, from_node_to_world); + // Initialize the rigid body so that its center-of-mass starts exactly + // at the PMX shape_position in world space (no extra bone rotation + // applied on top). + this->transform = rb_transform; } class FollowBoneObjectMotionState : public PhysicsMotionState { From b4fd6f766981e6db6963d33c89171ff332cee98f Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Tue, 2 Dec 2025 20:39:20 +0700 Subject: [PATCH 056/112] Move skirt end to PHYSICS_PLUS_BONE --- blazerod/model/model-pmx/PmxLoader.kt | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 7b6cbd93..bdfe8cd3 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1171,6 +1171,22 @@ class PmxLoader : ModelFileLoader { NodeComponent.RigidBodyComponent( rigidBodyId = RigidBodyId(modelId, index), rigidBody = rigidBodies[index].let { rigidBody -> + val basePhysicsMode = when (rigidBody.physicsMode) { + PmxRigidBody.PhysicsMode.FOLLOW_BONE -> RigidBody.PhysicsMode.FOLLOW_BONE + PmxRigidBody.PhysicsMode.PHYSICS -> RigidBody.PhysicsMode.PHYSICS + PmxRigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> RigidBody.PhysicsMode.PHYSICS_PLUS_BONE + } + + val adjustedPhysicsMode = + if (rigidBody.nameLocal.startsWith("Skirt_") && + rigidBody.nameLocal.endsWith("錘") && + basePhysicsMode == RigidBody.PhysicsMode.PHYSICS + ) { + RigidBody.PhysicsMode.PHYSICS_PLUS_BONE + } else { + basePhysicsMode + } + RigidBody( name = rigidBody.nameLocal.takeIf(String::isNotBlank), collisionGroup = 1 shl rigidBody.groupId, @@ -1188,11 +1204,7 @@ class PmxLoader : ModelFileLoader { rotationDamping = rigidBody.rotationDamping, repulsion = rigidBody.repulsion, frictionForce = rigidBody.frictionForce, - physicsMode = when (rigidBody.physicsMode) { - PmxRigidBody.PhysicsMode.FOLLOW_BONE -> RigidBody.PhysicsMode.FOLLOW_BONE - PmxRigidBody.PhysicsMode.PHYSICS -> RigidBody.PhysicsMode.PHYSICS - PmxRigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> RigidBody.PhysicsMode.PHYSICS_PLUS_BONE - }, + physicsMode = adjustedPhysicsMode, ) }, ) From dc30c95ac185cfca09b4d1de7bfc60b0ad83ea44 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Tue, 2 Dec 2025 22:25:38 +0700 Subject: [PATCH 057/112] Try a different physics --- blazerod/render/main/physics/PhysicsWorld.cpp | 2 + .../main/runtime/load/ModelPreprocessor.kt | 97 ++++++++++--------- 2 files changed, 52 insertions(+), 47 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 230b90f4..563f4ea7 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -441,6 +441,8 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c constraint->setDamping(5, SPRING_DAMPING); } + constraint->setEquilibriumPoint(); + this->world->addConstraint(constraint.get(), true); this->joints.push_back(std::move(constraint)); } diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 1db8a679..2cb59e00 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -635,55 +635,58 @@ class ModelPreprocessor private constructor( private fun loadPhysicalJoints(modelPhysicalJoints: List) = modelPhysicalJoints.mapIndexedNotNull { index, joint -> - val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null - val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null - - val name = joint.name - - var position = joint.position - var rotation = joint.rotation - var positionMin = joint.positionMin - var positionMax = joint.positionMax - var rotationMin = joint.rotationMin - var rotationMax = joint.rotationMax - var positionSpring = joint.positionSpring - var rotationSpring = joint.rotationSpring - - if (name != null && name.startsWith("Skirt_")) { - val angleScale = 8f - rotationMin = Vector3f(rotationMin).mul(angleScale) - rotationMax = Vector3f(rotationMax).mul(angleScale) - - val skirtSpring = 4.0f - rotationSpring = Vector3f( - if (rotationSpring.x() == 0f) skirtSpring else rotationSpring.x(), - if (rotationSpring.y() == 0f) skirtSpring else rotationSpring.y(), - if (rotationSpring.z() == 0f) skirtSpring else rotationSpring.z(), - ) - } - if (name != null && (name.startsWith("Hair_") || name.startsWith("Braid_") || name.startsWith("Ribbon_"))) { - val hairSpringScale = 0.25f - rotationSpring = Vector3f(rotationSpring).mul(hairSpringScale) - } + val name = joint.name + + var position = joint.position + var rotation = joint.rotation + var positionMin = joint.positionMin + var positionMax = joint.positionMax + var rotationMin = joint.rotationMin + var rotationMax = joint.rotationMax + var positionSpring = joint.positionSpring + var rotationSpring = joint.rotationSpring + + if (name != null && (name.startsWith("Skirt_") || name.startsWith("スカート"))) { + val angleScale = 8f + rotationMin = Vector3f(rotationMin).mul(angleScale) + rotationMax = Vector3f(rotationMax).mul(angleScale) + + val skirtSpring = 4.0f + rotationSpring = + if (name.startsWith("スカート横_")) { + Vector3f(skirtSpring, skirtSpring, skirtSpring) + } else { + Vector3f( + if (rotationSpring.x() == 0f) skirtSpring else rotationSpring.x(), + if (rotationSpring.y() == 0f) skirtSpring else rotationSpring.y(), + if (rotationSpring.z() == 0f) skirtSpring else rotationSpring.z(), + ) + } + } - if (index < 128) { - println( - "PHYSDBG JOINT_KT " + - "idx=$index " + - "name=$name " + - "A=$rigidBodyAIndex " + - "B=$rigidBodyBIndex " + - "pos=(${position.x()},${position.y()},${position.z()}) " + - "rot=(${rotation.x()},${rotation.y()},${rotation.z()}) " + - "posMin=(${positionMin.x()},${positionMin.y()},${positionMin.z()}) " + - "posMax=(${positionMax.x()},${positionMax.y()},${positionMax.z()}) " + - "rotMin=(${rotationMin.x()},${rotationMin.y()},${rotationMin.z()}) " + - "rotMax=(${rotationMax.x()},${rotationMax.y()},${rotationMax.z()}) " + - "posSpring=(${positionSpring.x()},${positionSpring.y()},${positionSpring.z()}) " + - "rotSpring=(${rotationSpring.x()},${rotationSpring.y()},${rotationSpring.z()})" - ) - } + if (name != null && (name.startsWith("Hair_") || name.startsWith("Braid_") || name.startsWith("Ribbon_"))) { + val hairSpringScale = 0.25f + rotationSpring = Vector3f(rotationSpring).mul(hairSpringScale) + } + + if (index < 128) { + println( + "PHYSDBG JOINT_KT " + + "idx=$index " + + "name=$name " + + "A=$rigidBodyAIndex " + + "B=$rigidBodyBIndex " + + "pos=(${position.x()},${position.y()},${position.z()}) " + + "rot=(${rotation.x()},${rotation.y()},${rotation.z()}) " + + "posMin=(${positionMin.x()},${positionMin.y()},${positionMin.z()}) " + + "posMax=(${positionMax.x()},${positionMax.y()},${positionMax.z()}) " + + "rotMin=(${rotationMin.x()},${rotationMin.y()},${rotationMin.z()}) " + + "rotMax=(${rotationMax.x()},${rotationMax.y()},${rotationMax.z()}) " + + "posSpring=(${positionSpring.x()},${positionSpring.y()},${positionSpring.z()}) " + + "rotSpring=(${rotationSpring.x()},${rotationSpring.y()},${rotationSpring.z()})" + ) + } RenderPhysicsJoint( name = joint.name, From da0ce6c5e03c4dc97af7b6747f43c5a90d7482e3 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Wed, 3 Dec 2025 08:53:11 +0700 Subject: [PATCH 058/112] Fixed compiling errors --- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 2cb59e00..7ad18560 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -638,6 +638,9 @@ class ModelPreprocessor private constructor( val name = joint.name + val rigidBodyAIndex = rigidBodyIdToIndexMap[joint.rigidBodyA] ?: return@mapIndexedNotNull null + val rigidBodyBIndex = rigidBodyIdToIndexMap[joint.rigidBodyB] ?: return@mapIndexedNotNull null + var position = joint.position var rotation = joint.rotation var positionMin = joint.positionMin From 60134f231e14037eaa005508d7e6424a934aa9cd Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Wed, 3 Dec 2025 09:10:22 +0700 Subject: [PATCH 059/112] Implement reseting exloding --- .../render/main/physics/PhysicsLibrary.java | 4 +++ blazerod/render/main/physics/PhysicsWorld.cpp | 34 +++++++++++++++++++ blazerod/render/main/physics/PhysicsWorld.h | 8 +++++ blazerod/render/main/physics/PhysicsWorld.kt | 12 +++++++ blazerod/render/main/physics/binding.cpp | 13 +++++++ .../render/main/runtime/RenderSceneImpl.kt | 2 +- 6 files changed, 72 insertions(+), 1 deletion(-) diff --git a/blazerod/render/main/physics/PhysicsLibrary.java b/blazerod/render/main/physics/PhysicsLibrary.java index 36a8a3e1..37deca51 100644 --- a/blazerod/render/main/physics/PhysicsLibrary.java +++ b/blazerod/render/main/physics/PhysicsLibrary.java @@ -31,6 +31,10 @@ private PhysicsLibrary() { public native static void stepPhysicsWorld(long physicsWorld, float deltaTime, int maxSubSteps, float fixedTimeStep); + public native static void resetRigidBody(long physicsWorld, int rigidBodyIndex, + float px, float py, float pz, + float qx, float qy, float qz, float qw); + public native static void destroyPhysicsWorld(long physicsWorld); public static boolean isPhysicsAvailable() { diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 563f4ea7..0c1d5a76 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -458,6 +458,40 @@ PhysicsWorld::~PhysicsWorld() { } } +void PhysicsWorld::ResetRigidBody(size_t rigidbody_index, float px, float py, float pz, + float qx, float qy, float qz, float qw) { + if (rigidbody_index >= this->rigidbodies.size()) { + throw std::out_of_range("Invalid rigidbody index"); + } + + auto& rigidbody_data = this->rigidbodies[rigidbody_index]; + + btTransform node_transform; + node_transform.setIdentity(); + node_transform.setOrigin(btVector3(px, py, pz)); + node_transform.setRotation(btQuaternion(qx, qy, qz, qw)); + + btTransform world_transform; + world_transform.mult(node_transform, rigidbody_data.motion_state->GetFromNodeToWorld()); + + rigidbody_data.motion_state->SetWorldTransformDirect(world_transform); + rigidbody_data.rigidbody->setWorldTransform(world_transform); + rigidbody_data.rigidbody->setInterpolationWorldTransform(world_transform); + rigidbody_data.rigidbody->setLinearVelocity(btVector3(0, 0, 0)); + rigidbody_data.rigidbody->setAngularVelocity(btVector3(0, 0, 0)); + rigidbody_data.rigidbody->clearForces(); + + float* buffer = this->transform_buffer.get(); + float* dst = &buffer[rigidbody_index * 7]; + dst[0] = px; + dst[1] = py; + dst[2] = pz; + dst[3] = qx; + dst[4] = qy; + dst[5] = qz; + dst[6] = qw; +} + void PhysicsWorld::Step(float delta_time, int max_sub_steps, float fixed_time_step) { size_t rigidbody_index = 0; for (auto& rigidbody : this->rigidbodies) { diff --git a/blazerod/render/main/physics/PhysicsWorld.h b/blazerod/render/main/physics/PhysicsWorld.h index 8b7c9cc1..8c4d73e5 100644 --- a/blazerod/render/main/physics/PhysicsWorld.h +++ b/blazerod/render/main/physics/PhysicsWorld.h @@ -27,6 +27,12 @@ class PhysicsMotionState : public btMotionState { void setWorldTransform(const btTransform& world_transform) override; bool IsDirty() const { return isDirty; } + const btTransform& GetFromNodeToWorld() const { return from_node_to_world; } + void SetWorldTransformDirect(const btTransform& world_transform) { + transform = world_transform; + isDirty = true; + } + virtual void GetFromWorld(const PhysicsWorld* world, size_t rigidbody_index) = 0; virtual void SetToWorld(PhysicsWorld* world, size_t rigidbody_index) = 0; }; @@ -62,6 +68,8 @@ class PhysicsWorld { float* GetTransformBuffer() const { return transform_buffer.get(); } size_t GetTransformBufferSize() { return rigidbodies.size() * 7 * sizeof(float); } + void ResetRigidBody(size_t rigidbody_index, float px, float py, float pz, + float qx, float qy, float qz, float qw); void Step(float delta_time, int max_sub_steps, float fixed_time_step); }; } // namespace blazerod::physics diff --git a/blazerod/render/main/physics/PhysicsWorld.kt b/blazerod/render/main/physics/PhysicsWorld.kt index 0efdf1e3..3c6baa79 100644 --- a/blazerod/render/main/physics/PhysicsWorld.kt +++ b/blazerod/render/main/physics/PhysicsWorld.kt @@ -73,6 +73,18 @@ class PhysicsWorld( } } + fun resetRigidBody(rigidBodyIndex: Int, position: Vector3f, rotation: Quaternionf) { + Objects.checkIndex(rigidBodyIndex, rigidBodyCount) + requireNotClosed { + PhysicsLibrary.resetRigidBody( + pointer, + rigidBodyIndex, + position.x, position.y, position.z, + rotation.x, rotation.y, rotation.z, rotation.w, + ) + } + } + fun pullTransforms(dst: FloatArray) { requireNotClosed { require(dst.size >= rigidBodyCount * 7) diff --git a/blazerod/render/main/physics/binding.cpp b/blazerod/render/main/physics/binding.cpp index 57b00afe..5f99ce1b 100644 --- a/blazerod/render/main/physics/binding.cpp +++ b/blazerod/render/main/physics/binding.cpp @@ -115,6 +115,19 @@ JNIEXPORT void JNICALL Java_top_fifthlight_blazerod_physics_PhysicsLibrary_stepP physics_world_ptr->Step(delta_time, max_sub_steps, fixed_time_step); } +/* + * Class: top_fifthlight_blazerod_physics_PhysicsLibrary + * Method: resetRigidBody + * Signature: (JIFFFFFFFF)V + */ +JNIEXPORT void JNICALL Java_top_fifthlight_blazerod_physics_PhysicsLibrary_resetRigidBody( + JNIEnv* env, jclass clazz, jlong physics_world, jint rigidbody_index, + jfloat px, jfloat py, jfloat pz, + jfloat qx, jfloat qy, jfloat qz, jfloat qw) { + auto physics_world_ptr = reinterpret_cast(physics_world); + physics_world_ptr->ResetRigidBody(static_cast(rigidbody_index), px, py, pz, qx, qy, qz, qw); +} + /* * Class: top_fifthlight_blazerod_physics_PhysicsLibrary * Method: destroyPhysicsWorld diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index ccba420f..24285893 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -206,7 +206,7 @@ class RenderSceneImpl( array[offset + 6] = baseRot.w clampMatrix.translationRotate(basePos, baseRot) - data.world.setTransform(component.rigidBodyIndex, clampMatrix) + data.world.resetRigidBody(component.rigidBodyIndex, basePos, baseRot) } } } From b5449f93853fd66c9428c8a71a01a21e36d3665e Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Wed, 3 Dec 2025 21:22:21 +0700 Subject: [PATCH 060/112] Tightened the angular limits and softened springs --- .../main/runtime/load/ModelPreprocessor.kt | 35 ++++++++++++++++--- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 7ad18560..a9d4c916 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -651,19 +651,44 @@ class ModelPreprocessor private constructor( var rotationSpring = joint.rotationSpring if (name != null && (name.startsWith("Skirt_") || name.startsWith("スカート"))) { - val angleScale = 8f + val isAsciiSkirt = name.startsWith("Skirt_") + val isOuterAsciiSkirt = if (isAsciiSkirt) { + val ringTag = name.substringAfter("Skirt_").substringBefore('_') + ringTag.length == 1 && ringTag[0] in 'C'..'Z' + } else { + false + } + + val angleScale = if (isOuterAsciiSkirt) 3f else 8f rotationMin = Vector3f(rotationMin).mul(angleScale) rotationMax = Vector3f(rotationMax).mul(angleScale) + if (isOuterAsciiSkirt) { + val maxAbs = 1.0f + rotationMin = rotationMin.set( + rotationMin.x().coerceIn(-maxAbs, maxAbs), + rotationMin.y().coerceIn(-maxAbs, maxAbs), + rotationMin.z().coerceIn(-maxAbs, maxAbs), + ) + rotationMax = rotationMax.set( + rotationMax.x().coerceIn(-maxAbs, maxAbs), + rotationMax.y().coerceIn(-maxAbs, maxAbs), + rotationMax.z().coerceIn(-maxAbs, maxAbs), + ) + } + val skirtSpring = 4.0f + val springScale = if (isOuterAsciiSkirt) 0.5f else 1.0f + val effectiveSpring = skirtSpring * springScale + rotationSpring = if (name.startsWith("スカート横_")) { - Vector3f(skirtSpring, skirtSpring, skirtSpring) + Vector3f(effectiveSpring, effectiveSpring, effectiveSpring) } else { Vector3f( - if (rotationSpring.x() == 0f) skirtSpring else rotationSpring.x(), - if (rotationSpring.y() == 0f) skirtSpring else rotationSpring.y(), - if (rotationSpring.z() == 0f) skirtSpring else rotationSpring.z(), + if (rotationSpring.x() == 0f) effectiveSpring else rotationSpring.x() * springScale, + if (rotationSpring.y() == 0f) effectiveSpring else rotationSpring.y() * springScale, + if (rotationSpring.z() == 0f) effectiveSpring else rotationSpring.z() * springScale, ) } } From c56571b2787c29758a3382817e965f703707b1fd Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Wed, 3 Dec 2025 21:43:51 +0700 Subject: [PATCH 061/112] Tightened the angular limits and softened springs for Skirt_B and Skirt_C --- .../main/runtime/load/ModelPreprocessor.kt | 37 ++++++++++++------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index a9d4c916..8173f417 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -652,33 +652,44 @@ class ModelPreprocessor private constructor( if (name != null && (name.startsWith("Skirt_") || name.startsWith("スカート"))) { val isAsciiSkirt = name.startsWith("Skirt_") - val isOuterAsciiSkirt = if (isAsciiSkirt) { - val ringTag = name.substringAfter("Skirt_").substringBefore('_') - ringTag.length == 1 && ringTag[0] in 'C'..'Z' + val ringChar = if (isAsciiSkirt) { + name.substringAfter("Skirt_").substringBefore('_').singleOrNull() } else { - false + null } + val isOuterAsciiSkirt = ringChar != null && ringChar in 'B'..'Z' - val angleScale = if (isOuterAsciiSkirt) 3f else 8f + val angleScale = when (ringChar) { + 'B' -> 5f + in 'C'..'Z' -> 3f + else -> 8f + } rotationMin = Vector3f(rotationMin).mul(angleScale) rotationMax = Vector3f(rotationMax).mul(angleScale) if (isOuterAsciiSkirt) { - val maxAbs = 1.0f + val (maxBend, maxYaw) = when (ringChar) { + 'B' -> 1.2f to 0.8f + else -> 1.0f to 0.6f + } rotationMin = rotationMin.set( - rotationMin.x().coerceIn(-maxAbs, maxAbs), - rotationMin.y().coerceIn(-maxAbs, maxAbs), - rotationMin.z().coerceIn(-maxAbs, maxAbs), + rotationMin.x().coerceIn(-maxBend, maxBend), + rotationMin.y().coerceIn(-maxYaw, maxYaw), + rotationMin.z().coerceIn(-maxBend, maxBend), ) rotationMax = rotationMax.set( - rotationMax.x().coerceIn(-maxAbs, maxAbs), - rotationMax.y().coerceIn(-maxAbs, maxAbs), - rotationMax.z().coerceIn(-maxAbs, maxAbs), + rotationMax.x().coerceIn(-maxBend, maxBend), + rotationMax.y().coerceIn(-maxYaw, maxYaw), + rotationMax.z().coerceIn(-maxBend, maxBend), ) } val skirtSpring = 4.0f - val springScale = if (isOuterAsciiSkirt) 0.5f else 1.0f + val springScale = when (ringChar) { + 'B' -> 0.75f + in 'C'..'Z' -> 0.5f + else -> 1.0f + } val effectiveSpring = skirtSpring * springScale rotationSpring = From b7f0bb2c2fae1c18a5443de9a9690835f95d0135 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Wed, 3 Dec 2025 22:02:54 +0700 Subject: [PATCH 062/112] Tightened the angular limits and softened springs for even smaller parts --- .../main/runtime/load/ModelPreprocessor.kt | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 8173f417..58712640 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -657,7 +657,14 @@ class ModelPreprocessor private constructor( } else { null } + val segmentIndex = if (isAsciiSkirt) { + val parts = name.substringAfter("Skirt_").split('_') + parts.getOrNull(1)?.toIntOrNull() + } else { + null + } val isOuterAsciiSkirt = ringChar != null && ringChar in 'B'..'Z' + val isDeepSegment = segmentIndex != null && segmentIndex >= 4 val angleScale = when (ringChar) { 'B' -> 5f @@ -668,10 +675,15 @@ class ModelPreprocessor private constructor( rotationMax = Vector3f(rotationMax).mul(angleScale) if (isOuterAsciiSkirt) { - val (maxBend, maxYaw) = when (ringChar) { + val (baseMaxBend, baseMaxYaw) = when (ringChar) { 'B' -> 1.2f to 0.8f else -> 1.0f to 0.6f } + val (maxBend, maxYaw) = if (isDeepSegment) { + baseMaxBend * 0.6f to baseMaxYaw * 0.3f + } else { + baseMaxBend to baseMaxYaw + } rotationMin = rotationMin.set( rotationMin.x().coerceIn(-maxBend, maxBend), rotationMin.y().coerceIn(-maxYaw, maxYaw), @@ -684,12 +696,17 @@ class ModelPreprocessor private constructor( ) } + // Lock linear DOFs for skirt joints so they behave as pure rotational constraints. + positionMin = Vector3f(0f, 0f, 0f) + positionMax = Vector3f(0f, 0f, 0f) + val skirtSpring = 4.0f - val springScale = when (ringChar) { + val baseSpringScale = when (ringChar) { 'B' -> 0.75f in 'C'..'Z' -> 0.5f else -> 1.0f } + val springScale = if (isDeepSegment) baseSpringScale * 0.5f else baseSpringScale val effectiveSpring = skirtSpring * springScale rotationSpring = From 22c0235c1534d3ab4aaa1301ce54825d0d967099 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 09:37:10 +0700 Subject: [PATCH 063/112] Fix B/C rings --- .../main/runtime/load/ModelPreprocessor.kt | 37 ++++++++++++++----- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 58712640..fa78afdb 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -674,11 +674,22 @@ class ModelPreprocessor private constructor( rotationMin = Vector3f(rotationMin).mul(angleScale) rotationMax = Vector3f(rotationMax).mul(angleScale) - if (isOuterAsciiSkirt) { + if (isOuterAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C')) { val (baseMaxBend, baseMaxYaw) = when (ringChar) { 'B' -> 1.2f to 0.8f else -> 1.0f to 0.6f } + val depthScale = when { + segmentIndex == null || segmentIndex <= 2 -> 1.0f + segmentIndex == 3 -> 0.8f + else -> 0.6f + } + val maxBend = baseMaxBend * depthScale + val maxYaw = baseMaxYaw * depthScale + rotationMin = Vector3f(-maxBend, -maxYaw, -maxBend) + rotationMax = Vector3f(maxBend, maxYaw, maxBend) + } else if (isOuterAsciiSkirt) { + val (baseMaxBend, baseMaxYaw) = 1.0f to 0.6f val (maxBend, maxYaw) = if (isDeepSegment) { baseMaxBend * 0.6f to baseMaxYaw * 0.3f } else { @@ -709,16 +720,22 @@ class ModelPreprocessor private constructor( val springScale = if (isDeepSegment) baseSpringScale * 0.5f else baseSpringScale val effectiveSpring = skirtSpring * springScale - rotationSpring = - if (name.startsWith("スカート横_")) { - Vector3f(effectiveSpring, effectiveSpring, effectiveSpring) - } else { - Vector3f( - if (rotationSpring.x() == 0f) effectiveSpring else rotationSpring.x() * springScale, - if (rotationSpring.y() == 0f) effectiveSpring else rotationSpring.y() * springScale, - if (rotationSpring.z() == 0f) effectiveSpring else rotationSpring.z() * springScale, - ) + rotationSpring = if (isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C')) { + val base = when (ringChar) { + 'B' -> if (isDeepSegment) 5.0f else 6.0f + 'C' -> if (isDeepSegment) 4.0f else 4.5f + else -> effectiveSpring } + Vector3f(base, base, base) + } else if (name.startsWith("スカート横_")) { + Vector3f(effectiveSpring, effectiveSpring, effectiveSpring) + } else { + Vector3f( + if (rotationSpring.x() == 0f) effectiveSpring else rotationSpring.x() * springScale, + if (rotationSpring.y() == 0f) effectiveSpring else rotationSpring.y() * springScale, + if (rotationSpring.z() == 0f) effectiveSpring else rotationSpring.z() * springScale, + ) + } } if (name != null && (name.startsWith("Hair_") || name.startsWith("Braid_") || name.startsWith("Ribbon_"))) { From 9c26a22fdf9710e45375841634502bb7f24c3a7e Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 10:05:35 +0700 Subject: [PATCH 064/112] Widened B/C limits --- .../render/main/runtime/load/ModelPreprocessor.kt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index fa78afdb..080da9ca 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -679,13 +679,18 @@ class ModelPreprocessor private constructor( 'B' -> 1.2f to 0.8f else -> 1.0f to 0.6f } - val depthScale = when { + val bendDepthScale = when { segmentIndex == null || segmentIndex <= 2 -> 1.0f segmentIndex == 3 -> 0.8f else -> 0.6f } - val maxBend = baseMaxBend * depthScale - val maxYaw = baseMaxYaw * depthScale + val yawDepthScale = when { + segmentIndex == null || segmentIndex <= 2 -> 1.0f + segmentIndex == 3 -> 0.6f + else -> 0.4f + } + val maxBend = baseMaxBend * bendDepthScale + val maxYaw = baseMaxYaw * yawDepthScale rotationMin = Vector3f(-maxBend, -maxYaw, -maxBend) rotationMax = Vector3f(maxBend, maxYaw, maxBend) } else if (isOuterAsciiSkirt) { @@ -722,8 +727,8 @@ class ModelPreprocessor private constructor( rotationSpring = if (isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C')) { val base = when (ringChar) { - 'B' -> if (isDeepSegment) 5.0f else 6.0f - 'C' -> if (isDeepSegment) 4.0f else 4.5f + 'B' -> 6.0f + 'C' -> 4.5f else -> effectiveSpring } Vector3f(base, base, base) From 7815db302602a2ee4f90d9a83df54ac84720ec45 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 11:00:44 +0700 Subject: [PATCH 065/112] Fix skirt flying upward --- .../main/runtime/load/ModelPreprocessor.kt | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 080da9ca..68d6337f 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -681,9 +681,10 @@ class ModelPreprocessor private constructor( } val bendDepthScale = when { segmentIndex == null || segmentIndex <= 2 -> 1.0f - segmentIndex == 3 -> 0.8f - else -> 0.6f + segmentIndex == 3 -> 0.7f + else -> 0.45f } + val yawDepthScale = when { segmentIndex == null || segmentIndex <= 2 -> 1.0f segmentIndex == 3 -> 0.6f @@ -713,8 +714,17 @@ class ModelPreprocessor private constructor( } // Lock linear DOFs for skirt joints so they behave as pure rotational constraints. - positionMin = Vector3f(0f, 0f, 0f) - positionMax = Vector3f(0f, 0f, 0f) + val allowLinearSlack = + isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C') && + segmentIndex != null && segmentIndex >= 3 + if (allowLinearSlack) { + val slack = 0.02f + positionMin = Vector3f(-slack, -slack, -slack) + positionMax = Vector3f(slack, slack, slack) + } else { + positionMin = Vector3f(0f, 0f, 0f) + positionMax = Vector3f(0f, 0f, 0f) + } val skirtSpring = 4.0f val baseSpringScale = when (ringChar) { From 1371fc26b20fb9b3e0b2cedce53c101fc802f5b2 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 11:34:12 +0700 Subject: [PATCH 066/112] Relaxing B/C --- .../render/main/runtime/load/ModelPreprocessor.kt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 68d6337f..2e9d3172 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -718,7 +718,7 @@ class ModelPreprocessor private constructor( isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C') && segmentIndex != null && segmentIndex >= 3 if (allowLinearSlack) { - val slack = 0.02f + val slack = 0.04f positionMin = Vector3f(-slack, -slack, -slack) positionMax = Vector3f(slack, slack, slack) } else { @@ -737,11 +737,17 @@ class ModelPreprocessor private constructor( rotationSpring = if (isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C')) { val base = when (ringChar) { - 'B' -> 6.0f - 'C' -> 4.5f + 'B' -> 5.0f + 'C' -> 4.0f else -> effectiveSpring } - Vector3f(base, base, base) + val depthScaleForSpring = when { + segmentIndex == null || segmentIndex <= 2 -> 1.0f + segmentIndex == 3 -> 0.8f + else -> 0.6f + } + val spring = base * depthScaleForSpring + Vector3f(spring, spring, spring) } else if (name.startsWith("スカート横_")) { Vector3f(effectiveSpring, effectiveSpring, effectiveSpring) } else { From 60cf7f747273e6293109e5872d45c31eaf288ec3 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 12:48:05 +0700 Subject: [PATCH 067/112] Implemented D-specific angular limits --- .../main/runtime/load/ModelPreprocessor.kt | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 2e9d3172..90347f85 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -694,6 +694,23 @@ class ModelPreprocessor private constructor( val maxYaw = baseMaxYaw * yawDepthScale rotationMin = Vector3f(-maxBend, -maxYaw, -maxBend) rotationMax = Vector3f(maxBend, maxYaw, maxBend) + } else if (isOuterAsciiSkirt && ringChar == 'D') { + val baseMaxBend = 0.8f + val baseMaxYaw = 0.5f + val bendDepthScale = when { + segmentIndex == null || segmentIndex <= 2 -> 1.0f + segmentIndex == 3 -> 0.8f + else -> 0.6f + } + val yawDepthScale = when { + segmentIndex == null || segmentIndex <= 2 -> 1.0f + segmentIndex == 3 -> 0.7f + else -> 0.5f + } + val maxBend = baseMaxBend * bendDepthScale + val maxYaw = baseMaxYaw * yawDepthScale + rotationMin = Vector3f(-maxBend, -maxYaw, -maxBend) + rotationMax = Vector3f(maxBend, maxYaw, maxBend) } else if (isOuterAsciiSkirt) { val (baseMaxBend, baseMaxYaw) = 1.0f to 0.6f val (maxBend, maxYaw) = if (isDeepSegment) { @@ -715,8 +732,10 @@ class ModelPreprocessor private constructor( // Lock linear DOFs for skirt joints so they behave as pure rotational constraints. val allowLinearSlack = - isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C') && + isAsciiSkirt && ringChar != null && + (ringChar == 'B' || ringChar == 'C' || ringChar == 'D') && segmentIndex != null && segmentIndex >= 3 + if (allowLinearSlack) { val slack = 0.04f positionMin = Vector3f(-slack, -slack, -slack) From d7ccffd4e9a6a027d5e394856f4e19159e1b614f Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 13:19:06 +0700 Subject: [PATCH 068/112] Implemented D-ring angular limits --- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 90347f85..ea4a2a85 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -730,7 +730,6 @@ class ModelPreprocessor private constructor( ) } - // Lock linear DOFs for skirt joints so they behave as pure rotational constraints. val allowLinearSlack = isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C' || ringChar == 'D') && @@ -754,6 +753,13 @@ class ModelPreprocessor private constructor( val springScale = if (isDeepSegment) baseSpringScale * 0.5f else baseSpringScale val effectiveSpring = skirtSpring * springScale + if (isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C' || ringChar == 'D')) { + val linearSpring = (skirtSpring * 0.5f) * springScale + if (linearSpring > 0f) { + positionSpring = Vector3f(linearSpring, linearSpring, linearSpring) + } + } + rotationSpring = if (isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C')) { val base = when (ringChar) { 'B' -> 5.0f From 6a0870891e22ffe26f921b245e9ea093dc1cd222 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 13:40:43 +0700 Subject: [PATCH 069/112] Change the Y of spring --- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index ea4a2a85..5494adef 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -756,7 +756,9 @@ class ModelPreprocessor private constructor( if (isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C' || ringChar == 'D')) { val linearSpring = (skirtSpring * 0.5f) * springScale if (linearSpring > 0f) { - positionSpring = Vector3f(linearSpring, linearSpring, linearSpring) + // Apply linear spring only on the vertical axis so we pull the skirt + // panels toward the correct height without introducing a sideways bias. + positionSpring = Vector3f(0f, linearSpring, 0f) } } From 0cac816114c84ac023b6508f1fe81786fd67f570 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 14:05:47 +0700 Subject: [PATCH 070/112] Change skirt ring joint rotations to identity --- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 5494adef..ea420611 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -666,6 +666,10 @@ class ModelPreprocessor private constructor( val isOuterAsciiSkirt = ringChar != null && ringChar in 'B'..'Z' val isDeepSegment = segmentIndex != null && segmentIndex >= 4 + if (isAsciiSkirt && ringChar != null && ringChar in 'A'..'D') { + rotation = Vector3f(0f, 0f, 0f) + } + val angleScale = when (ringChar) { 'B' -> 5f in 'C'..'Z' -> 3f From 95b8d1e077b20cf60cea1638fbd9e6db744844c6 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 14:35:54 +0700 Subject: [PATCH 071/112] Remove self skirt collision --- blazerod/model/model-pmx/PmxLoader.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index bdfe8cd3..750c16cd 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1187,10 +1187,16 @@ class PmxLoader : ModelFileLoader { basePhysicsMode } + val baseGroup = 1 shl rigidBody.groupId + var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + if (rigidBody.nameLocal.startsWith("Skirt_")) { + collisionMask = collisionMask and baseGroup.inv() + } + RigidBody( name = rigidBody.nameLocal.takeIf(String::isNotBlank), - collisionGroup = 1 shl rigidBody.groupId, - collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF, + collisionGroup = baseGroup, + collisionMask = collisionMask, shape = when (rigidBody.shape) { PmxRigidBody.ShapeType.SPHERE -> RigidBody.ShapeType.SPHERE PmxRigidBody.ShapeType.BOX -> RigidBody.ShapeType.BOX From 5d2cd451ad72fe29d5391c879c089330d3c58247 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 15:16:46 +0700 Subject: [PATCH 072/112] Tether all skirt bodies to bones --- blazerod/model/model-pmx/PmxLoader.kt | 38 ++++++++++----------------- 1 file changed, 14 insertions(+), 24 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 750c16cd..f444eaec 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1166,31 +1166,21 @@ class PmxLoader : ModelFileLoader { ) ) } - boneToRigidBodyMap[index]?.forEach { index -> - add( - NodeComponent.RigidBodyComponent( - rigidBodyId = RigidBodyId(modelId, index), - rigidBody = rigidBodies[index].let { rigidBody -> - val basePhysicsMode = when (rigidBody.physicsMode) { - PmxRigidBody.PhysicsMode.FOLLOW_BONE -> RigidBody.PhysicsMode.FOLLOW_BONE - PmxRigidBody.PhysicsMode.PHYSICS -> RigidBody.PhysicsMode.PHYSICS - PmxRigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> RigidBody.PhysicsMode.PHYSICS_PLUS_BONE - } - val adjustedPhysicsMode = - if (rigidBody.nameLocal.startsWith("Skirt_") && - rigidBody.nameLocal.endsWith("錘") && - basePhysicsMode == RigidBody.PhysicsMode.PHYSICS - ) { - RigidBody.PhysicsMode.PHYSICS_PLUS_BONE - } else { - basePhysicsMode - } - - val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF - if (rigidBody.nameLocal.startsWith("Skirt_")) { - collisionMask = collisionMask and baseGroup.inv() + val adjustedPhysicsMode = + if (rigidBody.nameLocal.startsWith("Skirt_") && + basePhysicsMode == RigidBody.PhysicsMode.PHYSICS + ) { + RigidBody.PhysicsMode.PHYSICS_PLUS_BONE + } else { + basePhysicsMode + } + + val baseGroup = 1 shl rigidBody.groupId + var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + if (rigidBody.nameLocal.startsWith("Skirt_")) { + collisionMask = collisionMask and baseGroup.inv() + } } RigidBody( From 1dcb22d98f02a87adae10d79036fc43d6ddd5461 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 15:29:27 +0700 Subject: [PATCH 073/112] Add a missing brace --- blazerod/model/model-pmx/PmxLoader.kt | 37 +++++++++++++++++---------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index f444eaec..4ab4bdde 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1166,21 +1166,30 @@ class PmxLoader : ModelFileLoader { ) ) } + boneToRigidBodyMap[index]?.forEach { index -> + add( + NodeComponent.RigidBodyComponent( + rigidBodyId = RigidBodyId(modelId, index), + rigidBody = rigidBodies[index].let { rigidBody -> + val basePhysicsMode = when (rigidBody.physicsMode) { + PmxRigidBody.PhysicsMode.FOLLOW_BONE -> RigidBody.PhysicsMode.FOLLOW_BONE + PmxRigidBody.PhysicsMode.PHYSICS -> RigidBody.PhysicsMode.PHYSICS + PmxRigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> RigidBody.PhysicsMode.PHYSICS_PLUS_BONE + } - val adjustedPhysicsMode = - if (rigidBody.nameLocal.startsWith("Skirt_") && - basePhysicsMode == RigidBody.PhysicsMode.PHYSICS - ) { - RigidBody.PhysicsMode.PHYSICS_PLUS_BONE - } else { - basePhysicsMode - } - - val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF - if (rigidBody.nameLocal.startsWith("Skirt_")) { - collisionMask = collisionMask and baseGroup.inv() - } + val adjustedPhysicsMode = + if (rigidBody.nameLocal.startsWith("Skirt_") && + basePhysicsMode == RigidBody.PhysicsMode.PHYSICS + ) { + RigidBody.PhysicsMode.PHYSICS_PLUS_BONE + } else { + basePhysicsMode + } + + val baseGroup = 1 shl rigidBody.groupId + var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + if (rigidBody.nameLocal.startsWith("Skirt_")) { + collisionMask = collisionMask and baseGroup.inv() } RigidBody( From 468f6828d49a5319140b0eb942fc4792ee959eb7 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 15:53:14 +0700 Subject: [PATCH 074/112] Changed the skirt B/C joints --- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index ea420611..30ac53ec 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -778,7 +778,7 @@ class ModelPreprocessor private constructor( else -> 0.6f } val spring = base * depthScaleForSpring - Vector3f(spring, spring, spring) + Vector3f(spring, spring * 0.35f, spring) } else if (name.startsWith("スカート横_")) { Vector3f(effectiveSpring, effectiveSpring, effectiveSpring) } else { From 7826e60607e70546983ee54ba686da2c0c34ca78 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 16:21:04 +0700 Subject: [PATCH 075/112] More logs --- blazerod/model/model-pmx/PmxLoader.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 4ab4bdde..eb803056 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1189,7 +1189,7 @@ class PmxLoader : ModelFileLoader { val baseGroup = 1 shl rigidBody.groupId var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF if (rigidBody.nameLocal.startsWith("Skirt_")) { - collisionMask = collisionMask and baseGroup.inv() + collisionMask = 0 } RigidBody( From f2a04ce9a38ab52b1f14783fa693222c5d6bbd24 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 16:37:44 +0700 Subject: [PATCH 076/112] More logs --- blazerod/model/model-pmx/PmxLoader.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index eb803056..347fd649 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1166,6 +1166,7 @@ class PmxLoader : ModelFileLoader { ) ) } + boneToRigidBodyMap[index]?.forEach { index -> add( NodeComponent.RigidBodyComponent( @@ -1188,6 +1189,15 @@ class PmxLoader : ModelFileLoader { val baseGroup = 1 shl rigidBody.groupId var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + println( + "PHYSDBG RB_GROUP " + + "idx=$index " + + "name=${rigidBody.nameLocal} " + + "groupId=${rigidBody.groupId} " + + "nonColl=${rigidBody.nonCollisionGroup} " + + "baseGroup=$baseGroup " + + "defaultMask=$collisionMask", + ) if (rigidBody.nameLocal.startsWith("Skirt_")) { collisionMask = 0 } From 93fcaea4c217891f531fe2eacda33a7526eca2c3 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 16:55:16 +0700 Subject: [PATCH 077/112] Skirt dont collide with weapon --- blazerod/model/model-pmx/PmxLoader.kt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 347fd649..32eb2b36 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1189,6 +1189,13 @@ class PmxLoader : ModelFileLoader { val baseGroup = 1 shl rigidBody.groupId var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + val defaultMask = collisionMask + if (rigidBody.nameLocal.startsWith("Skirt_")) { + // Keep skirt self-collision (group 9) but drop collisions with + // accessories/weapon (group 4) to avoid asymmetric pushing. + val accessoryGroupMask = 1 shl 4 + collisionMask = collisionMask and accessoryGroupMask.inv() + } println( "PHYSDBG RB_GROUP " + "idx=$index " + @@ -1196,11 +1203,9 @@ class PmxLoader : ModelFileLoader { "groupId=${rigidBody.groupId} " + "nonColl=${rigidBody.nonCollisionGroup} " + "baseGroup=$baseGroup " + - "defaultMask=$collisionMask", + "defaultMask=$defaultMask " + + "finalMask=$collisionMask", ) - if (rigidBody.nameLocal.startsWith("Skirt_")) { - collisionMask = 0 - } RigidBody( name = rigidBody.nameLocal.takeIf(String::isNotBlank), From 79d6dad5640095bd3551f7b7f8f4d1439ff032a8 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 17:29:28 +0700 Subject: [PATCH 078/112] Disable collisionMask --- blazerod/model/model-pmx/PmxLoader.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 32eb2b36..80ea871e 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1191,10 +1191,7 @@ class PmxLoader : ModelFileLoader { var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF val defaultMask = collisionMask if (rigidBody.nameLocal.startsWith("Skirt_")) { - // Keep skirt self-collision (group 9) but drop collisions with - // accessories/weapon (group 4) to avoid asymmetric pushing. - val accessoryGroupMask = 1 shl 4 - collisionMask = collisionMask and accessoryGroupMask.inv() + collisionMask = 0 } println( "PHYSDBG RB_GROUP " + From ebd0e04fc419d3456a896b29f3f56909df214407 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 17:49:59 +0700 Subject: [PATCH 079/112] Tighten the D ring --- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 30ac53ec..1b754e76 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -751,6 +751,7 @@ class ModelPreprocessor private constructor( val skirtSpring = 4.0f val baseSpringScale = when (ringChar) { 'B' -> 0.75f + 'D' -> 0.75f in 'C'..'Z' -> 0.5f else -> 1.0f } From 0d2d28a98cb84323d39ef70af45f8d6a397afa18 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 18:14:51 +0700 Subject: [PATCH 080/112] accessories follow the bone --- blazerod/model/model-pmx/PmxLoader.kt | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 80ea871e..5219d52c 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1178,14 +1178,18 @@ class PmxLoader : ModelFileLoader { PmxRigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> RigidBody.PhysicsMode.PHYSICS_PLUS_BONE } - val adjustedPhysicsMode = - if (rigidBody.nameLocal.startsWith("Skirt_") && - basePhysicsMode == RigidBody.PhysicsMode.PHYSICS - ) { + val nameLocal = rigidBody.nameLocal + val adjustedPhysicsMode = when { + nameLocal.startsWith("Ribbon_Braid_") -> basePhysicsMode + nameLocal.startsWith("Ribbon_") || + nameLocal.startsWith("Pocket Watch_") || + nameLocal.startsWith("Strap_") -> + RigidBody.PhysicsMode.FOLLOW_BONE + nameLocal.startsWith("Skirt_") && + basePhysicsMode == RigidBody.PhysicsMode.PHYSICS -> RigidBody.PhysicsMode.PHYSICS_PLUS_BONE - } else { - basePhysicsMode - } + else -> basePhysicsMode + } val baseGroup = 1 shl rigidBody.groupId var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF From c155444aa49b1fd6e1cf17e26562e37d11e5980a Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 20:12:07 +0700 Subject: [PATCH 081/112] Temporarily remove the physics from the skirt --- blazerod/model/model-pmx/PmxLoader.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 5219d52c..b2ef1da3 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1180,6 +1180,8 @@ class PmxLoader : ModelFileLoader { val nameLocal = rigidBody.nameLocal val adjustedPhysicsMode = when { + nameLocal.startsWith("Skirt_D_") -> + RigidBody.PhysicsMode.FOLLOW_BONE nameLocal.startsWith("Ribbon_Braid_") -> basePhysicsMode nameLocal.startsWith("Ribbon_") || nameLocal.startsWith("Pocket Watch_") || From 1a8dbc8b80a694a31d4e7d0d7c0f80830529a231 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Thu, 4 Dec 2025 21:45:38 +0700 Subject: [PATCH 082/112] Disable linear springs for B/C skirt --- .../main/runtime/load/ModelPreprocessor.kt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index 1b754e76..ad21fa4c 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -759,11 +759,15 @@ class ModelPreprocessor private constructor( val effectiveSpring = skirtSpring * springScale if (isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C' || ringChar == 'D')) { - val linearSpring = (skirtSpring * 0.5f) * springScale - if (linearSpring > 0f) { - // Apply linear spring only on the vertical axis so we pull the skirt - // panels toward the correct height without introducing a sideways bias. - positionSpring = Vector3f(0f, linearSpring, 0f) + if (ringChar == 'B' || ringChar == 'C') { + positionSpring = Vector3f(0f, 0f, 0f) + } else { + val linearSpring = (skirtSpring * 0.5f) * springScale + if (linearSpring > 0f) { + // Apply linear spring only on the vertical axis so we pull the skirt + // panels toward the correct height without introducing a sideways bias. + positionSpring = Vector3f(0f, linearSpring, 0f) + } } } @@ -778,7 +782,7 @@ class ModelPreprocessor private constructor( segmentIndex == 3 -> 0.8f else -> 0.6f } - val spring = base * depthScaleForSpring + val spring = base * depthScaleForSpring * 0.25f Vector3f(spring, spring * 0.35f, spring) } else if (name.startsWith("スカート横_")) { Vector3f(effectiveSpring, effectiveSpring, effectiveSpring) From 65924b55e1cf495039f4a0cea2aa7b60a1595851 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Fri, 5 Dec 2025 12:54:05 +0700 Subject: [PATCH 083/112] Added an extra clamp for B/C skirt joints --- blazerod/render/main/runtime/load/ModelPreprocessor.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index ad21fa4c..c458b328 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -679,6 +679,7 @@ class ModelPreprocessor private constructor( rotationMax = Vector3f(rotationMax).mul(angleScale) if (isOuterAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C')) { + val (baseMaxBend, baseMaxYaw) = when (ringChar) { 'B' -> 1.2f to 0.8f else -> 1.0f to 0.6f @@ -734,6 +735,12 @@ class ModelPreprocessor private constructor( ) } + if (isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C')) { + val smallYaw = 0.1f + rotationMin = Vector3f(rotationMin.x(), -smallYaw, rotationMin.z()) + rotationMax = Vector3f(rotationMax.x(), smallYaw, rotationMax.z()) + } + val allowLinearSlack = isAsciiSkirt && ringChar != null && (ringChar == 'B' || ringChar == 'C' || ringChar == 'D') && From dd44b07f855d9f1e5fff2b49fb6d2d058a1f90de Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 21 Dec 2025 14:30:02 +0700 Subject: [PATCH 084/112] Matching KAIMyEntity-C --- .gitignore | 3 + blazerod/model/model-pmx/PmxLoader.kt | 56 +++++++----- blazerod/render/api/resource/ModelInstance.kt | 2 + blazerod/render/api/resource/RenderScene.kt | 3 + blazerod/render/main/physics/PhysicsWorld.cpp | 31 +++---- .../render/main/runtime/ModelInstanceImpl.kt | 4 + .../render/main/runtime/RenderSceneImpl.kt | 5 +- .../main/runtime/load/ModelPreprocessor.kt | 6 +- .../mixin/HeldItemFeatureRendererMixin.java | 86 +++++++++++++++++++ .../armorstand/state/ModelController.kt | 74 +++++++++++++++- .../resources/armorstand.mixins.client.json | 1 + 11 files changed, 227 insertions(+), 44 deletions(-) create mode 100644 mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java diff --git a/.gitignore b/.gitignore index fcc31bab..290bbeda 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,6 @@ compile_commands.json .bazelbsp bazel-* external + +#KAIMyEntity-C +KAIMyEntity-C/ \ No newline at end of file diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index b2ef1da3..debb94b1 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1022,7 +1022,10 @@ class PmxLoader : ModelFileLoader { shape = loadShapeType(buffer.get()), shapeSize = loadVector3f(buffer).mul(MMD_SCALE), shapePosition = loadVector3f(buffer).transformPosition(), - shapeRotation = loadVector3f(buffer).also { it.y *= -1 }, + shapeRotation = loadVector3f(buffer).also { + it.y *= -1 + it.z *= -1 + }, mass = buffer.getFloat(), moveAttenuation = buffer.getFloat(), rotationDamping = buffer.getFloat(), @@ -1060,7 +1063,10 @@ class PmxLoader : ModelFileLoader { val rigidBodyIndexA = loadRigidBodyIndex(buffer) val rigidBodyIndexB = loadRigidBodyIndex(buffer) val position = loadVector3f(buffer).transformPosition() - val rotation = loadVector3f(buffer).also { it.y *= -1 } + val rotation = loadVector3f(buffer).also { + it.y *= -1 + it.z *= -1 + } val positionMinimumOrig = loadVector3f(buffer).transformPosition() val positionMaximumOrig = loadVector3f(buffer).transformPosition() @@ -1069,10 +1075,18 @@ class PmxLoader : ModelFileLoader { val rotationMinimumOrig = loadVector3f(buffer) val rotationMaximumOrig = loadVector3f(buffer) - val rotationMinimum = Vector3f(-rotationMaximumOrig.x, rotationMinimumOrig.y, rotationMinimumOrig.z) - val rotationMaximum = Vector3f(-rotationMinimumOrig.x, rotationMaximumOrig.y, rotationMaximumOrig.z) + val rotationMinimum = Vector3f( + rotationMinimumOrig.x, + -rotationMaximumOrig.y, + -rotationMaximumOrig.z, + ) + val rotationMaximum = Vector3f( + rotationMaximumOrig.x, + -rotationMinimumOrig.y, + -rotationMinimumOrig.z, + ) val positionSpring = loadVector3f(buffer) - val rotationSpring = loadVector3f(buffer).also { it.x *= -1 } + val rotationSpring = loadVector3f(buffer) PmxJoint( nameLocal = nameLocal, @@ -1172,6 +1186,7 @@ class PmxLoader : ModelFileLoader { NodeComponent.RigidBodyComponent( rigidBodyId = RigidBodyId(modelId, index), rigidBody = rigidBodies[index].let { rigidBody -> + val enableNameBasedOverrides = false val basePhysicsMode = when (rigidBody.physicsMode) { PmxRigidBody.PhysicsMode.FOLLOW_BONE -> RigidBody.PhysicsMode.FOLLOW_BONE PmxRigidBody.PhysicsMode.PHYSICS -> RigidBody.PhysicsMode.PHYSICS @@ -1179,26 +1194,27 @@ class PmxLoader : ModelFileLoader { } val nameLocal = rigidBody.nameLocal - val adjustedPhysicsMode = when { - nameLocal.startsWith("Skirt_D_") -> - RigidBody.PhysicsMode.FOLLOW_BONE - nameLocal.startsWith("Ribbon_Braid_") -> basePhysicsMode - nameLocal.startsWith("Ribbon_") || - nameLocal.startsWith("Pocket Watch_") || - nameLocal.startsWith("Strap_") -> - RigidBody.PhysicsMode.FOLLOW_BONE - nameLocal.startsWith("Skirt_") && - basePhysicsMode == RigidBody.PhysicsMode.PHYSICS -> - RigidBody.PhysicsMode.PHYSICS_PLUS_BONE - else -> basePhysicsMode + val adjustedPhysicsMode = if (enableNameBasedOverrides) { + when { + nameLocal.startsWith("Skirt_D_") -> + RigidBody.PhysicsMode.FOLLOW_BONE + nameLocal.startsWith("Ribbon_Braid_") -> basePhysicsMode + nameLocal.startsWith("Ribbon_") || + nameLocal.startsWith("Pocket Watch_") || + nameLocal.startsWith("Strap_") -> + RigidBody.PhysicsMode.FOLLOW_BONE + nameLocal.startsWith("Skirt_") && + basePhysicsMode == RigidBody.PhysicsMode.PHYSICS -> + RigidBody.PhysicsMode.PHYSICS_PLUS_BONE + else -> basePhysicsMode + } + } else { + basePhysicsMode } val baseGroup = 1 shl rigidBody.groupId var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF val defaultMask = collisionMask - if (rigidBody.nameLocal.startsWith("Skirt_")) { - collisionMask = 0 - } println( "PHYSDBG RB_GROUP " + "idx=$index " + diff --git a/blazerod/render/api/resource/ModelInstance.kt b/blazerod/render/api/resource/ModelInstance.kt index 09be283b..4c7c83f6 100644 --- a/blazerod/render/api/resource/ModelInstance.kt +++ b/blazerod/render/api/resource/ModelInstance.kt @@ -13,6 +13,8 @@ import java.util.function.Consumer interface ModelInstance : RefCount { val scene: RenderScene + fun copyNodeWorldTransform(nodeIndex: Int, dest: Matrix4f) + fun clearTransform() fun setTransformMatrix(nodeIndex: Int, transformId: TransformId, matrix: Matrix4f) fun setTransformMatrix(nodeIndex: Int, transformId: TransformId, updater: Consumer) diff --git a/blazerod/render/api/resource/RenderScene.kt b/blazerod/render/api/resource/RenderScene.kt index 729b9368..95804e8d 100644 --- a/blazerod/render/api/resource/RenderScene.kt +++ b/blazerod/render/api/resource/RenderScene.kt @@ -4,6 +4,7 @@ import top.fifthlight.blazerod.api.refcount.RefCount import top.fifthlight.blazerod.model.Camera import top.fifthlight.blazerod.model.HumanoidTag import top.fifthlight.blazerod.model.NodeId +import top.fifthlight.blazerod.model.NodeTransformView interface RenderScene : RefCount { val rootNode: RenderNode @@ -12,6 +13,8 @@ interface RenderScene : RefCount { val expressionGroups: List val cameras: List + val renderTransform: NodeTransformView? + val ikTargetData: List val nodeIdMap: Map val nodeNameMap: Map diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 0c1d5a76..2774b69a 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -192,6 +192,11 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c this->solver.get(), this->collision_config.get()); this->world->setGravity(btVector3(0, -98.0f, 0)); + btContactSolverInfo& solver_info = this->world->getSolverInfo(); + solver_info.m_numIterations = 20; + solver_info.m_splitImpulse = 1; + solver_info.m_splitImpulsePenetrationThreshold = -0.04f; + this->ground_shape = std::make_unique(btVector3(0, 1, 0), 0.0f); btTransform ground_transform; ground_transform.setIdentity(); @@ -301,6 +306,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c rigidbody_info.m_additionalDamping = true; auto rigidbody = std::make_unique(rigidbody_info); + rigidbody->setSleepingThresholds(0.01f, 0.0017453293f); this->world->addRigidBody(rigidbody.get(), rigidbody_item.collision_group, rigidbody_item.collision_mask); rigidbody->setActivationState(DISABLE_DEACTIVATION); if (rigidbody_item.physics_mode == PhysicsMode::FOLLOW_BONE) { @@ -336,9 +342,6 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c size_t joint_count = 0; for (const Joint& joint_item : joints) { size_t joint_index = joint_count++; - const float POSITION_SPRING_SCALE = 0.15f; - const float ROTATION_SPRING_SCALE = 0.15f; - const float SPRING_DAMPING = 1.0f; btMatrix3x3 rotation_matrix; // Match Saba's MMDPhysics PMX joint path: use preprocessed joint rotation directly. rotation_matrix.setEulerZYX( @@ -412,38 +415,30 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); - constraint->setStiffness(0, std::abs(joint_item.position_spring.x) * POSITION_SPRING_SCALE); - constraint->setDamping(0, SPRING_DAMPING); + constraint->setStiffness(0, joint_item.position_spring.x); } if (joint_item.position_spring.y != 0.0f) { constraint->enableSpring(1, true); - constraint->setStiffness(1, std::abs(joint_item.position_spring.y) * POSITION_SPRING_SCALE); - constraint->setDamping(1, SPRING_DAMPING); + constraint->setStiffness(1, joint_item.position_spring.y); } if (joint_item.position_spring.z != 0.0f) { constraint->enableSpring(2, true); - constraint->setStiffness(2, std::abs(joint_item.position_spring.z) * POSITION_SPRING_SCALE); - constraint->setDamping(2, SPRING_DAMPING); + constraint->setStiffness(2, joint_item.position_spring.z); } if (joint_item.rotation_spring.x != 0.0f) { constraint->enableSpring(3, true); - constraint->setStiffness(3, std::abs(joint_item.rotation_spring.x) * ROTATION_SPRING_SCALE); - constraint->setDamping(3, SPRING_DAMPING); + constraint->setStiffness(3, joint_item.rotation_spring.x); } if (joint_item.rotation_spring.y != 0.0f) { constraint->enableSpring(4, true); - constraint->setStiffness(4, std::abs(joint_item.rotation_spring.y) * ROTATION_SPRING_SCALE); - constraint->setDamping(4, SPRING_DAMPING); + constraint->setStiffness(4, joint_item.rotation_spring.y); } if (joint_item.rotation_spring.z != 0.0f) { constraint->enableSpring(5, true); - constraint->setStiffness(5, std::abs(joint_item.rotation_spring.z) * ROTATION_SPRING_SCALE); - constraint->setDamping(5, SPRING_DAMPING); + constraint->setStiffness(5, joint_item.rotation_spring.z); } - constraint->setEquilibriumPoint(); - - this->world->addConstraint(constraint.get(), true); + this->world->addConstraint(constraint.get(), false); this->joints.push_back(std::move(constraint)); } } diff --git a/blazerod/render/main/runtime/ModelInstanceImpl.kt b/blazerod/render/main/runtime/ModelInstanceImpl.kt index 6ae5f677..8fbcf4e9 100644 --- a/blazerod/render/main/runtime/ModelInstanceImpl.kt +++ b/blazerod/render/main/runtime/ModelInstanceImpl.kt @@ -42,6 +42,10 @@ class ModelInstanceImpl( override val typeId: String get() = "model_instance" + override fun copyNodeWorldTransform(nodeIndex: Int, dest: Matrix4f) { + dest.set(modelData.worldTransforms[nodeIndex]) + } + val modelData = ModelData(scene) internal val physicsData = if (PhysicsInterface.isPhysicsAvailable && scene.physicsScene != null) { PhysicsData(scene, modelData, scene.physicsScene) diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 24285893..947aa7c7 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -35,12 +35,13 @@ class RenderSceneImpl( override val expressionGroups: List, override val cameras: List, val physicsJoints: List, - val renderTransform: NodeTransform?, + override val renderTransform: NodeTransform?, ) : AbstractRefCount(), RenderScene { companion object { private const val PHYSICS_MAX_SUB_STEP_COUNT = 10 private const val PHYSICS_FPS = 120f private const val PHYSICS_TIME_STEP = 1f / PHYSICS_FPS + private const val PHYSICS_ENABLE_CLAMP = false } override val typeId: String @@ -170,7 +171,7 @@ class RenderSceneImpl( } data.world.pullTransforms(data.transformArray) - run { + if (PHYSICS_ENABLE_CLAMP) { val array = data.transformArray val basePos = Vector3f() val baseRot = Quaternionf() diff --git a/blazerod/render/main/runtime/load/ModelPreprocessor.kt b/blazerod/render/main/runtime/load/ModelPreprocessor.kt index c458b328..1e3bc916 100644 --- a/blazerod/render/main/runtime/load/ModelPreprocessor.kt +++ b/blazerod/render/main/runtime/load/ModelPreprocessor.kt @@ -650,7 +650,9 @@ class ModelPreprocessor private constructor( var positionSpring = joint.positionSpring var rotationSpring = joint.rotationSpring - if (name != null && (name.startsWith("Skirt_") || name.startsWith("スカート"))) { + val enableNameBasedPhysicsTuning = false + + if (enableNameBasedPhysicsTuning && name != null && (name.startsWith("Skirt_") || name.startsWith("スカート"))) { val isAsciiSkirt = name.startsWith("Skirt_") val ringChar = if (isAsciiSkirt) { name.substringAfter("Skirt_").substringBefore('_').singleOrNull() @@ -802,7 +804,7 @@ class ModelPreprocessor private constructor( } } - if (name != null && (name.startsWith("Hair_") || name.startsWith("Braid_") || name.startsWith("Ribbon_"))) { + if (enableNameBasedPhysicsTuning && name != null && (name.startsWith("Hair_") || name.startsWith("Braid_") || name.startsWith("Ribbon_"))) { val hairSpringScale = 0.25f rotationSpring = Vector3f(rotationSpring).mul(hairSpringScale) } diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java new file mode 100644 index 00000000..f4b1d701 --- /dev/null +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -0,0 +1,86 @@ +package top.fifthlight.armorstand.mixin; + +import net.minecraft.client.render.VertexConsumerProvider; +import net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer; +import net.minecraft.client.render.entity.model.ModelWithArms; +import net.minecraft.client.render.entity.state.ArmedEntityRenderState; +import net.minecraft.client.render.entity.state.PlayerEntityRenderState; +import net.minecraft.client.render.item.ItemRenderState; +import net.minecraft.client.util.math.MatrixStack; +import net.minecraft.util.Arm; +import org.joml.Matrix4f; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Redirect; +import top.fifthlight.armorstand.config.ConfigHolder; +import top.fifthlight.armorstand.extension.internal.PlayerEntityRenderStateExtInternal; +import top.fifthlight.armorstand.state.ModelInstanceManager; +import top.fifthlight.blazerod.model.HumanoidTag; +import top.fifthlight.blazerod.model.NodeTransformView; + +@Mixin(HeldItemFeatureRenderer.class) +public class HeldItemFeatureRendererMixin { + private static final Matrix4f ARMORSTAND$HAND_WORLD_MATRIX = new Matrix4f(); + private static final Matrix4f ARMORSTAND$ITEM_LOCAL_MATRIX = new Matrix4f(); + + @Redirect( + method = "renderItem(Lnet/minecraft/client/render/entity/state/ArmedEntityRenderState;Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V", + at = @At( + value = "INVOKE", + target = "Lnet/minecraft/client/render/entity/model/ModelWithArms;setArmAngle(Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;)V" + ) + ) + private void armorstand$redirectSetArmAngle( + ModelWithArms model, + Arm arm, + MatrixStack matrices, + ArmedEntityRenderState state, + ItemRenderState itemState, + Arm renderArm, + MatrixStack renderMatrices, + VertexConsumerProvider consumers, + int light + ) { + if (!(state instanceof PlayerEntityRenderState)) { + model.setArmAngle(arm, matrices); + return; + } + + var uuid = ((PlayerEntityRenderStateExtInternal) state).armorstand$getUuid(); + if (uuid == null) { + model.setArmAngle(arm, matrices); + return; + } + + var entry = ModelInstanceManager.INSTANCE.get(uuid, System.nanoTime(), true); + if (!(entry instanceof ModelInstanceManager.ModelInstanceItem.Model modelItem)) { + model.setArmAngle(arm, matrices); + return; + } + + var instance = modelItem.getInstance(); + var scene = instance.getScene(); + + var tag = arm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; + var node = scene.getHumanoidTagMap().get(tag); + if (node == null) { + model.setArmAngle(arm, matrices); + return; + } + + instance.copyNodeWorldTransform(node.getNodeIndex(), ARMORSTAND$HAND_WORLD_MATRIX); + + ARMORSTAND$ITEM_LOCAL_MATRIX.identity(); + ARMORSTAND$ITEM_LOCAL_MATRIX.scale(ConfigHolder.INSTANCE.getConfig().getValue().getModelScale()); + + NodeTransformView renderTransform = scene.getRenderTransform(); + if (renderTransform != null) { + renderTransform.applyOnMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); + } + + ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); + + matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); + matrices.peek().computeNormal(); + } +} diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index 3ed62a24..b930116c 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -5,6 +5,8 @@ import net.minecraft.client.render.entity.state.PlayerEntityRenderState import net.minecraft.entity.EntityPose import net.minecraft.entity.EntityType import net.minecraft.registry.tag.EntityTypeTags +import net.minecraft.registry.Registries +import net.minecraft.util.Hand import net.minecraft.util.Arm import net.minecraft.util.math.Direction import net.minecraft.util.math.MathHelper @@ -226,6 +228,12 @@ sealed interface ModelController { abstract fun getItem(set: FullAnimationSet): AnimationItemInstance open val loop: Boolean = true + data class ItemActive( + private val item: AnimationItemInstance, + ) : PlayState() { + override fun getItem(set: FullAnimationSet) = item + } + data object Idle : PlayState() { override fun getItem(set: FullAnimationSet) = set.idle } @@ -325,11 +333,54 @@ sealed interface ModelController { ) } + private fun Arm.toHandSide() = when (this) { + Arm.LEFT -> AnimationSet.ItemActiveKey.HandSide.LEFT + Arm.RIGHT -> AnimationSet.ItemActiveKey.HandSide.RIGHT + } + + private fun getItemActiveAnimation( + itemId: net.minecraft.util.Identifier, + arm: Arm, + actionType: AnimationSet.ItemActiveKey.ActionType, + ): AnimationItemInstance? { + val key = AnimationSet.ItemActiveKey( + itemName = itemId, + hand = arm.toHandSide(), + actionType = actionType, + ) + return animationSet.itemActive[key] + } + + private fun getSwingingHand(mainArm: Arm, arm: Arm): Hand = if (arm == mainArm) { + Hand.MAIN_HAND + } else { + Hand.OFF_HAND + } + private fun getState( player: AbstractClientPlayerEntity, renderState: PlayerEntityRenderState, ): PlayState { val vehicleType = player.vehicle?.type + + if (player.isUsingItem) { + val usedArm = when (player.activeHand) { + Hand.MAIN_HAND -> renderState.mainArm + Hand.OFF_HAND -> if (renderState.mainArm == Arm.RIGHT) Arm.LEFT else Arm.RIGHT + else -> renderState.mainArm + } + val stack = player.getStackInHand(player.activeHand) + val itemId = Registries.ITEM.getId(stack.item) + val itemActive = getItemActiveAnimation( + itemId = itemId, + arm = usedArm, + actionType = AnimationSet.ItemActiveKey.ActionType.USING, + ) + if (itemActive != null) { + return PlayState.ItemActive(itemActive) + } + } + return when { player.isDead -> PlayState.Dying @@ -365,8 +416,27 @@ sealed interface ModelController { player.movement.horizontalLength() > .05 -> PlayState.Walking renderState.handSwinging -> when (renderState.preferredArm) { - Arm.LEFT -> PlayState.LeftArmSwinging - Arm.RIGHT -> PlayState.RightArmSwinging + Arm.LEFT -> { + val stack = player.getStackInHand(getSwingingHand(renderState.mainArm, Arm.LEFT)) + val itemId = Registries.ITEM.getId(stack.item) + val itemActive = getItemActiveAnimation( + itemId = itemId, + arm = Arm.LEFT, + actionType = AnimationSet.ItemActiveKey.ActionType.SWINGING, + ) + itemActive?.let { PlayState.ItemActive(it) } ?: PlayState.LeftArmSwinging + } + + Arm.RIGHT -> { + val stack = player.getStackInHand(getSwingingHand(renderState.mainArm, Arm.RIGHT)) + val itemId = Registries.ITEM.getId(stack.item) + val itemActive = getItemActiveAnimation( + itemId = itemId, + arm = Arm.RIGHT, + actionType = AnimationSet.ItemActiveKey.ActionType.SWINGING, + ) + itemActive?.let { PlayState.ItemActive(it) } ?: PlayState.RightArmSwinging + } } else -> PlayState.Idle diff --git a/mod/src/client/resources/armorstand.mixins.client.json b/mod/src/client/resources/armorstand.mixins.client.json index a80f0b04..d1e84ad0 100644 --- a/mod/src/client/resources/armorstand.mixins.client.json +++ b/mod/src/client/resources/armorstand.mixins.client.json @@ -11,6 +11,7 @@ "EntityRenderDispatcherMixin", "FrustumMixin", "GameRendererMixin", + "HeldItemFeatureRendererMixin", "MinecraftClientMixin", "MouseMixin", "PlayerEntityRendererMixin", From 91f1d9249826003c8c7bdec8db82c683679f2149 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 21 Dec 2025 14:41:14 +0700 Subject: [PATCH 085/112] Fix Mixin Error --- .../armorstand/mixin/HeldItemFeatureRendererMixin.java | 1 - 1 file changed, 1 deletion(-) diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index f4b1d701..efe06c81 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -81,6 +81,5 @@ public class HeldItemFeatureRendererMixin { ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); - matrices.peek().computeNormal(); } } From 7f8fd0f7cbb82930c6b1469df1444f7cf299fe3c Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 21 Dec 2025 15:41:13 +0700 Subject: [PATCH 086/112] Fix Physic --- .gitignore | 1 - KAIMyEntity-C | 1 + .../render/main/runtime/RenderSceneImpl.kt | 22 +++++++++++++++++-- .../fifthlight/armorstand/PlayerRenderer.kt | 3 ++- 4 files changed, 23 insertions(+), 4 deletions(-) create mode 160000 KAIMyEntity-C diff --git a/.gitignore b/.gitignore index 290bbeda..ebe5ada6 100644 --- a/.gitignore +++ b/.gitignore @@ -56,4 +56,3 @@ bazel-* external #KAIMyEntity-C -KAIMyEntity-C/ \ No newline at end of file diff --git a/KAIMyEntity-C b/KAIMyEntity-C new file mode 160000 index 00000000..ef7d0922 --- /dev/null +++ b/KAIMyEntity-C @@ -0,0 +1 @@ +Subproject commit ef7d0922e22ba2b000bb8d703abc83651c10421e diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 947aa7c7..7b57fe7f 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -152,6 +152,21 @@ class RenderSceneImpl( instance.physicsData?.let { data -> if (data.lastPhysicsTime < 0) { data.lastPhysicsTime = time + + instance.updateWorldTransformsNoPhysics() + executePhase(instance, UpdatePhase.PhysicsUpdatePre) + data.world.pushTransforms(data.transformArray) + + val initPos = Vector3f() + val initRot = Quaternionf() + for ((nodeIndex, component) in rigidBodyComponents) { + val nodeWorld = instance.modelData.worldTransforms[nodeIndex] + nodeWorld.getTranslation(initPos) + nodeWorld.getUnnormalizedRotation(initRot) + data.world.resetRigidBody(component.rigidBodyIndex, initPos, initRot) + } + data.world.pullTransforms(data.transformArray) + return@let } val timeStep = time - data.lastPhysicsTime @@ -159,15 +174,18 @@ class RenderSceneImpl( return@let } + val maxTimeStep = PHYSICS_MAX_SUB_STEP_COUNT * PHYSICS_TIME_STEP + val clampedTimeStep = minOf(timeStep, maxTimeStep) + data.lastPhysicsTime = time instance.updateWorldTransformsNoPhysics() executePhase(instance, UpdatePhase.PhysicsUpdatePre) data.world.pushTransforms(data.transformArray) measureTime { - data.world.step(timeStep, PHYSICS_MAX_SUB_STEP_COUNT, PHYSICS_TIME_STEP) + data.world.step(clampedTimeStep, PHYSICS_MAX_SUB_STEP_COUNT, PHYSICS_TIME_STEP) }.let { - println("Physics step time: $it, timeStep: $timeStep") + println("Physics step time: $it, timeStep: $clampedTimeStep") } data.world.pullTransforms(data.transformArray) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 618733c3..30558ed7 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -20,6 +20,7 @@ import java.util.* object PlayerRenderer { private const val NANOSECONDS_PER_SECOND = 1_000_000_000L + private val startNanoTime = System.nanoTime() private var renderingWorld = false private var prevModelItem = WeakReference(null) @@ -93,7 +94,7 @@ object PlayerRenderer { val controller = entry.controller val instance = entry.instance - val time = System.nanoTime().toFloat() / NANOSECONDS_PER_SECOND.toFloat() + val time = (System.nanoTime() - startNanoTime).toFloat() / NANOSECONDS_PER_SECOND.toFloat() controller.apply(uuid, instance, vanillaState) instance.updateRenderData(time) From 24542072b57ac28985aa2aa04781e591b05223b4 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 22 Dec 2025 09:57:04 +0700 Subject: [PATCH 087/112] Fix Physic --- .gitignore | 1 + blazerod/model/model-pmx/PmxLoader.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ebe5ada6..290bbeda 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,4 @@ bazel-* external #KAIMyEntity-C +KAIMyEntity-C/ \ No newline at end of file diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index debb94b1..03079381 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + var collisionMask = rigidBody.nonCollisionGroup and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + From 99bc2d78bbc1e1993bf2ee139506fd930e6bb464 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 22 Dec 2025 12:36:44 +0700 Subject: [PATCH 088/112] Fix Physic --- .../node/component/RigidBodyComponent.kt | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index 9331a978..d2f03c72 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -9,8 +9,8 @@ import top.fifthlight.blazerod.model.TransformId import top.fifthlight.blazerod.runtime.ModelInstanceImpl import top.fifthlight.blazerod.runtime.node.RenderNodeImpl import top.fifthlight.blazerod.runtime.node.UpdatePhase +import top.fifthlight.blazerod.runtime.node.getTransformMap import top.fifthlight.blazerod.runtime.node.getWorldTransform -import top.fifthlight.blazerod.runtime.node.getWorldTransformNoPhysics class RigidBodyComponent( val rigidBodyIndex: Int, @@ -33,6 +33,7 @@ class RigidBodyComponent( private val physicsMatrix = Matrix4f() private val inverseNodeWorldMatrix = Matrix4f() private val baseWorldMatrix = Matrix4f() + private val parentWorldMatrix = Matrix4f() private val tempPos = Vector3f() private val tempRot = Quaternionf() @@ -84,7 +85,29 @@ class RigidBodyComponent( val qw = array[offset + 6] physicsMatrix.translationRotate(px, py, pz, qx, qy, qz, qw) - baseWorldMatrix.set(instance.getWorldTransformNoPhysics(node)) + val localBase = instance.getTransformMap(node).getSum(TransformId.EXTERNAL_PARENT_DEFORM) + baseWorldMatrix.set(localBase) + val parent = node.parent + if (parent != null) { + val parentRigidBody = parent + .getComponentsOfType(RenderNodeComponent.Type.RigidBody) + .firstOrNull() + if (parentRigidBody != null) { + val parentOffset = parentRigidBody.rigidBodyIndex * 7 + parentWorldMatrix.translationRotate( + physicsData.transformArray[parentOffset + 0], + physicsData.transformArray[parentOffset + 1], + physicsData.transformArray[parentOffset + 2], + physicsData.transformArray[parentOffset + 3], + physicsData.transformArray[parentOffset + 4], + physicsData.transformArray[parentOffset + 5], + physicsData.transformArray[parentOffset + 6], + ) + } else { + parentWorldMatrix.set(instance.getWorldTransform(parent)) + } + parentWorldMatrix.mul(baseWorldMatrix, baseWorldMatrix) + } if (rigidBodyData.physicsMode == RigidBody.PhysicsMode.PHYSICS_PLUS_BONE) { baseWorldMatrix.getTranslation(tempPos) physicsMatrix.setTranslation(tempPos) From 1e69af804c59bee3450812617a0c616108af8233 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Mon, 22 Dec 2025 21:08:00 +0700 Subject: [PATCH 089/112] Fix Physic and Animation --- .../main/animation/AnimationItemImpl.kt | 8 +- .../node/component/RigidBodyComponent.kt | 3 +- .../armorstand/state/ModelController.kt | 189 ++++++++++++++---- 3 files changed, 157 insertions(+), 43 deletions(-) diff --git a/blazerod/render/main/animation/AnimationItemImpl.kt b/blazerod/render/main/animation/AnimationItemImpl.kt index c12c9ffe..ca8e172e 100644 --- a/blazerod/render/main/animation/AnimationItemImpl.kt +++ b/blazerod/render/main/animation/AnimationItemImpl.kt @@ -76,10 +76,10 @@ class AnimationItemInstanceImpl(val animationItem: AnimationItemImpl) : Animatio pendingValues.pendingValues[index].let { pendingValue -> channel.applyUnsafe(instance, pendingValue) } - if (!pendingValues.applied) { - pendingValues.applied = true - pendingStack.addLast(pendingValues) - } + } + if (!pendingValues.applied) { + pendingValues.applied = true + pendingStack.addLast(pendingValues) } } } diff --git a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt index d2f03c72..f94766bf 100644 --- a/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt +++ b/blazerod/render/main/runtime/node/component/RigidBodyComponent.kt @@ -11,6 +11,7 @@ import top.fifthlight.blazerod.runtime.node.RenderNodeImpl import top.fifthlight.blazerod.runtime.node.UpdatePhase import top.fifthlight.blazerod.runtime.node.getTransformMap import top.fifthlight.blazerod.runtime.node.getWorldTransform +import top.fifthlight.blazerod.runtime.node.getWorldTransformNoPhysics class RigidBodyComponent( val rigidBodyIndex: Int, @@ -48,7 +49,7 @@ class RigidBodyComponent( is UpdatePhase.PhysicsUpdatePre -> { when (rigidBodyData.physicsMode) { RigidBody.PhysicsMode.FOLLOW_BONE, RigidBody.PhysicsMode.PHYSICS_PLUS_BONE -> { - val nodeTransformMatrix = instance.getWorldTransform(node) + val nodeTransformMatrix = instance.getWorldTransformNoPhysics(node) nodeTransformMatrix.getTranslation(tempPos) nodeTransformMatrix.getUnnormalizedRotation(tempRot) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index b930116c..c55a449f 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -15,6 +15,7 @@ import top.fifthlight.armorstand.util.toRadian import top.fifthlight.armorstand.vmc.VmcMarionetteManager import top.fifthlight.blazerod.api.animation.AnimationContextsFactory import top.fifthlight.blazerod.api.animation.AnimationItemInstance +import top.fifthlight.blazerod.api.animation.AnimationItemPendingValues import top.fifthlight.blazerod.api.resource.ModelInstance import top.fifthlight.blazerod.api.resource.RenderExpression import top.fifthlight.blazerod.api.resource.RenderExpressionGroup @@ -25,6 +26,7 @@ import top.fifthlight.blazerod.model.NodeTransform import top.fifthlight.blazerod.model.TransformId import top.fifthlight.blazerod.model.animation.AnimationContext import top.fifthlight.blazerod.model.animation.AnimationState +import top.fifthlight.blazerod.model.animation.SimpleAnimationState import java.util.* import kotlin.math.PI import kotlin.math.sin @@ -317,9 +319,21 @@ sealed interface ModelController { } } - private var playState: PlayState = PlayState.Idle - override var animationState: AnimationState = playState.getItem(animationSet).createState(context) - private var item: AnimationItemInstance? = null + private data class LayeredPendingValues( + val baseInstance: AnimationItemInstance, + val baseValues: AnimationItemPendingValues, + val overlayInstance: AnimationItemInstance?, + val overlayValues: AnimationItemPendingValues?, + ) : AnimationItemPendingValues + + private var basePlayState: PlayState = PlayState.Idle + override var animationState: AnimationState = basePlayState.getItem(animationSet).createState(context) + private var baseItem: AnimationItemInstance = basePlayState.getItem(animationSet) + private var overlayItem: AnimationItemInstance? = null + private var overlayState: AnimationState? = null + private var overlayLoop: Boolean = true + private var keepOverlayUntilFinished: Boolean = false + private var prevHandSwinging: Boolean = false private var reset = false companion object { @@ -357,30 +371,12 @@ sealed interface ModelController { Hand.OFF_HAND } - private fun getState( + private fun getBaseState( player: AbstractClientPlayerEntity, renderState: PlayerEntityRenderState, ): PlayState { val vehicleType = player.vehicle?.type - if (player.isUsingItem) { - val usedArm = when (player.activeHand) { - Hand.MAIN_HAND -> renderState.mainArm - Hand.OFF_HAND -> if (renderState.mainArm == Arm.RIGHT) Arm.LEFT else Arm.RIGHT - else -> renderState.mainArm - } - val stack = player.getStackInHand(player.activeHand) - val itemId = Registries.ITEM.getId(stack.item) - val itemActive = getItemActiveAnimation( - itemId = itemId, - arm = usedArm, - actionType = AnimationSet.ItemActiveKey.ActionType.USING, - ) - if (itemActive != null) { - return PlayState.ItemActive(itemActive) - } - } - return when { player.isDead -> PlayState.Dying @@ -415,7 +411,34 @@ sealed interface ModelController { player.movement.horizontalLength() > .05 -> PlayState.Walking - renderState.handSwinging -> when (renderState.preferredArm) { + else -> PlayState.Idle + } + } + + private fun getOverlayItem( + player: AbstractClientPlayerEntity, + renderState: PlayerEntityRenderState, + ): Pair? { + if (player.isUsingItem) { + val usedArm = when (player.activeHand) { + Hand.MAIN_HAND -> renderState.mainArm + Hand.OFF_HAND -> if (renderState.mainArm == Arm.RIGHT) Arm.LEFT else Arm.RIGHT + else -> renderState.mainArm + } + val stack = player.getStackInHand(player.activeHand) + val itemId = Registries.ITEM.getId(stack.item) + val itemActive = getItemActiveAnimation( + itemId = itemId, + arm = usedArm, + actionType = AnimationSet.ItemActiveKey.ActionType.USING, + ) + if (itemActive != null) { + return Pair(itemActive, true) + } + } + + if (renderState.handSwinging) { + return when (renderState.preferredArm) { Arm.LEFT -> { val stack = player.getStackInHand(getSwingingHand(renderState.mainArm, Arm.LEFT)) val itemId = Registries.ITEM.getId(stack.item) @@ -424,7 +447,7 @@ sealed interface ModelController { arm = Arm.LEFT, actionType = AnimationSet.ItemActiveKey.ActionType.SWINGING, ) - itemActive?.let { PlayState.ItemActive(it) } ?: PlayState.LeftArmSwinging + Pair(itemActive ?: animationSet.swingLeft, false) } Arm.RIGHT -> { @@ -435,11 +458,32 @@ sealed interface ModelController { arm = Arm.RIGHT, actionType = AnimationSet.ItemActiveKey.ActionType.SWINGING, ) - itemActive?.let { PlayState.ItemActive(it) } ?: PlayState.RightArmSwinging + Pair(itemActive ?: animationSet.swingRight, false) } } + } - else -> PlayState.Idle + return null + } + + private fun configureLoop(state: AnimationState, loop: Boolean) { + if (state is SimpleAnimationState) { + state.loop = loop + } + } + + private fun isFinished(state: AnimationState?): Boolean { + state ?: return true + return when (state) { + is SimpleAnimationState -> !state.loop && state.getTime() >= state.duration - 1e-4f + else -> { + val duration = state.duration + if (duration == null) { + !state.playing + } else { + !state.playing && state.getTime() >= duration - 1e-4f + } + } } } @@ -448,28 +492,97 @@ sealed interface ModelController { player: AbstractClientPlayerEntity, renderState: PlayerEntityRenderState, ): Unit = AnimationContextsFactory.create().player(player).let { context -> - val newState = getState(player, renderState) - if (newState != playState) { - this.playState = newState - } - val newItem = newState.getItem(animationSet) - if (newItem != item) { - animationState = newItem.createState(context) - item = newItem + val newBaseState = getBaseState(player, renderState) + if (newBaseState != basePlayState) { + this.basePlayState = newBaseState + } + val newBaseItem = newBaseState.getItem(animationSet) + if (newBaseItem != baseItem) { + animationState = newBaseItem.createState(context).also { configureLoop(it, newBaseState.loop) } + baseItem = newBaseItem reset = true } + configureLoop(animationState, newBaseState.loop) animationState.updateTime(context) - renderState.animationPendingValues = item?.update(context, animationState) + val basePending = baseItem.update(context, animationState) + + val overlayRequest = when (newBaseState) { + PlayState.Dying, + PlayState.Sleeping, + PlayState.ElytraFly, + PlayState.Swimming, + PlayState.Crawling, + PlayState.CrawlIdle, + PlayState.OnClimbable, + PlayState.OnClimbableUp, + PlayState.OnClimbableDown, + PlayState.Riding, + PlayState.OnHorse, + PlayState.OnPig, + PlayState.OnBoat, + -> null + else -> getOverlayItem(player, renderState) + } + + val (requestedOverlayItem, requestedOverlayLoop) = overlayRequest ?: Pair(null, null) + val handSwingingRisingEdge = renderState.handSwinging && !prevHandSwinging + val shouldRestartOverlay = handSwingingRisingEdge && requestedOverlayLoop == false + + val keepExistingOverlay = + requestedOverlayItem == null && keepOverlayUntilFinished && !isFinished(overlayState) + val effectiveOverlayItem = if (keepExistingOverlay) overlayItem else requestedOverlayItem + val effectiveOverlayLoop = if (keepExistingOverlay) overlayLoop else (requestedOverlayLoop ?: true) + val effectiveKeepUntilFinished = if (keepExistingOverlay) keepOverlayUntilFinished else (requestedOverlayLoop == false) + + val overlayChanged = effectiveOverlayItem != overlayItem || shouldRestartOverlay + if (overlayChanged) { + overlayItem = effectiveOverlayItem + overlayLoop = effectiveOverlayLoop + keepOverlayUntilFinished = effectiveKeepUntilFinished + overlayState = effectiveOverlayItem?.createState(context)?.also { configureLoop(it, effectiveOverlayLoop) } + } else { + overlayLoop = effectiveOverlayLoop + keepOverlayUntilFinished = effectiveKeepUntilFinished + overlayState?.let { configureLoop(it, effectiveOverlayLoop) } + } + + prevHandSwinging = renderState.handSwinging + + overlayState?.updateTime(context) + val overlayPending = overlayItem?.let { item -> + overlayState?.let { state -> + item.update(context, state) + } + } + + renderState.animationPendingValues = LayeredPendingValues( + baseInstance = baseItem, + baseValues = basePending, + overlayInstance = overlayItem, + overlayValues = overlayPending, + ) } override fun apply(uuid: UUID, instance: ModelInstance, renderState: PlayerEntityRenderState) { - val item = item ?: return if (reset) { instance.clearTransform() reset = false } - renderState.animationPendingValues?.let { - item.apply(instance, it) + renderState.animationPendingValues?.let { pending -> + when (pending) { + is LayeredPendingValues -> { + pending.baseInstance.apply(instance, pending.baseValues) + pending.overlayInstance?.let { overlayInstance -> + pending.overlayValues?.let { overlayValues -> + overlayInstance.apply(instance, overlayValues) + } + } + } + + else -> { + baseItem.apply(instance, pending) + } + } renderState.animationPendingValues = null } From 784892937861b6003b522d8581114f59ceaf2ab7 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Tue, 23 Dec 2025 11:16:04 +0700 Subject: [PATCH 090/112] Fix Physic and Animation --- blazerod/model/model-pmx/PmxLoader.kt | 2 +- .../mixin/HeldItemFeatureRendererMixin.java | 17 +++++++-- .../fifthlight/armorstand/PlayerRenderer.kt | 5 +++ .../armorstand/state/ModelController.kt | 35 +++++++++++-------- 4 files changed, 42 insertions(+), 17 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 03079381..debb94b1 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup and 0xFFFF + var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index efe06c81..cf23c6ac 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -7,6 +7,7 @@ import net.minecraft.client.render.entity.state.PlayerEntityRenderState; import net.minecraft.client.render.item.ItemRenderState; import net.minecraft.client.util.math.MatrixStack; +import net.minecraft.entity.EntityPose; import net.minecraft.util.Arm; import org.joml.Matrix4f; import org.spongepowered.asm.mixin.Mixin; @@ -21,8 +22,13 @@ @Mixin(HeldItemFeatureRenderer.class) public class HeldItemFeatureRendererMixin { private static final Matrix4f ARMORSTAND$HAND_WORLD_MATRIX = new Matrix4f(); + private static final Matrix4f ARMORSTAND$ROOT_WORLD_MATRIX = new Matrix4f(); + private static final Matrix4f ARMORSTAND$ROOT_WORLD_INV_MATRIX = new Matrix4f(); + private static final Matrix4f ARMORSTAND$HAND_RELATIVE_MATRIX = new Matrix4f(); private static final Matrix4f ARMORSTAND$ITEM_LOCAL_MATRIX = new Matrix4f(); + private static final float ARMORSTAND$CROUCH_Y_OFFSET = 0.125f; + @Redirect( method = "renderItem(Lnet/minecraft/client/render/entity/state/ArmedEntityRenderState;Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V", at = @At( @@ -61,7 +67,7 @@ public class HeldItemFeatureRendererMixin { var instance = modelItem.getInstance(); var scene = instance.getScene(); - var tag = arm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; + var tag = renderArm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; var node = scene.getHumanoidTagMap().get(tag); if (node == null) { model.setArmAngle(arm, matrices); @@ -70,7 +76,14 @@ public class HeldItemFeatureRendererMixin { instance.copyNodeWorldTransform(node.getNodeIndex(), ARMORSTAND$HAND_WORLD_MATRIX); + instance.copyNodeWorldTransform(scene.getRootNode().getNodeIndex(), ARMORSTAND$ROOT_WORLD_MATRIX); + ARMORSTAND$ROOT_WORLD_INV_MATRIX.set(ARMORSTAND$ROOT_WORLD_MATRIX).invert(); + ARMORSTAND$HAND_RELATIVE_MATRIX.set(ARMORSTAND$ROOT_WORLD_INV_MATRIX).mul(ARMORSTAND$HAND_WORLD_MATRIX); + ARMORSTAND$ITEM_LOCAL_MATRIX.identity(); + if (((PlayerEntityRenderState) state).pose == EntityPose.CROUCHING) { + ARMORSTAND$ITEM_LOCAL_MATRIX.translate(0.0f, ARMORSTAND$CROUCH_Y_OFFSET, 0.0f); + } ARMORSTAND$ITEM_LOCAL_MATRIX.scale(ConfigHolder.INSTANCE.getConfig().getValue().getModelScale()); NodeTransformView renderTransform = scene.getRenderTransform(); @@ -78,7 +91,7 @@ public class HeldItemFeatureRendererMixin { renderTransform.applyOnMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); } - ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); + ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_RELATIVE_MATRIX); matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 30558ed7..18a2be28 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -8,6 +8,7 @@ import net.minecraft.client.network.AbstractClientPlayerEntity import net.minecraft.client.render.VertexConsumerProvider import net.minecraft.client.render.entity.state.PlayerEntityRenderState import net.minecraft.client.util.math.MatrixStack +import net.minecraft.entity.EntityPose import org.joml.Matrix4f import top.fifthlight.armorstand.config.ConfigHolder import top.fifthlight.armorstand.state.ModelInstanceManager @@ -20,6 +21,7 @@ import java.util.* object PlayerRenderer { private const val NANOSECONDS_PER_SECOND = 1_000_000_000L + private const val CROUCH_Y_OFFSET = 0.125f private val startNanoTime = System.nanoTime() private var renderingWorld = false @@ -106,6 +108,9 @@ object PlayerRenderer { instance.debugRender(matrixStack.peek().positionMatrix, consumers, time) } else { matrix.set(matrixStack.peek().positionMatrix) + if (vanillaState.pose == EntityPose.CROUCHING) { + matrix.translate(0f, CROUCH_Y_OFFSET, 0f) + } matrix.scale(ConfigHolder.config.value.modelScale) val currentRenderer = RendererManager.currentRenderer val task = instance.createRenderTask(matrix, light, overlay) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index c55a449f..201dee30 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -333,6 +333,7 @@ sealed interface ModelController { private var overlayState: AnimationState? = null private var overlayLoop: Boolean = true private var keepOverlayUntilFinished: Boolean = false + private var prevIsUsingItem: Boolean = false private var prevHandSwinging: Boolean = false private var reset = false @@ -420,21 +421,26 @@ sealed interface ModelController { renderState: PlayerEntityRenderState, ): Pair? { if (player.isUsingItem) { - val usedArm = when (player.activeHand) { - Hand.MAIN_HAND -> renderState.mainArm - Hand.OFF_HAND -> if (renderState.mainArm == Arm.RIGHT) Arm.LEFT else Arm.RIGHT - else -> renderState.mainArm - } - val stack = player.getStackInHand(player.activeHand) - val itemId = Registries.ITEM.getId(stack.item) - val itemActive = getItemActiveAnimation( - itemId = itemId, - arm = usedArm, - actionType = AnimationSet.ItemActiveKey.ActionType.USING, - ) - if (itemActive != null) { - return Pair(itemActive, true) + // Trigger once on rising edge; holding right-click should not replay the animation every tick. + if (!prevIsUsingItem) { + val usedArm = when (player.activeHand) { + Hand.MAIN_HAND -> renderState.mainArm + Hand.OFF_HAND -> if (renderState.mainArm == Arm.RIGHT) Arm.LEFT else Arm.RIGHT + else -> renderState.mainArm + } + val stack = player.getStackInHand(player.activeHand) + val itemId = Registries.ITEM.getId(stack.item) + val itemActive = getItemActiveAnimation( + itemId = itemId, + arm = usedArm, + actionType = AnimationSet.ItemActiveKey.ActionType.USING, + ) + if (itemActive != null) { + return Pair(itemActive, false) + } } + // While using (but not a new use), don't fall back to swing overlay. + return null } if (renderState.handSwinging) { @@ -547,6 +553,7 @@ sealed interface ModelController { } prevHandSwinging = renderState.handSwinging + prevIsUsingItem = player.isUsingItem overlayState?.updateTime(context) val overlayPending = overlayItem?.let { item -> From 8260794d3a35438d83c9888d2f1ebdf4bbcf2b85 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Tue, 23 Dec 2025 12:53:39 +0700 Subject: [PATCH 091/112] Fix Physic and Animation --- blazerod/model/model-pmx/PmxLoader.kt | 2 +- .../mixin/HeldItemFeatureRendererMixin.java | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index debb94b1..03079381 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + var collisionMask = rigidBody.nonCollisionGroup and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index cf23c6ac..2e4df777 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -22,9 +22,6 @@ @Mixin(HeldItemFeatureRenderer.class) public class HeldItemFeatureRendererMixin { private static final Matrix4f ARMORSTAND$HAND_WORLD_MATRIX = new Matrix4f(); - private static final Matrix4f ARMORSTAND$ROOT_WORLD_MATRIX = new Matrix4f(); - private static final Matrix4f ARMORSTAND$ROOT_WORLD_INV_MATRIX = new Matrix4f(); - private static final Matrix4f ARMORSTAND$HAND_RELATIVE_MATRIX = new Matrix4f(); private static final Matrix4f ARMORSTAND$ITEM_LOCAL_MATRIX = new Matrix4f(); private static final float ARMORSTAND$CROUCH_Y_OFFSET = 0.125f; @@ -67,7 +64,7 @@ public class HeldItemFeatureRendererMixin { var instance = modelItem.getInstance(); var scene = instance.getScene(); - var tag = renderArm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; + var tag = arm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; var node = scene.getHumanoidTagMap().get(tag); if (node == null) { model.setArmAngle(arm, matrices); @@ -76,10 +73,6 @@ public class HeldItemFeatureRendererMixin { instance.copyNodeWorldTransform(node.getNodeIndex(), ARMORSTAND$HAND_WORLD_MATRIX); - instance.copyNodeWorldTransform(scene.getRootNode().getNodeIndex(), ARMORSTAND$ROOT_WORLD_MATRIX); - ARMORSTAND$ROOT_WORLD_INV_MATRIX.set(ARMORSTAND$ROOT_WORLD_MATRIX).invert(); - ARMORSTAND$HAND_RELATIVE_MATRIX.set(ARMORSTAND$ROOT_WORLD_INV_MATRIX).mul(ARMORSTAND$HAND_WORLD_MATRIX); - ARMORSTAND$ITEM_LOCAL_MATRIX.identity(); if (((PlayerEntityRenderState) state).pose == EntityPose.CROUCHING) { ARMORSTAND$ITEM_LOCAL_MATRIX.translate(0.0f, ARMORSTAND$CROUCH_Y_OFFSET, 0.0f); @@ -91,7 +84,7 @@ public class HeldItemFeatureRendererMixin { renderTransform.applyOnMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); } - ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_RELATIVE_MATRIX); + ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); } From 1b0042dc3423141e8d314b409a3871d009981b8f Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Tue, 23 Dec 2025 14:52:13 +0700 Subject: [PATCH 092/112] Fix Physic and Animation --- blazerod/model/model-pmx/PmxLoader.kt | 2 +- .../fifthlight/armorstand/state/ModelController.kt | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 03079381..debb94b1 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup and 0xFFFF + var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index 201dee30..3b39d4c2 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -335,6 +335,7 @@ sealed interface ModelController { private var keepOverlayUntilFinished: Boolean = false private var prevIsUsingItem: Boolean = false private var prevHandSwinging: Boolean = false + private var lastSwingOverlayStartTick: Long = Long.MIN_VALUE private var reset = false companion object { @@ -531,8 +532,11 @@ sealed interface ModelController { } val (requestedOverlayItem, requestedOverlayLoop) = overlayRequest ?: Pair(null, null) + val nowTick = context.getGameTick() val handSwingingRisingEdge = renderState.handSwinging && !prevHandSwinging - val shouldRestartOverlay = handSwingingRisingEdge && requestedOverlayLoop == false + val swingCooldownActive = + renderState.handSwinging && requestedOverlayLoop == false && (nowTick - lastSwingOverlayStartTick) <= 2 + val shouldRestartOverlay = handSwingingRisingEdge && requestedOverlayLoop == false && !swingCooldownActive val keepExistingOverlay = requestedOverlayItem == null && keepOverlayUntilFinished && !isFinished(overlayState) @@ -540,12 +544,16 @@ sealed interface ModelController { val effectiveOverlayLoop = if (keepExistingOverlay) overlayLoop else (requestedOverlayLoop ?: true) val effectiveKeepUntilFinished = if (keepExistingOverlay) keepOverlayUntilFinished else (requestedOverlayLoop == false) - val overlayChanged = effectiveOverlayItem != overlayItem || shouldRestartOverlay + val overlayChanged = (effectiveOverlayItem != overlayItem || shouldRestartOverlay) && !swingCooldownActive if (overlayChanged) { overlayItem = effectiveOverlayItem overlayLoop = effectiveOverlayLoop keepOverlayUntilFinished = effectiveKeepUntilFinished overlayState = effectiveOverlayItem?.createState(context)?.also { configureLoop(it, effectiveOverlayLoop) } + + if (renderState.handSwinging && effectiveOverlayItem != null && effectiveOverlayLoop == false) { + lastSwingOverlayStartTick = nowTick + } } else { overlayLoop = effectiveOverlayLoop keepOverlayUntilFinished = effectiveKeepUntilFinished From 034e18afe22b8f10c128ba698f9879024b31652e Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Tue, 23 Dec 2025 17:10:53 +0700 Subject: [PATCH 093/112] Revert + Fix --- blazerod/model/model-pmx/PmxLoader.kt | 2 +- .../mixin/HeldItemFeatureRendererMixin.java | 15 +++--- .../fifthlight/armorstand/PlayerRenderer.kt | 5 -- .../armorstand/state/ModelController.kt | 47 +++++++------------ 4 files changed, 24 insertions(+), 45 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index debb94b1..8bbfab91 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + var collisionMask = (rigidBody.nonCollisionGroup xor 0xFFFF) and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index 2e4df777..33a1949f 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -7,8 +7,8 @@ import net.minecraft.client.render.entity.state.PlayerEntityRenderState; import net.minecraft.client.render.item.ItemRenderState; import net.minecraft.client.util.math.MatrixStack; -import net.minecraft.entity.EntityPose; import net.minecraft.util.Arm; +import org.joml.Matrix3f; import org.joml.Matrix4f; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; @@ -23,8 +23,7 @@ public class HeldItemFeatureRendererMixin { private static final Matrix4f ARMORSTAND$HAND_WORLD_MATRIX = new Matrix4f(); private static final Matrix4f ARMORSTAND$ITEM_LOCAL_MATRIX = new Matrix4f(); - - private static final float ARMORSTAND$CROUCH_Y_OFFSET = 0.125f; + private static final Matrix3f ARMORSTAND$ITEM_LOCAL_NORMAL_MATRIX = new Matrix3f(); @Redirect( method = "renderItem(Lnet/minecraft/client/render/entity/state/ArmedEntityRenderState;Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V", @@ -64,7 +63,7 @@ public class HeldItemFeatureRendererMixin { var instance = modelItem.getInstance(); var scene = instance.getScene(); - var tag = arm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; + var tag = renderArm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; var node = scene.getHumanoidTagMap().get(tag); if (node == null) { model.setArmAngle(arm, matrices); @@ -74,9 +73,6 @@ public class HeldItemFeatureRendererMixin { instance.copyNodeWorldTransform(node.getNodeIndex(), ARMORSTAND$HAND_WORLD_MATRIX); ARMORSTAND$ITEM_LOCAL_MATRIX.identity(); - if (((PlayerEntityRenderState) state).pose == EntityPose.CROUCHING) { - ARMORSTAND$ITEM_LOCAL_MATRIX.translate(0.0f, ARMORSTAND$CROUCH_Y_OFFSET, 0.0f); - } ARMORSTAND$ITEM_LOCAL_MATRIX.scale(ConfigHolder.INSTANCE.getConfig().getValue().getModelScale()); NodeTransformView renderTransform = scene.getRenderTransform(); @@ -86,6 +82,9 @@ public class HeldItemFeatureRendererMixin { ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); - matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); + var entryMatrices = matrices.peek(); + entryMatrices.getPositionMatrix().mul(ARMORSTAND$ITEM_LOCAL_MATRIX); + ARMORSTAND$ITEM_LOCAL_MATRIX.normal(ARMORSTAND$ITEM_LOCAL_NORMAL_MATRIX); + entryMatrices.getNormalMatrix().mul(ARMORSTAND$ITEM_LOCAL_NORMAL_MATRIX); } } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 18a2be28..30558ed7 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -8,7 +8,6 @@ import net.minecraft.client.network.AbstractClientPlayerEntity import net.minecraft.client.render.VertexConsumerProvider import net.minecraft.client.render.entity.state.PlayerEntityRenderState import net.minecraft.client.util.math.MatrixStack -import net.minecraft.entity.EntityPose import org.joml.Matrix4f import top.fifthlight.armorstand.config.ConfigHolder import top.fifthlight.armorstand.state.ModelInstanceManager @@ -21,7 +20,6 @@ import java.util.* object PlayerRenderer { private const val NANOSECONDS_PER_SECOND = 1_000_000_000L - private const val CROUCH_Y_OFFSET = 0.125f private val startNanoTime = System.nanoTime() private var renderingWorld = false @@ -108,9 +106,6 @@ object PlayerRenderer { instance.debugRender(matrixStack.peek().positionMatrix, consumers, time) } else { matrix.set(matrixStack.peek().positionMatrix) - if (vanillaState.pose == EntityPose.CROUCHING) { - matrix.translate(0f, CROUCH_Y_OFFSET, 0f) - } matrix.scale(ConfigHolder.config.value.modelScale) val currentRenderer = RendererManager.currentRenderer val task = instance.createRenderTask(matrix, light, overlay) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index 3b39d4c2..194beea9 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -333,9 +333,7 @@ sealed interface ModelController { private var overlayState: AnimationState? = null private var overlayLoop: Boolean = true private var keepOverlayUntilFinished: Boolean = false - private var prevIsUsingItem: Boolean = false private var prevHandSwinging: Boolean = false - private var lastSwingOverlayStartTick: Long = Long.MIN_VALUE private var reset = false companion object { @@ -422,26 +420,21 @@ sealed interface ModelController { renderState: PlayerEntityRenderState, ): Pair? { if (player.isUsingItem) { - // Trigger once on rising edge; holding right-click should not replay the animation every tick. - if (!prevIsUsingItem) { - val usedArm = when (player.activeHand) { - Hand.MAIN_HAND -> renderState.mainArm - Hand.OFF_HAND -> if (renderState.mainArm == Arm.RIGHT) Arm.LEFT else Arm.RIGHT - else -> renderState.mainArm - } - val stack = player.getStackInHand(player.activeHand) - val itemId = Registries.ITEM.getId(stack.item) - val itemActive = getItemActiveAnimation( - itemId = itemId, - arm = usedArm, - actionType = AnimationSet.ItemActiveKey.ActionType.USING, - ) - if (itemActive != null) { - return Pair(itemActive, false) - } + val usedArm = when (player.activeHand) { + Hand.MAIN_HAND -> renderState.mainArm + Hand.OFF_HAND -> if (renderState.mainArm == Arm.RIGHT) Arm.LEFT else Arm.RIGHT + else -> renderState.mainArm + } + val stack = player.getStackInHand(player.activeHand) + val itemId = Registries.ITEM.getId(stack.item) + val itemActive = getItemActiveAnimation( + itemId = itemId, + arm = usedArm, + actionType = AnimationSet.ItemActiveKey.ActionType.USING, + ) + if (itemActive != null) { + return Pair(itemActive, false) } - // While using (but not a new use), don't fall back to swing overlay. - return null } if (renderState.handSwinging) { @@ -532,11 +525,8 @@ sealed interface ModelController { } val (requestedOverlayItem, requestedOverlayLoop) = overlayRequest ?: Pair(null, null) - val nowTick = context.getGameTick() val handSwingingRisingEdge = renderState.handSwinging && !prevHandSwinging - val swingCooldownActive = - renderState.handSwinging && requestedOverlayLoop == false && (nowTick - lastSwingOverlayStartTick) <= 2 - val shouldRestartOverlay = handSwingingRisingEdge && requestedOverlayLoop == false && !swingCooldownActive + val shouldRestartOverlay = handSwingingRisingEdge && requestedOverlayLoop == false val keepExistingOverlay = requestedOverlayItem == null && keepOverlayUntilFinished && !isFinished(overlayState) @@ -544,16 +534,12 @@ sealed interface ModelController { val effectiveOverlayLoop = if (keepExistingOverlay) overlayLoop else (requestedOverlayLoop ?: true) val effectiveKeepUntilFinished = if (keepExistingOverlay) keepOverlayUntilFinished else (requestedOverlayLoop == false) - val overlayChanged = (effectiveOverlayItem != overlayItem || shouldRestartOverlay) && !swingCooldownActive + val overlayChanged = effectiveOverlayItem != overlayItem || shouldRestartOverlay if (overlayChanged) { overlayItem = effectiveOverlayItem overlayLoop = effectiveOverlayLoop keepOverlayUntilFinished = effectiveKeepUntilFinished overlayState = effectiveOverlayItem?.createState(context)?.also { configureLoop(it, effectiveOverlayLoop) } - - if (renderState.handSwinging && effectiveOverlayItem != null && effectiveOverlayLoop == false) { - lastSwingOverlayStartTick = nowTick - } } else { overlayLoop = effectiveOverlayLoop keepOverlayUntilFinished = effectiveKeepUntilFinished @@ -561,7 +547,6 @@ sealed interface ModelController { } prevHandSwinging = renderState.handSwinging - prevIsUsingItem = player.isUsingItem overlayState?.updateTime(context) val overlayPending = overlayItem?.let { item -> From 3a7aba4c03ad44c05835fdfc6f28bb38dc964aa5 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Tue, 23 Dec 2025 19:16:41 +0700 Subject: [PATCH 094/112] Revert + Fix --- .gitignore | 1 - blazerod/model/model-pmx/PmxLoader.kt | 3 +- .../mixin/HeldItemFeatureRendererMixin.java | 9 +--- .../fifthlight/armorstand/PlayerRenderer.kt | 52 ++++++++----------- .../armorstand/state/ModelController.kt | 9 +++- 5 files changed, 35 insertions(+), 39 deletions(-) diff --git a/.gitignore b/.gitignore index 290bbeda..ebe5ada6 100644 --- a/.gitignore +++ b/.gitignore @@ -56,4 +56,3 @@ bazel-* external #KAIMyEntity-C -KAIMyEntity-C/ \ No newline at end of file diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 8bbfab91..b3916816 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,8 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = (rigidBody.nonCollisionGroup xor 0xFFFF) and 0xFFFF + val nonCollisionGroup = rigidBody.nonCollisionGroup and 0xFFFF + var collisionMask = nonCollisionGroup.inv() and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index 33a1949f..efe06c81 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -8,7 +8,6 @@ import net.minecraft.client.render.item.ItemRenderState; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.util.Arm; -import org.joml.Matrix3f; import org.joml.Matrix4f; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; @@ -23,7 +22,6 @@ public class HeldItemFeatureRendererMixin { private static final Matrix4f ARMORSTAND$HAND_WORLD_MATRIX = new Matrix4f(); private static final Matrix4f ARMORSTAND$ITEM_LOCAL_MATRIX = new Matrix4f(); - private static final Matrix3f ARMORSTAND$ITEM_LOCAL_NORMAL_MATRIX = new Matrix3f(); @Redirect( method = "renderItem(Lnet/minecraft/client/render/entity/state/ArmedEntityRenderState;Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V", @@ -63,7 +61,7 @@ public class HeldItemFeatureRendererMixin { var instance = modelItem.getInstance(); var scene = instance.getScene(); - var tag = renderArm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; + var tag = arm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; var node = scene.getHumanoidTagMap().get(tag); if (node == null) { model.setArmAngle(arm, matrices); @@ -82,9 +80,6 @@ public class HeldItemFeatureRendererMixin { ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); - var entryMatrices = matrices.peek(); - entryMatrices.getPositionMatrix().mul(ARMORSTAND$ITEM_LOCAL_MATRIX); - ARMORSTAND$ITEM_LOCAL_MATRIX.normal(ARMORSTAND$ITEM_LOCAL_NORMAL_MATRIX); - entryMatrices.getNormalMatrix().mul(ARMORSTAND$ITEM_LOCAL_NORMAL_MATRIX); + matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); } } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 30558ed7..6359dce8 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -98,38 +98,32 @@ object PlayerRenderer { controller.apply(uuid, instance, vanillaState) instance.updateRenderData(time) - val backupItem = matrixStack.peek().copy() - matrixStack.pop() matrixStack.push() - - if (ArmorStandClient.instance.debugBone) { - instance.debugRender(matrixStack.peek().positionMatrix, consumers, time) - } else { - matrix.set(matrixStack.peek().positionMatrix) - matrix.scale(ConfigHolder.config.value.modelScale) - val currentRenderer = RendererManager.currentRenderer - val task = instance.createRenderTask(matrix, light, overlay) - if (currentRenderer is ScheduledRenderer<*, *> && renderingWorld) { - currentRenderer.schedule(task) + try { + if (ArmorStandClient.instance.debugBone) { + instance.debugRender(matrixStack.peek().positionMatrix, consumers, time) } else { - val mainTarget = MinecraftClient.getInstance().framebuffer - val colorFrameBuffer = RenderSystem.outputColorTextureOverride ?: mainTarget.colorAttachmentView!! - val depthFrameBuffer = RenderSystem.outputDepthTextureOverride ?: mainTarget.depthAttachmentView - currentRenderer.render( - colorFrameBuffer = colorFrameBuffer, - depthFrameBuffer = depthFrameBuffer, - scene = instance.scene, - task = task, - ) - task.release() + matrix.set(matrixStack.peek().positionMatrix) + matrix.scale(ConfigHolder.config.value.modelScale) + val currentRenderer = RendererManager.currentRenderer + val task = instance.createRenderTask(matrix, light, overlay) + if (currentRenderer is ScheduledRenderer<*, *> && renderingWorld) { + currentRenderer.schedule(task) + } else { + val mainTarget = MinecraftClient.getInstance().framebuffer + val colorFrameBuffer = RenderSystem.outputColorTextureOverride ?: mainTarget.colorAttachmentView!! + val depthFrameBuffer = RenderSystem.outputDepthTextureOverride ?: mainTarget.depthAttachmentView + currentRenderer.render( + colorFrameBuffer = colorFrameBuffer, + depthFrameBuffer = depthFrameBuffer, + scene = instance.scene, + task = task, + ) + task.release() + } } - } - - matrixStack.pop() - matrixStack.push() - matrixStack.peek().apply { - positionMatrix.set(backupItem.positionMatrix) - normalMatrix.set(backupItem.normalMatrix) + } finally { + matrixStack.pop() } return true } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index 194beea9..3a3f9056 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -334,6 +334,7 @@ sealed interface ModelController { private var overlayLoop: Boolean = true private var keepOverlayUntilFinished: Boolean = false private var prevHandSwinging: Boolean = false + private var prevUsingItem: Boolean = false private var reset = false companion object { @@ -526,7 +527,12 @@ sealed interface ModelController { val (requestedOverlayItem, requestedOverlayLoop) = overlayRequest ?: Pair(null, null) val handSwingingRisingEdge = renderState.handSwinging && !prevHandSwinging - val shouldRestartOverlay = handSwingingRisingEdge && requestedOverlayLoop == false + val usingRisingEdge = player.isUsingItem && !prevUsingItem + val shouldRestartOverlay = when { + renderState.handSwinging -> handSwingingRisingEdge && requestedOverlayLoop == false + player.isUsingItem -> usingRisingEdge && requestedOverlayLoop == false && isFinished(overlayState) + else -> false + } val keepExistingOverlay = requestedOverlayItem == null && keepOverlayUntilFinished && !isFinished(overlayState) @@ -547,6 +553,7 @@ sealed interface ModelController { } prevHandSwinging = renderState.handSwinging + prevUsingItem = player.isUsingItem overlayState?.updateTime(context) val overlayPending = overlayItem?.let { item -> From 29e9e19308d02b0bf5d6eda02993242342ce96ba Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Tue, 23 Dec 2025 21:07:50 +0700 Subject: [PATCH 095/112] Revert + Fix --- blazerod/model/model-pmx/PmxLoader.kt | 3 +- .../mixin/HeldItemFeatureRendererMixin.java | 2 +- .../fifthlight/armorstand/PlayerRenderer.kt | 57 +++++++++++-------- .../armorstand/state/ModelController.kt | 17 +++--- 4 files changed, 43 insertions(+), 36 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index b3916816..debb94b1 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,8 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - val nonCollisionGroup = rigidBody.nonCollisionGroup and 0xFFFF - var collisionMask = nonCollisionGroup.inv() and 0xFFFF + var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index efe06c81..49e5b2f3 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -52,7 +52,7 @@ public class HeldItemFeatureRendererMixin { return; } - var entry = ModelInstanceManager.INSTANCE.get(uuid, System.nanoTime(), true); + var entry = ModelInstanceManager.INSTANCE.get(uuid, System.nanoTime(), false); if (!(entry instanceof ModelInstanceManager.ModelInstanceItem.Model modelItem)) { model.setArmAngle(arm, matrices); return; diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 6359dce8..09aeff81 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -8,6 +8,7 @@ import net.minecraft.client.network.AbstractClientPlayerEntity import net.minecraft.client.render.VertexConsumerProvider import net.minecraft.client.render.entity.state.PlayerEntityRenderState import net.minecraft.client.util.math.MatrixStack +import net.minecraft.entity.EntityPose import org.joml.Matrix4f import top.fifthlight.armorstand.config.ConfigHolder import top.fifthlight.armorstand.state.ModelInstanceManager @@ -98,32 +99,42 @@ object PlayerRenderer { controller.apply(uuid, instance, vanillaState) instance.updateRenderData(time) + val backupItem = matrixStack.peek().copy() + matrixStack.pop() matrixStack.push() - try { - if (ArmorStandClient.instance.debugBone) { - instance.debugRender(matrixStack.peek().positionMatrix, consumers, time) + + if (vanillaState.pose == EntityPose.CROUCHING) { + matrixStack.translate(0.0, 0.125, 0.0) + } + + if (ArmorStandClient.instance.debugBone) { + instance.debugRender(matrixStack.peek().positionMatrix, consumers, time) + } else { + matrix.set(matrixStack.peek().positionMatrix) + matrix.scale(ConfigHolder.config.value.modelScale) + val currentRenderer = RendererManager.currentRenderer + val task = instance.createRenderTask(matrix, light, overlay) + if (currentRenderer is ScheduledRenderer<*, *> && renderingWorld) { + currentRenderer.schedule(task) } else { - matrix.set(matrixStack.peek().positionMatrix) - matrix.scale(ConfigHolder.config.value.modelScale) - val currentRenderer = RendererManager.currentRenderer - val task = instance.createRenderTask(matrix, light, overlay) - if (currentRenderer is ScheduledRenderer<*, *> && renderingWorld) { - currentRenderer.schedule(task) - } else { - val mainTarget = MinecraftClient.getInstance().framebuffer - val colorFrameBuffer = RenderSystem.outputColorTextureOverride ?: mainTarget.colorAttachmentView!! - val depthFrameBuffer = RenderSystem.outputDepthTextureOverride ?: mainTarget.depthAttachmentView - currentRenderer.render( - colorFrameBuffer = colorFrameBuffer, - depthFrameBuffer = depthFrameBuffer, - scene = instance.scene, - task = task, - ) - task.release() - } + val mainTarget = MinecraftClient.getInstance().framebuffer + val colorFrameBuffer = RenderSystem.outputColorTextureOverride ?: mainTarget.colorAttachmentView!! + val depthFrameBuffer = RenderSystem.outputDepthTextureOverride ?: mainTarget.depthAttachmentView + currentRenderer.render( + colorFrameBuffer = colorFrameBuffer, + depthFrameBuffer = depthFrameBuffer, + scene = instance.scene, + task = task, + ) + task.release() } - } finally { - matrixStack.pop() + } + + matrixStack.pop() + matrixStack.push() + matrixStack.peek().apply { + positionMatrix.set(backupItem.positionMatrix) + normalMatrix.set(backupItem.normalMatrix) } return true } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index 3a3f9056..36192b00 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -334,7 +334,6 @@ sealed interface ModelController { private var overlayLoop: Boolean = true private var keepOverlayUntilFinished: Boolean = false private var prevHandSwinging: Boolean = false - private var prevUsingItem: Boolean = false private var reset = false companion object { @@ -434,7 +433,7 @@ sealed interface ModelController { actionType = AnimationSet.ItemActiveKey.ActionType.USING, ) if (itemActive != null) { - return Pair(itemActive, false) + return Pair(itemActive, true) } } @@ -527,12 +526,7 @@ sealed interface ModelController { val (requestedOverlayItem, requestedOverlayLoop) = overlayRequest ?: Pair(null, null) val handSwingingRisingEdge = renderState.handSwinging && !prevHandSwinging - val usingRisingEdge = player.isUsingItem && !prevUsingItem - val shouldRestartOverlay = when { - renderState.handSwinging -> handSwingingRisingEdge && requestedOverlayLoop == false - player.isUsingItem -> usingRisingEdge && requestedOverlayLoop == false && isFinished(overlayState) - else -> false - } + val shouldRestartOverlay = handSwingingRisingEdge && requestedOverlayLoop == false val keepExistingOverlay = requestedOverlayItem == null && keepOverlayUntilFinished && !isFinished(overlayState) @@ -553,9 +547,12 @@ sealed interface ModelController { } prevHandSwinging = renderState.handSwinging - prevUsingItem = player.isUsingItem - overlayState?.updateTime(context) + overlayState?.let { state -> + if (overlayLoop || !isFinished(state)) { + state.updateTime(context) + } + } val overlayPending = overlayItem?.let { item -> overlayState?.let { state -> item.update(context, state) From 0a41b5097382862dae490230fb551b8a815d64b3 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Fri, 2 Jan 2026 19:36:17 +0700 Subject: [PATCH 096/112] Try again --- .gitignore | 1 + .../main/animation/AnimationChannelItem.kt | 19 + .../main/animation/AnimationItemImpl.kt | 32 ++ .../armorstand/state/ModelController.kt | 384 +++++++++++------- 4 files changed, 284 insertions(+), 152 deletions(-) diff --git a/.gitignore b/.gitignore index ebe5ada6..290bbeda 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,4 @@ bazel-* external #KAIMyEntity-C +KAIMyEntity-C/ \ No newline at end of file diff --git a/blazerod/render/main/animation/AnimationChannelItem.kt b/blazerod/render/main/animation/AnimationChannelItem.kt index 9094f144..b1e2835e 100644 --- a/blazerod/render/main/animation/AnimationChannelItem.kt +++ b/blazerod/render/main/animation/AnimationChannelItem.kt @@ -15,6 +15,13 @@ import top.fifthlight.blazerod.runtime.resource.CameraTransformImpl sealed class AnimationChannelItem( val channel: AnimationChannel, ) { + open val targetNodeIndex: Int? = null + + @Suppress("UNCHECKED_CAST") + fun applyUnsafe(instance: ModelInstanceImpl, pendingValue: Any) { + (this as AnimationChannelItem).apply(instance, pendingValue) + } + abstract fun createPendingValue(): P // run on client thread @@ -28,6 +35,8 @@ sealed class AnimationChannelItem( private val transformId: TransformId, channel: AnimationChannel, ) : AnimationChannelItem(channel) { + override val targetNodeIndex: Int = index + init { require(channel.type == AnimationChannel.Type.Translation) { "Unmatched animation channel: want translation, but got ${channel.type}" } } @@ -50,6 +59,8 @@ sealed class AnimationChannelItem( private val transformId: TransformId, channel: AnimationChannel, ) : AnimationChannelItem(channel) { + override val targetNodeIndex: Int = index + init { require(channel.type == AnimationChannel.Type.Scale) { "Unmatched animation channel: want scale, but got ${channel.type}" } } @@ -72,6 +83,8 @@ sealed class AnimationChannelItem( private val transformId: TransformId, channel: AnimationChannel, ) : AnimationChannelItem(channel) { + override val targetNodeIndex: Int = index + init { require(channel.type == AnimationChannel.Type.Rotation) { "Unmatched animation channel: want rotation, but got ${channel.type}" } } @@ -95,6 +108,8 @@ sealed class AnimationChannelItem( private val transformId: TransformId, channel: AnimationChannel, ) : AnimationChannelItem(channel) { + override val targetNodeIndex: Int = index + init { require(channel.type == AnimationChannel.Type.BedrockTranslation) { "Unmatched animation channel: want translation, but got ${channel.type}" } } @@ -117,6 +132,8 @@ sealed class AnimationChannelItem( private val transformId: TransformId, channel: AnimationChannel, ) : AnimationChannelItem(channel) { + override val targetNodeIndex: Int = index + init { require(channel.type == AnimationChannel.Type.BedrockScale) { "Unmatched animation channel: want scale, but got ${channel.type}" } } @@ -139,6 +156,8 @@ sealed class AnimationChannelItem( private val transformId: TransformId, channel: AnimationChannel, ) : AnimationChannelItem(channel) { + override val targetNodeIndex: Int = index + init { require(channel.type == AnimationChannel.Type.BedrockRotation) { "Unmatched animation channel: want rotation, but got ${channel.type}" } } diff --git a/blazerod/render/main/animation/AnimationItemImpl.kt b/blazerod/render/main/animation/AnimationItemImpl.kt index ca8e172e..c02ed0f1 100644 --- a/blazerod/render/main/animation/AnimationItemImpl.kt +++ b/blazerod/render/main/animation/AnimationItemImpl.kt @@ -82,4 +82,36 @@ class AnimationItemInstanceImpl(val animationItem: AnimationItemImpl) : Animatio pendingStack.addLast(pendingValues) } } + + fun applyMasked( + instance: ModelInstance, + pendingValues: AnimationItemPendingValues, + allowedNodeIndices: BooleanArray, + ) { + val instance = instance as ModelInstanceImpl + val pendingValues = pendingValues as AnimationItemPendingValuesImpl + + animationItem.channels.forEachIndexed { index, channel -> + val targetNodeIndex = channel.targetNodeIndex + if (targetNodeIndex == null || targetNodeIndex !in allowedNodeIndices.indices || !allowedNodeIndices[targetNodeIndex]) { + return@forEachIndexed + } + + pendingValues.pendingValues[index].let { pendingValue -> + channel.applyUnsafe(instance, pendingValue) + } + } + if (!pendingValues.applied) { + pendingValues.applied = true + pendingStack.addLast(pendingValues) + } + } + + fun recyclePendingValues(pendingValues: AnimationItemPendingValues) { + val pendingValues = pendingValues as? AnimationItemPendingValuesImpl ?: return + if (!pendingValues.applied) { + pendingValues.applied = true + pendingStack.addLast(pendingValues) + } + } } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index 36192b00..599da774 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -13,6 +13,7 @@ import net.minecraft.util.math.MathHelper import top.fifthlight.armorstand.extension.internal.PlayerEntityRenderStateExtInternal import top.fifthlight.armorstand.util.toRadian import top.fifthlight.armorstand.vmc.VmcMarionetteManager +import top.fifthlight.blazerod.animation.AnimationItemInstanceImpl import top.fifthlight.blazerod.api.animation.AnimationContextsFactory import top.fifthlight.blazerod.api.animation.AnimationItemInstance import top.fifthlight.blazerod.api.animation.AnimationItemPendingValues @@ -26,7 +27,6 @@ import top.fifthlight.blazerod.model.NodeTransform import top.fifthlight.blazerod.model.TransformId import top.fifthlight.blazerod.model.animation.AnimationContext import top.fifthlight.blazerod.model.animation.AnimationState -import top.fifthlight.blazerod.model.animation.SimpleAnimationState import java.util.* import kotlin.math.PI import kotlin.math.sin @@ -319,23 +319,36 @@ sealed interface ModelController { } } - private data class LayeredPendingValues( - val baseInstance: AnimationItemInstance, - val baseValues: AnimationItemPendingValues, - val overlayInstance: AnimationItemInstance?, - val overlayValues: AnimationItemPendingValues?, + private data class ActionSelection( + val item: AnimationItemInstance, + val arm: Arm, + ) + + private class LayeredPendingValues( + val baseItem: AnimationItemInstance, + val basePendingValues: AnimationItemPendingValues, + val actionItem: AnimationItemInstance?, + val actionPendingValues: AnimationItemPendingValues?, + val actionArm: Arm?, ) : AnimationItemPendingValues - private var basePlayState: PlayState = PlayState.Idle - override var animationState: AnimationState = basePlayState.getItem(animationSet).createState(context) - private var baseItem: AnimationItemInstance = basePlayState.getItem(animationSet) - private var overlayItem: AnimationItemInstance? = null - private var overlayState: AnimationState? = null - private var overlayLoop: Boolean = true - private var keepOverlayUntilFinished: Boolean = false - private var prevHandSwinging: Boolean = false + private var playState: PlayState = PlayState.Idle + private var item: AnimationItemInstance = playState.getItem(animationSet) + override var animationState: AnimationState = item.createState(context) + + private var actionItem: AnimationItemInstance? = null + private var actionAnimationState: AnimationState? = null + private var actionArm: Arm? = null + private var lastUsingItem: Boolean = false + private var lastHandSwinging: Boolean = false + private var reset = false + private var upperBodyMaskNodeCount: Int = -1 + private var upperBodyMaskScene: RenderScene? = null + private var leftUpperBodyMask: BooleanArray = BooleanArray(0) + private var rightUpperBodyMask: BooleanArray = BooleanArray(0) + companion object { private val horseEntityTypes = listOf( EntityType.HORSE, @@ -371,54 +384,14 @@ sealed interface ModelController { Hand.OFF_HAND } - private fun getBaseState( + private fun getActionSelection( player: AbstractClientPlayerEntity, renderState: PlayerEntityRenderState, - ): PlayState { - val vehicleType = player.vehicle?.type - - return when { - player.isDead -> PlayState.Dying - - vehicleType in horseEntityTypes -> PlayState.OnHorse - vehicleType == EntityType.PIG -> PlayState.OnPig - vehicleType?.isIn(EntityTypeTags.BOAT) == true -> PlayState.OnBoat - vehicleType != null -> PlayState.Riding - - renderState.pose == EntityPose.SLEEPING -> PlayState.Sleeping - renderState.pose == EntityPose.GLIDING -> PlayState.ElytraFly - player.isSwimming -> PlayState.Swimming - renderState.pose == EntityPose.SWIMMING -> if (player.movement.horizontalLength() > .01) { - PlayState.Crawling - } else { - PlayState.CrawlIdle - } - - player.isClimbing -> when { - player.movement.y > 0.1 -> PlayState.OnClimbableUp - player.movement.y < -0.1 -> PlayState.OnClimbableDown - player.isSneaking -> PlayState.OnClimbable - else -> PlayState.Idle - } - - renderState.pose == EntityPose.CROUCHING -> if (player.movement.horizontalLength() > .01) { - PlayState.Sneaking - } else { - PlayState.SneakIdle - } - - player.isSprinting -> PlayState.Sprinting - - player.movement.horizontalLength() > .05 -> PlayState.Walking - - else -> PlayState.Idle + ): ActionSelection? { + if (player.isDead) { + return null } - } - private fun getOverlayItem( - player: AbstractClientPlayerEntity, - renderState: PlayerEntityRenderState, - ): Pair? { if (player.isUsingItem) { val usedArm = when (player.activeHand) { Hand.MAIN_HAND -> renderState.mainArm @@ -431,10 +404,8 @@ sealed interface ModelController { itemId = itemId, arm = usedArm, actionType = AnimationSet.ItemActiveKey.ActionType.USING, - ) - if (itemActive != null) { - return Pair(itemActive, true) - } + ) ?: return null + return ActionSelection(item = itemActive, arm = usedArm) } if (renderState.handSwinging) { @@ -447,7 +418,7 @@ sealed interface ModelController { arm = Arm.LEFT, actionType = AnimationSet.ItemActiveKey.ActionType.SWINGING, ) - Pair(itemActive ?: animationSet.swingLeft, false) + ActionSelection(item = itemActive ?: animationSet.swingLeft, arm = Arm.LEFT) } Arm.RIGHT -> { @@ -458,7 +429,7 @@ sealed interface ModelController { arm = Arm.RIGHT, actionType = AnimationSet.ItemActiveKey.ActionType.SWINGING, ) - Pair(itemActive ?: animationSet.swingRight, false) + ActionSelection(item = itemActive ?: animationSet.swingRight, arm = Arm.RIGHT) } } } @@ -466,25 +437,130 @@ sealed interface ModelController { return null } - private fun configureLoop(state: AnimationState, loop: Boolean) { - if (state is SimpleAnimationState) { - state.loop = loop + private fun ensureUpperBodyMasks(scene: RenderScene) { + val nodeCount = scene.nodes.size + if (upperBodyMaskScene === scene && upperBodyMaskNodeCount == nodeCount) { + return } - } + upperBodyMaskScene = scene + upperBodyMaskNodeCount = nodeCount - private fun isFinished(state: AnimationState?): Boolean { - state ?: return true - return when (state) { - is SimpleAnimationState -> !state.loop && state.getTime() >= state.duration - 1e-4f - else -> { - val duration = state.duration - if (duration == null) { - !state.playing - } else { - !state.playing && state.getTime() >= duration - 1e-4f + fun BooleanArray.enable(tag: HumanoidTag) { + scene.humanoidTagMap[tag]?.let { node -> + val idx = node.nodeIndex + if (idx in indices) { + this[idx] = true } } } + + fun BooleanArray.enableAll(tags: Array) { + for (tag in tags) { + enable(tag) + } + } + + val torsoTags = arrayOf( + HumanoidTag.SPINE, + HumanoidTag.CHEST, + HumanoidTag.UPPER_CHEST, + HumanoidTag.NECK, + HumanoidTag.HEAD, + ) + + val leftArmTags = arrayOf( + HumanoidTag.LEFT_SHOULDER, + HumanoidTag.LEFT_UPPER_ARM, + HumanoidTag.LEFT_LOWER_ARM, + HumanoidTag.LEFT_HAND, + HumanoidTag.LEFT_THUMB_METACARPAL, + HumanoidTag.LEFT_THUMB_PROXIMAL, + HumanoidTag.LEFT_THUMB_DISTAL, + HumanoidTag.LEFT_INDEX_PROXIMAL, + HumanoidTag.LEFT_INDEX_INTERMEDIATE, + HumanoidTag.LEFT_INDEX_DISTAL, + HumanoidTag.LEFT_MIDDLE_PROXIMAL, + HumanoidTag.LEFT_MIDDLE_INTERMEDIATE, + HumanoidTag.LEFT_MIDDLE_DISTAL, + HumanoidTag.LEFT_RING_PROXIMAL, + HumanoidTag.LEFT_RING_INTERMEDIATE, + HumanoidTag.LEFT_RING_DISTAL, + HumanoidTag.LEFT_LITTLE_PROXIMAL, + HumanoidTag.LEFT_LITTLE_INTERMEDIATE, + HumanoidTag.LEFT_LITTLE_DISTAL, + ) + + val rightArmTags = arrayOf( + HumanoidTag.RIGHT_SHOULDER, + HumanoidTag.RIGHT_UPPER_ARM, + HumanoidTag.RIGHT_LOWER_ARM, + HumanoidTag.RIGHT_HAND, + HumanoidTag.RIGHT_THUMB_METACARPAL, + HumanoidTag.RIGHT_THUMB_PROXIMAL, + HumanoidTag.RIGHT_THUMB_DISTAL, + HumanoidTag.RIGHT_INDEX_PROXIMAL, + HumanoidTag.RIGHT_INDEX_INTERMEDIATE, + HumanoidTag.RIGHT_INDEX_DISTAL, + HumanoidTag.RIGHT_MIDDLE_PROXIMAL, + HumanoidTag.RIGHT_MIDDLE_INTERMEDIATE, + HumanoidTag.RIGHT_MIDDLE_DISTAL, + HumanoidTag.RIGHT_RING_PROXIMAL, + HumanoidTag.RIGHT_RING_INTERMEDIATE, + HumanoidTag.RIGHT_RING_DISTAL, + HumanoidTag.RIGHT_LITTLE_PROXIMAL, + HumanoidTag.RIGHT_LITTLE_INTERMEDIATE, + HumanoidTag.RIGHT_LITTLE_DISTAL, + ) + + leftUpperBodyMask = BooleanArray(nodeCount) + rightUpperBodyMask = BooleanArray(nodeCount) + leftUpperBodyMask.enableAll(torsoTags) + rightUpperBodyMask.enableAll(torsoTags) + leftUpperBodyMask.enableAll(leftArmTags) + rightUpperBodyMask.enableAll(rightArmTags) + } + + private fun getBaseState( + player: AbstractClientPlayerEntity, + renderState: PlayerEntityRenderState, + ): PlayState { + val vehicleType = player.vehicle?.type + + return when { + player.isDead -> PlayState.Dying + + vehicleType in horseEntityTypes -> PlayState.OnHorse + vehicleType == EntityType.PIG -> PlayState.OnPig + vehicleType?.isIn(EntityTypeTags.BOAT) == true -> PlayState.OnBoat + vehicleType != null -> PlayState.Riding + + renderState.pose == EntityPose.SLEEPING -> PlayState.Sleeping + renderState.pose == EntityPose.GLIDING -> PlayState.ElytraFly + player.isSwimming -> PlayState.Swimming + renderState.pose == EntityPose.SWIMMING -> if (player.movement.horizontalLength() > .01) { + PlayState.Crawling + } else { + PlayState.CrawlIdle + } + + player.isClimbing -> when { + player.movement.y > 0.1 -> PlayState.OnClimbableUp + player.movement.y < -0.1 -> PlayState.OnClimbableDown + player.isSneaking -> PlayState.OnClimbable + else -> PlayState.Idle + } + + renderState.pose == EntityPose.CROUCHING -> if (player.movement.horizontalLength() > .01) { + PlayState.Sneaking + } else { + PlayState.SneakIdle + } + + player.isSprinting -> PlayState.Sprinting + + player.movement.horizontalLength() > .05 -> PlayState.Walking + else -> PlayState.Idle + } } override fun update( @@ -492,79 +568,72 @@ sealed interface ModelController { player: AbstractClientPlayerEntity, renderState: PlayerEntityRenderState, ): Unit = AnimationContextsFactory.create().player(player).let { context -> - val newBaseState = getBaseState(player, renderState) - if (newBaseState != basePlayState) { - this.basePlayState = newBaseState - } - val newBaseItem = newBaseState.getItem(animationSet) - if (newBaseItem != baseItem) { - animationState = newBaseItem.createState(context).also { configureLoop(it, newBaseState.loop) } - baseItem = newBaseItem + val newState = getBaseState(player, renderState) + if (newState != playState) { + playState = newState + } + val newItem = newState.getItem(animationSet) + if (newItem != item) { + item = newItem + animationState = newItem.createState(context) reset = true } - configureLoop(animationState, newBaseState.loop) animationState.updateTime(context) - val basePending = baseItem.update(context, animationState) - - val overlayRequest = when (newBaseState) { - PlayState.Dying, - PlayState.Sleeping, - PlayState.ElytraFly, - PlayState.Swimming, - PlayState.Crawling, - PlayState.CrawlIdle, - PlayState.OnClimbable, - PlayState.OnClimbableUp, - PlayState.OnClimbableDown, - PlayState.Riding, - PlayState.OnHorse, - PlayState.OnPig, - PlayState.OnBoat, - -> null - else -> getOverlayItem(player, renderState) - } - - val (requestedOverlayItem, requestedOverlayLoop) = overlayRequest ?: Pair(null, null) - val handSwingingRisingEdge = renderState.handSwinging && !prevHandSwinging - val shouldRestartOverlay = handSwingingRisingEdge && requestedOverlayLoop == false - - val keepExistingOverlay = - requestedOverlayItem == null && keepOverlayUntilFinished && !isFinished(overlayState) - val effectiveOverlayItem = if (keepExistingOverlay) overlayItem else requestedOverlayItem - val effectiveOverlayLoop = if (keepExistingOverlay) overlayLoop else (requestedOverlayLoop ?: true) - val effectiveKeepUntilFinished = if (keepExistingOverlay) keepOverlayUntilFinished else (requestedOverlayLoop == false) - - val overlayChanged = effectiveOverlayItem != overlayItem || shouldRestartOverlay - if (overlayChanged) { - overlayItem = effectiveOverlayItem - overlayLoop = effectiveOverlayLoop - keepOverlayUntilFinished = effectiveKeepUntilFinished - overlayState = effectiveOverlayItem?.createState(context)?.also { configureLoop(it, effectiveOverlayLoop) } - } else { - overlayLoop = effectiveOverlayLoop - keepOverlayUntilFinished = effectiveKeepUntilFinished - overlayState?.let { configureLoop(it, effectiveOverlayLoop) } + val basePending = item.update(context, animationState) + + val actionSelection = getActionSelection(player, renderState) + if (actionSelection == null) { + actionItem = null + actionAnimationState = null + actionArm = null + lastUsingItem = player.isUsingItem + lastHandSwinging = renderState.handSwinging + renderState.animationPendingValues = LayeredPendingValues( + baseItem = item, + basePendingValues = basePending, + actionItem = null, + actionPendingValues = null, + actionArm = null, + ) + return@let } - prevHandSwinging = renderState.handSwinging + val needRestartByEdge = (player.isUsingItem && !lastUsingItem) || (renderState.handSwinging && !lastHandSwinging) - overlayState?.let { state -> - if (overlayLoop || !isFinished(state)) { - state.updateTime(context) - } + if (needRestartByEdge || actionSelection.item != actionItem || actionSelection.arm != actionArm) { + actionItem = actionSelection.item + actionAnimationState = actionSelection.item.createState(context) + actionArm = actionSelection.arm } - val overlayPending = overlayItem?.let { item -> - overlayState?.let { state -> - item.update(context, state) - } + + val actionItem = actionItem + val actionAnimationState = actionAnimationState + val actionArm = actionArm + if (actionItem == null || actionAnimationState == null || actionArm == null) { + lastUsingItem = player.isUsingItem + lastHandSwinging = renderState.handSwinging + renderState.animationPendingValues = LayeredPendingValues( + baseItem = item, + basePendingValues = basePending, + actionItem = null, + actionPendingValues = null, + actionArm = null, + ) + return@let } + actionAnimationState.updateTime(context) + val actionPending = actionItem.update(context, actionAnimationState) renderState.animationPendingValues = LayeredPendingValues( - baseInstance = baseItem, - baseValues = basePending, - overlayInstance = overlayItem, - overlayValues = overlayPending, + baseItem = item, + basePendingValues = basePending, + actionItem = actionItem, + actionPendingValues = actionPending, + actionArm = actionArm, ) + + lastUsingItem = player.isUsingItem + lastHandSwinging = renderState.handSwinging } override fun apply(uuid: UUID, instance: ModelInstance, renderState: PlayerEntityRenderState) { @@ -572,22 +641,33 @@ sealed interface ModelController { instance.clearTransform() reset = false } - renderState.animationPendingValues?.let { pending -> - when (pending) { - is LayeredPendingValues -> { - pending.baseInstance.apply(instance, pending.baseValues) - pending.overlayInstance?.let { overlayInstance -> - pending.overlayValues?.let { overlayValues -> - overlayInstance.apply(instance, overlayValues) - } + val pending = renderState.animationPendingValues + when (pending) { + is LayeredPendingValues -> { + pending.baseItem.apply(instance, pending.basePendingValues) + if (pending.actionItem != null && pending.actionPendingValues != null && pending.actionArm != null) { + ensureUpperBodyMasks(instance.scene) + val mask = if (pending.actionArm == Arm.LEFT) { + leftUpperBodyMask + } else { + rightUpperBodyMask + } + val actionImpl = pending.actionItem as? AnimationItemInstanceImpl + if (actionImpl != null) { + actionImpl.applyMasked(instance, pending.actionPendingValues, mask) + } else { + pending.actionItem.apply(instance, pending.actionPendingValues) } } + renderState.animationPendingValues = null + } - else -> { - baseItem.apply(instance, pending) - } + null -> Unit + + else -> { + item.apply(instance, pending) + renderState.animationPendingValues = null } - renderState.animationPendingValues = null } val sleepingDirection = renderState.sleepingDirection From 551cb9ca504997d1b0ce91092802bc18879b81ee Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Fri, 2 Jan 2026 19:44:15 +0700 Subject: [PATCH 097/112] Animation Masking API --- blazerod/render/api/animation/AnimationItem.kt | 8 ++++++++ blazerod/render/main/animation/AnimationItemImpl.kt | 5 +++-- .../top/fifthlight/armorstand/state/ModelController.kt | 8 ++++---- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/blazerod/render/api/animation/AnimationItem.kt b/blazerod/render/api/animation/AnimationItem.kt index 6c0069da..7377f831 100644 --- a/blazerod/render/api/animation/AnimationItem.kt +++ b/blazerod/render/api/animation/AnimationItem.kt @@ -31,4 +31,12 @@ interface AnimationItemInstance { interface Factory { fun of(animation: AnimationItem): AnimationItemInstance } +} + +interface MaskableAnimationItemInstance : AnimationItemInstance { + fun applyMasked( + instance: ModelInstance, + pendingValues: AnimationItemPendingValues, + allowedNodeIndices: BooleanArray, + ) } \ No newline at end of file diff --git a/blazerod/render/main/animation/AnimationItemImpl.kt b/blazerod/render/main/animation/AnimationItemImpl.kt index c02ed0f1..ba06ea35 100644 --- a/blazerod/render/main/animation/AnimationItemImpl.kt +++ b/blazerod/render/main/animation/AnimationItemImpl.kt @@ -3,6 +3,7 @@ package top.fifthlight.blazerod.animation import top.fifthlight.blazerod.api.animation.AnimationItem import top.fifthlight.blazerod.api.animation.AnimationItemInstance import top.fifthlight.blazerod.api.animation.AnimationItemPendingValues +import top.fifthlight.blazerod.api.animation.MaskableAnimationItemInstance import top.fifthlight.blazerod.api.resource.ModelInstance import top.fifthlight.blazerod.api.resource.RenderScene import top.fifthlight.blazerod.model.animation.Animation @@ -40,7 +41,7 @@ class AnimationItemPendingValuesImpl(animationItem: AnimationItemImpl) : Animati } @ActualImpl(AnimationItemInstance::class) -class AnimationItemInstanceImpl(val animationItem: AnimationItemImpl) : AnimationItemInstance { +class AnimationItemInstanceImpl(val animationItem: AnimationItemImpl) : MaskableAnimationItemInstance { @ActualConstructor("of") constructor(animationItem: AnimationItem) : this(animationItem as AnimationItemImpl) @@ -83,7 +84,7 @@ class AnimationItemInstanceImpl(val animationItem: AnimationItemImpl) : Animatio } } - fun applyMasked( + override fun applyMasked( instance: ModelInstance, pendingValues: AnimationItemPendingValues, allowedNodeIndices: BooleanArray, diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt index 599da774..5034cbb8 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/state/ModelController.kt @@ -13,10 +13,10 @@ import net.minecraft.util.math.MathHelper import top.fifthlight.armorstand.extension.internal.PlayerEntityRenderStateExtInternal import top.fifthlight.armorstand.util.toRadian import top.fifthlight.armorstand.vmc.VmcMarionetteManager -import top.fifthlight.blazerod.animation.AnimationItemInstanceImpl import top.fifthlight.blazerod.api.animation.AnimationContextsFactory import top.fifthlight.blazerod.api.animation.AnimationItemInstance import top.fifthlight.blazerod.api.animation.AnimationItemPendingValues +import top.fifthlight.blazerod.api.animation.MaskableAnimationItemInstance import top.fifthlight.blazerod.api.resource.ModelInstance import top.fifthlight.blazerod.api.resource.RenderExpression import top.fifthlight.blazerod.api.resource.RenderExpressionGroup @@ -652,9 +652,9 @@ sealed interface ModelController { } else { rightUpperBodyMask } - val actionImpl = pending.actionItem as? AnimationItemInstanceImpl - if (actionImpl != null) { - actionImpl.applyMasked(instance, pending.actionPendingValues, mask) + val maskable = pending.actionItem as? MaskableAnimationItemInstance + if (maskable != null) { + maskable.applyMasked(instance, pending.actionPendingValues, mask) } else { pending.actionItem.apply(instance, pending.actionPendingValues) } From d521eba0f3ab7a38227cb5b6962cba952db97413 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Fri, 2 Jan 2026 19:51:35 +0700 Subject: [PATCH 098/112] Animation Masking API -> Capability --- blazerod/render/api/animation/AnimationItem.kt | 2 +- blazerod/render/main/animation/AnimationItemImpl.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blazerod/render/api/animation/AnimationItem.kt b/blazerod/render/api/animation/AnimationItem.kt index 7377f831..0073ada3 100644 --- a/blazerod/render/api/animation/AnimationItem.kt +++ b/blazerod/render/api/animation/AnimationItem.kt @@ -33,7 +33,7 @@ interface AnimationItemInstance { } } -interface MaskableAnimationItemInstance : AnimationItemInstance { +interface MaskableAnimationItemInstance { fun applyMasked( instance: ModelInstance, pendingValues: AnimationItemPendingValues, diff --git a/blazerod/render/main/animation/AnimationItemImpl.kt b/blazerod/render/main/animation/AnimationItemImpl.kt index ba06ea35..8347b723 100644 --- a/blazerod/render/main/animation/AnimationItemImpl.kt +++ b/blazerod/render/main/animation/AnimationItemImpl.kt @@ -41,7 +41,7 @@ class AnimationItemPendingValuesImpl(animationItem: AnimationItemImpl) : Animati } @ActualImpl(AnimationItemInstance::class) -class AnimationItemInstanceImpl(val animationItem: AnimationItemImpl) : MaskableAnimationItemInstance { +class AnimationItemInstanceImpl(val animationItem: AnimationItemImpl) : AnimationItemInstance, MaskableAnimationItemInstance { @ActualConstructor("of") constructor(animationItem: AnimationItem) : this(animationItem as AnimationItemImpl) From 63ad08a9a461943af56ac760d0d8981fb0ee7412 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Fri, 2 Jan 2026 21:37:54 +0700 Subject: [PATCH 099/112] Fix Held Item and Skirt Vibration --- blazerod/render/main/physics/PhysicsWorld.cpp | 24 ++++++++++++++++++- .../mixin/HeldItemFeatureRendererMixin.java | 2 +- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 2774b69a..55782979 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -308,9 +308,9 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c auto rigidbody = std::make_unique(rigidbody_info); rigidbody->setSleepingThresholds(0.01f, 0.0017453293f); this->world->addRigidBody(rigidbody.get(), rigidbody_item.collision_group, rigidbody_item.collision_mask); - rigidbody->setActivationState(DISABLE_DEACTIVATION); if (rigidbody_item.physics_mode == PhysicsMode::FOLLOW_BONE) { rigidbody->setCollisionFlags(rigidbody->getCollisionFlags() | btCollisionObject::CF_KINEMATIC_OBJECT); + rigidbody->setActivationState(DISABLE_DEACTIVATION); } rigidbody_data.shape = std::move(shape); @@ -438,6 +438,28 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c constraint->setStiffness(5, joint_item.rotation_spring.z); } + const btScalar spring_damping = 0.5f; + if (joint_item.position_spring.x != 0.0f) { + constraint->setDamping(0, spring_damping); + } + if (joint_item.position_spring.y != 0.0f) { + constraint->setDamping(1, spring_damping); + } + if (joint_item.position_spring.z != 0.0f) { + constraint->setDamping(2, spring_damping); + } + if (joint_item.rotation_spring.x != 0.0f) { + constraint->setDamping(3, spring_damping); + } + if (joint_item.rotation_spring.y != 0.0f) { + constraint->setDamping(4, spring_damping); + } + if (joint_item.rotation_spring.z != 0.0f) { + constraint->setDamping(5, spring_damping); + } + + constraint->setEquilibriumPoint(); + this->world->addConstraint(constraint.get(), false); this->joints.push_back(std::move(constraint)); } diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index 49e5b2f3..d162edaa 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -80,6 +80,6 @@ public class HeldItemFeatureRendererMixin { ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); - matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); + renderMatrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); } } From b5d7d985a19713a58ba5fda66bd2baedfe887c17 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 3 Jan 2026 11:48:37 +0700 Subject: [PATCH 100/112] Revert & Fix Skirt Vibration --- .gitignore | 1 - blazerod/model/model-pmx/PmxLoader.kt | 2 +- blazerod/render/main/physics/PhysicsWorld.cpp | 34 ++++++------------- .../render/main/runtime/RenderSceneImpl.kt | 13 ++++--- .../mixin/HeldItemFeatureRendererMixin.java | 2 +- 5 files changed, 21 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 290bbeda..ebe5ada6 100644 --- a/.gitignore +++ b/.gitignore @@ -56,4 +56,3 @@ bazel-* external #KAIMyEntity-C -KAIMyEntity-C/ \ No newline at end of file diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index debb94b1..03079381 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + var collisionMask = rigidBody.nonCollisionGroup and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 55782979..fdd4d951 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -308,9 +308,11 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c auto rigidbody = std::make_unique(rigidbody_info); rigidbody->setSleepingThresholds(0.01f, 0.0017453293f); this->world->addRigidBody(rigidbody.get(), rigidbody_item.collision_group, rigidbody_item.collision_mask); + if (rigidbody_item.physics_mode != PhysicsMode::PHYSICS) { + rigidbody->setActivationState(DISABLE_DEACTIVATION); + } if (rigidbody_item.physics_mode == PhysicsMode::FOLLOW_BONE) { rigidbody->setCollisionFlags(rigidbody->getCollisionFlags() | btCollisionObject::CF_KINEMATIC_OBJECT); - rigidbody->setActivationState(DISABLE_DEACTIVATION); } rigidbody_data.shape = std::move(shape); @@ -438,28 +440,6 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c constraint->setStiffness(5, joint_item.rotation_spring.z); } - const btScalar spring_damping = 0.5f; - if (joint_item.position_spring.x != 0.0f) { - constraint->setDamping(0, spring_damping); - } - if (joint_item.position_spring.y != 0.0f) { - constraint->setDamping(1, spring_damping); - } - if (joint_item.position_spring.z != 0.0f) { - constraint->setDamping(2, spring_damping); - } - if (joint_item.rotation_spring.x != 0.0f) { - constraint->setDamping(3, spring_damping); - } - if (joint_item.rotation_spring.y != 0.0f) { - constraint->setDamping(4, spring_damping); - } - if (joint_item.rotation_spring.z != 0.0f) { - constraint->setDamping(5, spring_damping); - } - - constraint->setEquilibriumPoint(); - this->world->addConstraint(constraint.get(), false); this->joints.push_back(std::move(constraint)); } @@ -513,7 +493,13 @@ void PhysicsWorld::Step(float delta_time, int max_sub_steps, float fixed_time_st size_t rigidbody_index = 0; for (auto& rigidbody : this->rigidbodies) { if (rigidbody.physics_mode == PhysicsMode::FOLLOW_BONE || rigidbody.physics_mode == PhysicsMode::PHYSICS_PLUS_BONE) { - rigidbody.motion_state->GetFromWorld(this, rigidbody_index); + rigidbody.motion_state->GetFromWorld(this, rigidbody_index); + btTransform world_transform; + rigidbody.motion_state->getWorldTransform(world_transform); + rigidbody.rigidbody->setWorldTransform(world_transform); + rigidbody.rigidbody->setInterpolationWorldTransform(world_transform); + rigidbody.rigidbody->activate(true); + this->world->updateSingleAabb(rigidbody.rigidbody.get()); } rigidbody_index++; } diff --git a/blazerod/render/main/runtime/RenderSceneImpl.kt b/blazerod/render/main/runtime/RenderSceneImpl.kt index 7b57fe7f..f7634071 100644 --- a/blazerod/render/main/runtime/RenderSceneImpl.kt +++ b/blazerod/render/main/runtime/RenderSceneImpl.kt @@ -42,6 +42,7 @@ class RenderSceneImpl( private const val PHYSICS_FPS = 120f private const val PHYSICS_TIME_STEP = 1f / PHYSICS_FPS private const val PHYSICS_ENABLE_CLAMP = false + private const val PHYSICS_DEBUG_LOG = false } override val typeId: String @@ -182,10 +183,14 @@ class RenderSceneImpl( instance.updateWorldTransformsNoPhysics() executePhase(instance, UpdatePhase.PhysicsUpdatePre) data.world.pushTransforms(data.transformArray) - measureTime { + if (PHYSICS_DEBUG_LOG) { + measureTime { + data.world.step(clampedTimeStep, PHYSICS_MAX_SUB_STEP_COUNT, PHYSICS_TIME_STEP) + }.let { + println("Physics step time: $it, timeStep: $clampedTimeStep") + } + } else { data.world.step(clampedTimeStep, PHYSICS_MAX_SUB_STEP_COUNT, PHYSICS_TIME_STEP) - }.let { - println("Physics step time: $it, timeStep: $clampedTimeStep") } data.world.pullTransforms(data.transformArray) @@ -272,7 +277,7 @@ class RenderSceneImpl( } } - if (data.debugStepCount < 10) { + if (PHYSICS_DEBUG_LOG && data.debugStepCount < 10) { val maxLogged = minOf(rigidBodyComponents.size, 160) for (i in 0 until maxLogged) { val (nodeIndex, component) = rigidBodyComponents[i] diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index d162edaa..49e5b2f3 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -80,6 +80,6 @@ public class HeldItemFeatureRendererMixin { ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); - renderMatrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); + matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); } } From 3865543e027260488a7e739336cb0dcdbca6b512 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 3 Jan 2026 13:47:56 +0700 Subject: [PATCH 101/112] Fix held item rendering --- .gitignore | 1 + blazerod/render/main/physics/PhysicsWorld.cpp | 43 ------------ .../mixin/HeldItemFeatureRendererMixin.java | 68 ++++--------------- .../fifthlight/armorstand/PlayerRenderer.kt | 56 +++++++++++++++ 4 files changed, 71 insertions(+), 97 deletions(-) diff --git a/.gitignore b/.gitignore index ebe5ada6..290bbeda 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,4 @@ bazel-* external #KAIMyEntity-C +KAIMyEntity-C/ \ No newline at end of file diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index fdd4d951..89fb78ae 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -320,22 +320,6 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c rigidbody_data.rigidbody = std::move(rigidbody); rigidbody_data.physics_mode = rigidbody_item.physics_mode; this->rigidbodies.push_back(std::move(rigidbody_data)); - - if (rigidbody_index < 16) { - const btTransform& rb_world = this->rigidbodies[rigidbody_index].rigidbody->getWorldTransform(); - btVector3 rb_pos = rb_world.getOrigin(); - btQuaternion rb_rot = rb_world.getRotation(); - std::cout << "PHYSDBG RB_CPP " - << "idx=" << rigidbody_index - << " mode=" << rigidbody_item.physics_mode - << " shapePos=(" << rigidbody_item.shape_position.x << "," << rigidbody_item.shape_position.y - << "," << rigidbody_item.shape_position.z << ")" - << " shapeRot=(" << rigidbody_item.shape_rotation.x << "," << rigidbody_item.shape_rotation.y - << "," << rigidbody_item.shape_rotation.z << ")" - << " bodyPos=(" << rb_pos.x() << "," << rb_pos.y() << "," << rb_pos.z() << ")" - << " bodyRot=(" << rb_rot.x() << "," << rb_rot.y() << "," << rb_rot.z() << "," << rb_rot.w() - << ")" << std::endl; - } } const auto& joints = scene.GetJoints(); @@ -388,33 +372,6 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c constraint->setAngularUpperLimit( btVector3(joint_item.rotation_max.x, joint_item.rotation_max.y, joint_item.rotation_max.z)); - if (joint_index < 16) { - btVector3 body_a_pos = body_a_transform.getOrigin(); - btVector3 body_b_pos = body_b_transform.getOrigin(); - btVector3 anchor_pos = transform.getOrigin(); - btVector3 lin_ll, lin_ul, ang_ll, ang_ul; - constraint->getLinearLowerLimit(lin_ll); - constraint->getLinearUpperLimit(lin_ul); - constraint->getAngularLowerLimit(ang_ll); - constraint->getAngularUpperLimit(ang_ul); - - std::cout << "PHYSDBG JOINT_CPP " - << "idx=" << joint_index - << " A=" << rigidbody_a_index - << " B=" << rigidbody_b_index - << " anchor=(" << anchor_pos.x() << "," << anchor_pos.y() << "," << anchor_pos.z() - << ")" - << " bodyAPos=(" << body_a_pos.x() << "," << body_a_pos.y() << "," << body_a_pos.z() - << ")" - << " bodyBPos=(" << body_b_pos.x() << "," << body_b_pos.y() << "," << body_b_pos.z() - << ")" - << " linLL=(" << lin_ll.x() << "," << lin_ll.y() << "," << lin_ll.z() << ")" - << " linUL=(" << lin_ul.x() << "," << lin_ul.y() << "," << lin_ul.z() << ")" - << " angLL=(" << ang_ll.x() << "," << ang_ll.y() << "," << ang_ll.z() << ")" - << " angUL=(" << ang_ul.x() << "," << ang_ul.y() << "," << ang_ul.z() << ")" - << std::endl; - } - if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); constraint->setStiffness(0, joint_item.position_spring.x); diff --git a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java index 49e5b2f3..5c2eb74f 100644 --- a/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java +++ b/mod/src/client/java/top/fifthlight/armorstand/mixin/HeldItemFeatureRendererMixin.java @@ -2,84 +2,44 @@ import net.minecraft.client.render.VertexConsumerProvider; import net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer; -import net.minecraft.client.render.entity.model.ModelWithArms; import net.minecraft.client.render.entity.state.ArmedEntityRenderState; import net.minecraft.client.render.entity.state.PlayerEntityRenderState; -import net.minecraft.client.render.item.ItemRenderState; import net.minecraft.client.util.math.MatrixStack; -import net.minecraft.util.Arm; -import org.joml.Matrix4f; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Redirect; -import top.fifthlight.armorstand.config.ConfigHolder; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import top.fifthlight.armorstand.extension.internal.PlayerEntityRenderStateExtInternal; import top.fifthlight.armorstand.state.ModelInstanceManager; -import top.fifthlight.blazerod.model.HumanoidTag; -import top.fifthlight.blazerod.model.NodeTransformView; @Mixin(HeldItemFeatureRenderer.class) public class HeldItemFeatureRendererMixin { - private static final Matrix4f ARMORSTAND$HAND_WORLD_MATRIX = new Matrix4f(); - private static final Matrix4f ARMORSTAND$ITEM_LOCAL_MATRIX = new Matrix4f(); - - @Redirect( - method = "renderItem(Lnet/minecraft/client/render/entity/state/ArmedEntityRenderState;Lnet/minecraft/client/render/item/ItemRenderState;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V", - at = @At( - value = "INVOKE", - target = "Lnet/minecraft/client/render/entity/model/ModelWithArms;setArmAngle(Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;)V" - ) + @Inject( + method = "render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/state/ArmedEntityRenderState;FF)V", + at = @At("HEAD"), + cancellable = true ) - private void armorstand$redirectSetArmAngle( - ModelWithArms model, - Arm arm, + private void armorstand$cancelVanillaHeldItemRender( MatrixStack matrices, + VertexConsumerProvider vertexConsumers, + int light, ArmedEntityRenderState state, - ItemRenderState itemState, - Arm renderArm, - MatrixStack renderMatrices, - VertexConsumerProvider consumers, - int light + float limbAngle, + float limbDistance, + CallbackInfo ci ) { if (!(state instanceof PlayerEntityRenderState)) { - model.setArmAngle(arm, matrices); return; } var uuid = ((PlayerEntityRenderStateExtInternal) state).armorstand$getUuid(); if (uuid == null) { - model.setArmAngle(arm, matrices); return; } var entry = ModelInstanceManager.INSTANCE.get(uuid, System.nanoTime(), false); - if (!(entry instanceof ModelInstanceManager.ModelInstanceItem.Model modelItem)) { - model.setArmAngle(arm, matrices); - return; - } - - var instance = modelItem.getInstance(); - var scene = instance.getScene(); - - var tag = arm == Arm.RIGHT ? HumanoidTag.RIGHT_HAND : HumanoidTag.LEFT_HAND; - var node = scene.getHumanoidTagMap().get(tag); - if (node == null) { - model.setArmAngle(arm, matrices); - return; + if (entry instanceof ModelInstanceManager.ModelInstanceItem.Model) { + ci.cancel(); } - - instance.copyNodeWorldTransform(node.getNodeIndex(), ARMORSTAND$HAND_WORLD_MATRIX); - - ARMORSTAND$ITEM_LOCAL_MATRIX.identity(); - ARMORSTAND$ITEM_LOCAL_MATRIX.scale(ConfigHolder.INSTANCE.getConfig().getValue().getModelScale()); - - NodeTransformView renderTransform = scene.getRenderTransform(); - if (renderTransform != null) { - renderTransform.applyOnMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); - } - - ARMORSTAND$ITEM_LOCAL_MATRIX.mul(ARMORSTAND$HAND_WORLD_MATRIX); - - matrices.multiplyPositionMatrix(ARMORSTAND$ITEM_LOCAL_MATRIX); } } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 09aeff81..c6b260e7 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -7,14 +7,17 @@ import net.minecraft.client.MinecraftClient import net.minecraft.client.network.AbstractClientPlayerEntity import net.minecraft.client.render.VertexConsumerProvider import net.minecraft.client.render.entity.state.PlayerEntityRenderState +import net.minecraft.client.render.item.ItemRenderState import net.minecraft.client.util.math.MatrixStack import net.minecraft.entity.EntityPose +import org.joml.Matrix3f import org.joml.Matrix4f import top.fifthlight.armorstand.config.ConfigHolder import top.fifthlight.armorstand.state.ModelInstanceManager import top.fifthlight.armorstand.util.RendererManager import top.fifthlight.blazerod.api.render.ScheduledRenderer import top.fifthlight.blazerod.api.resource.CameraTransform +import top.fifthlight.blazerod.model.HumanoidTag import top.fifthlight.blazerod.model.Camera import java.lang.ref.WeakReference import java.util.* @@ -24,6 +27,10 @@ object PlayerRenderer { private val startNanoTime = System.nanoTime() private var renderingWorld = false + private val handWorldMatrix = Matrix4f() + private val itemLocalMatrix = Matrix4f() + private val itemNormalMatrix = Matrix3f() + private var prevModelItem = WeakReference(null) val selectedCameraIndex = MutableStateFlow(null) private val _totalCameras = MutableStateFlow?>(listOf()) @@ -63,6 +70,36 @@ object PlayerRenderer { private val matrix = Matrix4f() + private fun renderHeldItem( + instance: top.fifthlight.blazerod.api.resource.ModelInstance, + itemState: ItemRenderState, + tag: HumanoidTag, + matrixStack: MatrixStack, + consumers: VertexConsumerProvider, + light: Int, + overlay: Int, + ) { + if (itemState.isEmpty) { + return + } + + val node = instance.scene.humanoidTagMap[tag] ?: return + instance.copyNodeWorldTransform(node.nodeIndex, handWorldMatrix) + + itemLocalMatrix.identity() + itemLocalMatrix.scale(ConfigHolder.config.value.modelScale) + instance.scene.renderTransform?.applyOnMatrix(itemLocalMatrix) + itemLocalMatrix.mul(handWorldMatrix) + + matrixStack.push() + matrixStack.multiplyPositionMatrix(itemLocalMatrix) + matrixStack.peek().normalMatrix.set( + itemNormalMatrix.set(matrixStack.peek().positionMatrix).invert().transpose() + ) + itemState.render(matrixStack, consumers, light, overlay) + matrixStack.pop() + } + @JvmStatic fun updatePlayer( player: AbstractClientPlayerEntity, @@ -128,6 +165,25 @@ object PlayerRenderer { ) task.release() } + + renderHeldItem( + instance = instance, + itemState = vanillaState.rightHandItemState, + tag = HumanoidTag.RIGHT_HAND, + matrixStack = matrixStack, + consumers = consumers, + light = light, + overlay = overlay, + ) + renderHeldItem( + instance = instance, + itemState = vanillaState.leftHandItemState, + tag = HumanoidTag.LEFT_HAND, + matrixStack = matrixStack, + consumers = consumers, + light = light, + overlay = overlay, + ) } matrixStack.pop() From 9784860f71bf0c86f8471d739bc6b2b3e5ee178d Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 3 Jan 2026 14:39:03 +0700 Subject: [PATCH 102/112] Held Item Scale --- .../client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index c6b260e7..b2dcfeef 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -93,6 +93,8 @@ object PlayerRenderer { matrixStack.push() matrixStack.multiplyPositionMatrix(itemLocalMatrix) + val inverseModelScale = 1f / ConfigHolder.config.value.modelScale + matrixStack.scale(inverseModelScale, inverseModelScale, inverseModelScale) matrixStack.peek().normalMatrix.set( itemNormalMatrix.set(matrixStack.peek().positionMatrix).invert().transpose() ) From 8abdd10feb1785f493562ca4e1ad011b59cbcb48 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 3 Jan 2026 15:31:22 +0700 Subject: [PATCH 103/112] Correct Held Item Path --- .../fifthlight/armorstand/PlayerRenderer.kt | 62 +++++++++++++++++-- 1 file changed, 58 insertions(+), 4 deletions(-) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index b2dcfeef..9493c1ee 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -8,15 +8,22 @@ import net.minecraft.client.network.AbstractClientPlayerEntity import net.minecraft.client.render.VertexConsumerProvider import net.minecraft.client.render.entity.state.PlayerEntityRenderState import net.minecraft.client.render.item.ItemRenderState +import net.minecraft.item.ItemDisplayContext +import net.minecraft.item.ItemStack import net.minecraft.client.util.math.MatrixStack import net.minecraft.entity.EntityPose +import net.minecraft.util.math.RotationAxis +import net.minecraft.util.Arm import org.joml.Matrix3f import org.joml.Matrix4f +import org.joml.Quaternionf +import org.joml.Vector3f import top.fifthlight.armorstand.config.ConfigHolder import top.fifthlight.armorstand.state.ModelInstanceManager import top.fifthlight.armorstand.util.RendererManager import top.fifthlight.blazerod.api.render.ScheduledRenderer import top.fifthlight.blazerod.api.resource.CameraTransform +import top.fifthlight.blazerod.api.resource.ModelInstance import top.fifthlight.blazerod.model.HumanoidTag import top.fifthlight.blazerod.model.Camera import java.lang.ref.WeakReference @@ -28,6 +35,9 @@ object PlayerRenderer { private var renderingWorld = false private val handWorldMatrix = Matrix4f() + private val handWorldNoScaleMatrix = Matrix4f() + private val handWorldPos = Vector3f() + private val handWorldRot = Quaternionf() private val itemLocalMatrix = Matrix4f() private val itemNormalMatrix = Matrix3f() @@ -71,34 +81,66 @@ object PlayerRenderer { private val matrix = Matrix4f() private fun renderHeldItem( - instance: top.fifthlight.blazerod.api.resource.ModelInstance, + instance: ModelInstance, itemState: ItemRenderState, + player: AbstractClientPlayerEntity?, + itemStack: ItemStack?, + displayContext: ItemDisplayContext, tag: HumanoidTag, matrixStack: MatrixStack, consumers: VertexConsumerProvider, light: Int, overlay: Int, ) { - if (itemState.isEmpty) { + if ((itemStack == null || itemStack.isEmpty) && itemState.isEmpty) { return } val node = instance.scene.humanoidTagMap[tag] ?: return instance.copyNodeWorldTransform(node.nodeIndex, handWorldMatrix) + handWorldMatrix.getTranslation(handWorldPos) + handWorldMatrix.getUnnormalizedRotation(handWorldRot) + handWorldNoScaleMatrix.translationRotate( + handWorldPos.x, + handWorldPos.y, + handWorldPos.z, + handWorldRot.x, + handWorldRot.y, + handWorldRot.z, + handWorldRot.w, + ) itemLocalMatrix.identity() itemLocalMatrix.scale(ConfigHolder.config.value.modelScale) instance.scene.renderTransform?.applyOnMatrix(itemLocalMatrix) - itemLocalMatrix.mul(handWorldMatrix) + itemLocalMatrix.mul(handWorldNoScaleMatrix) matrixStack.push() matrixStack.multiplyPositionMatrix(itemLocalMatrix) + matrixStack.multiply(RotationAxis.POSITIVE_X.rotationDegrees(-90f)) + matrixStack.multiply(RotationAxis.POSITIVE_Y.rotationDegrees(180f)) + val handSign = if (tag == HumanoidTag.LEFT_HAND) -1.0 else 1.0 + matrixStack.translate(handSign / 16.0, 0.125, -0.625) val inverseModelScale = 1f / ConfigHolder.config.value.modelScale matrixStack.scale(inverseModelScale, inverseModelScale, inverseModelScale) matrixStack.peek().normalMatrix.set( itemNormalMatrix.set(matrixStack.peek().positionMatrix).invert().transpose() ) - itemState.render(matrixStack, consumers, light, overlay) + if (player != null && itemStack != null && !itemStack.isEmpty) { + MinecraftClient.getInstance().itemRenderer.renderItem( + player, + itemStack, + displayContext, + matrixStack, + consumers, + player.world, + light, + overlay, + 0, + ) + } else { + itemState.render(matrixStack, consumers, light, overlay) + } matrixStack.pop() } @@ -134,6 +176,12 @@ object PlayerRenderer { val controller = entry.controller val instance = entry.instance + val player = MinecraftClient.getInstance().world?.getPlayerByUuid(uuid) + val mainHandStack = player?.mainHandStack + val offHandStack = player?.offHandStack + val rightHandStack: ItemStack? = if (vanillaState.mainArm == Arm.RIGHT) mainHandStack else offHandStack + val leftHandStack: ItemStack? = if (vanillaState.mainArm == Arm.RIGHT) offHandStack else mainHandStack + val time = (System.nanoTime() - startNanoTime).toFloat() / NANOSECONDS_PER_SECOND.toFloat() controller.apply(uuid, instance, vanillaState) instance.updateRenderData(time) @@ -171,6 +219,9 @@ object PlayerRenderer { renderHeldItem( instance = instance, itemState = vanillaState.rightHandItemState, + player = player, + itemStack = rightHandStack, + displayContext = ItemDisplayContext.THIRD_PERSON_RIGHT_HAND, tag = HumanoidTag.RIGHT_HAND, matrixStack = matrixStack, consumers = consumers, @@ -180,6 +231,9 @@ object PlayerRenderer { renderHeldItem( instance = instance, itemState = vanillaState.leftHandItemState, + player = player, + itemStack = leftHandStack, + displayContext = ItemDisplayContext.THIRD_PERSON_LEFT_HAND, tag = HumanoidTag.LEFT_HAND, matrixStack = matrixStack, consumers = consumers, From 3b0d1c5c5df987ad365a612246572b73d2b4ff98 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 3 Jan 2026 15:38:05 +0700 Subject: [PATCH 104/112] Fix mistake with PlayerEntity --- .../client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 9493c1ee..84880a0e 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -8,6 +8,7 @@ import net.minecraft.client.network.AbstractClientPlayerEntity import net.minecraft.client.render.VertexConsumerProvider import net.minecraft.client.render.entity.state.PlayerEntityRenderState import net.minecraft.client.render.item.ItemRenderState +import net.minecraft.entity.LivingEntity import net.minecraft.item.ItemDisplayContext import net.minecraft.item.ItemStack import net.minecraft.client.util.math.MatrixStack @@ -83,7 +84,7 @@ object PlayerRenderer { private fun renderHeldItem( instance: ModelInstance, itemState: ItemRenderState, - player: AbstractClientPlayerEntity?, + player: LivingEntity?, itemStack: ItemStack?, displayContext: ItemDisplayContext, tag: HumanoidTag, From bd522e09e55179ae899d3070cfc9bb0a8c19a3b9 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 3 Jan 2026 16:51:29 +0700 Subject: [PATCH 105/112] Try to allign hand held item --- .../top/fifthlight/armorstand/PlayerRenderer.kt | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 84880a0e..2f955bbb 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -101,6 +101,7 @@ object PlayerRenderer { instance.copyNodeWorldTransform(node.nodeIndex, handWorldMatrix) handWorldMatrix.getTranslation(handWorldPos) handWorldMatrix.getUnnormalizedRotation(handWorldRot) + handWorldRot.normalize() handWorldNoScaleMatrix.translationRotate( handWorldPos.x, handWorldPos.y, @@ -115,6 +116,18 @@ object PlayerRenderer { itemLocalMatrix.scale(ConfigHolder.config.value.modelScale) instance.scene.renderTransform?.applyOnMatrix(itemLocalMatrix) itemLocalMatrix.mul(handWorldNoScaleMatrix) + itemLocalMatrix.getTranslation(handWorldPos) + itemLocalMatrix.getUnnormalizedRotation(handWorldRot) + handWorldRot.normalize() + itemLocalMatrix.translationRotate( + handWorldPos.x, + handWorldPos.y, + handWorldPos.z, + handWorldRot.x, + handWorldRot.y, + handWorldRot.z, + handWorldRot.w, + ) matrixStack.push() matrixStack.multiplyPositionMatrix(itemLocalMatrix) @@ -122,8 +135,6 @@ object PlayerRenderer { matrixStack.multiply(RotationAxis.POSITIVE_Y.rotationDegrees(180f)) val handSign = if (tag == HumanoidTag.LEFT_HAND) -1.0 else 1.0 matrixStack.translate(handSign / 16.0, 0.125, -0.625) - val inverseModelScale = 1f / ConfigHolder.config.value.modelScale - matrixStack.scale(inverseModelScale, inverseModelScale, inverseModelScale) matrixStack.peek().normalMatrix.set( itemNormalMatrix.set(matrixStack.peek().positionMatrix).invert().transpose() ) From 65b850b70ae8d8c1ffb8b987cfa133cadb5d0826 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 3 Jan 2026 17:46:23 +0700 Subject: [PATCH 106/112] Try to allign hand held item - Again --- .../fifthlight/armorstand/PlayerRenderer.kt | 19 +++++++++++++------ .../armorstand/config/GlobalConfig.kt | 7 +++++++ 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt index 2f955bbb..91bd374c 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/PlayerRenderer.kt @@ -13,7 +13,6 @@ import net.minecraft.item.ItemDisplayContext import net.minecraft.item.ItemStack import net.minecraft.client.util.math.MatrixStack import net.minecraft.entity.EntityPose -import net.minecraft.util.math.RotationAxis import net.minecraft.util.Arm import org.joml.Matrix3f import org.joml.Matrix4f @@ -97,6 +96,7 @@ object PlayerRenderer { return } + val config = ConfigHolder.config.value val node = instance.scene.humanoidTagMap[tag] ?: return instance.copyNodeWorldTransform(node.nodeIndex, handWorldMatrix) handWorldMatrix.getTranslation(handWorldPos) @@ -113,9 +113,19 @@ object PlayerRenderer { ) itemLocalMatrix.identity() - itemLocalMatrix.scale(ConfigHolder.config.value.modelScale) + itemLocalMatrix.scale(config.modelScale) instance.scene.renderTransform?.applyOnMatrix(itemLocalMatrix) itemLocalMatrix.mul(handWorldNoScaleMatrix) + + itemLocalMatrix.rotateX(Math.toRadians(config.heldItemRotX.toDouble()).toFloat()) + itemLocalMatrix.rotateY(Math.toRadians(config.heldItemRotY.toDouble()).toFloat()) + itemLocalMatrix.rotateZ(Math.toRadians(config.heldItemRotZ.toDouble()).toFloat()) + val handSign = if (tag == HumanoidTag.LEFT_HAND) -1f else 1f + itemLocalMatrix.translate( + handSign * config.heldItemOffsetX, + config.heldItemOffsetY, + config.heldItemOffsetZ, + ) itemLocalMatrix.getTranslation(handWorldPos) itemLocalMatrix.getUnnormalizedRotation(handWorldRot) handWorldRot.normalize() @@ -131,10 +141,7 @@ object PlayerRenderer { matrixStack.push() matrixStack.multiplyPositionMatrix(itemLocalMatrix) - matrixStack.multiply(RotationAxis.POSITIVE_X.rotationDegrees(-90f)) - matrixStack.multiply(RotationAxis.POSITIVE_Y.rotationDegrees(180f)) - val handSign = if (tag == HumanoidTag.LEFT_HAND) -1.0 else 1.0 - matrixStack.translate(handSign / 16.0, 0.125, -0.625) + matrixStack.scale(config.heldItemScale, config.heldItemScale, config.heldItemScale) matrixStack.peek().normalMatrix.set( itemNormalMatrix.set(matrixStack.peek().positionMatrix).invert().transpose() ) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt index c356aa23..2a7f827c 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt @@ -27,6 +27,13 @@ data class GlobalConfig( val hidePlayerShadow: Boolean = false, val hidePlayerArmor: Boolean = false, val modelScale: Float = 1f, + val heldItemScale: Float = 0.9f, + val heldItemOffsetX: Float = 0f, + val heldItemOffsetY: Float = 0f, + val heldItemOffsetZ: Float = 0f, + val heldItemRotX: Float = -90f, + val heldItemRotY: Float = 180f, + val heldItemRotZ: Float = 0f, val thirdPersonDistanceScale: Float = 1f, val renderer: RendererKey = RendererKey.VERTEX_SHADER_TRANSFORM, val vmcUdpPort: Int = 9000, From 52714f9adb733255f1c217eafea7276f13c35b07 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sat, 3 Jan 2026 19:48:40 +0700 Subject: [PATCH 107/112] physics collision filtering + linked-body collision disabling --- blazerod/model/model-pmx/PmxLoader.kt | 3 ++- blazerod/render/main/physics/PhysicsWorld.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 03079381..d0ecaf75 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,8 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup and 0xFFFF + val nonCollisionMask = rigidBody.nonCollisionGroup and 0xFFFF + var collisionMask = nonCollisionMask.inv() and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 89fb78ae..110b23a5 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -397,7 +397,7 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c constraint->setStiffness(5, joint_item.rotation_spring.z); } - this->world->addConstraint(constraint.get(), false); + this->world->addConstraint(constraint.get(), true); this->joints.push_back(std::move(constraint)); } } From 7b65d47bc0bdbdf9368d8bb7dc17e15fb9115aab Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 4 Jan 2026 08:05:45 +0700 Subject: [PATCH 108/112] Revert + Improve collision filtering correctness --- blazerod/model/model-pmx/PmxLoader.kt | 3 +- blazerod/render/main/physics/PhysicsWorld.cpp | 32 +++++++++++++++---- .../armorstand/config/GlobalConfig.kt | 20 ++++++++++-- 3 files changed, 45 insertions(+), 10 deletions(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index d0ecaf75..debb94b1 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,8 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - val nonCollisionMask = rigidBody.nonCollisionGroup and 0xFFFF - var collisionMask = nonCollisionMask.inv() and 0xFFFF + var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 110b23a5..1088a1f8 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -314,6 +314,9 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c if (rigidbody_item.physics_mode == PhysicsMode::FOLLOW_BONE) { rigidbody->setCollisionFlags(rigidbody->getCollisionFlags() | btCollisionObject::CF_KINEMATIC_OBJECT); } + if (rigidbody_item.physics_mode == PhysicsMode::PHYSICS_PLUS_BONE) { + rigidbody->setLinearFactor(btVector3(0.0f, 0.0f, 0.0f)); + } rigidbody_data.shape = std::move(shape); rigidbody_data.motion_state = std::move(motion_state); @@ -329,11 +332,21 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c for (const Joint& joint_item : joints) { size_t joint_index = joint_count++; btMatrix3x3 rotation_matrix; - // Match Saba's MMDPhysics PMX joint path: use preprocessed joint rotation directly. - rotation_matrix.setEulerZYX( - joint_item.rotation.x, - joint_item.rotation.y, - joint_item.rotation.z); + float rx_val = joint_item.rotation.x; + float ry_val = joint_item.rotation.y; + float rz_val = joint_item.rotation.z; + + btMatrix3x3 rot_x(1, 0, 0, + 0, cos(rx_val), -sin(rx_val), + 0, sin(rx_val), cos(rx_val)); + btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), + 0, 1, 0, + -sin(ry_val), 0, cos(ry_val)); + btMatrix3x3 rot_z(cos(rz_val), -sin(rz_val), 0, + sin(rz_val), cos(rz_val), 0, + 0, 0, 1); + + rotation_matrix = rot_y * rot_x * rot_z; btTransform transform; transform.setIdentity(); @@ -375,29 +388,36 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); constraint->setStiffness(0, joint_item.position_spring.x); + constraint->setDamping(0, 0.5f); } if (joint_item.position_spring.y != 0.0f) { constraint->enableSpring(1, true); constraint->setStiffness(1, joint_item.position_spring.y); + constraint->setDamping(1, 0.5f); } if (joint_item.position_spring.z != 0.0f) { constraint->enableSpring(2, true); constraint->setStiffness(2, joint_item.position_spring.z); + constraint->setDamping(2, 0.5f); } if (joint_item.rotation_spring.x != 0.0f) { constraint->enableSpring(3, true); constraint->setStiffness(3, joint_item.rotation_spring.x); + constraint->setDamping(3, 0.5f); } if (joint_item.rotation_spring.y != 0.0f) { constraint->enableSpring(4, true); constraint->setStiffness(4, joint_item.rotation_spring.y); + constraint->setDamping(4, 0.5f); } if (joint_item.rotation_spring.z != 0.0f) { constraint->enableSpring(5, true); constraint->setStiffness(5, joint_item.rotation_spring.z); + constraint->setDamping(5, 0.5f); } + constraint->setEquilibriumPoint(); - this->world->addConstraint(constraint.get(), true); + this->world->addConstraint(constraint.get(), false); this->joints.push_back(std::move(constraint)); } } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt index 2a7f827c..012a7372 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt @@ -79,13 +79,29 @@ data class GlobalConfig( object ConfigHolder { private val configFile = GameDirectoryGetter.configDirectory.resolve("armorstand.json") + private val logger = LoggerFactory.getLogger(ConfigHolder::class.java) + private val json = Json { + ignoreUnknownKeys = true + encodeDefaults = true + } private val _config = MutableStateFlow(GlobalConfig()) val config = _config.asStateFlow() @OptIn(ExperimentalSerializationApi::class) fun read() { runCatching { - _config.value = configFile.inputStream().use { Json.decodeFromStream(it) } + configFile.inputStream().use { json.decodeFromStream(it) } + }.onSuccess { loaded -> + _config.value = loaded + logger.info( + "Loaded ArmorStand config from $configFile: " + + "modelScale=${loaded.modelScale}, " + + "heldItemScale=${loaded.heldItemScale}, " + + "heldItemOffset=(${loaded.heldItemOffsetX},${loaded.heldItemOffsetY},${loaded.heldItemOffsetZ}), " + + "heldItemRot=(${loaded.heldItemRotX},${loaded.heldItemRotY},${loaded.heldItemRotZ})" + ) + }.onFailure { ex -> + logger.warn("Failed to load config file: $configFile", ex) } } @@ -96,6 +112,6 @@ object ConfigHolder { @OptIn(ExperimentalSerializationApi::class) private fun save(config: GlobalConfig) { configFile.parent.createDirectories() - configFile.outputStream().use { Json.encodeToStream(config, it) } + configFile.outputStream().use { json.encodeToStream(config, it) } } } \ No newline at end of file From 1d01cb842dbb36e2b5746b003d820a374aac3488 Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 4 Jan 2026 09:13:08 +0700 Subject: [PATCH 109/112] Revert + Fix Config to apply correct item scale + Update the joint rotation matrix to use the same composition as rigidbodies --- .gitignore | 2 +- blazerod/render/main/physics/PhysicsWorld.cpp | 11 --- .../armorstand/config/GlobalConfig.kt | 22 ++--- .../armorstand/ui/model/ConfigViewModel.kt | 49 ++++++++++ .../armorstand/ui/screen/ConfigScreen.kt | 98 +++++++++++++++++++ .../armorstand/ui/state/ConfigScreenState.kt | 7 ++ .../armorstand/ui/util/SliderUtil.kt | 5 - 7 files changed, 162 insertions(+), 32 deletions(-) diff --git a/.gitignore b/.gitignore index 290bbeda..a6fa5b6b 100644 --- a/.gitignore +++ b/.gitignore @@ -56,4 +56,4 @@ bazel-* external #KAIMyEntity-C -KAIMyEntity-C/ \ No newline at end of file +KAIMyEntity-C/ diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index 1088a1f8..c95ce740 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -314,9 +314,6 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c if (rigidbody_item.physics_mode == PhysicsMode::FOLLOW_BONE) { rigidbody->setCollisionFlags(rigidbody->getCollisionFlags() | btCollisionObject::CF_KINEMATIC_OBJECT); } - if (rigidbody_item.physics_mode == PhysicsMode::PHYSICS_PLUS_BONE) { - rigidbody->setLinearFactor(btVector3(0.0f, 0.0f, 0.0f)); - } rigidbody_data.shape = std::move(shape); rigidbody_data.motion_state = std::move(motion_state); @@ -345,7 +342,6 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c btMatrix3x3 rot_z(cos(rz_val), -sin(rz_val), 0, sin(rz_val), cos(rz_val), 0, 0, 0, 1); - rotation_matrix = rot_y * rot_x * rot_z; btTransform transform; @@ -388,34 +384,27 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c if (joint_item.position_spring.x != 0.0f) { constraint->enableSpring(0, true); constraint->setStiffness(0, joint_item.position_spring.x); - constraint->setDamping(0, 0.5f); } if (joint_item.position_spring.y != 0.0f) { constraint->enableSpring(1, true); constraint->setStiffness(1, joint_item.position_spring.y); - constraint->setDamping(1, 0.5f); } if (joint_item.position_spring.z != 0.0f) { constraint->enableSpring(2, true); constraint->setStiffness(2, joint_item.position_spring.z); - constraint->setDamping(2, 0.5f); } if (joint_item.rotation_spring.x != 0.0f) { constraint->enableSpring(3, true); constraint->setStiffness(3, joint_item.rotation_spring.x); - constraint->setDamping(3, 0.5f); } if (joint_item.rotation_spring.y != 0.0f) { constraint->enableSpring(4, true); constraint->setStiffness(4, joint_item.rotation_spring.y); - constraint->setDamping(4, 0.5f); } if (joint_item.rotation_spring.z != 0.0f) { constraint->enableSpring(5, true); constraint->setStiffness(5, joint_item.rotation_spring.z); - constraint->setDamping(5, 0.5f); } - constraint->setEquilibriumPoint(); this->world->addConstraint(constraint.get(), false); this->joints.push_back(std::move(constraint)); diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt index 012a7372..830ff149 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt @@ -79,29 +79,21 @@ data class GlobalConfig( object ConfigHolder { private val configFile = GameDirectoryGetter.configDirectory.resolve("armorstand.json") - private val logger = LoggerFactory.getLogger(ConfigHolder::class.java) + private val _config = MutableStateFlow(GlobalConfig()) + val config = _config.asStateFlow() + private val json = Json { ignoreUnknownKeys = true encodeDefaults = true } - private val _config = MutableStateFlow(GlobalConfig()) - val config = _config.asStateFlow() @OptIn(ExperimentalSerializationApi::class) fun read() { runCatching { - configFile.inputStream().use { json.decodeFromStream(it) } - }.onSuccess { loaded -> - _config.value = loaded - logger.info( - "Loaded ArmorStand config from $configFile: " + - "modelScale=${loaded.modelScale}, " + - "heldItemScale=${loaded.heldItemScale}, " + - "heldItemOffset=(${loaded.heldItemOffsetX},${loaded.heldItemOffsetY},${loaded.heldItemOffsetZ}), " + - "heldItemRot=(${loaded.heldItemRotX},${loaded.heldItemRotY},${loaded.heldItemRotZ})" - ) - }.onFailure { ex -> - logger.warn("Failed to load config file: $configFile", ex) + _config.value = configFile.inputStream().use { json.decodeFromStream(it) } + } + runCatching { + save(_config.value) } } diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/ui/model/ConfigViewModel.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/ui/model/ConfigViewModel.kt index bd9f1630..aa24f519 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/ui/model/ConfigViewModel.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/ui/model/ConfigViewModel.kt @@ -88,6 +88,13 @@ class ConfigViewModel(scope: CoroutineScope) : ViewModel(scope) { hidePlayerShadow = config.hidePlayerShadow, hidePlayerArmor = config.hidePlayerArmor, modelScale = config.modelScale, + heldItemScale = config.heldItemScale, + heldItemOffsetX = config.heldItemOffsetX, + heldItemOffsetY = config.heldItemOffsetY, + heldItemOffsetZ = config.heldItemOffsetZ, + heldItemRotX = config.heldItemRotX, + heldItemRotY = config.heldItemRotY, + heldItemRotZ = config.heldItemRotZ, thirdPersonDistanceScale = config.thirdPersonDistanceScale, ) } @@ -179,6 +186,48 @@ class ConfigViewModel(scope: CoroutineScope) : ViewModel(scope) { } } + fun updateHeldItemScale(heldItemScale: Float) { + ConfigHolder.update { + copy(heldItemScale = heldItemScale) + } + } + + fun updateHeldItemOffsetX(heldItemOffsetX: Float) { + ConfigHolder.update { + copy(heldItemOffsetX = heldItemOffsetX) + } + } + + fun updateHeldItemOffsetY(heldItemOffsetY: Float) { + ConfigHolder.update { + copy(heldItemOffsetY = heldItemOffsetY) + } + } + + fun updateHeldItemOffsetZ(heldItemOffsetZ: Float) { + ConfigHolder.update { + copy(heldItemOffsetZ = heldItemOffsetZ) + } + } + + fun updateHeldItemRotX(heldItemRotX: Float) { + ConfigHolder.update { + copy(heldItemRotX = heldItemRotX) + } + } + + fun updateHeldItemRotY(heldItemRotY: Float) { + ConfigHolder.update { + copy(heldItemRotY = heldItemRotY) + } + } + + fun updateHeldItemRotZ(heldItemRotZ: Float) { + ConfigHolder.update { + copy(heldItemRotZ = heldItemRotZ) + } + } + fun updateThirdPersonDistanceScale(thirdPersonDistanceScale: Float) { ConfigHolder.update { copy(thirdPersonDistanceScale = thirdPersonDistanceScale) diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/ui/screen/ConfigScreen.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/ui/screen/ConfigScreen.kt index 0fd801fe..c912c1ff 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/ui/screen/ConfigScreen.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/ui/screen/ConfigScreen.kt @@ -29,6 +29,10 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Text.literal("Held item scale: $text") }, + min = 0.05, + max = 2.0, + value = viewModel.uiState.map { it.heldItemScale.toDouble() }.distinctUntilChanged(), + onValueChanged = { _, value -> + viewModel.updateHeldItemScale(value.toFloat()) + }, + ) + } + + private val heldItemOffsetXSlider by lazy { + slider( + textFactory = { _, text -> Text.literal("Held item offset X: $text") }, + min = -0.5, + max = 0.5, + value = viewModel.uiState.map { it.heldItemOffsetX.toDouble() }.distinctUntilChanged(), + onValueChanged = { _, value -> + viewModel.updateHeldItemOffsetX(value.toFloat()) + }, + ) + } + + private val heldItemOffsetYSlider by lazy { + slider( + textFactory = { _, text -> Text.literal("Held item offset Y: $text") }, + min = -0.5, + max = 0.5, + value = viewModel.uiState.map { it.heldItemOffsetY.toDouble() }.distinctUntilChanged(), + onValueChanged = { _, value -> + viewModel.updateHeldItemOffsetY(value.toFloat()) + }, + ) + } + + private val heldItemOffsetZSlider by lazy { + slider( + textFactory = { _, text -> Text.literal("Held item offset Z: $text") }, + min = -0.5, + max = 0.5, + value = viewModel.uiState.map { it.heldItemOffsetZ.toDouble() }.distinctUntilChanged(), + onValueChanged = { _, value -> + viewModel.updateHeldItemOffsetZ(value.toFloat()) + }, + ) + } + + private val heldItemRotXSlider by lazy { + slider( + textFactory = { _, text -> Text.literal("Held item rot X: $text") }, + min = -180.0, + max = 180.0, + decimalPlaces = 0, + value = viewModel.uiState.map { it.heldItemRotX.toDouble() }.distinctUntilChanged(), + onValueChanged = { _, value -> + viewModel.updateHeldItemRotX(value.toFloat()) + }, + ) + } + + private val heldItemRotYSlider by lazy { + slider( + textFactory = { _, text -> Text.literal("Held item rot Y: $text") }, + min = -180.0, + max = 180.0, + decimalPlaces = 0, + value = viewModel.uiState.map { it.heldItemRotY.toDouble() }.distinctUntilChanged(), + onValueChanged = { _, value -> + viewModel.updateHeldItemRotY(value.toFloat()) + }, + ) + } + + private val heldItemRotZSlider by lazy { + slider( + textFactory = { _, text -> Text.literal("Held item rot Z: $text") }, + min = -180.0, + max = 180.0, + decimalPlaces = 0, + value = viewModel.uiState.map { it.heldItemRotZ.toDouble() }.distinctUntilChanged(), + onValueChanged = { _, value -> + viewModel.updateHeldItemRotZ(value.toFloat()) + }, + ) + } + private val thirdPersonDistanceScaleSlider = slider( textFactory = { slider, text -> Text.translatable("armorstand.config.third_person_distance_scale", text) }, min = 0.05, @@ -268,6 +359,13 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Date: Sun, 4 Jan 2026 10:08:06 +0700 Subject: [PATCH 110/112] Revert + Update the config & UI to support Held Item --- .gitignore | 2 +- blazerod/model/model-pmx/PmxLoader.kt | 2 +- blazerod/render/main/physics/PhysicsWorld.cpp | 19 +-- .../armorstand/config/GlobalConfig.kt | 14 ++- .../armorstand/ui/screen/ConfigScreen.kt | 112 +++++++++++------- .../armorstand/ui/util/SliderUtil.kt | 8 +- .../assets/armorstand/lang/en_us.json | 8 ++ 7 files changed, 99 insertions(+), 66 deletions(-) diff --git a/.gitignore b/.gitignore index a6fa5b6b..290bbeda 100644 --- a/.gitignore +++ b/.gitignore @@ -56,4 +56,4 @@ bazel-* external #KAIMyEntity-C -KAIMyEntity-C/ +KAIMyEntity-C/ \ No newline at end of file diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index debb94b1..03079381 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup.inv() and 0xFFFF + var collisionMask = rigidBody.nonCollisionGroup and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + diff --git a/blazerod/render/main/physics/PhysicsWorld.cpp b/blazerod/render/main/physics/PhysicsWorld.cpp index c95ce740..89fb78ae 100644 --- a/blazerod/render/main/physics/PhysicsWorld.cpp +++ b/blazerod/render/main/physics/PhysicsWorld.cpp @@ -329,20 +329,11 @@ PhysicsWorld::PhysicsWorld(const PhysicsScene& scene, size_t initial_transform_c for (const Joint& joint_item : joints) { size_t joint_index = joint_count++; btMatrix3x3 rotation_matrix; - float rx_val = joint_item.rotation.x; - float ry_val = joint_item.rotation.y; - float rz_val = joint_item.rotation.z; - - btMatrix3x3 rot_x(1, 0, 0, - 0, cos(rx_val), -sin(rx_val), - 0, sin(rx_val), cos(rx_val)); - btMatrix3x3 rot_y(cos(ry_val), 0, sin(ry_val), - 0, 1, 0, - -sin(ry_val), 0, cos(ry_val)); - btMatrix3x3 rot_z(cos(rz_val), -sin(rz_val), 0, - sin(rz_val), cos(rz_val), 0, - 0, 0, 1); - rotation_matrix = rot_y * rot_x * rot_z; + // Match Saba's MMDPhysics PMX joint path: use preprocessed joint rotation directly. + rotation_matrix.setEulerZYX( + joint_item.rotation.x, + joint_item.rotation.y, + joint_item.rotation.z); btTransform transform; transform.setIdentity(); diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt index 830ff149..bd9a7ca2 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/config/GlobalConfig.kt @@ -16,6 +16,7 @@ import top.fifthlight.blazerod.api.render.RendererTypeHolderFactory import java.nio.file.InvalidPathException import kotlin.io.path.Path import kotlin.io.path.createDirectories +import kotlin.io.path.exists import kotlin.io.path.inputStream import kotlin.io.path.outputStream @@ -83,18 +84,19 @@ object ConfigHolder { val config = _config.asStateFlow() private val json = Json { - ignoreUnknownKeys = true encodeDefaults = true + prettyPrint = true + ignoreUnknownKeys = true } @OptIn(ExperimentalSerializationApi::class) fun read() { - runCatching { - _config.value = configFile.inputStream().use { json.decodeFromStream(it) } - } - runCatching { - save(_config.value) + if (configFile.exists()) { + runCatching { + _config.value = configFile.inputStream().use { json.decodeFromStream(it) } + } } + save(_config.value) } fun update(editor: GlobalConfig.() -> GlobalConfig) { diff --git a/mod/src/client/kotlin/top/fifthlight/armorstand/ui/screen/ConfigScreen.kt b/mod/src/client/kotlin/top/fifthlight/armorstand/ui/screen/ConfigScreen.kt index c912c1ff..914fe7dc 100644 --- a/mod/src/client/kotlin/top/fifthlight/armorstand/ui/screen/ConfigScreen.kt +++ b/mod/src/client/kotlin/top/fifthlight/armorstand/ui/screen/ConfigScreen.kt @@ -29,10 +29,6 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Text.literal("Held item scale: $text") }, - min = 0.05, + textFactory = { slider, text -> Text.translatable("armorstand.config.held_item_scale", text) }, + min = 0.0, max = 2.0, - value = viewModel.uiState.map { it.heldItemScale.toDouble() }.distinctUntilChanged(), - onValueChanged = { _, value -> + value = viewModel.uiState.map { it.heldItemScale.toDouble() }, + onValueChanged = { userTriggered, value -> viewModel.updateHeldItemScale(value.toFloat()) }, ) @@ -246,11 +276,12 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Text.literal("Held item offset X: $text") }, - min = -0.5, - max = 0.5, - value = viewModel.uiState.map { it.heldItemOffsetX.toDouble() }.distinctUntilChanged(), - onValueChanged = { _, value -> + textFactory = { slider, text -> Text.translatable("armorstand.config.held_item_offset_x", text) }, + min = -1.0, + max = 1.0, + decimalPlaces = 3, + value = viewModel.uiState.map { it.heldItemOffsetX.toDouble() }, + onValueChanged = { userTriggered, value -> viewModel.updateHeldItemOffsetX(value.toFloat()) }, ) @@ -258,11 +289,12 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Text.literal("Held item offset Y: $text") }, - min = -0.5, - max = 0.5, - value = viewModel.uiState.map { it.heldItemOffsetY.toDouble() }.distinctUntilChanged(), - onValueChanged = { _, value -> + textFactory = { slider, text -> Text.translatable("armorstand.config.held_item_offset_y", text) }, + min = -1.0, + max = 1.0, + decimalPlaces = 3, + value = viewModel.uiState.map { it.heldItemOffsetY.toDouble() }, + onValueChanged = { userTriggered, value -> viewModel.updateHeldItemOffsetY(value.toFloat()) }, ) @@ -270,11 +302,12 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Text.literal("Held item offset Z: $text") }, - min = -0.5, - max = 0.5, - value = viewModel.uiState.map { it.heldItemOffsetZ.toDouble() }.distinctUntilChanged(), - onValueChanged = { _, value -> + textFactory = { slider, text -> Text.translatable("armorstand.config.held_item_offset_z", text) }, + min = -1.0, + max = 1.0, + decimalPlaces = 3, + value = viewModel.uiState.map { it.heldItemOffsetZ.toDouble() }, + onValueChanged = { userTriggered, value -> viewModel.updateHeldItemOffsetZ(value.toFloat()) }, ) @@ -282,12 +315,12 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Text.literal("Held item rot X: $text") }, + textFactory = { slider, text -> Text.translatable("armorstand.config.held_item_rot_x", text) }, min = -180.0, max = 180.0, - decimalPlaces = 0, - value = viewModel.uiState.map { it.heldItemRotX.toDouble() }.distinctUntilChanged(), - onValueChanged = { _, value -> + decimalPlaces = 1, + value = viewModel.uiState.map { it.heldItemRotX.toDouble() }, + onValueChanged = { userTriggered, value -> viewModel.updateHeldItemRotX(value.toFloat()) }, ) @@ -295,12 +328,12 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Text.literal("Held item rot Y: $text") }, + textFactory = { slider, text -> Text.translatable("armorstand.config.held_item_rot_y", text) }, min = -180.0, max = 180.0, - decimalPlaces = 0, - value = viewModel.uiState.map { it.heldItemRotY.toDouble() }.distinctUntilChanged(), - onValueChanged = { _, value -> + decimalPlaces = 1, + value = viewModel.uiState.map { it.heldItemRotY.toDouble() }, + onValueChanged = { userTriggered, value -> viewModel.updateHeldItemRotY(value.toFloat()) }, ) @@ -308,12 +341,12 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Text.literal("Held item rot Z: $text") }, + textFactory = { slider, text -> Text.translatable("armorstand.config.held_item_rot_z", text) }, min = -180.0, max = 180.0, - decimalPlaces = 0, - value = viewModel.uiState.map { it.heldItemRotZ.toDouble() }.distinctUntilChanged(), - onValueChanged = { _, value -> + decimalPlaces = 1, + value = viewModel.uiState.map { it.heldItemRotZ.toDouble() }, + onValueChanged = { userTriggered, value -> viewModel.updateHeldItemRotZ(value.toFloat()) }, ) @@ -359,13 +392,6 @@ class ConfigScreen(parent: Screen? = null) : ArmorStandScreen Date: Sun, 4 Jan 2026 12:39:01 +0700 Subject: [PATCH 111/112] Try to improve RigidBodies to minimize vibration --- blazerod/model/model-pmx/PmxLoader.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index 03079381..b3916816 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,7 +1213,8 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - var collisionMask = rigidBody.nonCollisionGroup and 0xFFFF + val nonCollisionGroup = rigidBody.nonCollisionGroup and 0xFFFF + var collisionMask = nonCollisionGroup.inv() and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " + From b4916f6ecb596b2a8e73f1842929327c105556fe Mon Sep 17 00:00:00 2001 From: Sylsatra Date: Sun, 4 Jan 2026 13:37:51 +0700 Subject: [PATCH 112/112] Reverted the mask inversion --- .gitignore | 2 +- blazerod/model/model-pmx/PmxLoader.kt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 290bbeda..a6fa5b6b 100644 --- a/.gitignore +++ b/.gitignore @@ -56,4 +56,4 @@ bazel-* external #KAIMyEntity-C -KAIMyEntity-C/ \ No newline at end of file +KAIMyEntity-C/ diff --git a/blazerod/model/model-pmx/PmxLoader.kt b/blazerod/model/model-pmx/PmxLoader.kt index b3916816..5c0dea49 100644 --- a/blazerod/model/model-pmx/PmxLoader.kt +++ b/blazerod/model/model-pmx/PmxLoader.kt @@ -1213,8 +1213,7 @@ class PmxLoader : ModelFileLoader { } val baseGroup = 1 shl rigidBody.groupId - val nonCollisionGroup = rigidBody.nonCollisionGroup and 0xFFFF - var collisionMask = nonCollisionGroup.inv() and 0xFFFF + val collisionMask = rigidBody.nonCollisionGroup and 0xFFFF val defaultMask = collisionMask println( "PHYSDBG RB_GROUP " +