IMG3: encode resource-aware replacements while preserving metadata

オープン
#44 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
game-dev

調査の方向性

No files or tests are named in the payload. Start by locating the current IMG3 rebuild path and the check that explicitly refuses arbitrary native-resource replacement; read how native headers, virtual/physical size flags, compression and sector counts are currently handled. Then implement the resource-aware encoder and cover compressed and uncompressed resources, malformed input, rejected incompatible layouts, and byte equality for unchanged records. Done means those cases are tested and unrelated opaque metadata and unmodified entries are preserved.

索引モデルが issue の本文から書いたものです。

説明

Current IMG3 rebuild copies unchanged native resource records with their original headers, compression, flags and opaque resource type. Arbitrary replacement of native resources is explicitly refused.

Add a resource-aware IMG3 replacement encoder:

  • Validate native headers and virtual/physical size flags.
  • Emit correct compressed records, sector counts and trimmed lengths.
  • Preserve unrelated opaque metadata and every unmodified entry.
  • Reject incompatible replacement layouts before writing.
  • Cover compressed and uncompressed resources, malformed input and unchanged-record byte equality.

This does not block classic SA IMG2 workflows. Implement independently using format facts and owned code.

主要言語
Rust
スター
42
フォーク
4
平均マージ
8日 19時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

VIRUXE/rage-cli のほかの issue

VIRUXE/rage-cli の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。