YPF: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 34: | Line 34: | ||
==Research== | ==Research== | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
sn 30,869,553 18 716 | sn 30,869,553 18 716 | ||
# EntrySize First 5bytes Filename size | |||
01 36 22 03 5B AA 53 13+1 | |||
02 36 E3 48 2B 9A 53 13+1 | |||
03 36 92 2A 3B 9753 13+1 | |||
04 53 E0 81 A7 8D 5D 29+1 | |||
05 42 E9 AB B7 ED 42 19+1 | |||
06 33 8B D9 C2 E4 4A 10+1 | |||
07 36 83 1B EB E0 53 13+1 | |||
08 36 33 32 8B DD 53 13+1 | |||
09 51 50 1F C2 CE 5E 28+1 | |||
10 36 F3 94 0B 28 53 13+1 | |||
Hints: | |||
B8 should be 00 | |||
53 should be 13 or 14 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==Comments== | ==Comments== | ||
Index data may be protected. | Index data may be protected. | ||
XOR by FF then XOR by 40 may work. | XOR by FF then XOR by 40 may work. |
Revision as of 20:58, 13 March 2015
Used in the following games:
- Eroge! ~Sex and Games Make Sexy Games~
Structure
Header | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Size | Content | Description | ||||||||||||
4Bytes | Magic/ID | "YPF/0" | ||||||||||||
4Bytes | Unknown1 | Static? | ||||||||||||
4Bytes | Unknown2 | File Count? | ||||||||||||
4Bytes | Unknown3 | Index Size? | ||||||||||||
16Bytes | Unknown0 | Padding? | ||||||||||||
Index Entry | ||||||||||||||
Size | Content | Description | ||||||||||||
4Bytes | Unknown1 | |||||||||||||
1Bytes | Unknown2 | Possibly filename length | ||||||||||||
?Bytes | Filename | |||||||||||||
18Bytes | Unknown3 |
Research
sn 30,869,553 18 716
# EntrySize First 5bytes Filename size
01 36 22 03 5B AA 53 13+1
02 36 E3 48 2B 9A 53 13+1
03 36 92 2A 3B 9753 13+1
04 53 E0 81 A7 8D 5D 29+1
05 42 E9 AB B7 ED 42 19+1
06 33 8B D9 C2 E4 4A 10+1
07 36 83 1B EB E0 53 13+1
08 36 33 32 8B DD 53 13+1
09 51 50 1F C2 CE 5E 28+1
10 36 F3 94 0B 28 53 13+1
Hints:
B8 should be 00
53 should be 13 or 14
Comments
Index data may be protected.
XOR by FF then XOR by 40 may work.