03-09-2016, 09:19 PM
(03-06-2016, 10:47 AM)Ecelon Wrote: I'm now trying to extract the files from Infinite Crisis' .rp archives. Using the tutorial, I've determined that the archives are "10P"
. I've guessed that the Endian is little, but that may be wrong. This is the code I have so far:
endian little
idstring "10P"
get archiveSize long
get fileCount long
get null long
for i = 0 < fileCount
get pointer long
get length long
getdstring name 0x20
log name pointer length
next i
The code extracts the first bunch of blank data as .dat files, then continuously requests file renaming. Any ideas on what can be done. I've uploaded 3 .rp files to my onedrive to use as a reference. If more are needed, I can upload them
https://onedrive.live.com/redir?resid=28...older%2crp
Code:
idstring "10PR"
get ALWAYSONE long
get SIZE long
get UNK_FCOUNT long
get NAME basename
string NAME += ".model"
log NAME 0x400 SIZE
It seems like those RP files contain models. However I only saw one model that could be extracted from it. Nothing looks too interesting other than that.