I’ve uploaded the Delphi unit I use in PSV Exporter, this can either be dropped straight into a Delphi application or used as a technical document of the PSV File Structure.
You can find PSVFormat.pas right here, please note that this also includes support for PS1 files unlike the previous documents posted.
If you make any changes please use the Contact Us form to let us know so we can update the unit accordingly.