import_audit: a needed library that sits in an unlisted folder of the title is reported as missing without saying where it is #8571
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-20T16:55:22Z.
Repro
import_audit.pyon a converted title whose Unity modules are inin/Media/Modulesand whose registry namesIl2CppUserAssemblies.prx, with--moduleslisting onlyin/sce_moduleandin/prx.Expected: the report says the library has no file in
--libsor--modulesand, when a file of that name sits below the registry's folder, which directory to pass.Actual: only "Needed libraries with no file in --libs or --modules (N)". On 12 of 49 converted titles the files were there and the audit exited 1 until
--moduleswas extended by hand.Test:
tools/tests/test_import_audit.py(test_missing_library_is_located_next_to_the_registry, new).Fix branch: https://github.com/xXPBSXx/AnyPS5/tree/fix/import-audit-module-hint
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-20T20:28:43Z.
I independently checked the linked fix branch
351eeefdde. Itstools/tests/test_import_audit.pysuite passes: 121 tests, 1 skipped. I also rebased it in a disposable local worktree onto currentmaina6a4101e19; the only conflict was preserving main’s newer--strict-stubsexit condition alongside the missing-library location output. With that combined locally, all 122 tests pass (1 skipped),git diff --checkpasses, andtools/check_conventions.py --base upstream/mainpasses. I did not change or push your branch. There is still no PR for this issue; please open one when ready so the fix can go through normal review.