From Russia with Love (PSP) RSCF texture files

Textures, recreate headers, conversions, algorithms and parsing of image files
Radiowave
Posts: 6
Joined: Sat Jun 23, 2018 3:59 pm

From Russia with Love (PSP) RSCF texture files

Post by Radiowave »

Hi ;)

I'm trying to rip some textures from the game but I simply can't decrypt the aforementioned format. I've tried to figure out what information was stored in the header but I couldn't find much. The files start with the usual "RSCF" string, followed by 4 bytes for the file's size (including the header's size). I don't know what the 20 next bytes (08 to 1B) are meant to be. Then comes a string for the file's path with a filename usually ending in *.tga. I've tried to get rid of the header and then import the file into photoshop as a tga file but it didn't work. I'm not familiar with tga files at all so I don't know what to do. :(
Image
Can someone help me? :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: From Russia with Love (PSP) RSCF texture files

Post by aluigi »

RSCF is one of the chunks of the archive format used by the Asura engine, try this script and let me know if you have been lucky:
http://aluigi.org/bms/asura.bms
Radiowave
Posts: 6
Joined: Sat Jun 23, 2018 3:59 pm

Re: From Russia with Love (PSP) RSCF texture files

Post by Radiowave »

Actually, I've already extracted the files from the *. asr archives. I had to use ASR Extractor though as the Quick bms script didn't work.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: From Russia with Love (PSP) RSCF texture files

Post by aluigi »

Can you upload the original asr archive?
Radiowave
Posts: 6
Joined: Sat Jun 23, 2018 3:59 pm

Re: From Russia with Love (PSP) RSCF texture files

Post by Radiowave »

Sure.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: From Russia with Love (PSP) RSCF texture files

Post by aluigi »

Why did you say that the script "didn't work" if it works perfectly?!
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: From Russia with Love (PSP) RSCF texture files

Post by Acewell »

if you extract the files from your asr sample with the bms script or
"AsuraEngineExtractor" attached to this post you will get tga files,
viewtopic.php?p=22434#p22434
then you can open those tga files in Noesis with this python script :D
tex_JB007FromRussiawithLove_PSP_tga.zip
Radiowave
Posts: 6
Joined: Sat Jun 23, 2018 3:59 pm

Re: From Russia with Love (PSP) RSCF texture files

Post by Radiowave »

aluigi wrote:Why did you say that the script "didn't work" if it works perfectly?!

Well, I'm sorry, I don't quite understand :oops: I must have done something wrong the first time.

Acewell wrote:if you extract the files from your asr sample with the bms script or
"AsuraEngineExtractor" attached to this post you will get tga files,
http://zenhax.com/viewtopic.php?p=22434#p22434
then you can open those tga files in Noesis with this python script :D

Thanks for the plugin. :)
May I ask what makes these tga files different from regular tga files?
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: From Russia with Love (PSP) RSCF texture files

Post by Acewell »

Radiowave wrote:May I ask what makes these tga files different from regular tga files?

a different header, twiddled for PSP and paletted image data, the only
thing in common is the extension, but extensions are useless. :)
Radiowave
Posts: 6
Joined: Sat Jun 23, 2018 3:59 pm

Re: From Russia with Love (PSP) RSCF texture files

Post by Radiowave »

Oh, I would've never figured that out! Next time I'll try to reverse engineer the encryption with an emulator or something. ^^