dexyfex Posted May 25, 2017 Share Posted May 25, 2017 Hi there,I had some users complaining about my app crashing when working with GTAV RPF archives that were modified by OpenIV. When I investigated the issue, I noticed that OpenIV is changing the encryption flags in the main RPF archive header (i.e bytes # 12 - 15).As an example, update.rpf in my game files has these bytes 12-15 set to 0x0FEFFFFF (ie. NG encryption) when it's unmodified. But if I edit a file in the archive (eg. make a change to dlclist.xml in the OpenIV editor), afterwards these bytes are set to 0x4E45504F (ie "OPEN"). I've added a workaround to my app to handle this case, but I'm still wondering if there's any reason that OpenIV does this? Or are you just using these bytes to indicate it's been edited by OpenIV? Link to comment https://gtaforums.com/topic/887945-encryption-flags-on-modified-rpf-archive/ Share on other sites More sharing options...
dexyfex Posted May 26, 2017 Author Share Posted May 26, 2017 So for anyone interested, the short answer is that these "OPEN" bytes are used to indicate that the RPF table of contents (eg all the file names etc) is not encrypted, since OpenIV will not encrypt all that TOC data when the RPF is modified (in original files, it is all encrypted). Link to comment https://gtaforums.com/topic/887945-encryption-flags-on-modified-rpf-archive/#findComment-1069596746 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