AutoCAD R14 HOWTO

44 views
Skip to first unread message

max

unread,
May 20, 2002, 6:15:12 PM5/20/02
to
Well, back again with Autocad ! :)
Finally, after some registry hackings, I got Autocad 14 working
under Wine with NO windows partition at all.
There are yet some caveats, but more later :)
Needs last wine release (wine-20020509) or last CVS.

Instructions :

1) run installer

wine setup

It works well, the only problem that can arise I think come from
a bug in wineinstall; it doesn't create FONTS dir with a default
font; Installing Autocad the FONTS dir is created, but with only
AutoCAD fonts; in next wine app launched all chars are replaced
with meaningless boxes :)
Solution 1 : remove FONTS dir (sigh)
Solution 2 : grab all fonts from a windoze partition and put
into FONTS dir

2) DO NOT RUN Autocad yet, it will hang :)

3) Open SYSTEM.REG file in ~/.wine and remove ALL lines with
LOADCTRLS=....... and save it.
Don't ask why, I dunno but this prevents loading of an ARX
app that hangs Autocad.

4) Now you can start AUTOCAD with :
wine acad (of course in Autocad path)
Or clicking on the Autocad icon on desktop.

5) Because of step 3, no external app is loaded at startup; you
must do it manually; for example, for render :
(arxload "render")
and so on. If the menu is also missing, simply reload it; next
time it'll be there :)

6) Some external apps hangs autocad, in partitular APPLOAD.ARX
that does the demand-loading of external apps. Don't use it,
or better find why it hangs !!!! :)

7) and now, the bad thing... Autocad works good, with shade, render,
3dsolids and so on.... but has problems with display.
I think is a problem in GDI implementation of wine, but not sure.
Try drawing something, when you finish the entity become misplaced
on screen; doing a REGEN command will make things right.
I guess for a wine developer should be easy to fix that, but
I dunno how to reproduce the error without autocad...

8) Enjoy ! :)

regards

Massimo

max

unread,
May 20, 2002, 6:47:29 PM5/20/02
to
..... ops, forgot a little note :

Loading some external apps from within Autocad will redo some of
'LOADCTRLS=....' lines in SYSTEM.REG file, causing AutoCAD to
hang on next run.

Quick-and-dirty solution :
reopen SYSTEM.REG file and erase such lines :)

Better :
write a shell script that does it automagically


Regards

Massimo

Matthew van de Werken

unread,
May 20, 2002, 6:55:29 PM5/20/02
to

"max" <maxATven...@nospam.no> wrote in message
news:52fG8.65725$CN3.2...@news2.tin.it...

How's this?

#!/bin/sh
#
# Script to fix system.reg so that Autocad doesn't hang, then start Autocad:
#
# 2002-05-21 - MvdW
#

cat ~/.wine/SYSTEM.REG | egrep -v ^[lL][oO][aA][dD][cC][tT][rR][lL][sS]= > \
~/.wine/system.reg.new

mv -f ~/.wine/system.reg.new ~/.wine/SYSTEM.REG

wine /path/to/autocad

# End of script

Quick-n-dirty, but might just work...

Cheers,
MvdW

Massimo

unread,
May 21, 2002, 3:57:14 AM5/21/02
to
Good, I'll test it this night ! :)
BTW, did you test AutoCAD with my HOWTO ? I'd like to know if you
have too the display problem.... and find a way to reproduce it without
autocad to send it to wine developers...

Regards

Massimo

max

unread,
May 21, 2002, 3:25:07 PM5/21/02
to
better this :

#!/bin/sh
#
# Script to fix system.reg so that Autocad doesn't hang, then start Autocad:
#

mv -f ~/.wine/system.reg ~/.wine/system.reg.bak

grep -v [lL][oO][aA][dD][cC][tT][rR][lL][sS] ~/.wine/system.reg.bak >
~/.wine/system.reg

wine "c:\\program files\\autocad r14\\acad.exe"
# End of script

mhhhh... i'm not good at all with grep and regexps, but it works...

regards

Massimo

Matthew van de Werken wrote:

>
> How's this?
>
> #!/bin/sh
> #
> # Script to fix system.reg so that Autocad doesn't hang, then start

> # Autocad:

FeebleMind

unread,
May 22, 2002, 2:05:06 AM5/22/02
to
> grep -v [lL][oO][aA][dD][cC][tT][rR][lL][sS] ~/.wine/system.reg.bak >
> ~/.wine/system.reg


using "-i" could be helpful


grep -i -v loadctrls ~/.wine/system.reg.bak > ~/.wine/system.reg

Reply all
Reply to author
Forward
0 new messages