NSFPlay 2.3

Discuss NSF files, FamiTracker, MML tools, or anything else related to NES music.

Moderator: Moderators

User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

  • FCM8_Entries/Cover/Entry41.nsf same issue as with dendrite
  • FCM9_Entries/Cover/Entry39.nsf I don't see anything wrong with this one? This is Don't Tarry? see below for patch
  • FCM10_Entries/Cover/Entry009.nsf troll PCM entry, not worth any time to troubleshoot
  • FCM10_Entries/Cover/Entry017.nsf turn on "write protect" in NSFPlay FDS options
  • FCM10_Entries/Cover/Entry035.nsf (starts at about 00:11) requires banskwitching but does not specify so, put 00 01 02 03 04 05 06 07 in bank section of header not sure, possible troll?
  • FCM10_Entries/Cover/Entry148.nsf turn on "write protect" in NSFPlay FDS options
The write protect problem is that multi-expansion doesn't make allowances for FDS RAM and there are write conflicts from the other chips' interfaces. I made an option to write-protect it in NSFPlay 2.3, but in the next version I will default it to write protect whenever multi-expansion is used (with an option to disable).
Last edited by rainwarrior on Sun May 04, 2014 7:12 pm, edited 2 times in total.
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

FCM9_Entries/Cover/Entry39.nsf

Sorry, there pack is mislabeled and there were two entry 39s in the pack. Back when FCM9 happened I actually patched this one. (I believe I also notified the author of the engine used and it's been subsequently fixed)
Attachments
Entry39_cover_patched.nsf
Famicompo 9 Cover Entry 39, patched
(13.02 KiB) Downloaded 333 times
Whelkman
Posts: 11
Joined: Sat May 03, 2014 6:28 pm

Re: NSFPlay 2.3

Post by Whelkman »

Thanks for the patch for FCM9_Entries/Cover/Entry39.nsf. I spent time looking for this previously but came up empty.
rainwarrior wrote:
  • FCM10_Entries/Cover/Entry035.nsf (starts at about 00:11) requires banskwitching but does not specify so, put 00 01 02 03 04 05 06 07 in bank section of header
This one's new to me. I attempted to follow the instructions but now the NSF doesn't play. According to Kevin Horton's NSF documentation, the bank section starts at 0x0070 and runs for eight bytes. Indeed, at that location there is an 8-byte string of zeros but when entering 00 01 02 03 04 05 06 07, the file no longer plays. Must another modification be made or is this not the correct location?
User avatar
koitsu
Posts: 4201
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: NSFPlay 2.3

Post by koitsu »

Thanks much for all the insights! Woot!

I didn't even know about the write-protect option 'til now. I always wondered how all the multi-expansion NSFs managed to actually avoid such conflicts -- sounds like they can't, so the programmer/composer actually has to ensure compatibility if possible. Whee...
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

Er, sorry, I misidentified that one. It does not require bankswitching.

I don't know what's wrong with it. Possibly it's a troll entry, actually, given the size. It doesn't actually hit any bad opcodes or anything.
Whelkman
Posts: 11
Joined: Sat May 03, 2014 6:28 pm

Re: NSFPlay 2.3

Post by Whelkman »

Thanks. I always assumed it was a troll entry but from the song description.
User avatar
Dwedit
Posts: 4921
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: NSFPlay 2.3

Post by Dwedit »

For some reason, the NSF for Ai Senshi Nicol doesn't play correctly. It works fine on FCEUX and Nintendulator.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Whelkman
Posts: 11
Joined: Sat May 03, 2014 6:28 pm

Re: NSFPlay 2.3

Post by Whelkman »

Dwedit wrote:For some reason, the NSF for Ai Senshi Nicol doesn't play correctly. It works fine on FCEUX and Nintendulator.
Works for me in both 2.3 and SVN (2.4 beta 1).

Ai Senshi Nicol.nsf
CRC-32: 66ecc9d6
MD4: 14ad63f377bb4c7b2a32c5bca726af7b
MD5: 24c0f5a6ffbe490c3771c9726c03614f
SHA-1: e74c715d2ad16aa265b1d4a992d8315dcbdab7d7
SHA-256: 38e0bb12285ee80d53efe596b51b0298f3d67440f312165cb5f52e0f35731645
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

There's an older rip of that game that relies on impossible FDS RAM mirroring. Try this one instead:
https://dl.dropboxusercontent.com/u/883356/NSF_rips/Ai Senshi Nicol (FDS)(1987)(Konam) a.nsf

More info here: viewtopic.php?f=6&t=9224&p=98299#p98299
User avatar
Dwedit
Posts: 4921
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: NSFPlay 2.3

Post by Dwedit »

Looks like merely changing the header bytes at 0x76 from 00 00 to 03 04 was enough to fix it. Thanks!
edit: not quite fixed, doing that still puts a bunch of noise and crap in song #4.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Whelkman
Posts: 11
Joined: Sat May 03, 2014 6:28 pm

Re: NSFPlay 2.3

Post by Whelkman »

Are the clicks at the beginning of track 1 in this NSF supposed to be there? Or is the NSF bad? The clicks aren't present in VirtuaNSF 1062, but I don't know if that means anything. I'm using NSFPlay revision 130 (2.4 beta 1). The clicks are present for the first four seconds and sound similar to artifacts in Napster era MP3s when CD drives and ripping software lacked stable digital audio extraction and error correction. The NSF came from Zophar Domain's collection and has a stamp of February 23, 2014.
Attachments
Door Door.nsf
(8.17 KiB) Downloaded 265 times
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

Yes, the clicks should be there. Here's proof recorded from my NES just now.

The NSF is strange. It sets both squares and the triangle to frequency 7 for a brief time before silencing, so you get a high frequency chirp. It also suffers from a non-returning PLAY function, which is kind of unusual for a ripped NSF. I would guess that in-game nothing is changing onscreen while this first track plays?
Attachments
door_door_1_nes.zip
(563.04 KiB) Downloaded 195 times
Last edited by rainwarrior on Sat Sep 01, 2018 8:53 pm, edited 1 time in total.
Whelkman
Posts: 11
Joined: Sat May 03, 2014 6:28 pm

Re: NSFPlay 2.3

Post by Whelkman »

Thanks for the investigation. I found gameplay footage and you're correct: image is static while the music plays.

https://www.youtube.com/watch?v=ApiMiIPj3VU
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: NSFPlay 2.3

Post by cpow »

Just FYI I created a Winamp plugin for straight-up .FTM playing. I'd been posting about it in response to this request.

It's not perfect yet, but it at least works.

For those of us [or just me?] that don't want to have to export FTMs to NSFs to listen to their playlists in Winamp. :beer:
User avatar
Dwedit
Posts: 4921
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: NSFPlay 2.3

Post by Dwedit »

Just a minor problem with the Winamp plugin.
In Windows 10, when you mouse over the taskbar entry for Winamp, you get a set of playback controls. Play, Pause, Stop work fine, but the Previous and Next controls do not work correctly, and instead restart the currently playing track. This is weird because the buttons in Winamp work fine, hotkeys and global hotkeys work fine, and media keys on the keyboard work fine as well.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Post Reply