CUO and RE with wine-staging
Credits
  - tau#7508
 
  - Zaos Xyrdan#1074
 
  - Ecte#6799
 
Instructions
  - 
    
Install wine staging branch, guide here -> Wine Wiki
   
  - 
    
Follow this guide
(Discord Link)
for creating a wineprefix
   
  - OK now we have a clean wineprefix folder. (don’t agree with automatically installing mono, but it doesn’t really matter)
    
      - Use your “
WINEPREFIX=” folder for everything you run with wine, winetricks, winecfg …
I will not mention this again.
(Doesn’t really matter, but this way you will have wineprefix just for running Ultima, without wineprefix it defaults to your home/.wine/ , you can nuke this by accident really easy.) 
    
   
  - 
    
Run winecfg, and set default environment to Windows 10.
   
  - 
    
Run winetricks install dll module -> to install .NET 4.8
   
  - First make sure standalone CUO client can run through CUO launcher.
    
      - This could be probably HW dependent -
I’m running on laptop with integrated INTEL graphics.
        
          - Run 
wine ClassicUOlauncher 
          - go to settings for your profiles
 
          - and change graphics driver to OpenGL.
 
        
       
      - When you launch CUO through CUOlauncher, it should work.
 
      - Exit.
 
    
   
Now we make sure standalone RazorEnhanced can run:
  - Unzip it somewhere.
 
  - Go to RazorEnhanced folder.
 
  - Try run it with 
wine RazorEnhanced.exe 
  - If you get a “LDAP something” error,
fix this by
    
      - running 
wine regedit 
      - Add key “Drives” into path 
HKLM/Software/Wine/ 
    
   
  - Fill clients paths into razor.
    
      - Try launching it with Client button (it should launch RazorEnh with osi client)
 
      - Try launching it with CUO button, it should launch CUOclient with RazorEnh.
 
      - Launching through ClassicUOLauncher.exe works for me too, I’ve added plugin with “add from .zip”, from file 
RazorEnhanced**.zip.