Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio bank manipulation fails for bank 00 #14

Open
isghj5 opened this issue Sep 7, 2020 · 1 comment
Open

Audio bank manipulation fails for bank 00 #14

isghj5 opened this issue Sep 7, 2020 · 1 comment

Comments

@isghj5
Copy link

isghj5 commented Sep 7, 2020

In Majora's Mask, if you load and then immediately save bank 00 it shinks from 0x81C0 to 0x6270 and trying to load a rom with this shrunken bank crashes the audio engine (In PJ64 Error "AddressError reading Vaddr 80257FCB" is presented, if you hit OK the game continues to play without any sound without working frame limiter (fast-forward) )

So bank 00 is unmodifiable currently with seq64.

Edit: hmm there are several blocks of 0, maybe thats what's tripping it up? Maybe the game uses hard memory addresses assuming that padding?

@sauraen
Copy link
Owner

sauraen commented Sep 11, 2020

I'm guessing there's either something hardcoded like that, or there's more to the Audiobank format that I'm not aware of, such as another struct in those places. I'm in the process of some major changes to SEQ64 right now, which will first be affecting sequence files, not banks. However, once those are done, I plan to work on more comprehensive Audiobank / Audiotable import/export. At that time I'll take a look at that bank and try to figure out if there's anything in those non-imported sections of data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants