TXD to YTD: preserve populated rectangular mip tails or require explicit loss

Đang mở
#43 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
computer-graphics

Hướng nghiên cứu

Start from the legacy YTD adapter and its quarter-size mip-chain assumption, then reproduce the failure with one of the 162 dictionaries that have populated rectangular or tiny mip tails. Compare that output against the existing complete DDS export, and check how absent source records are distinguished from populated levels. Done means strict conversion remains the default, every representable populated level is retained, any allowed loss is explicitly named and reported per texture/level, and new rectangular-chain regression tests reopen produced YTDs with independent checks.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The installed SA scan parsed/rebuilt 2,759 TXDs, decoded 65,592 populated mip records, and retained 8,906 empty tail records. However, 162 dictionaries have populated rectangular/tiny mip tails incompatible with the current legacy YTD adapter's quarter-size chain assumptions.

Current behavior correctly refuses these conversions rather than silently dropping populated pixels. Complete DDS export is already available.

  • Prefer fixing the YTD layout adapter to retain every representable populated level.
  • If a target restriction remains, add a named explicit allowed loss and a per-texture/per-level report.
  • Preserve DXT1 alpha, distinguish absent source records from populated levels, and do not fabricate pixels.
  • Add rectangular-chain regressions and reopen produced YTDs with independent checks.

Keep strict conversion as default. Do not weaken the no-silent-data-loss behavior.

Ngôn ngữ chính
Rust
Star
42
Fork
4
Merge trung bình
8 ngày 19 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của VIRUXE/rage-cli

Tất cả issue của VIRUXE/rage-cli

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.