Files
psp-preservation-tool/app
quoije 2f1fc760a1 ps1: byte-exact popstation output; fix TOC, DATA.PSP, SFO, pregap
Fix the EBOOT.PBP 'data is corrupted' boot failure on CFW by making the
converter match popstation byte-for-byte where it counts:

- build_toc: A0 entry byte 8 is the raw Red Book disc-type bitfield 0x20
  (CD-ROM XA), not BCD(0x20)=0x32; A-point entries use control 0x41.
- extract_data_psp: copy only prx_size (u32 at DATA.PSP+0x2C), not the
  whole zero-padded section.
- PSAR_ALIGNMENT: 0x50000 (matches popstation and the base PBP).
- SFO: patch the base PBP's PARAM.SFO in place (title + DISC_ID) instead
  of rebuilding, preserving integer field types (0x0404) and values.
- Cue pregap: INDEX 00 pregap is already inside the bin file, so do not
  re-emit zero sectors; only a PREGAP command adds external pregap.
  Track starts/lead-out now match PSXPackager's merged-cue output.
2026-09-07 16:50:52 -04:00
..
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00
2026-09-06 22:30:13 -04:00