YPF: Difference between revisions

From Game Research Wiki
Jump to navigation Jump to search
No edit summary
Line 34: Line 34:
==Research==
==Research==
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
bn 3,666,454 321 13133
cg 1,204,151,736         3520 163593
cgsys         10,084,732 1331 70045
se 4,400,107 154 5523
sn 30,869,553 18 716
sn 30,869,553 18 716
st 347,690,533 1235 70743
 
vo 729,701,400 8057 363031
#  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.