Difference between revisions of "YPF"

From Game Research Wiki
Jump to navigation Jump to search
Line 23: Line 23:
! Size !! Content !! Description
! Size !! Content !! Description
|-
|-
| 4Bytes|| Unknown1 || Static?
| 4Bytes|| Unknown1 ||
|-
|-
| 1Bytes|| Filename Length || XOR 0xFF
| 1Bytes|| Filename Length || XOR 0xFF
Line 29: Line 29:
| ?Bytes|| Filename || XOR 0xFF then XOR 0x40
| ?Bytes|| Filename || XOR 0xFF then XOR 0x40
|-
|-
| 2Bytes|| Unknown ||
| 2Bytes|| Unknown || Static?
|-
|-
| 4Bytes|| FileSize1 ||  
| 4Bytes|| FileSize1 ||  

Revision as of 23:15, 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 Static?
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.