Music NES rom (VegaPlay)

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

Moderator: Moderators

Post Reply
User avatar
Rubel
Posts: 11
Joined: Mon Sep 16, 2013 1:49 pm
Contact:

Music NES rom (VegaPlay)

Post by Rubel »

Hello!

I want to create music NES rom with VegaPlay by No Carrier http://no-carrier.com/index.php?/vegaplay/ and I have a problem. My NSF file have big size with 1.5 song and not converted:

Big NSF files have this sign:
Load Address: 0x8000
Init Address: 0x8000
Play Address: 0x8003
and after converting appears this message: "value out of range". If nsf have little size (less than 50k) converting is ok and this address have variable values.

Also I used vrc6 mapper (24) :)
How to win this problem? Do you have any ideas?

Sorry for my horrible English, I'm just studying it :)
Grapeshot
Posts: 85
Joined: Thu Apr 14, 2011 9:27 pm
Contact:

Re: Music NES rom (VegaPlay)

Post by Grapeshot »

Vegaplay does not support NSF files over 30k because they require bank switching to work and the way that a NSF file switches banks is different than any standard NES mapper, so automatic conversion is not possible without editing the NSF.

What song files are you trying to convert? If it's music that you made in FamiTracker, FamiTracker has a NES file export option. Also consider using a more size efficient music engine or cutting down on the amount of DPCM samples you are using.

If you want to run NSF files on real hardware, you can use the PowerPak which supports the NSF mapper (but not all of the expansion sound chips at once).
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Music NES rom (VegaPlay)

Post by tepples »

Grapeshot wrote:Vegaplay does not support NSF files over 30k because they require bank switching to work and the way that a NSF file switches banks is different than any standard NES mapper
Define "standard NES mapper". I know someone who plans to put the NSF mapper on a CPLD, just as the PowerPak has put it on an FPGA.
so automatic conversion is not possible without editing the NSF.
Then the player should be structured such that writes go through one particular function, so that that function can be customized for UNROM, MMC1, MMC3, or NSF banking.
User avatar
Rubel
Posts: 11
Joined: Mon Sep 16, 2013 1:49 pm
Contact:

Re: Music NES rom (VegaPlay)

Post by Rubel »

What song files are you trying to convert? If it's music that you made in FamiTracker, FamiTracker has a NES file export option. Also consider using a more size efficient music engine or cutting down on the amount of DPCM samples you are using.
It's FamiTracker music. Separately one nsf song have size 5-10kb. When I combine their in one nsf file size rise to 60kb.
If you want to run NSF files on real hardware, you can use the PowerPak which supports the NSF mapper (but not all of the expansion sound chips at once).
I want to use EverDrive N8 http://shop.retrogate.com/EverDrive-N8- ... r-EDN8.htm
lidnariq
Posts: 10677
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Music NES rom (VegaPlay)

Post by lidnariq »

tepples wrote:
Grapeshot wrote:Vegaplay does not support NSF files over 30k because they require bank switching to work and the way that a NSF file switches banks is different than any standard NES mapper
Define "standard NES mapper". I know someone who plans to put the NSF mapper on a CPLD, just as the PowerPak has put it on an FPGA.
Getting horribly distracted with pedantry: By "standard NES mapper", well, it hasn't been allocated an iNES mapper nor a UNIF MAPR, and 10x4k PRG banking is unique to NSFs. And INL's not planning on making the NSF mapper exactly, but something equivalent that is incompatible with expansion audio.
User avatar
Rubel
Posts: 11
Joined: Mon Sep 16, 2013 1:49 pm
Contact:

Re: Music NES rom (VegaPlay)

Post by Rubel »

Thanks all! Project released without vegaplay:

viewtopic.php?f=22&t=11003
Post Reply