View Full Version : Issue when going from acad 2012 to 2014 loading a .fas file
jarod.tulanowski
2014-03-19, 09:01 PM
When we upgraded from 2012 to 2014 we had an in house custom .fas file that was writen. The person who wrote the program is no longer here. I contacted him and he doesnt know where the original uncompressed on is on our network. is there a way to open the .fas file to chech out the lisp settings. it bugs me that it doesnt work in acad 2014.
Any help would be awsome.
I would email the file if needed
BlackBox
2014-03-19, 09:35 PM
... Something like this? (http://lmgtfy.com/?q=cad+panacea+fas-interpreter-beta-08)
jarod.tulanowski
2014-03-20, 01:13 PM
... Something like this? (http://lmgtfy.com/?q=cad+panacea+fas-interpreter-beta-08)
How did this link help? maybe I am an idiot or just missing something? it says This article is NOT a 'how-to' for decrypting or decompiling FAS files. I know that this is a touchy situation with all the hacking. but for me I just want to keep using our lisp routines that acad 2014 broke. and cant find the source code.
Thanks again
What, if any, are the errors displayed on the command line when loading the .fas file?
BlackBox
2014-03-20, 01:34 PM
How did this link help? maybe I am an idiot or just missing something? it says This article is NOT a 'how-to' for decrypting or decompiling FAS files.
How did it help you? No idea... Did you actually try it for yourself, or just stop after the 'this is not a how-to' part?
I found it to be invaluable a couple of years ago when a user in my old office managed to infect our network with an Acad.fas virus... Decrypting (even partially) the offending file allowed me to isolate exactly what the malicious code was attempting to do, what ActiveX APIs it was calling, how and where it was self-replicating (to other file names that are supported OOTB), and ultimately clean up our entire project inventory.
Cheers
jarod.tulanowski
2014-03-20, 01:39 PM
I get this Command:
Command: _appload loader.lsp successfully loaded.
Command: ; error: ARXLOAD failed
Command:
jarod.tulanowski
2014-03-20, 01:47 PM
When I go to your link it tels me there is a program out there but he cant say where he got it and that he tests it on some of his files. then another onew responds to him and says the program is fas-interpreter-beta-08.zip (which is not on that page and when googled is not to be found) good thing im not a hacker or i would be starving lol
jarod.tulanowski
2014-03-20, 02:03 PM
Opie
I get this error
Command: _appload loader.lsp successfully loaded.
Command: ; error: ARXLOAD failed
Command:
Is loader.lsp the filename? Have you searched your network for a loader.lsp file?
jarod.tulanowski
2014-03-20, 04:00 PM
Yes. that is what I put in appload. but it is just a link that says load loader.fas and that is the problem file that I need to look at because it is the issue the loader runs just fine in Acad 2012.
Where is Loader.fas located? Have you checked out the link in BlackBox's signature line? He provides a link to a discussion to enable LISP in 2014 (http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Enable-LISP-in-AutoCAD-2014/m-p/3912168#M311119)
jarod.tulanowski
2014-03-20, 05:00 PM
good news I found the link that the loader script points to and manually loaded it like Boxx stated. the thing is now when I type the command I get this warning
; error: no function definition: DCL_FORM_SHOW
Command:
what is that
It appears to be missing access to additional AutoLISP files that are assumed to be already loaded.
BlackBox
2014-03-20, 07:31 PM
... the loader runs just fine in Acad 2012.
Methinks you'd do well to closely evaluate an exported copy of your current 2012 .ARG file, and identify exactly what is different from your 2014 .ARG configuration.
Have you checked out the link in BlackBox's signature line? He provides a link to a discussion to enable LISP in 2014 (http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Enable-LISP-in-AutoCAD-2014/m-p/3912168#M311119)
*Tips hat*
I didn't mention that, due to the OP stating that they're getting one or more errors reported to the command line... Were AutoCAD Security enabled, but not properly configured, the source file(s) would not have been loaded at all... Instead a warning dialog would be shown, prompting user to load the executable file or not.
My $0.02
dgorsman
2014-03-20, 10:23 PM
I can't help but stick at that mention of ARX. An ARX for 2012 will not run under 2014. So all this investigation may be irrelevant in the end.
BlackBox
2014-03-20, 10:36 PM
I can't help but stick at that mention of ARX. An ARX for 2012 will not run under 2014. So all this investigation may be irrelevant in the end.
1+
Even in a best-case scenario, a decrypted .FAS file *might* contain code comments that identify where the source for the dependent (if it is dependent?) .ARX Solution is.
If this doesn't pan out for the OP, they may want to take some time to document exactly what is being done with their customization in 2012 (since that is still working fine?), and then seek to replicate as best they can with new source code... Admittedly, not exactly a desirable alternative.
Cheers
jarod.tulanowski
2014-03-21, 06:22 PM
ok I think you are right. I found the source code and then ran the file in visual lisp. after running the command and stopping it on an error it made it through all of it till the arxload line then it stopped. here is the error. it stops on the mstOpenDCLFile. so I cant open a arxload command anymore in acad 2014. what would you do to get this to work?
(arxload mstOpenDCLFile) ; no need to check every time, if it's already loaded arxload does nothing
(dcl_Project_Load mstDialogFile nil)
(if (not (menugroup "MST"))
(mstSetupMenu)
)
(if (not (= "F" (getcfg "AppData/msTools/Enabled"))) ; changed so that it will open on first run
(c:mstools)
)
(prompt "\nmsTools loaded.")
Once again you guys are awsome and I thank all of you for the help and the guidance.
Is there a line before this bit of code that is similar to this?
(setq mstOpenDCLFile ...
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.