This will probably work on other distributions feel free to ask questions if you need help. I'm not an expert on Balatro or installing mods, this is just how I figured out how to setup my system.
I do not know how to mod the GOG version after going back and forth with a troll I will not spend any of my time trying to figure it out, sorry. I do not use GOG and I do not have a sus copy of the game to experiment with and try to figure it out.
I cannot help you mod the game, I don't know how and have very little interest in learning. There's a guide here which might help: https://steamcommunity.com/sharedfiles/filedetails/?id=3400691352
sudo apt install git unzip wget curl
If you're doing a clean install, follow this. If you're already installed just add the Launch Options at #4, then skip to Make Temp Path below.
- Open Steam
- Select Balatro
- Click Gear Icon then Properties
- General -> Launch Options:
WINEDLLOVERRIDES="version=n,b" %command% - Compatibility -> Check Force the use of a specific Steam Play compatibility tool
- X at the top to close
- Click Install button
- Wait...
- Click Play
- At this point Steam hangs for some reason, it'll sit on Downloading content (0%) forever. You'll have to kill your steam process, exiting Steam doesn't actually close it, because of course it doesn't. I wrote a little shell script which kills all steam processes here: https://gist.github.com/pjobson/e42b87e49ba69f8e3c90a806f0716f14
- Open Balatro
- Close Balatro
- Yes, you have to do this once to setup mods.
mkdir ~/balatro_temp
cd ~/balatro_temp
LATEST=$(curl -s https://github.com/ethangreen-dev/lovely-injector/releases |grep lovely-x86_64 | head -n1 | sed -e 's/.\+href="//' | sed -e 's/".\+//')
wget $LATEST
unzip lovely*
rm lovely*
# move version to your common/Balatro path
mv version.dll ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Balatro
cd ~
rmdir ~/balatro_temp
# find your Roaming/Baltro path and go there
ROAMINGPATH=$(find ~/ -name "Balatro" | grep "AppData/Roaming")
cd $ROAMINGPATH
mkdir Mods
cd Mods
git clone https://github.com/Steamodded/smods.git
Download any mod and extract it to your Roaming/Baltro/Mods/ path.
This will let you get back to your Mods path without having to browse through over a dozen sub directories. I like to put it in my Downloads directory, because that's where mods are getting saved anyway.
cd ~/Downloads
ln -s $ROAMINGPATH/Mods Balatro_Mods
ls -la
# get to your mods path
cd ~/Downloads/Balatro_Mods
Should show a command line and some other loading stuff.
A lot of the mods out there are setup for Windows, sometimes the permissions are set oddly. You'll want directories set to 755 and files set to 644. You can generally fix the permissions like:
find ~/Downloads/Balatro_Mods/ -type d -exec chmod -v 755 {} \;
find ~/Downloads/Balatro_Mods/ -type f -exec chmod -v 644 {} \;
https://balatromods.miraheze.org/wiki/Cryptid
cd ~/Downloads/Balatro_Mods
git clone https://github.com/SpectralPack/Talisman.git
git clone https://github.com/SpectralPack/Cryptid.git