CDF: Difference between revisions
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
|} | |} | ||
There may be a pattern for how files are stored and accessed. At the start of each sector, after the CD-XA header, if the sector is the start of a new file, there will be 16-bytes in front of it first. First 4-bytes with a random number. Then a single byte which represents how many sectors this file will occupy. The rest is zeroed out. With this, I was able to write a program that would go sector-by-sector looking for this header than matched. I was able to extract 1,049 background images in full. | |||
{| class="wikitable" | {| class="wikitable" | ||
!colspan="15"| | !colspan="15"|File Formats | ||
|- | |- | ||
! | ! Value !! Temp | ||
|- | |- | ||
| | | 05FF0008 || BS Format (Backgrounds) | ||
|- | |- | ||
| | | ? || | ||
|} | |} | ||
May have figured out the pre-file header stuff that appears before the *.BS files. Not sure what the 05FF0008 part is yet but the number after that, that single byte, may be a number used to tell how many sectors this file uses. This should fix my auto extractor from having to guess the length of the data. | May have figured out the pre-file header stuff that appears before the *.BS files. Not sure what the 05FF0008 part is yet but the number after that, that single byte, may be a number used to tell how many sectors this file uses. This should fix my auto extractor from having to guess the length of the data. |
Revision as of 02:53, 27 July 2016
Used in the following games:
- Parasite Eve 2 (PSX)
Note: Formats are aligned to sectors. Any change to files may require full rebuild of whole image. This is typical of PS1 games.
Disk 1 (SLUS-01042) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LBA | Name | Description | ||||||||||||
0000023 | SYSTEM.CNF | PS specific | ||||||||||||
0000024 | PE_DISK.01 | Unknown if used (watermark/signature?) | ||||||||||||
0000025 | SLUS_010.42 | Program | ||||||||||||
0000204 | INIT.BS | "Published by..." image. | ||||||||||||
0000210 | STAGE0.HED | Header? Possibly some LBA locations | ||||||||||||
0000214 | STAGE0.CDF | Data archive? | ||||||||||||
0030255 | STAGE1.CDF | Data archive. Has soundless STR | ||||||||||||
0075564 | STAGE2.CDF | Data archive Has soundless STR | ||||||||||||
0100127 | STAGE3.CDF | Data archive | ||||||||||||
0117576 | INTER0.STR | All FMV with sound. | ||||||||||||
0225526 | DUMMY.DMY | Dummy file that is actually a video not related to the game. |
There may be a pattern for how files are stored and accessed. At the start of each sector, after the CD-XA header, if the sector is the start of a new file, there will be 16-bytes in front of it first. First 4-bytes with a random number. Then a single byte which represents how many sectors this file will occupy. The rest is zeroed out. With this, I was able to write a program that would go sector-by-sector looking for this header than matched. I was able to extract 1,049 background images in full.
File Formats | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Value | Temp | |||||||||||||
05FF0008 | BS Format (Backgrounds) | |||||||||||||
? |
May have figured out the pre-file header stuff that appears before the *.BS files. Not sure what the 05FF0008 part is yet but the number after that, that single byte, may be a number used to tell how many sectors this file uses. This should fix my auto extractor from having to guess the length of the data.