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
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
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
Regards
Massimo
#!/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:
using "-i" could be helpful
grep -i -v loadctrls ~/.wine/system.reg.bak > ~/.wine/system.reg