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

Cannot open .BTM after reopening BambooTracker #59

Closed
djtuBIG-MaliceX opened this issue Jan 27, 2019 · 3 comments
Closed

Cannot open .BTM after reopening BambooTracker #59

djtuBIG-MaliceX opened this issue Jan 27, 2019 · 3 comments

Comments

@djtuBIG-MaliceX
Copy link
Contributor

Hi,

Was working on something for a couple hours. Not sure what happened but all of a sudden I am no longer able to reopen my .BTM file as it appears with an error:
image

I have attached the relevant .BTM file in the following zip.
djtBMX_BTM_bug.zip

Not sure what could suddenly cause this but I suspect it might have something to do with deleting and adding instruments?

Thanks,
-MaliceX

@rerrahkr
Copy link
Member

Thanks for your report.
It seems the same unknown bug with #44. Instrument index of Instrument 01 (Oboe) was set as 0xFF not 0x01. I attached the fixed file.
fixed.zip

it might have something to do with deleting and adding instruments

I think so too. Did you delete Oboe and undo it?

@djtuBIG-MaliceX
Copy link
Contributor Author

I may have yes. Though I just add another instrument afterwards which then fills the index gap.
It certainly sounds repeatable if the instrument list is suddenly mapping to a default value 0xFF presuming it's a default constant. Happy to investigate a repeatable test case.

Also thanks for fixing the .BTM

@rerrahkr
Copy link
Member

Although I didn't know why it happens, in 758c350, I removed code which set a instrument number to -1 (0xFF). -1 was a flag as "this instrument is not registered with instrument list". I divided the flag and the instrument number, so I think it would not occur to set wrong instrument number.

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