forked from jcugnoni/Fusion360Linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fusion36-wine.txt
68 lines (49 loc) · 2.8 KB
/
fusion36-wine.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#Prereqs JC Ubuntu 16.04
# please note that you need to start with no initial wine config in ~/.wine. If not, create a new "prefix" (=config) and set WINEPREFIX=your_path_to_wine_prefix
# add Vulkan support
# install nvidia proprietary drivers from additionnal drivers, test with version 384 for me
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
#This will open the additional driver installer
software-properties-gtk --open-tab=4
# and finally vulkan
sudo apt-get install vulkan-utils
#install winehg-staging
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
sudo apt-get update
# install winehq staging (4.6 for me)
sudo apt install --install-recommends winehq-staging
# update winetricks
cd "${HOME}"
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
# DLLs
~/winetricks atmlib gdiplus msxml3 msxml6 vcrun2017 corefonts fontsmooth=rgb winhttp win10
# DirectX 11 via Vulkan
wget https://github.com/doitsujin/dxvk/releases/download/v1.0.2/dxvk-1.0.2.tar.gz
tar xvzf dxvk-1.0.2.tar.gz && cd dxvk-1.0.2
WINEPREFIX=~/.wine ./setup_dxvk.sh install
cd ..
# Fusion 360
wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe
sudo apt-get install p7zip-full git curl
7z x -osetup/ "Fusion 360 Admin Install.exe"
curl -Lo setup/platform.py https://github.com/python/cpython/raw/3.5/Lib/platform.py
sed -i 's/winver._platform_version or //' setup/platform.py
wine setup/streamer.exe -p deploy -g -f log.txt --quiet
# RUN FUSION 360 a first time !
# If you only get the Autodesk Fusion 360 logo, go to "Preferences", "General" and under "Graphics driver" select "DirectX 9"
# Known issues:
# - On launch, two error messages appear. They can be clicked away with "Close" and "Cancel".
# - Menu bars stay on top of everything, even when minimizing the window. I have no idea how to fix this.
# Workaround:
# - click the handle of the toolbar once
# - click the arrow on the browser twice
# - expand comments window and then collapse it again
# - click the tiny unused space to the very right in the bottom toolbar once
# JC Fixing issues with adcefbrowser and online connection:
# 1. run "winecfg", Disable dx11 as a default setting (ps JC: indeed d3d11 was not detected by fusion in my default config, so I did not change that in the end), then add the adcefbrowser.exe in the applications tab in winecfg (its in [AUTODESK PATH]/webdeploy/production/[folder with the most files in it, more than 3]/WIN64/ ) and create an override in the libraries tab to set d3d11.dll on native for adcefbrowser.exe.
# 2. change platform to Win7 for both Default and adcefbrowser config.