Low disk space: the port runs without the 300 GB assets stage; document a run-only build (check,shaders,runtime)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 52/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Start with the requirements section of README.md around line 85, which states the 350 GB figure, and with the MIN_FREE_GB table in make_game.py near line 368 to confirm the 30 GB and 300 GB numbers. The preflight check at make_game.py line 456 shows which drive is measured. Done means a maintainer has confirmed the wording, and the README gains a short low-disk paragraph for the check,shaders,runtime run. The optional preflight hint is a separate change that needs its own test.
索引モデルが issue の本文から書いたものです。
説明
README.md:85 says a build needs about 350 GB free for work files. Almost all of that is the assets stage (MIN_FREE_GB = {"shaders": 30, "assets": 300}, make_game.py:368). As far as I can tell, nothing that runs reads the assets stage's output, so a player on a small or nearly full drive could skip it. Is that right? If so, a few lines in the README would help a lot of people.
What I checked (main ec8ec4c9, no game data)
- The runtime does not read
work/assets. There are no hits forassetspaths inruntime/srcorruntime/shims. The loader maps the package in place:--game-dirdefaults to the image's own folder (runtime/src/main.cpp:79), and the D3D12 layer loads translated shaders fromLEONIDA_SHADERS. The exported textures, models and audio are for inspection and tooling, such asfirst_light.py's OBJ. - So
--stages check,shaders,runtimeasks the preflight for 30 GB, not 330. Addingpipelinesadds no preflight requirement, and its cache isn't read by the runtime yet (see the finding). --workand--outcan sit on different drives (make_game.py:1495-1498). The preflight measures the drive of--work(make_game.py:456).- The package can sit on a slower or read-only drive. Reads go to
--game-dir, and writes go to--overlay, which defaults to<game-dir>/overlay(main.cpp:85). A read-only package drive therefore needs an explicit--overlaypointing somewhere writable. --wavis not covered byMIN_FREE_GB. The code comment at make_game.py:446-447 says it writes "several times the Ogg Opus size". A low-disk user should leave it off.- Two traps for anyone trimming the work folder by hand:
- Deleting the
.sfiles inwork/shaders/dxbc/disasmbut keeping the folder gives a "finished" shaders stage with 0 shaders (same finding). - A symlinked
work/shaders/dxbc/disasmis refused by the realpath check (make_game.py:690-691).
- Deleting the
Proposal
- Add a short "Low disk space" paragraph to the README's requirements section. It would say that playing needs only
check,shaders,runtime(~30 GB), thatassets(~300 GB) is optional and only for the asset tools, that--wavshould stay off, and that--work/--overlaycan move files to other drives. - Optional: have the preflight say this when it fails on the assets stage, e.g. "…or leave
assetsout with--stages check,shaders,runtime,pipelines; the port doesn't need it to run."
I can open the README PR (docs only) if a maintainer confirms that (1) matches the intent. I can also add the preflight hint (2) with a test. Measured on Linux with btrfs zstd:3: transparent compression cuts the shader outputs further, but I haven't put numbers here because they depend on the filesystem.
Related: #2375 (low-VRAM GPUs). AI-assisted.
- 主要言語
- Python
- スター
- 14.9k
- フォーク
- 1.2k
- 平均マージ
- 1時間 58分
- マージ済み PR(30日)
- 40
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ItsNotRexed/Leonida のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ItsNotRexed/Leonida#3990 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 25/100
ItsNotRexed/Leonida#4257 · コメント 18 件 ·
メンテナーはふだん 1 日以内に返信
-
Python SPIR-V assembler encodes BF16 constants as IEEE half対応中かも @lumenpearson が今日担当しました。 オープンbug
難易度 3/5 半日 初心者へのやさしさ 25/100
ItsNotRexed/Leonida#4237 ·
メンテナーはふだん 1 日以内に返信
-
SPIR-V reflection rejects Int8 array length constants対応中かも @lumenpearson が今日担当しました。 オープンbug
難易度 3/5 半日 初心者へのやさしさ 22/100
ItsNotRexed/Leonida#4221 ·
メンテナーはふだん 1 日以内に返信
-
Interrupted stub rebuild can truncate a valid SPIR-V output対応中かも @lumenpearson が今日担当しました。 オープンbug
難易度 3/5 半日 初心者へのやさしさ 18/100
ItsNotRexed/Leonida#4183 ·
メンテナーはふだん 1 日以内に返信
ItsNotRexed/Leonida の issue をすべて見る
似ている issue
-
pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pydantic/pydantic-ai#14187 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: legacy_json_to_doc crashes on persisted docs with "relationships": null対応中かも @Harsh23Kashyap が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
run-llama/llama_index#24392 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
pathintegral-institute/mcpm.sh#568 ·
メンテナーはふだん 21 日以内に返信