dledr0f88
-
Posts
8 -
Joined
-
Last visited
Posts posted by dledr0f88
-
-
On 1/27/2023 at 10:30 PM, ElementalWarrior said:
My changes to Wine have been merged that should fix saving for V1. They won't show up in wine's release for a while, not sure when they will show up in wine-staging either.
Thank you so much for your work! That is really awesome of you.
Do you have a profile on https://www.buymeacoffee.com or similar? -
On 11/11/2022 at 12:36 PM, ParanoidNemo said:
I'm really interested in this. Will try tonight to see if I came up with something to help.
Thanks for your testing
Where you able to come up with something?
-
13 hours ago, ElementalWarrior said:
I have tried the version 2 release. I could not get it to run. It is released as a msix package.
You can often extract things like exe's, msi, msix as you would zip packages. If you run `unzip -l affinity-photo-2.0.0.msix` it will list the application binaries and assets.
After trying to run the Photo.exe it can't seem to find its own dll's. Even though they're in the same folder. I'm not sure why that is tbh. From `WINEDEBUG=+module wine Photo.exe` I see it saying its looking in the proper directory.
I tried the same thing and ran into the same issue.
I tried adding the dlls manually to the system32 folder and adding an override via winecfg but that also didn't help. -
On 10/20/2022 at 6:20 PM, ElementalWarrior said:
The save functionality uses the function `
MoveFileTransactedA` in kernel32. Which is not implemented inwine (bottles, proton are all projects built on top of wine). https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/kernel32/path.c#L144I went through and debugged and submitted some patches to wine to address Affinity Photo working under wine. I was able to get it working with Vulkan on linux after making a few patches.
The last remaining change that I could see to get affinity photo running was to convert MoveFileTransacted (and related file operations) implemented to the point to work when called.
I have a pull request (https://gitlab.winehq.org/wine/wine/-/merge_requests/145) that was able to get the save functionality working. But wine must support more than just this one piece of software, and newly implemented code must not affect other software.
I suspect that is why this PR didn't get any attention. And as such, saving probably isn't going to be working for a while.
In regards to your flickering, if you expect performance of Affinity Photo to be as good as on windows or mac out of the box... don't. It would take a good amount of effort from someone with a lot of knowledge of the windows and linux api's, who is also good at performance improvement and debugging. Developers with interest and free time and expertise are rare.
Thank you for your work! That's awesome and I hope the PR gets approved soon. I wasn't able to compile WINE on my machine yet, but I will try again with your branch if saving actually works.
-
11 minutes ago, aronkvh said:
Does Bootles have acess to that folder? (you can check/allow it in Flatseal)
Not the person you were asking but I tried to save to multiple folders - all of which Bottles can access - with no success. A file is actually created, but it is 0 bytes large and Affinity Designer shows an alert "Failed to save document: <Untitled>". Did you get it to work?
-
On 9/19/2022 at 5:19 PM, cr77 said:
Hello, many thanks for this !
I have installed the bottle in Bottle Flatpak version (local config = Mint 21).
Launching ok.
Use of tools ok (but I have not tried everything).
But when saving the file, path found, then refused as lost, as described in the other Linux thread.
I agree to be a tester during all the dev process if needed.
Cath
Hey!
I also have the same problem, but I don't know where to report it. It probably has something to do with the underlying Windows API.
If you know where to report it, gladly do so! Maybe as a bug on WineHQ?
Best of luck! -
Finally! Thank you for the update. Affinity Designer was the only program that I still dual booted Windows for.
I also got it working - running a GTX 1060 and X11 - however I can't save any files - it says "Failed to save document: <Untitled> - Save failed because access to the file was lost.", no matter what directory I choose or what name I give the file.
Any ideas on what to do?

Affinity Photo running on Linux with Bottles
in Resources
Posted
Normal .exe installers for Affinity V2 were also released. Hopefully this will make it possible to run V2 on wine soon!