Rouge Legacy 2- no audio on linux pipewire

TL;DR:

1
2
sudo touch /usr/local/bin/pulseaudio
sudo chmod 0755 /usr/local/bin/pulseaudio
 

Recently I’ve been playing Rogue Legacy 2. Started on Steam Deck- but the game requires precise movements and benefits from more FPS, so after few hours I switched to PC. On first start on PC I was surprised, there was no audio whatsoever in the game.

After some painfully long hours of debugging/looking for fixes only- turns out the game is compiled with some older buggy version of FMOD that causes audio to not be present at all. You won’t even find it in audio outputs.

You already saw the fix above, more info here, basicly FMOD only executes pulseaudio binary and checks return code- if it’s 0- proceed with proper audio support. Of course on pipewire this won’t work- so you have to create workaround empty “binary” that can be executed.

I can’t be bothered to notify game devs, but I’m leaving this note in case somebody else can’t connect the dots (like me before).