Jump to content

Transferring old .mnu from R14 to new .cuix... some troubles


Recommended Posts

Hi to all from Croatia, nice community you have here. :thumbsup:

 

A fellow of mine asked me to help him make his CUI created in R14 (back in the 1999.) work with AutoCAD 2013. His brother is the one who made all the macros, LISPs, blocks and commands. But his brother passed away unfotunately few years ago so it's just me.

:|

After adding search paths, putting necesseary files in support folder and setting designated template drawing I loaded old .mnu file from ACAD 2013 via MENU command. Everything went smooth; menus, toolbars with custom icons, layers... everything was there. Inserting blocks trough his old macros worked like a charm. Everything but most of the macros that contained LISP file paths in its code.

Not only that they dont work, but they actually made AutoCAD close itself. I woudn't call it a crash beacuse no crash report is made, and everything animates like I pressed the X button. "Works like a charm" with almost every macro that calls for LISP file, except few that made me wonder. His brother did a wonderful job on this interface, and of course he protected all of the LISP files. So I presume that it does not close itself because of the encryption when some of them do work.

What I noticed is that when I try to manually load via „APPLOAD“ any of the problematic LISPs, the „APPLOAD“ menu won't even start. It says: Initializing...LOAD failed: "appload"

So I tried to automatically loading them trough acaddoc.lsp; what I got is AutoCAD closing as soon as I start it. :)

I'm a litlle bit stuck now and very new in all of this (made a few lisps and menus). He didn't leave any password, and I dont really know how protected LISP works. :)

Link to comment
Share on other sites

I don't think it has anything to do with the fact that the routines are "protected" (you mean they are compiled?). Rather it could be that some of the commands or variables he used have been retired or replaced.

Link to comment
Share on other sites

If I try to open them it says "AutoCAD PROTECTED LISP file". Not sure, compiled or encrypted. Not familiar with that area. :unsure:

 

 

I'll post a macro that works and one that doesn't with associated LISP files in attachments.

 

 

Working:

^C^C^P(if (null C:STRELICA)(progn (vmon)(load "c:/GBLOK/STRELICA")(princ))(princ));^PSTRELICA  

Crashing:

^C^C^P(if (null C:SHEMA)(progn (vmon)(load "c:/GBLOK/SHEMA")(princ))(princ));^Pshema  

GBLOK.rar

Link to comment
Share on other sites

Please post as ZIP problems with RAR's Just a comment if old protected lisp you can unprotect but needs a bit of work to make it readable.

Link to comment
Share on other sites

Didn't know about rars. Here you go, the same files in zip.

 

 

Can you please explain how could I try and read old protected lisps. They are all made back in '99. :)

GBLOK.zip

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...