Zophar's Message Domain

Zophar's Message Domain (http://www.zophar.net/forums/index.php)
-   Rom Hack (http://www.zophar.net/forums/forumdisplay.php?f=8)
-   -   Some q's about NSF files. (http://www.zophar.net/forums/showthread.php?t=9146)

4512jth 07-10-2008 07:23 PM

Some q's about NSF files.
 
1. Is it possible to replace NSF files in roms?
2. Is it possible to convert MP3/MIDI to NSF?

Rattlehead 07-11-2008 12:28 AM

To answer your questions:

1. No. A game's music is designated for that game's coding only. However, if you're that good of a programmer, then go for it.

2. No and maybe. MP3s are encoded at a much higher bitrate then the NES sound hardware can handle. As for MIDIs...it may be possible, though MIDIs would be better suited for SNES hardware than NES hardware.

Hope that was of some help to you. If you have any more music-related questions, feel free to PM me.

Gil-Galad 07-11-2008 05:31 PM

Yes, it is possible to switch NES music drivers in a game. No, it's not easy of course. It's already been done by bbitmaster, you can read up about it at romhacking.net.

It's a bit easier to switch the music driver in some games that are programmed from the same company, for example a lot of Capcom games. Change all of the addresses to what the old music driver was using. Change the call to the play code in the NMI interrupt. Change the init entry point so that it's compatible with the tune switch. Doing this will save you a lot of work so that you don't have to go through the entire game changing the tune address and numbers for the tune index. There are exceptions to this explanation, of course. Good luck.


All times are GMT. The time now is 04:18 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.