bbbradsmith/nsfplay

Unable to play music when files are opened directly from Windows explorer

KiON-GiON opened this issue · 3 comments

Hi,
A few hours ago I updated my NSFPlay copy, but whenever I open files from the Windows explorer, NSFPlay doesn't play anything and it crashes. (I've NSFPlay as the default player)
I deleted all the settings, but that doesn't solved my issue.
But when I open files using NSFP's file explorer, all the NSFs play just fine.
I've re-downloaded the stable version to confirm if it works, and indeed it does.
I'm sorry, I don't have more details. The logs that Windows leaves in the event viewer didn't help much either.

Hmm, that's one I'm not able to duplicate. Does drag & drop work?

If you open regedit and search for "nsfplay.exe" what "command" keys do you find? A normal command should look like:

"C:\...\nsfplay.exe" "%1"

Also, out of curiosity, what does the unhelpful event viewer log look like?

Yeah, drag & drop works just fine, and the regedit key is looking as you descrived. Here's the log:

Log Name:Application
Source: Application Error
Date: 31-10-2020 15:50:32
Event ID:1000
Task Category:(100)
Level: Error
Keywords:Classic
User: N/A
Computer: [removed]
Description:
Faulting application name: nsfplay.exe, version: 2.3.0.0, time stamp: 0x5f99ee84
Faulting module name: in_yansf.dll, version: 0.0.0.0, time stamp: 0x5f99ee59
Exception code: 0xc0000005
Fault offset: 0x00018447
Faulting process ID: 0x6b4
Faulting application start time: 0x01d6afb6b4e00834
Faulting application path: C:\Users...\Desktop\VGM\FCNES\nsfplay\nsfplay.exe
Faulting module path: C:\Users...\Desktop\VGM\FCNES\nsfplay\plugins\in_yansf.dll
Report ID: cd8ba361-12e5-4b5e-9c92-88a6ca528eb2
Faulting package full name:
Faulting package-relative application ID:

Edit: Removed the XML part because it contains redundant data.

Will close this for the time being, but can revisit it if it resurfaces.