Wine 10.19-1.1 kills Noita :(

I’m running the GOG version of Noita in its own Wineprefix with

WINEPREFIX=/home/hc4a/.local/share/wineprefixes/Noita wine “/home/hc4a/.local/share/wineprefixes/Noita/dosdevices/c:/Program Files/Noita/Noita.exe”

After today’s cachy-update, Noita didn’t even start but instead threw some (null) value errors related to OpenGL. Unfortunately, I didn’t save the error messages :frowning:

As the update upgraded both wine and the nvidia firmware:

pacman -Syu

Summary
amd-ucode 1:20251021-1 -> 1:20251111-1
at-spi2-core 2.58.1-1.1 -> 2.58.1-2.1
filezilla 3.69.4-1.1 -> 3.69.5-1.1
firefox 145.0-1 -> 145.0-2.1
lib32-at-spi2-core 2.58.1-1 -> 2.58.1-2
linux-firmware 1:20251021-1 -> 1:20251111-1
linux-firmware-amdgpu 1:20251021-1 -> 1:20251111-1
linux-firmware-atheros 1:20251021-1 -> 1:20251111-1
linux-firmware-broadcom 1:20251021-1 -> 1:20251111-1
linux-firmware-cirrus 1:20251021-1 -> 1:20251111-1
linux-firmware-intel 1:20251021-1 -> 1:20251111-1
linux-firmware-mediatek 1:20251021-1 -> 1:20251111-1
linux-firmware-nvidia 1:20251021-1 -> 1:20251111-1
linux-firmware-other 1:20251021-1 -> 1:20251111-1
linux-firmware-radeon 1:20251021-1 -> 1:20251111-1
linux-firmware-realtek 1:20251021-1 -> 1:20251111-1
linux-firmware-whence 1:20251021-1 -> 1:20251111-1
python-msgpack 1.0.5-3.1 -> 1.1.2-1.1
signal-desktop 7.78.0-1 -> 7.79.0-1
wine 10.18-1.1 -> 10.19-1.1

my best idea was to restore the btrfs snapshot right before the upgrade and now Noita is fine again.

I guess I’ll try that again tomorrow. Three hails to btrfs.

So, I tried around a little more and it seems that Noita is not running in Wine 10.19-1.1.

I have no real motivation to look into this today (I already painstakingly - and successfully ! - merged my mkinitcpio with its *.pacnew file, that is enough Linux-fiddling for one day), so what I did is :

paru -S downgrade
downgrade wine

to 10.18-1.1 until i have a better idea.

So, wine 10.20 is around and it still breaks my Noita :frowning: I had a longer chat with Perplexity on that topic, but that just lead down several diffferent rabbit-holes until I quit. If anyone has an idea how to debug (and ultimately solve) that issue without too much hassle, I’d be thankful. But I admit it is not a Cachy problem and I should probably discuss that somehere else.

For the time being, I added wine to IgnorePkg in /etc/pacman.conf, being well aware that this is bad practice.

I did not get Noita to work ever again with my wine prefix in the latest wine versions. So instead, I added it to Steam as a non-Steam game.

This is how I did it:

  1. Download the Noita setup from GOG
  2. Install innoextract (sudo pacman -Syu innoextract)
  3. Copy Noita Setup to a folder of your choice. I chose /apps/Noita
  4. In this folder, run innoextract --gog followed by the name of the setup, for example innoextract --gog setup_noita_20250125-1640_(79502).exe
  5. In Steam, select “Add a non-Steam Game to My Library”
  6. Select the Noita.exe from step 4
  7. Under Properties → Compatibility, check “Force the use of a specific Steam Play compatibility tool” and select “proton-cachy-os-10.0.20251126 (native)” or whatever is the latest

After that, I was able to find the Steam compatibility data (the folder where Noita will now put the game saves and screenshots) under:

~/.steam/steam/steamapps/compatdata/3508065847/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita/

Then I struggled a while to create a *.desktop file, but Steam helped me with a right-click on Noita in Steam → Manage → Add Desktop Shortcut.

The resulting *.desktop file looks like this:

[Desktop Entry]
Name=Noita (GOG version)
Comment=Play this game on Steam
Exec=steam steam://rungameid/15067028085113094144
Icon=/path/to/an/icon/i/chose/in/steam
Terminal=false
Type=Application
Categories=Game;

and I have no idea why the GameID is not 3508065847 as I would expect but 15067028085113094144 instead, but I don’t have to understand everything, I guess.