max9_linux_wine - ryzom/ryzomcore GitHub Wiki


title: 3ds Max 9 on Linux using Wine description: published: true date: 2023-03-01T04:57:10.899Z tags: editor: markdown dateCreated: 2019-11-25T02:32:01.574Z

This covers the installation of the 3ds Max 9 trial, specifically, and is not applicable to newer versions of 3ds Max. {.is-warning}

All the original assets in the Ryzom Core graphics repository are currently guaranteed to work with 3ds Max 9. {.is-info}

Create the Wine Prefix

First you will want to create a prefix for 3ds Max. It should be a 32bit prefix. You can create it by running this on the command-line:

WINEARCH=win32 winetricks prefix=max9

Launch Winetricks using the following command.

WINEARCH=win32 winetricks

If you're running a 64bit operating system you may run into this error:

\------------------------------------------------------  
wine cmd.exe /c echo '%ProgramFiles%' returned empty string  
\------------------------------------------------------

The solution is to make sure your default Wine prefix is using the WINEARCH=win32. If it is not, you'll have to delete ~/.wine and launch winetricks with WINEARCH=win32 to initialize it properly.

If your default Wine prefix is 64 bit and you cannot delete it due to existing installations you can manually create the max9 Wine prefix, as follows.

WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefixes/max9/ winecfg
WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefixes/max9/ winetricks

  {.is-info}

Setup Libraries

First you will need to choose "Select max9" to select the max9 prefix. Once you select it and press OK you will be able to configure the prefix.

Next select Install a Windows DLL or component and press OK.

Check the following items to install:

  • d3dx9_26
  • dotnet20
  • msxml3
  • msxml6
  • vcrun2003
  • vcrun2005
  • vcrun2008
  • vcrun2010
  • vcrun6

Once checked press OK and wait for it to download and install these.

Installing the 3ds Max 9 Trial

  1. In Winetricks choose Select max9 and click OK if you've not already selected it.
  2. Next choose Run tskmgr and click OK. This will open a Windows Task Manager.
  3. In the Task Manager click New Task... and browse to 3dsmax9Trial.exe.
  4. Follow the self-extraction prompts and it will extract the installation to C:\3dsmax9Trial
  5. Once the self extraction is complete click on New Task... again and browse up to My Computer to get to your C drive and ultimately the C:\3dsmax9Trial folder
  6. Choose and run Setup.exe
  7. Follow the prompts except on the Mental Ray screen - uncheck the option to install the satellite service. Do not install the satellite service.

Patch SP1

http://images.autodesk.com/adsk/files/3dsmax9_sp1_32bit.msp

Must install HF4

http://images.autodesk.com/adsk/files/3dsmax9_hf4_32.zip

Troubleshooting

Disable stupid ALT behaviour

If ALT shortcuts with the mouse cause a mess.

sudo apt-get install dconf-tools
dconf-editor
  • Go to "org / gnome / desktop / wm / preferences"
  • Clear "mouse-button-modifier"

Fix missing msvcp90.dll

If the path /home/kaetemi/.local/share/wineprefixes/max9/drive_c/windows/winsxs/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef is missing msvcp90.dll

  • Find it somewhere (THE CORRECT VERSION) and copy it

Override C runtime DLLs

Add the following to overrides in winecfg.

  • msvcp71
  • msvcr71
⚠️ **GitHub.com Fallback** ⚠️