[HELP] .raf Texture Extraction and General Shenanigans

burnerman5300

Forum Noob
So today, I figured that I'd try to rip the textures from a PS3 theme I liked (the Persona 5 futaba theme) and so I got all the way until I reached a file called "anim_1.jpg", obviously this isn't an actual JPG file, according to HxD it's a RAF file in a JPG file extension, anyways I don't exactly really know what i'm doing at this point and the PSdevwiki doesn't exactly have a guide on somehow ripping textures from this so called "RAF" file (not surprised since this is probably very niche) so I would like to request some guidance.

Thank you for reading this mess of a post, I hope I don't sound like an absolute lunatic.
 
JPGs started from "JFIF" magic number (open file in any hex editor ;]). Compressed RAFs from "_RAF" (GZip), and uncompressed from "RAF0". Inside RAFs, graphics are in GIM format which is headerless NVidia DDS.
 
Last edited:
JPGs started from "JFIF" magic number (open file in any hex editor ;]). Compressed RAFs from "RAF" (GZip), and uncompressed from "RAF0". Inside RAFs, graphics are in GIM format which is headerless NVidia DDS.
alright, so what software could i use to extract the RAF file? i tried gzip but it keeps printing out "unknown suffix"
 
From RAF file, cut his header (5F52414600191140h), then use "pigz -d test.raf" (Linux tool but maybe You can find something on Windows for none-container *.gz).
 
From RAF file, cut his header (5F52414600191140h), then use "pigz -d test.raf" (Linux tool but maybe You can find something on Windows for none-container *.gz).

I opened the file in a hex editor but it seems like I don't have the exact same hex values as you, I have the same RAF header but none of the other hex values. but I still cleared them out and pigz wasn't happy with it.

(I tried clearing just the RAF header, I tried clearing the same amount of hexadecimals as you had yet pigz still wasn't satisfied.)

(I figure I should also say that I did use pigz through windows subsystem for linux as I mainly use windows.)
 
Could You show screen from it? Maybe compressed by different algo and/or it is RAF archive inside archive. Or maybe pigz detecting format by extension name (try instead "raf" to use "zz" or "gz")?

My solution is valid for sure for coldboot.raf.

RAF/QRC/P3T are very similar to itself.
 
Back
Top