How to run Miku Miku Dance on Linux (With less hassle than the guide posted in 2020 on learnmmd)
If you run MMD (32 bit version) through WINE without any modification, the action menus (like the bones, or load model, or play) will be blacked out. If you hover your mouse over it the menu might flicker back for a few seconds. That's unusable...So here is how you can run MMD perfectly, as you would on Windows
1. Install the 32 bit version of MMD from the MMD website. Install any up to date (I chose wine-stable) version of wine as well as winetricks. You don't need to set up a 32 bit wine prefix for MMD, it works in a 64 bit prefix without issue.
2. do $ force --dxvk in your terminal emulator. dxvk translates Windows' DirectX graphics to Vulkan, which will eliminate the missing components on your screen and make it smoother.
3. do $ winetricks vcrun2019 d3dx9 d3dcompiler_43 quartz directmusic in your terminal emulator. If you're running an older version of MMD (like 7.0) do vcrun2010 instead.
In order, vcrun is a a DLL that windows exes use to function if they were compiled with a specific microsoft compiler, hence why there are vcruns for different years. d3dx9 & d3dcompiler_43 help with the directX effects, and quartz and directmusic will allow the audio to play.
3.5. If you are planning to use alot of stuff written in .NET, try doing winetricks dotnot48 which has a lot of .NET stuff & will likely prevent your program from giving you an error if some obscure thing is written in .NET
4. For a better experience, do $ winecfg in your terminal emulator & go to graphics. Check 'automatically capture mouse in fullscreen" & uncheck "show window decorations". You can still run the program without this but I like the way it looks with these settings.
5. Now you can run MMD with $ wine /path/to/MMD.exe & it will run perfectly! All the features from MMD on windows are on there. If you run into some strange error that's likely the result of running it on Windows like a graphical error or no audio, you might have to
install xact (for audio, an older program) or maybe edit DXVK by putting dxvk.conf in the directory with MMD.exe & writing d3d9.forceAspectRatio = 16:9 in it if the visuals still look strange but I never had to do this, I'm sure you'll be OK, but if you have an error just ask & I'll fix it
The only bad thing about this MMD is that the text is a little weird, like its like always 1milimeter lower than it should be - not sure how to fix that but it doesn't impact using it & nothing is unreadable, just a little ugly! But otherwise it works fine. Have fun making characters dance to Numa Numa while using Linux
*Addendum: if you made a seperate wine prefix for MMD make sure you do $ export WINEPREFIX="$HOME/mmd" before anything or else the winetricks things U just installed will go to .wine folder. You have to export this each time you reboot, but im sure theres a way to make this permanent just look it up...