Skip to content

fix(module_metadata): guard orphan cleanup when output dir is missing#11

Open
z3nnik wants to merge 1 commit into
ValveResourceFormat:masterfrom
z3nnik:master
Open

fix(module_metadata): guard orphan cleanup when output dir is missing#11
z3nnik wants to merge 1 commit into
ValveResourceFormat:masterfrom
z3nnik:master

Conversation

@z3nnik

@z3nnik z3nnik commented Jul 7, 2026

Copy link
Copy Markdown

On Linux, Dota linuxsteamrt64 libraries stub ExtractModuleMetadata (always returns null), so no kv3 files are written. Orphan cleanup then iterated a non-existent module_metadata/ directory and aborted the dump early, skipping .stringsignore and the final success log.

  • Guard directory_iterator when outputPath does not exist
  • Skip modules with missing/null ExtractModuleMetadata gracefully
  • Log loaded module count and per-module outcomes

Ref: #10

On Linux, Dota linuxsteamrt64 libraries stub ExtractModuleMetadata (always returns null), so no kv3 files are written. Orphan cleanup then iterated a non-existent module_metadata/ directory and aborted the dump early, skipping .stringsignore and the final success log.

- Guard directory_iterator when outputPath does not exist
- Skip modules with missing/null ExtractModuleMetadata gracefully
- Log loaded module count and per-module outcomes

Ref: ValveResourceFormat#10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant