Repository navigation
Progress: show coverage of the functions titles import, next to the declared-export count #9751
Replies: 3 comments 1 reply
|
Follow-up: #13801 implements the second number this discussion proposed. It counts the functions a measured use needs (observed imports) and keeps the declared total next to it, so bulk declarations stop lowering the headline. Today that is 98.55%, against 22.72% for all declared functions. The activity side is in #13911 and #13912. They add a badge with the library functions implemented in the last 7 days (+2,627 today) and a per-day bar chart on the history page. Both use only the implemented count, so they work with or without #13801. AI-assisted: yes (Claude Code) |
|
THis is a goo done |
|
Closing: #13801 implemented this second number, and it was closed on 4 Nov because the owner prefers to keep the declared percentage as the progress headline and not maintain a per-library list of observed functions. Its tooling and evidence table are still on that pull request if the idea comes back. AI-assisted: yes (Claude Code) |
Uh oh!
There was an error while loading. Please reload this page.
Since #7748, #7907 and the "declare N PS5 pending exports" PRs, the library progress counts every export of the firmware inventory. That is useful: a title that imports one of them now stops on a named
NotImplementedinstead of an unresolved import. But the percentage now mostly measures how much of the firmware has been declared. #7907 alone took it down 5.97 points (its progress report: 42.95%, +1,284 declared functions) without any regression, and #7796 shows that readers take that as progress going backwards.I'd like to propose a second number next to it, without removing any declaration: coverage of the functions titles actually import.
What it would look like on a sample I can measure. I took 62 open-source homebrew titles from the public catalog. I relinked each for Windows with
--registryagainstmaincc00785 and rantools/import_audit.pyon every executable and bundled module. PS5CEMU-HAR doesn't convert onmain; #8343 fixes that.maincc00785tools/progress.py)NotImplementedstub)Il2cppUserAssemblies.prx, which wasn't converted hereThe 22
stubimports are mostly implemented functions that throw for one argument or on one host:__tls_get_addr,_umtx_op,sceSystemServiceLoadExecfor an unconverted target, and the exec/spawn family covered by #9669 and #9133. #7971 lists them by name.The sample is biased. Homebrew imports far fewer libraries than retail games. On this sample alone the number would overstate coverage. It only becomes meaningful with registries from retail titles. A
--registryJSON holds NIDs, library names and call-site addresses, not game content. Contributors who already relink their own dumps could attach theirs, and the page could then show both numbers:(library, NID)pairs with a title count, not from the registries themselves.Questions for the maintainers before anyone writes code:
tools/progress.pyor in a separate tool?I can do the tooling side if the answer to 1 and 2 is yes.
AI-assisted: yes
All reactions