Difference between revisions of "HED"

From Game Research Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Archives]]
[[Category:Archives]]
Used in the following games:
Used in the following games:
* Parasite Eve 2 (PSX)
* [[Parasite Eve II]] (PSX)


Possibly a header file that is connected to the CDF format. Found the size of the header itself a few bytes in which can't be a coincidence. However, it does throw out an idea I had which was to list the value of each 4-bytes in an attempt to find a pattern. Specifically, file positions or LBA/sector locations. I have no idea if the positions, when I find them, are the actually physical location or a virtual location.
This file is only seen used with reference to "STAGE0.CDF". The other CDF files have the header file embedded inside at the start of CDF files. For this format, it appears the first 120 bytes are used for another type of reference. Online research shows this is streaming file list. The format is a little more complicated than I thought. Also have folder lists as well. However, at
least for this one, as far as I can currently tell, there is no folders for STAGE0. All locations are aligned by 2048 bytes to match the CD structure frames/sectors. Initially I misread the
zeros as padding but turns out they are the first file entry in the index. File 0 which starts at the offset of the file 0. So looks like 8 bytes of zeros but actually 2, 4 byte values.
 
The index entry points to a data header section that is 16 bytes that describes the content that is stored at the location. This includes the file type and how large it is along with a few other
values to figure out.


== Structure ==
== Structure ==
Line 11: Line 16:
! Size !! Content !! Description
! Size !! Content !! Description
|-
|-
| 3 || Unknown ||
| 120 bytes || Streaming list(?) ||
|-
| 2 || Header Size? ||
|-
| ? || Unknown ||
|-
|-
!colspan="15"|Index
!colspan="15"|Index
Line 21: Line 22:
! Size !! Content !! Description
! Size !! Content !! Description
|-
|-
| ?Bytes || Unknown ||
| 4 bytes || File ID ||
|-
| 4 bytes || File offset in data archive ||
|}
|}


== See Also ==
== See Also ==
[[CDF]]
[[CDF]]

Latest revision as of 03:47, 23 January 2023

Used in the following games:

This file is only seen used with reference to "STAGE0.CDF". The other CDF files have the header file embedded inside at the start of CDF files. For this format, it appears the first 120 bytes are used for another type of reference. Online research shows this is streaming file list. The format is a little more complicated than I thought. Also have folder lists as well. However, at least for this one, as far as I can currently tell, there is no folders for STAGE0. All locations are aligned by 2048 bytes to match the CD structure frames/sectors. Initially I misread the zeros as padding but turns out they are the first file entry in the index. File 0 which starts at the offset of the file 0. So looks like 8 bytes of zeros but actually 2, 4 byte values.

The index entry points to a data header section that is 16 bytes that describes the content that is stored at the location. This includes the file type and how large it is along with a few other values to figure out.

Structure

Header
Size Content Description
120 bytes Streaming list(?)
Index
Size Content Description
4 bytes File ID
4 bytes File offset in data archive

See Also

CDF