How to associate .bmx files with MaxIDE..?
Archives Forums/MacOS X Discussion/How to associate .bmx files with MaxIDE..?
| ||
Hello people, I know the process of doing it. I get the Info of a .bmx file. There, under "Open with", I find and choose MaxIDE, and click "Change all". But then it gives me an error.. It says: "An unexpected error occurred (error code - 10813).".. Look here: Anybody know how to solve this? :( |
| ||
Thats precisely what I get on one of my iMacs, and yet its all fine on the other two... As far as I know its unsolvable (reporting it to Bug section of the Apple Developer program doesn't help either). I do suspect the Mac program isn't totally correct - in that some plist or something is missing. Might be worth looking at : http://discussions.apple.com/thread.jspa?threadID=1140217&tstart=0 |
| ||
I've partially solved the problem (Change All still doesn't work, but then it never has for me), but I have found that replacing the pinfo.list file with a (correct) one solves file association and makes BlitzMax a recommended program. |
| ||
That's nice. I was fiddling with the info.plist file myself, but couldn't quite make it work. I had trouble with the parameter "CFBundleSignature" in it, because that requires some key you put in the source code (as far as I understand it). Can you perhaps share the info.plist you are using, that make it work? ;-) |
| ||
Here is the correct info.plist file : http://www.nicholaskingsley.co.uk/MiscThings/piccie.tiff It seems that if you export to a text file, you get the incorrect file - I wonder if thats what Mark/Seb did ? |
| ||
Hmm.. Okay, I edited it directly in Property List Editor. Sadly, it does not make a difference. We are talking about the file that is within the MaxIDE package, right? I got happy, because it worked with the first .bmx file I tried with. But others, it just says "There is no default application specified to open the document "xxxxx.bmx".".. It puzzles me, that it works with SOME .bmx files, but not all..?? It's not even packages, it's just friggin' text files with a .bmx extension.. How can there be a difference between two such files? This confuses the hell out of me..! I also tried to make a new .bmx file, but that will not open MaxIDE either.. And even though it's not in OS X's nature to restart the system after such changes, I tried to restart anyway. It didn't change anything. Anyway, thanks a LOT for trying. I don't know what else to do. If you (or anyone..) have any other thoughts, please.. Yes, please.. Hehe.. :) |
| ||
The first time you will be asked for the program to open the file with, but after that all BMX files should load with MaxIDE. It might be worth deleting the LaunchServices files - the easiest way is to get Onyx and use that to do it. It should also make MaxIDE a Recommended Program (and thus fixes the icon of BMX files). It doesn't, unfortunately fix Change All - I still get that wretched error message for some reason. However, with the proper list file, it shouldn't be needed as the file associations would be correct. I did have correct file icons in my Downloads folder - but nowhere else. No idea why... I have sent a longish email to Support about this, so hopefully someone will look into it. |
| ||
We should post that into the "BlitzMax Bug Reports" Forum or ? |
| ||
Have done a while ago. There has been no comment on it though :( |
| ||
Hey MrTAToad. It actually helped rebuilding Launch Services.. Now all .bmx files opens with MaxIDE. Thanks a lot for your help! ;) This is good enough for me, until it gets fixed. |
| ||
Simon has let Mark know about it, so hopefully any updates will come with a correct pinfo file :) |
| ||
Hi! I'm sorry to bump a dead thread, but I had the OP problem and lurked around the Web in order to solve it. Well, I've followed the above tips and, furthermore, I modified the Info.plist file inside MaxIDE application bundle, to fix the icon issue too. I firstly modified the Info.plist file inside MaxIDE application bundle, adding a child branch*. Then, using Onyx 2.0.4, I did a Cleanup of LaunchServices cache ( http://www.titanium.free.fr ). At this point, when I double-clicked a .max source file, the association was already done and, after the "first launch" confirmation, I succeeded to get the extension and icon association to every single source file on my HD, wherever it is. * Just for ease of operation, I included the export of Info.plist file included into my MaxIDE bundle. For your safety, don't forget to backup the original Info.plist file. Create an empty text file, paste the below XML snippet and save it as "Info.plist". You just need to replace the existing one with this one you've just created. Hope this helps. Happy clicking! ^_^ |
| ||
Just Did further tweaking. ^_^ Now I have different icons for executables and source files. :-) |
| ||
Oh thank you very much! I like the possibility to have different icons for source and execs! |
| ||
any chance you can upload the icon file you have created? Very nice. |
| ||
I'm happy and proud to share it. ^_^ I just made a zip containing both icon and tweaked plist file. Everybody feel free to download and spread it. ;-) If Mark likes it too, he could even include this stuff as he likes in next distributions. :) Bye. Last edited 2011 |
| ||
BlitzMax BlitzMax 1.37 seems to solve the file association for me. Can you guys confirm that? |
| ||
Haven't installed 1.37 yet, but looking at IDE application bundle, it includes the right info.plist file. So it seems completely fixed. Nice one, Blitz! ;) |
| ||
Sorry to bring back such an old topic, but I cannot get the icons to show up in the Finder. |