delboy Posted May 13, 2014 Share Posted May 13, 2014 Hi to all from Croatia, nice community you have here. 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. Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 13, 2014 Share Posted May 13, 2014 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. Quote Link to comment Share on other sites More sharing options...
delboy Posted May 13, 2014 Author Share Posted May 13, 2014 If I try to open them it says "AutoCAD PROTECTED LISP file". Not sure, compiled or encrypted. Not familiar with that area. 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 Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 14, 2014 Share Posted May 14, 2014 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. Quote Link to comment Share on other sites More sharing options...
delboy Posted May 14, 2014 Author Share Posted May 14, 2014 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 Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 14, 2014 Share Posted May 14, 2014 A free program called 7-Zip will open a .rar file. 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.