Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14-11-2025, 05:45
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Red Dead Redepmtion 2 - RPFTool - WIP

Previously I made a post in the Methods Q&A Thread, which you can read here, regarding my unsatisfactory results with "Red Dead Redemption 2", I decided to get to work on a real solution. After some more research I came across a dump of some partially reverse-engineered code, obtained from a paid modding group's tools. I've used portions of this code-base as the foundation of a project that whilst pretty niche, I'm sure will be of use to one or two users down the road.

In it's current state this project is merely a proof of concept. Currently RPFTool provides a complete framework for the decompression, recompression, and decryption of RPF8 containers, and is able to unpack and decode resource files, baring the hashed filenames.

The key features I'm missing right now is the corresponding encryption logic. I've tried adding the unencrypted flag in the RPF8 header, however this doesn't seem to make a difference, with the outcome of attempting to load these modified/rebuilt RPF8 containers continuing to result in a CTD with a vague error message. Over the last few days I've been attempting to figure out how to extract the AES encryption keys from a memory dump of the title in question, but I've not yet had any success. Attached is both a compiled copy of the latest build as well as the entire source code. A lot of the credit goes to the linked github repo above, I refactored a bit of code to work with my solution but I've only really written a few hundred lines of code.

If anyone is able to provide the encryption logic directly or information which I can use to develop it (maybe I'm overlooking something obvious here), I'll update the project accordingly. It would be nice to have a simple solution for this title, depending on the structure future revisions and the need for support of prior revisions of the RPF container, this tool might evolve into something more practical. Just thought I'd make a separate thread to push this to a wider audience.
Attached Files
File Type: rar RPFTool_source.rar (4.33 MB, 18 views)
File Type: rar RPFTool_compiled.rar (1.36 MB, 13 views)
Reply With Quote
The Following 5 Users Say Thank You to L33THAK0R For This Useful Post:
Carldric Clement (16-11-2025), Cesar82 (14-11-2025), ffmla (30-11-2025), Masquerade (15-11-2025), Razor12911 (15-11-2025)
Sponsored Links
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dead Rising Collection mausschieber PC Games - CD/DVD Conversions 4 10-10-2025 06:07
The Walking Dead: Series mausschieber PC Games - CD/DVD Conversions 1 18-10-2024 00:16
INDEX - CD2DVD Conversion Index **UPDATED: 17-07-2024** Grumpy PC Games - CD/DVD Conversions 252 16-07-2024 20:35
Dead Space (DVD9 to 2x DVD5) ravd PC Games - CD/DVD Conversions 29 11-10-2012 12:15



All times are GMT -7. The time now is 16:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com