I had the problem that i could not install ANYTHING in Lutris, because it always sended me message 256 in the log. There was no answer on the internet. I found my problem.
Some distros like mine (Manjaro), install dev versions of wine and wine tricks on the distro, you have to install classic ones.
How i solved my problem:
- Uninstall anything related with wine, winetricks and lutris.
- Remove all folders made by lutris (typically in ~/games and ~/wine games) Also try:
sudo rm -rf /var/lib/lutris
sudo rm -rf /var/lutris
sudo rm -rf /lutris
rm -rf ~/.config/lutris
- Do the same erase folders process with wine. Just replace
lutris
withwine
on the commands - Install wine in your package manager. In my case is:
sudo pacman -S wine
- Check your version is the latest one for regular use (NOT DEVELOPMENT). In 2023 is 8.1
wine --version
- Install winetricks. In my case (Manjaro pacman aur), the only avaliable version is the development one. So i installed manualy winetricks with:
cd "${HOME}/Downloads"
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo cp winetricks /usr/local/bin
Or
cd "${HOME}/Downloads"
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion
sudo cp winetricks.bash-completion /usr/share/bash-completion/completions/winetricks
- After that, re-install lutris. In my case is
sudo pacman -S lutris
- Install your favorite game from lutris website
- The game should be installing and message #256 should’nt be appearing anymore
Winetricks website: