Patches Serif.Affinity.dll to improve compatibility and usability of Affinity v3 under Wine.
Note: Affinity v3 is free for everyone. All you need is a free Canva account to download and use it.
Removes the base call in OnMainWindowLoaded that resets application state on startup. After this patch, changes made in the settings dialogs and to the UI are preserved across restarts.
Forces the ParallelFontEnumerationDisabled property getter to always return true. This prevents crashes and slowdowns caused by parallel font enumeration under Wine.
Replaces the monochrome tool icons with the original colorful icons. Affected icon sets include:
- Tool icons (brush, object selection, measure, stroke width, inpainting, and many more)
- Color picker
- Format dropper
Default path — patches the Affinity installation at ~/.wine:
./AffinityPatcherCombinedCustom DLL path:
./AffinityPatcherCombined /path/to/Serif.Affinity.dllThe patcher will:
- Check write access to the target directory
- Create a backup at
Serif.Affinity.dll.bak(only on the first run) - Apply all three patches in sequence
- Save the modified DLL in place
If the DLL is found to be empty or corrupted on a subsequent run, the patcher automatically restores it from the backup before patching.
Requires .NET 10 SDK.
git clone https://github.com/Bitpainter75/AffinityPatcherCombined.git
cd AffinityPatcherCombined
dotnet publish -c Release -o ./publishThe resulting binary at publish/AffinityPatcherCombined has no external dependencies and runs standalone.
| Package | Purpose |
|---|---|
| dnlib | Read and write .NET assemblies at the CIL level |
| Microsoft.Extensions.FileProviders.Embedded | Access the embedded v2 icon resources |
These tools modify the Affinity application binary to improve compatibility under Wine. Affinity v3 is free software — no license purchase required, just a free Canva account. The authors take no responsibility for any damage to your installation.