Tempest Posted December 4, 2009 Share Posted December 4, 2009 Is it possible to generate a text file from a compiled menu file? I lost the text file I used to create my CC menu file in a computer crash a few months ago. Thankfully I had the compiled menu file on my CC still, but I need to turn that back into a text file so I edit it again. Is this possible? Tempest Quote Link to comment Share on other sites More sharing options...
+Mitch Posted December 4, 2009 Share Posted December 4, 2009 Is it possible to generate a text file from a compiled menu file? I lost the text file I used to create my CC menu file in a computer crash a few months ago. Thankfully I had the compiled menu file on my CC still, but I need to turn that back into a text file so I edit it again. Is this possible? Tempest You should be able to it though I've never tried. You would need to add a line break every 64 characters. Mitch Quote Link to comment Share on other sites More sharing options...
Emehr Posted December 23, 2009 Share Posted December 23, 2009 Sure, it's possible. I wrote a menu compiler for Classic MacOS. Reversing it would be a snap. Quote Link to comment Share on other sites More sharing options...
Tempest Posted December 23, 2009 Author Share Posted December 23, 2009 I still need to do this. I just haven't gotten around to it. Tempest Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted December 23, 2009 Share Posted December 23, 2009 Hey Tempest: Here you go. It's a DOS utility (you have to open a command prompt) type "inscrnl <number of chars> <input file> <output file>" so, in this case, "inscrnl 64 menu.cc2 menu.txt" Hope this helps! Bob INSCRNL.zip Quote Link to comment Share on other sites More sharing options...
Tempest Posted December 23, 2009 Author Share Posted December 23, 2009 Thanks I'll try this tonight. Tempest Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted December 23, 2009 Share Posted December 23, 2009 Cool - if you have any problems, let me know. I wrote it quickly, and tested it with a regular text file as I don't have my cuttle cart II with me. Quote Link to comment Share on other sites More sharing options...
Emehr Posted December 23, 2009 Share Posted December 23, 2009 Here's my Classic Mac OS implementation for anybody who may be interested. It will convert a compiled Cuttle Cart II menu file (*.CC2) into its text counterpart and can handle multiple files at once. Just drag and drop one or multiple CC2 menu files onto either the application icon or its open window. Notes: -This app is "dumb". It assumes it is working with a compiled .CC2 menu file so please don't feed it anything else. If there is any interest at all I'll be happy to polish it up. -Can handle multiple files via drag and drop only. If you use the 'Open' command you can only select one file. -May or may not leak memory. This hasn't been extensively tested. Use at your own risk but know that the author has confidently used it on his production Mac without fear of lost data. -Hasn't been tested in Classic mode but its counterpart program, (which compiles text files into menu files and shares much of the same code) has and works wonderfully. Enjoy! And if I ever get off my butt and blow the dust off my Mac OS X programming books maybe I'll churn out a more modern version. CC2TextMenuMaker.sit.zip Quote Link to comment Share on other sites More sharing options...
Tempest Posted December 23, 2009 Author Share Posted December 23, 2009 Oops. It says that it doesn't like my 64-bit operating system. I'll have to try this at work next year. Tempest Quote Link to comment Share on other sites More sharing options...
lucifershalo Posted December 23, 2009 Share Posted December 23, 2009 i can send you my CC2 menu text file if you are interested Quote Link to comment Share on other sites More sharing options...
mimo Posted December 24, 2009 Share Posted December 24, 2009 i can send you my CC2 menu text file if you are interested yes please, I didn't get it last time you tried to send it Quote Link to comment Share on other sites More sharing options...
PacManPlus Posted December 24, 2009 Share Posted December 24, 2009 Oops. It says that it doesn't like my 64-bit operating system. I'll have to try this at work next year. Tempest Damn Microsoft. Nice 32-bit compatability they have Sorry about that. I can write one in C# if you haven't resolved this already. Or, just send me the menu.cc2 and I'll run it here. Bob Quote Link to comment Share on other sites More sharing options...
Tempest Posted December 24, 2009 Author Share Posted December 24, 2009 Or, just send me the menu.cc2 and I'll run it here. Bob Good idea. PM sent. Tempest Quote Link to comment Share on other sites More sharing options...
Emehr Posted December 25, 2009 Share Posted December 25, 2009 Okay I had some down time and felt like coding. I present... CC2MenuBuddy for Mac OS 9! - Compiles tab-delimited text menu files to into menus formatted for Cuttle Cart II (*.CC2 files). - Also converts *.CC2 files back into human-readable text files. - Supports drag and drop - Runs in Classic mode on Mac OS X 10.4 and earlier (or for masochists like me, any old Mac running Mac OS 9 or earlier) Drag and drop one or multiple menu files (text or .CC2, doesn't matter. Mix 'em up!) onto the application icon or its open window. Just make sure that the files you feed it have the appropriate extensions (text files have the .TXT extension and compiled menu files have the .CC2 extension). The CC2MenuBuddy will take care of everything from there. My holiday gift to the one or two people still using Mac OS 9. CC2MenuBuddy.sit.zip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.