Skip to content

issue with SNDH v2.2 files with sub tunes #59

@dnalor

Description

@dnalor

when using psgplay built from the latest code, trying to convert a SNDH V2.2 file with >1 sub tunes results in this error:

psgplay -o /dev/stdout --stop=auto --mode=command --psg-mix=linear "Dma-Sc/ADN_Quiz.sndh"|sox --multi-threaded --norm=-3 -q -V0 --ignore-length -t wav - -t flac - > /tmp/XX.flac
psgplay: error: Dma-Sc/ADN_Quiz.sndh: unrecognised data in 75 bytes at offset 119
psgplay: error: /dev/stdout: WAVE opened for writing without duration

system info:

Linux 6.12.23-gentoo #1 SMP PREEMPT_DYNAMIC Tue Apr 15 11:29:26 CEST 2025 x86_64 AMD Ryzen 5

file tag info:

subtunes frames: [6239,4095,1427,3215,3263,1679,6143,2815,2943,5543,6271,6239,8191,3635,6143]
tag=\{'COMMENT' => 'Ripper: N/A | Converter: Grazey | Timer: 20Hz | Sub Tunes: 15 | Frames: 67841','SIZE' => '203942','ARTIST' => 'DMA-SC','YEAR' => '2025','TITLE' => 'ADM Quiz','ALBUM' => 'Dma-Sc','STEREO' => 2,'SECS' => 3392}

The file is from the SNDH updates from January . I've tried some others with multiple sub tunes from there with the same results. Files with one sub tune work fine.

Any ideas would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions