casc_extract: "Invalid file length, expected ... got ..." in GameTables\HpPerSta.txt
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C++
- Estrellas
- 1.6k
- Forks
- 789
- Merge medio
- 8 h 18 min
- PR fusionados (30 d)
- 63
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de simulationcraft/simc
-
Arms slayer_st APL bugAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
simulationcraft/simc#11747 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
simulationcraft/simc#11935 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
simulationcraft/simc#11918 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Timewalking Item Level BugAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
simulationcraft/simc#11845 ·
Los mantenedores suelen responder en 1 día
-
demonhunter.initial_furyAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
simulationcraft/simc#11752 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de simulationcraft/simc
Issues similares
-
enhancement GUI maintainer-review
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
aethersdr/AetherSDR#6681 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Add string concatenationAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Failed-capture notification says "Save diagnostics for this upload" when nothing was uploadedAbiertoarea: ui bug good first issue P2: medium value: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
patrick-hudson/put.gd-desktop#366 ·
Los mantenedores suelen responder en 1 día