Future Diary: the 13th Diary Owner (PSP) res.ptd encyrption

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Sermeno14
Posts: 2
Joined: Mon Aug 17, 2020 2:23 pm

Future Diary: the 13th Diary Owner (PSP) res.ptd encyrption

Post by Sermeno14 »

Hello, I’ve been trying to crack open a file in order to access the game’s dialog. However, I seem to have hit a wall.

Here is a link to the game’s files and a dump of the game’s memory at some random time within the game. See: https://www.dropbox.com/sh/0hmqi4hxvnwjzeq/AADD6ExvoR8gn9b4w3x4-Mhra?dl=0

The game in question has a file called “res.ptd” and judging from what I saw from the game’s RAM.dump is actually a conglomerate of multiple files:
1. MIG/GIM files which are small pictures that show up throughout the game (Sadly, these contain no dialog).
2. FDS files, in the RAM.dump file there are a couple file directories which link to FDS files. After some Googling, it seems they may be a file format for JetForm. When opened they should show indexes. Indexes of what I have no idea.
3. A TIM2 file which I have not been able to extract res.ptd.
4. More which are listed below (however I have no idea to the extent of how many files there are)


Regarding the EBOOT.bin file:
1. There are multiple “texts” within the game, but none of these are the game’s dialog. These files instead are the text on the diaries, the character’s names & descriptions, and messages that pop up regarding save data.
2. This file also contains mention of certain files within res.ptd:
> Sound files - search “.ahx” or “.adx”.
> Icons - search “.gim”
3. Some stuff about scene settings? (search sceAudio if you’re curious)
4. Some stuff about pointers? (search HINTLINK if you’re curious)
5. A lot of errors?

A couple other things I should note:
1. res.ptd has a header of “PETA”, and the words “YKLZ” & “T2FP” occur 2250 times to be precise. I’ve tried looking it up and the only thing I’ve found was someone who tried to break apart the file in 2018, and never finished: https://zenhax.com/viewtopic.php?t=7765
2. .ptd files are a file type that came from the company Bottle Cube, because someone elsewhere discussed them, and also reported being unable to crack it: https://gbatemp.net/threads/duel-love-koisuru-otome-wa-shouri-no-joshin-translation-project.192978/ (I tried QuickBMS on res.ptd, and it did nothing).
3. res.ptd contains the words “Adobe ImageReady” twice and “YunoPoint”.
4. All the other files within the game do not seem to contain anything important.
5. There are a ton of file types that seem to be within res.ptd:
> .ahx/.adx - which I’m 99% certain is audio, so it’s unimportant
> .fds
> .vgp
> .fab/.fsp - which probably is making the textures for the characters
> .tfp

I am wondering how to access the game’s dialog at this point. Does anybody have an idea?

Edit: Included the other game files
Last edited by Sermeno14 on Tue Aug 18, 2020 4:49 pm, edited 1 time in total.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Future Diary: the 13th Diary Owner (PSP) res.ptd encyrption

Post by Ekey »

aluigi wrote:Obfuscated TOC (information about the archived files) and unknown compression algorithm used for the YKLZ compressed files so the trick of scanning the whole archive looking for the "YKLZ" magic is useless without any way to decompress the files.

Also you can try to upload decrypted boot.elf for reversing.