vgmrips

The forum about vgm files
It is currently 2018-05-26, 4:09:45

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Converting NSF to VGM?
PostPosted: 2018-05-08, 4:36:51 
Offline

Joined: 2018-04-28, 18:14:49
Posts: 5
Among the NES/chiptune community, both NSF and VGM seem to be competing formats. While a lot is available in VGM, there's quite a bit more that is only available as NSF.

I'm currently working on a hardware player, where VGM is a very natural fit. (I literally just "replay" the VGM data to the RP2A03 registers and it works.) However, I'd love to be able to play existing content that is only posted in NSF.

For those who may not be familiar, NSF is essentially a rip of the 6502 assembler instructions used to play the music. (while VGM is the resulting register writes) So the only way to "play" an NSF file is to actually emulate an NES CPU.

So are there any existing tools that can actually convert an NSF file into a VGM file? I'm thinking something like an emulator with both NSF playback and VGM logging support.

(Right now, I've been capturing register sequences for NSF-only sound effects by hacking Mednafen's code to basically printf() APU register writes, but going from that to an actual VGM output file is quite a bit more work.)


Top
 Profile  
 
 Post subject:
PostPosted: 2018-05-08, 7:16:56 

Contributors Contributors
Staff Staff
Offline
User avatar

Joined: 2013-07-17, 23:32:39
Posts: 293
http://vgmrips.net/forum/viewtopic.php?t=998


Top
 Profile  
 
 Post subject:
PostPosted: 2018-05-08, 8:16:56 
Offline

Joined: 2018-04-28, 18:14:49
Posts: 5
Thanks. Added a post to that thread. (Seems that the only thing that's completely non-obvious about NEZplay++ is how to actually use it to log VGM data. Hopefully someone over there can help.)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group