YPF
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.