casc_extract: "Invalid file length, expected ... got ..." in GameTables\HpPerSta.txt
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with the linked checks in casc_extract/casc.py and casc_extract/casc_extract.py, then run the reported batch extraction on the Retail 11.1.0.59466 CASC store. Investigate why the listed GameTables files have unexpected lengths; done means extraction handles these files correctly without stopping, with the other files still extracting successfully.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
I'm attempting to extract data for a Windows install of Retail v11.1.0.59466. My CASC data also contains an install of wowxptr v11.1.0.59347.
Battle.net and game are not running while extracting, and the game can launch and run successfully from that CASC store.
I'm extracting data with this PowerShell script, in simc's casc_extract directory:
$build = "11.1.0.59466"
python casc_extract.py -m batch -d 'C:\Program Files (x86)\World of Warcraft\' -o "../casc_data/$build/" --product wow
Extraction fails at:
Extracting GameTables\HpPerSta.txt (id=1391642) ...
Usage: casc_extract.py -d wow_install_dir [options] file_path ...
casc_extract.py: error: Invalid file length, expected 343 got 84870439
If I change this line to print an error and then return None instead of exiting:
And then also replace sys.exit(1) with print("extraction failed") here so it continues trying to extract files after any failure:
The only other failures are:
Extracting GameTables\SandboxScaling.txt (id=1391659) ...
Invalid file length, expected 893 got 0
Extracting GameTables\CombatRatingsMultByILvl.txt (id=1391670) ...
Invalid file length, expected 9926 got 0
Extracting GameTables\ItemLevelByLevel.txt (id=2012881) ...
Invalid file length, expected 476 got 0
All other files appear to extract successfully.
I've also tried extracting wowxptr 11.1.0.59347, which has the same problems.
If this issue shows up for others, my hunch is that some CASC/BLTE data structure has changed, and this new encoding is only used for some files.
Looking at my IDE search history, I suspect this also failed in some v11.0.x builds, but I forgot to write a bug at the time and just patched around it. 🙈
I don't care about the failing files, so commenting out the checks and allowing some failures is fine for me. 😄
Additional information
-
SimulationCraft Version (required): 1df599cb7091d6f414d40acd61386fee1084e580
-
simc_gui.simc file or contents: n/a
- 主要言語
- C++
- スター
- 1.6k
- フォーク
- 789
- 平均マージ
- 9時間 44分
- マージ済み PR(30日)
- 56
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
simulationcraft/simc のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
simulationcraft/simc#11973 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
simulationcraft/simc#11747 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
simulationcraft/simc#11935 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
simulationcraft/simc#11918 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
simulationcraft/simc#11845 ·
メンテナーはふだん 1 日以内に返信
simulationcraft/simc の issue をすべて見る
似ている issue
-
category:port-update
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 2 日以内に返信
-
MinGW build faillureオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
facebookresearch/faiss#5775 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Eval bug: minimax-m3: build_moe_ffn() drops the per-expert NVFP4 scale → garbled output (M3.1 Flash)オープンbug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
secondlife/viewer#6507 ·
メンテナーはふだん 1 日以内に返信
-
clang:frontend code-cleanup HLSL
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
llvm/llvm-project#235100 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信