tools: NID coverage checker + workflow doc #36
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/36"
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 Pouare514 on 2026-09-27T11:32:22Z.
tools/check-nid-coverage.py compares --windows-diagnostics imports against the known-missing list and existing prx exports (exit 0/1/2), tested on fake data. docs/nid-coverage.md documents the relink->check->stub loop.
Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-27T15:34:27Z.
The tool isn't particularly versatile. It's also unclear how to generate "legends-unresolved-nids.json" for other games. Overall, the idea is useful. I believe the tool should accept a windows-diagnostics-imports.txt file (it can have any name) and the path to the folder with the compiled libs (no default arguments). So, the script's job is to iterate through all the PRX files, find out which nids are exported, and output a list of those missing to fully cover windows-diagnostics-imports.txt. The script also needs to be able to work with Linux (SO) PRX files. Such a tool is significantly more complex, but it would be universal.
Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-28T08:02:22Z.
If you do this, open new PR, you should split tool into several files in the tools/nid_coverage/ folder. Regarding the md file with the description (docs/nid-coverage.md), you shouldn't add it to the repository, but you can attach it to PR. And in the Python tool, add the --help flag with short instructions, if you like.
Pull request closed