COL: inspect, edit, rebuild collision and convert to YBN

未关闭
#40 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
game-dev, tooling

调研方向

Start from the RenderWare/IMG plan's task 8 and the existing resource info/dump/build commands, then locate where IMG entries and YBN blocks are handled. The work spans COL/COL2/COL3 parsing, metadata preservation, YBN conversion and scene-conversion policy, so treat it as a design task first. Done means primitive and mesh fixtures, malformed-offset and concatenation cases, edited rebuilds, and independent reopening of converted YBN all pass, including distinguishing missing from malformed collision.

由索引模型根据 Issue 内容生成。

描述

Complete task 8 of the RenderWare/IMG plan. COL collision assets, including entries inside IMG archives, are required.

  • Independently support concatenated classic PC COLL/COL2/COL3 records, spheres, boxes, triangle meshes, compressed coordinates, materials and bounds.
  • Preserve source metadata, unknown records and unchanged bytes; validate all offsets/counts.
  • Expose resource info/dump/build and associate collision models with IDE identity/name.
  • Convert through typed legacy YBN blocks with explicit material/physics mapping losses.
  • Test primitive/mesh bounds, malformed offsets, concatenation and edited rebuilds; scan real SA COLs and reopen converted YBN independently.
  • Scene conversion must distinguish missing collision from malformed collision and require an explicit visual-only option to omit it.

Do not copy/adapt external parser code or commit game data.

主要语言
Rust
星标
42
派生
4
平均合并
8 天 19 小时
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

VIRUXE/rage-cli 的其他 Issue

查看 VIRUXE/rage-cli 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。