Wondershare Filmora script (9) for wine

I will place you for those who would like to use Wondershare Filmora with wine the procedure to follow. The code below must be pasted into a text file following this procedure:

nano wondershare_filmora.sh

Paste code

  WINEPREFIX=$HOME/.wine/ winetricks vcrun2015
  WINEPREFIX=$HOME/.wine/ winetricks directx9
  wget https://github.com/doitsujin/dxvk/releases/download/v0.96/dxvk-0.96.tar.gz -O $HOME/.wine/dxvk-0.96.tar.gz
  tar xvzf $HOME/.wine/dxvk-0.96.tar.gz -C $HOME/.wine
  cd $HOME/.wine/dxvk-0.96
  WINEPREFIX=$HOME/.wine/ winetricks --force $HOME/.wine/dxvk-0.96/setup_dxvk.verb
  cd ..
  echo "-- run winecfg and change version to windowsxp to windows7 --"
  echo "-- add opencl.dll and msvcr120.dll to library --"
  WINEPREFIX=$HOME/.wine/ wineserver -w
  echo "-- Install filmora and enjoy --" 

Change permission wondershare_filmora.sh

chmod 777 wondershare_filmora.sh

Run the terminal script as a normal user and not as root.