Pessoal,

Eu n�o tenho como testar aqui porque n�o tenho o Autocad nem sei utiliz�-lo, mas respondendo um email que recebi de uma pessoa que leu meus tutoriais do wine acabei encontrando por acaso uma receita de bolo para rodar este programa no linux usando o wine. Vou transcrever aqui em ingl�s (cortando as partes repetidas) mesmo:

http://groups.google.com/groups?dq=&hl=en&lr=&threadm=3CE9FDDA.5B5EEC2F%40_no_spam_please_veneto_._com&prev=/groups%3Fhl%3Den%26lr%3D%26group%3Dcomp.emulators.ms-windows.wine

" From: max <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=author:maxATvenetoDOTcom%40nospam.no+> ([EMAIL PROTECTED] <mailto:maxATvenetoDOTcom%40nospam.no>)
Subject: AutoCAD R14 HOWTO


View this article only <http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=QzeG8.73988%24zW3.1186667%40news1.tin.it>

Newsgroups: comp.emulators.ms-windows.wine <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.emulators.ms-windows.wine>
Date: 2002-05-20 15:15:13 PST

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

Message 2 in thread

From: max <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=author:maxATvenetoDOTcom%40nospam.no+> ([EMAIL PROTECTED] <mailto:maxATvenetoDOTcom%40nospam.no>)
Subject: Re: AutoCAD R14 HOWTO


View this article only <http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=52fG8.65725%24CN3.2082197%40news2.tin.it>

Newsgroups: comp.emulators.ms-windows.wine <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.emulators.ms-windows.wine>
Date: 2002-05-20 15:47:46 PST

..... 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

Message 3 in thread

From: Matthew van de Werken <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=author:m.vandewerken%40cat.csiro.au+> ([EMAIL PROTECTED] <mailto:m.vandewerken%40cat.csiro.au>)
Subject: Re: AutoCAD R14 HOWTO


View this article only <http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=acbut3%24loc%241%40news.qld.csiro.au>

Newsgroups: comp.emulators.ms-windows.wine <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.emulators.ms-windows.wine>
Date: 2002-05-20 16:00:03 PST

"max" <[EMAIL PROTECTED]> wrote in message
news:52fG8.65725$[EMAIL PROTECTED] <http://groups.google.com/groups?selm=52fG8.65725%24CN3.2082197%40news2.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

Message 4 in thread

From: Massimo <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=author:maxx_%40_no_spam_please_veneto_._com+> ([EMAIL PROTECTED] <mailto:maxx_%40_no_spam_please_veneto_._com>)
Subject: Re: AutoCAD R14 HOWTO


View this article only <http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=3CE9FDDA.5B5EEC2F%40_no_spam_please_veneto_._com>

Newsgroups: comp.emulators.ms-windows.wine <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.emulators.ms-windows.wine>
Date: 2002-05-21 00:57:15 PST

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

Matthew van de Werken wrote:


Message 5 in thread

From: max <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=author:maxATvenetoDOTcom%40nospam.no+> ([EMAIL PROTECTED] <mailto:maxATvenetoDOTcom%40nospam.no>)
Subject: Re: AutoCAD R14 HOWTO


View this article only <http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=naxG8.76831%24zW3.1242609%40news1.tin.it>

Newsgroups: comp.emulators.ms-windows.wine <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.emulators.ms-windows.wine>
Date: 2002-05-21 12:25:18 PST

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:


Message 6 in thread

From: FeebleMind <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=author:posta%40pesto.it+> ([EMAIL PROTECTED] <mailto:posta%40pesto.it>)
Subject: Re: AutoCAD R14 HOWTO


View this article only <http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=acfcit%24nji%241%40e3k.asi.ansaldo.it>

Newsgroups: comp.emulators.ms-windows.wine <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.emulators.ms-windows.wine>
Date: 2002-05-21 23:31:45 PS

using "-i" could be helpful


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












Assinantes em 31/12/2002: 2245
Mensagens recebidas desde 07/01/1999: 195333
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: mailto:[EMAIL PROTECTED]

Responder a