Issues opening old BIAB file MacOS 10.6.8

• Dec 5, 2012 - 17:57

Briefly, I have one older .MGU BIAB file that opens fine in BIAB, but refuses to open in Musescore. I get a "File not found" error dialog from Musescore, although it's clearly there in the directory. I have tried opening it in BIAB then saving as another file name, no joy. I have checked file permissions, ownership, etc. in terminal, can't see any issues. I have several other .MGU files of the same vintage that open just fine, so I'm stumped. Anybody else run into this?

Running MacOS 10.6.8.

TIA.


Comments

In reply to by [DELETED] 5

Yes to both, thanks. Had to upload the MGU file zipped, since the forum doesn't allow the MGU format.

Here are the attributes for two files in the directory in question, the first file is the one attached and will not open. The second in the list opens fine:

-rwxrwxrwx@ 1 username staff 1789 Dec 4 22:31 ChristmasTune.MGU
-rwxrwxrwx@ 1 username staff 2886 Mar 13 2001 Slim_G.MGU

Attachment Size
ChristmasTune.zip 1.35 KB

In reply to by [DELETED] 5

Since each of the file permissions ends with the "@" extended attribute designation, I used the xattr -l command on each of these two files. This displays that they both have an attribute that references BIAB:

com.apple.FinderInfo:
00000000 42 49 41 42 42 42 34 30 01 00 00 00 00 00 00 00 |BIABBB40........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020

but the one that won't open also has an additional reference to a resource fork:

com.apple.ResourceFork:
00000000 00 00 01 00 00 00 05 08 00 00 04 08 00 00 00 32 |...............2|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000100 00 00 04 04 00 00 00 3B 2F 56 6F 6C 75 6D 65 73 |.......;/Volumes|
00000110 2F 4D 43 57 32 2F 41 70 70 6C 69 63 61 74 69 6F |/MCW2/Applicatio|
00000120 6E 73 2F 42 61 6E 64 2D 69 6E 2D 61 2D 42 6F 78 |ns/Band-in-a-Box|
00000130 2F 42 61 6E 64 2D 69 6E 2D 61 2D 42 6F 78 2E 61 |/Band-in-a-Box.a|
00000140 70 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |pp..............|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000230 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000270 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000003A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000003B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000003C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000003D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000003E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000003F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000004A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000004B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000004C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000004D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000004E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000004F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000500 00 00 00 00 00 00 00 00 00 00 01 00 00 00 05 08 |................|
00000510 00 00 04 08 00 00 00 32 06 00 00 00 6E 06 00 00 |.......2....n...|
00000520 00 1C 00 32 00 00 75 73 72 6F 00 00 00 0A 00 00 |...2..usro......|
00000530 FF FF 00 00 00 00 AA 00 00 00 |..........|
0000053a

This may explain why BIAB will open it, but Musescore won't, since it is a multipart file and Musescore can't find the resource fork, which would be on the external drive (MCW2) where BIAB lives.

Not sure if this can be rectified, but it's one possible cause for this issue.

FWIW, it's BIAB version 2010.

In reply to by nhsaxes

My v1.2 does nothing when trying to open this file, no crash no messages. V2.0 however complains that it can't read the file, unknown extension or broken file. Internal to the MGU file there is a reference to "JWLTZ2.STY", but if it's a file reference I can't tell. The resource fork portion of the BIAB file is only telling the OS what app to use to open the file.

In reply to by schepers

You are correct that with Musescore 1.2 open, nothing happens. But try again using ctl-click "Open with", with Musescore closed. Musescore will open and try to read, then you'll see the "not found" message.

If the file was corrupted, I would expect BIAB to complain also, but it opens it just fine. Maybe it's because it was first created with an older version of BIAB, who knows. I did notice that reference to the style when I opened it in Text Wrangler, but I'm not sure how that would affect the visibility of the file to Musescore.

Of course, I could have hand-entered the whole tune in Musescore by now, but that isn't the point, is it? ;)

In reply to by schepers

I suspect that's the case, although the other tune I was comparing it to was from right around the same time period. But, I could have upgraded BIAB before the second tune was written, a detail that is now lost in the mists of my mind since both are more than a decade old.

Apparently BIAB has special powers when it comes to recognizing ancient files from its own tribe. Would be nice if it translated them into the newer format when it saved them, but apparently that's too much to ask. I even tried changing a few notes and styles before saving into a new file, but the format didn't change.

Thanks to everyone who checked in on this, much appreciated. I did finally give up trying and rewrote the chart from scratch in 1.2; with a few changes and improvements it looks and sounds even better now! Just in time for three upcoming holiday gigs.

In reply to by nhsaxes

I spent some time last night going over the BB.C source file (BIAB import code in MS) to see something of the layout of the BIAB files. I changed the second byte of your file from 0x0F to 0x0C (correct length of the filename "Winter Waltz") and now it opens in Windows. If I had some more BIAB files I could do a comparison and possibly make some code changes. I've attached the corrected version even though you don't need it anymore.

Attachment Size
ChristmasTune.zip 935 bytes

In reply to by schepers

Opens up for me as well, but in 4/4 vs. 3/4 with the chords and melody displaced accordingly. I then opened a local copy of the same file in my hex editor and made the same change to the second byte, and it worked exactly the same way. I am at the wrong computer right now, but later today I will send over a couple more BIAB files for comparison, these would be ones that already open OK in Musescore. Thanks again for the effort!

Do you still have an unanswered question? Please log in first to post your question.