diff options
| author | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 01:54:17 +0100 |
|---|---|---|
| committer | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 01:54:17 +0100 |
| commit | d80f9a4d34f6990c38ddf5831cc441b8c1574676 (patch) | |
| tree | 6f1839a73994cd6a2e69cfa86cecdcff09391260 /runtime/test/gameinput_test.cpp | |
| parent | 91b36cf86cb92a95836eed8af73abc0671a61e31 (diff) | |
gamedata_index.py: a missing target or a refused archive is one line
A missing target went to ArchiveSource and failed there; an empty or
short archive raised the RuntimeError the tool builds from
rpf9_carve.py's own message, but nothing caught it, so it surfaced as
a traceback; a carve folder without index.json, or with one that has
no "files" list, ended in FileNotFoundError / KeyError tracebacks.
main() now checks the target exists and prints each of these as one
line, exit 2, before --csv or --json is written.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions