Difference between revisions of "YPF"

From Game Research Wiki
Jump to navigation Jump to search
Line 31: Line 31:
| 2Bytes|| Unknown ||
| 2Bytes|| Unknown ||
|-
|-
| 4Bytes|| FileSize1 || Possible File size1
| 4Bytes|| FileSize1 ||  
|-
|-
| 4Bytes|| FileSize2 || Possible File size2 (compression?)
| 4Bytes|| FileSize2 || Suggests compression is supported
|-
|-
| 4Bytes|| File Offset ||
| 4Bytes|| File Offset ||

Revision as of 22:03, 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 File Count Number of Files in archive
4Bytes Index Size Size of Index
16Bytes Padding
Index Entry
Size Content Description
4Bytes Unknown1
1Bytes Filename Length XOR 0xFF
?Bytes Filename XOR 0xFF then XOR 0x40
2Bytes Unknown
4Bytes FileSize1
4Bytes FileSize2 Suggests compression is supported
4Bytes File Offset
4Bytes Unknown

Comments

Index data may be protected.

XOR by FF then XOR by 40 may work.