View Issue Details

IDProjectCategoryView StatusLast Update
0000551fileGeneralpublic2024-09-07 12:08
Reporterjsummers Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.45 
Summary0000551: Portable Sound Format pattern doesn't work
DescriptionMost PSF "Portable Sound Format" files aren't identified, but they should be. Refer to "Portable Sound Format" in magic/Magdir/audio. Only the rare "Capcom QSound" subtype works.
Steps To Reproduce(Using pattern files from 2024-07-30) Run 'file' on pretty much any .psf file, e.g. from <https://www.zophar.net/music/psf.html>...

$ file AngelBlade_00.PSF
AngelBlade_00.PSF: data

Expecting "Portable Sound Format (Sony PlayStation)" instead of "data".
Additional Information[Found using mgchkj <https://github.com/jsummers/mgchkj>.]

I think I see what the pattern is trying to do. I know several ways to fix it, but all of them are fairly ugly.

The attached file contains some artificial PSF files for testing, and my edited "psf-new.magic" pattern that suggests one way to fix it.
TagsNo tags attached.

Activities

jsummers

2024-08-18 15:01

reporter  

file-psf.zip (6,129 bytes)

jsummers

2024-09-07 12:08

reporter   ~0004067

This has been fixed in the source code, by changed made around Sep. 4.

Issue History

Date Modified Username Field Change
2024-08-18 15:01 jsummers New Issue
2024-08-18 15:01 jsummers File Added: file-psf.zip
2024-09-07 12:08 jsummers Note Added: 0004067