Xplorer Posted October 29, 2018 Share Posted October 29, 2018 I'm currently looking into RPF 7 and 8. RPF 8 is the latest version used by the RDR Companion app and RPF7 is the version used by GTA V. RPF 7 is implemented into OpenIV, but only poorly documentated to the public. I already worked a bit on a file explorer for RPF 6 in the past. My goal is to write a little tool that can export the content out of RPF 8 archives. RPF consists of a info block, a TOC block and a data block. My documentation so far: The first four bytes (called magic) always hold the version of the file format ("7FPR" / "8FPR"). That's not hard to understand. The next four bytes seem to hold the amount of filesystem entries + 1 as an unsigned short. I can only guess, but it seems that the root directory counts too. So the minimum value would be one and the maximum value 65535. This could explain why there are so many different x64 RPFs: One RPF can only hold 65535 files or folders. I'm aware that this is not much, but it's better than nothing. Maybe some experienced modders can help improving my doc. Am now back looking at my Hex editor and trying to understand how RPF7 works. Will update this post once I found out something else (maybe in 10 minutes haha). Spider-Vice and WildBrick142 2 Link to comment Share on other sites More sharing options...
Guest Posted October 30, 2018 Share Posted October 30, 2018 You might find some more info in this project https://github.com/indilo53/gta-toolkit There's a wiki for it as well https://github.com/indilo53/gta-toolkit/wiki Link to comment Share on other sites More sharing options...
Xplorer Posted October 30, 2018 Author Share Posted October 30, 2018 30 minutes ago, LeeC2202 said: You might find some more info in this project https://github.com/indilo53/gta-toolkit There's a wiki for it as well https://github.com/indilo53/gta-toolkit/wiki Are you one of their authors? Link to comment Share on other sites More sharing options...
Guest Posted October 30, 2018 Share Posted October 30, 2018 (edited) 4 hours ago, Xplorer said: Are you one of their authors? No, I tried to use the library a long while back (or at least the project it was forked from), which is why I knew about it but I am not part of that team. Edited October 30, 2018 by Guest Link to comment Share on other sites More sharing options...
FiftyShadesOfBlue Posted January 28, 2019 Share Posted January 28, 2019 Did you ever find out anything more? Link to comment Share on other sites More sharing options...
skylumz Posted February 27, 2019 Share Posted February 27, 2019 (edited) RPF7 Docs: https://gtamods.com/wiki/RPF_archive Gta Toolkit is not being developed anymore due to T2 scare... you might also find this useful: https://github.com/dexyfex/CodeWalker/blob/master/CodeWalker.Core/GameFiles/RpfFile.cs Have you found anything out about RPF8? Edited February 27, 2019 by skylumz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now