YPF: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
| ?Bytes|| Filename || XOR 0xFF then XOR 0x40 | | ?Bytes|| Filename || XOR 0xFF then XOR 0x40 | ||
|- | |- | ||
| 2Bytes|| | | 2Bytes|| Unknown2 || Static? | ||
|- | |- | ||
| 4Bytes|| FileSize1 || | | 4Bytes|| FileSize1 || | ||
Line 37: | Line 37: | ||
| 4Bytes|| File Offset || | | 4Bytes|| File Offset || | ||
|- | |- | ||
| 4Bytes|| | | 4Bytes|| Unknown3 || | ||
|} | |} | ||
Revision as of 23:22, 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 | Unknown2 | Static? | ||||||||||||
4Bytes | FileSize1 | |||||||||||||
4Bytes | FileSize2 | Suggests compression is supported | ||||||||||||
4Bytes | File Offset | |||||||||||||
4Bytes | Unknown3 |
Comments
Index data may be protected.
XOR by FF then XOR by 40 may work.