Last active
December 24, 2023 05:36
-
-
Save Le0xFF/6d2476c64280e4308664ddf9d12c566f to your computer and use it in GitHub Desktop.
Fusion360 working in Void Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Latest update: 2021/09/06 | |
# Wine version: 6.16 | |
# | |
# How to make Fusion360 work under Void Linux with latest Wine available directly from xbps. | |
# | |
# Resources heavily taken from: | |
# https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version- | |
# ======================== | |
# OpenGL as graphic driver | |
# ======================== | |
# Install all the required dependencies | |
sudo xbps-install -Sy wine wine-mono wine-gecko winetricks p7zip curl cabextract samba ppp dialog | |
# Configure a dedicated wine prefix inside $HOME/.Fusion360 hidden folder with appropriates winetricks verbs (-q -> quiet install) | |
WINEPREFIX="/home/$USER/.Fusion360" winetricks -q msxml4 msxml6 vcrun2017 corefonts fontsmooth=rgb win8 | |
# Download Fusion360 installer, rename it to Fusion360.exe and install it inside the dedicated wine prefix | |
wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe -O $HOME/Downloads/Fusion360.exe | |
WINEPREFIX="/home/$USER/.Fusion360" wine $HOME/Downloads/Fusion360.exe -p deploy -g -f log.txt --quiet | |
# Set OpenGL as graphic driver in Fusion360 before first launch | |
mkdir -p "$HOME/.Fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/" | |
cat <<'EOF' >> "$HOME/.Fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml" | |
<?xml version="1.0" encoding="UTF-16" standalone="no" ?> | |
<OptionGroups> | |
<BootstrapOptionsGroup SchemaVersion="2" ToolTip="Special preferences that require the application to be restarted after a change." UserName="Bootstrap"> | |
<driverOptionId ToolTip="The driver used to display the graphics" UserName="Graphics driver" Value="VirtualDeviceGLCore"/></BootstrapOptionsGroup> | |
</OptionGroups> | |
EOF | |
# Finally run Fusion360 | |
env WINEPREFIX="/home/$USER/.Fusion360" wine /home/$USER/.Fusion360/drive_c/Program\ Files/Autodesk/webdeploy/production/6a0c9611291d45bb9226980209917c3d/FusionLauncher.exe | |
# =========================== | |
# DirectX 9 as graphic driver | |
# =========================== | |
# Install all the required dependencies | |
sudo xbps-install -Sy wine wine-mono wine-gecko winetricks p7zip curl cabextract samba ppp dialog | |
# Configure a dedicated wine prefix inside $HOME/.Fusion360 hidden folder with appropriates winetricks verbs (-q -> quiet install) | |
WINEPREFIX="/home/$USER/.Fusion360" winetricks -q msxml4 msxml6 vcrun2017 corefonts fontsmooth=rgb dxvk d3d10core=disabled d3d11=native d3d9=builtin dxgi=native win8 | |
# Download Fusion360 installer, rename it to Fusion360.exe and install it inside the dedicated wine prefix | |
wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe -O $HOME/Downloads/Fusion360.exe | |
WINEPREFIX="/home/$USER/.Fusion360" wine $HOME/Downloads/Fusion360.exe -p deploy -g -f log.txt --quiet | |
# Set DirectX 9 as graphic driver in Fusion360 before first launch | |
mkdir -p "$HOME/.Fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/" | |
cat <<'EOF' >> "$HOME/.Fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml" | |
<?xml version="1.0" encoding="UTF-16" standalone="no" ?> | |
<OptionGroups> | |
<BootstrapOptionsGroup SchemaVersion="2" ToolTip="Special preferences that require the application to be restarted after a change." UserName="Bootstrap"> | |
<driverOptionId ToolTip="The driver used to display the graphics" UserName="Graphics driver" Value="VirtualDeviceDx9"/></BootstrapOptionsGroup> | |
</OptionGroups> | |
EOF | |
# Finally run Fusion360 | |
env WINEPREFIX="/home/$USER/.Fusion360" DXVK_LOG_PATH=none wine /home/$USER/.Fusion360/drive_c/Program\ Files/Autodesk/webdeploy/production/6a0c9611291d45bb9226980209917c3d/FusionLauncher.exe |
Sadly I never had that kind of error, so I really don't know how to help you with that.
The I only thing I could say is try to download again the Fusion360 installer, because it could get corrupted and be sure to keep a stable internet connection while it's installing.
I had issues related to that because of my poor internet connection.
Also, if you built wine as I did, I hope you installed the required dependencies as the output said.
@Le0xFF Great Job 👏 😊 I will add this to my script later. 🕛
@mike-lloyd03 If you have used my newest installation-script? :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the clean, detailed write up.
I've tried every method of getting Fusion360 to work on my Manjaro setup. I was really hoping this would be the answer, but alas, I get the same error. I am able to log in but some time after logging in, I get this error message:
Looking through the logs in the prefix, this is the only thing that stands out:
A bit of googling for
module:nsbase10
pulls up a few forum posts regarding bad installs other Fusion360 users have had but deleting and reinstallling seemed to work in their cases. I'm installing in a fresh Wine prefix so I doubt that will solve my problem.Any ideas?