WACUP

Preview Build Discussion => Preview Build Discussion => Topic started by: nelsonhf on April 12, 2026, 02:02:49 PM

Title: [BUG] NSF/NSFe playlist incorrect for some files
Post by: nelsonhf on April 12, 2026, 02:02:49 PM
Hi, i'm using WACUP v1.99.47.23960 with the included NSF/NSFe Player (in_notyansf.dll) v0.9.7 and in some files the playlist gets an incorrect (larger) number of tracks than the actual file has (compared with another player like NSFPlay or plug-in). As an example this is the same file opened with WACUP and NSFPlay:

(https://i.ibb.co/FqJx4j8Y/Captura-de-tela-2026-04-12-095240.png) (https://ibb.co/cXtgh728)

Title: Re: [BUG] NSF/NSFe playlist incorrect for some files
Post by: dro on April 16, 2026, 10:35:53 AM
I can reproduce this problem but I don't see why it's happening as it's just using what the nsfplug code is reporting back unless there's something that's changed between the standalone player & what's on github currently (couldn't see any obvious difference). Other nsfe I've thrown at it appear to be reporting the correct number of subsongs compared to what nsfplay is indicating which is odd but then some are also showing more than are expected so I'll have to do some more digging into what's going wrong here.

[edit]
Ok I think I get what's going on here. The files can have a 'playlist size' or a 'total song' which I'm using the later so everything that might be present is going to be extracted. I'm debating what to do & might have to add an option to the preferences to control which value is used when they're different (as your example shows it's a 16 track playlist but is reporting 54 songs though nsfplay doesn't seem to do that so I don't know if that's a quirk of the format or something else). Other ones I've given to it will show a playlist size & the tracks (maybe it's something about the metadata that's provided) so I'll see what I end up doing once I've thrown more files at this.