I install flatpaked Lutris with Lutris from repo. I install from repo earlier.
Next, I removed ~/.var/app/net.lutris.Lutris/{data,cache,config} and symlinks
ln -s ~/.cache ~/.var/app/net.lutris.Lutris/cache
ln -s ~/.local ~/.var/app/net.lutris.Lutris/data
ln -s ~/.var/app/net.lutris.Lutris/data/share/lutris ~/.var/app/net.lutris.Lutris/data/
ln -s ~/.config ~/.var/app/net.lutris.Lutris/config
Everything worked expect game requiring wine to work.
Message is:
2022-08-28 13:51:38,522: No valid prefix detected in /zamiast-winshita/games/UT:Gold, creating one...
2022-08-28 13:51:38,522: Creating a win64 prefix in /zamiast-winshita/games/UT:Gold