A guide to running the Cavalry motion graphics software on Linux using Wine.
This guide has been tested exclusively on Wine 11.
Create a new Wine prefix by creating a folder somewhere on your computer, preferably ~/.cavalry. Within that folder, run WINE_PREFIX=~/.cavalry winetricks which should initialize the prefix.
In Winetricks, select "Install a Windows DLL or component", then check dxvk and click okay. After it is installed, click "Install a font" and check the corefonts option. Go through all of the font installs. Once they are complete, click "Change settings" and select the fontsmooth=rgb option. These improvements make Cavalry run much smoother.
Open winecfg with WINEPREFIX=~/.cavalry winecfg
Go to the Libraries tab.
Under "New override for library," type icuuc and click Add. Do the same for icuin. Ensure they are both set to (Native, Builtin).
Run the Cavalry installer .msi file through Winetricks or through the command line.
Create a new .desktop file to define the Cavalry URI protocol. With the text editor of your choice, create a new file at ~/.local/share/applications/cavalry-handler.desktop. The contents should look like the following:
[Desktop Entry]
Name=Cavalry Protocol Handler
Exec=env WINEPREFIX="/home/micahlt/.cavalry" wine "/home/micahlt/.cavalry/drive_c/Program Files/Cavalry/Cavalry.exe" "%u"
Type=Application
Terminal=false
NoDisplay=true
MimeType=x-scheme-handler/cavalry;
Then run:
update-desktop-database ~/.local/share/applications
xdg-settings set default-url-scheme-handler cavalry ~/.local/share/applications/cavalry-handler.desktopYou should be good to run Cavalry, which you should be able to find from your system menu. Canva sign-in should work properly, and you should have GPU acceleration.
The wine settings work perfectly! 👍️
I just had to create a wrapper bash script to launch Cavalry since i was getting
wine: invalid directory "/home/kabaww/.cavalry" in WINEPREFIX: not an absolute pathwhen usingenvin the .desktop entrymake sure
cavalry-launcheris executable:chmod +x ~/.local/bin/cavalry-launcher