mode7
New member
I've been thinking a lot about how cool it would be to replace the music tracks in Ocarina of Time with the great recreations from the Zelda Reorchestrated Project.
I'm not a coder and I have only limited knowledge about how N64 emulation works, so let me know if this is nonsense.
I know music replacement has been discussed before and declared theoretically possible at least on a game to game basis.
As I rememeber right the problem is that the N64 has no SPU so all sound is processed by the software (in the rom) through the CPU. So the sound plugin is just playing back a sound stream generated by the rom. Am I right up to this point?
Now there are these hackers, frauber and messiaen. Which have reverse engineered the sequenced music used in many N64 games like Mario 64, Mario Kart, Wave Race and Zelda.
There are tools to parse files from the rom and reinsert them as well as a doc explaining the format on their homepage.
Still replacing is of course only possible in the sequenced format.
But I think this could be a key to load hires music into the games to.
When a sequenced file is played back, it is loaded into the N64s RAM right?
A plugin could go there and check which song is played currently and get some other parameters by analysing the reverse engineered format right?
Then the parameters got be changed to mute the ingame song (or just dont play it)
The parsed song information could be used to load a song file from the HD which is played back by a player which is then mixed with the output from the sound plugin.
Would this, theoretically, be possible?
I'm not a coder and I have only limited knowledge about how N64 emulation works, so let me know if this is nonsense.
I know music replacement has been discussed before and declared theoretically possible at least on a game to game basis.
As I rememeber right the problem is that the N64 has no SPU so all sound is processed by the software (in the rom) through the CPU. So the sound plugin is just playing back a sound stream generated by the rom. Am I right up to this point?
Now there are these hackers, frauber and messiaen. Which have reverse engineered the sequenced music used in many N64 games like Mario 64, Mario Kart, Wave Race and Zelda.
There are tools to parse files from the rom and reinsert them as well as a doc explaining the format on their homepage.
Still replacing is of course only possible in the sequenced format.
But I think this could be a key to load hires music into the games to.
When a sequenced file is played back, it is loaded into the N64s RAM right?
A plugin could go there and check which song is played currently and get some other parameters by analysing the reverse engineered format right?
Then the parameters got be changed to mute the ingame song (or just dont play it)
The parsed song information could be used to load a song file from the HD which is played back by a player which is then mixed with the output from the sound plugin.
Would this, theoretically, be possible?