NSF sound driver for games?

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
User avatar
DevEd
Posts: 51
Joined: Thu Dec 12, 2013 4:00 pm

NSF sound driver for games?

Post by DevEd »

Is it possible to use an NSF file for music/SFX in a game? I'm asking this because I cannot get the FamiTone text exporter to work with FamiTracker, thus preventing me from making music. (To be specific, it crashes in Wine, and it does literally nothing in VirtualBox.)
You know, the DevSound guy.

There are two kinds of people in this world: those who are convinced there are two kinds of people in this world, and those who aren't. - Unknown
Shiru
Posts: 1161
Joined: Sat Jan 23, 2010 11:41 pm

Re: NSF sound driver for games?

Post by Shiru »

It is possible, but more difficult than making FamiTone to work, I'd say. NSF format is not designed for such purpose, you'll have to work around its memory layout and limitations, if there is no sound effects support in a given NSF, then it'll be music only.

You can use the original FamiTracker driver as well, this removes the memory layout issue, but it does not readily support sound effects, and is not designed to be used in games (memory and CPU usage, acceptable for relatively simple games). I'd say it is more difficult than using FamiTone, MUSE, or some other solution that is specifically designed to be used in games.

For the record, I used all three things in practice: NSF, FamiTracker driver, FamiTone. First two were used for stuff that does not need to play sound effects along the music.
Post Reply