View Issue Details

IDProjectCategoryView StatusLast Update
0000551fileGeneralpublic2024-11-09 23:24
Reporterjsummers Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.45 
Fixed in Version5.46 
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.

christos

2024-11-09 23:24

manager   ~0004083

Fixed, thanks

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
2024-11-09 23:24 christos Assigned To => christos
2024-11-09 23:24 christos Status new => assigned
2024-11-09 23:24 christos Status assigned => resolved
2024-11-09 23:24 christos Resolution open => fixed
2024-11-09 23:24 christos Fixed in Version => 5.46
2024-11-09 23:24 christos Note Added: 0004083