Repository navigation
v0.8.0
Search without extracting
rpf search <archive|dir> [pattern]finds files inside archives — and inside their nested.rpfentries — entirely in memory. Point it at a single archive or a directory (e.g. the whole GTA V install) and it walks every.rpfit finds.- Match by name (
*.ydr,*icons.rpf/*.ydr, or a bare substring), by contents (--content TEXTwith-ifor case-insensitive,--hex "DE AD BE EF"for raw bytes; resource bodies are inflated so hits inside.ytd/.ydrwork), or by JOAAT hash (--hash 0x…of the name or stem). Filters combine with AND. - Output is
archive:path/inside/nested.rpf/file, one per line;-dadds size, type and hash,--jsonemits an array with the match offset;--limitand--max-depthbound the walk. The summary goes to stderr so stdout pipes cleanly. - A name search over
x64b.rpf(22 nested archives) costs the same aslist— file data is only decoded for content searches.
Fixes
- Patterns with more than one
*(e.g.*icons.rpf/*.ydr) now match segments in order forlist,extractandsearch; previously they degraded to a bare substring and silently matched nothing.
Notes
Drawables in retail x64*.rpf still need extracting before textures/screenshot can open them — rpf search x64b.rpf prop_mk_arrow_3d.ydr now tells you which nested archive to extract.