@ Sparktank: Perhaps you can upload a sample psf-file so we can have a look ourselves.
[edit]
Nevermind Sparktank. I just tried to flac some gbs-files I still had around (which I assume are simular to psf-files), and eventually decoded a gbs-file to wav first and then tried to flac it, but no matter what I do, I'm getting an error message everytime.
Encoding an ordinary wav-file (3 minutes long) to flac directly works just fine:
flac.exe --until=1:00,00 -8 sample.wav -o sample.flac
But the following always fails in Foobar:
-s --until=1:00,00 --ignore-chunk-sizes -8 - -o %d
The following in Foobar does produce a flac-file, but still an error-window comes up when the progress-bar has reached 33% (1minute of 3):
-s --until=1:00,00 -8 - -o %d
Bit-comparing this one with the flac.exe-output results in: Length mismatch : 0:59.907483 vs 1:00.000000, 2641920 vs 2646000 samples
[/edit]