About this mod
The mod adds dragging support to use/sell/buy cards like on the mobile version of the game. Works great on Steam Deck using the touch display.
- Permissions and credits
- Changelogs
The mod adds dragging support to use/sell/buy cards like on the mobile version of the game. Works great on Steam Deck using the touch display.
The mod implements a hybrid mix between the desktop and mobile UI. You can both click on a card and click on the action button like normal, or you can drag the cards to the actions area that shows up when a card is being dragged on the mobile version of the game.
NEW!!! The mod also add the ability to select card in your hand by dragging across them. You can also deselect card this way. The state (selected or not selected) of the first card touched decide what happen to all the card you touch.
Some options are available in the game settings:
- Enable Actions Buttons. (Default On)
- Enable drag to select/deselect from hand area. (Default On)
- Drag Area Opacity (Default: 90%).
- Move Joker Booster Pack Select Area To Joker Buy Area. (Default Off)
- On the mobile version of the game when you buy a joker you drag it to the top of the screen over the joker and consumable area. But when opening a Joker booster pack you have to drag the Joker to the middle of the screen to select it. If you ever found yourself trying to drag the joker to your joker section this option is for you.
- On the mobile version of the game when you buy a joker you drag it to the top of the screen over the joker and consumable area. But when opening a Joker booster pack you have to drag the Joker to the middle of the screen to select it. If you ever found yourself trying to drag the joker to your joker section this option is for you.
Install
This is a Lovely patch mod, simply install Lovely and copy this mod into
%appdata%/Balatro/Mods
More detailed install instructions coming soon including Steam Deck. Google Balatro Steam Deck modding and you will find some help.
Here's the Discord thread as well if you need help. Its on the official discord for Balatro, there a button in the game if this link doesn't work.
-------------------------------------------------------------
Old Patch Install Method
(Keeping this for now in case there is an issue with the new lovely patch version, but will remove it soon to not scare the non-programmer away. You can use the lovely dump folder to create a patch of the game file if you want)
(This patch is from the previous version of the mods that has some small bugs)
1. Right-click on the game name on steam.
a. Go "Properties".
b. Go "Installed Files"
c. Click "Browse..."
2. You need a program that can open compressed file like 7-zip.
3. Right click on "Balatro.exe"
a. Go "7-Zip" -> "Open archive"
b. You will see ".lua" file, those are the game source code.
c. Extract those files to an empty folder somewhere (don't forget the 4 folders they also contain lua files).
d. Download the patch file from nexus and place it in this folder (balatro_drag_support.patch).
4. You now need to install Git to apply the patch.
a. Go here and download and install git (google for some help for you system if needed this might be more complicated than just installing this, you know it works when running the "git" command in a terminal show the available command and help).
5. Now if you right-click in the folder we created you should see "Git bash here". If you don't, just open a terminal and navigate to the folder.
6. run this command (you can ignore any errors about whitespace)
git apply balatro_drag_support.patch
7. The files have now been patched, we need to use them to overwrite the game files.
8. Optionally, you can now delete "balatro_drag_support.patch" from the folder.
9. Drag the content of the folder back to the 7-zip window (for Balatro.exe) and say yes when it ask to overwrite the file.
10. Save the archive.
11. Launch the game.
This will need to be done every time the game updates. You might have issue if the game is updated, but it might still work if they didn't change any code related to this part. If you have conflict and know lua it should be easy to fix and you can post the patch file in the comments.
If you need to uninstall, simply verify the game file on Steam in the same place as step 1.
Here a not so related video that goes into how to edit the game file if you need help there.
Old Steam deck patch install method
If you have a PC I suggest just installing the mod there then just copying the .exe over to the steam deck. You can follow the same step on steam to find the .exe location. If not, the steps are not that different and I think git might be already installed there, so skip that step or google how to install git on steam deck.
The source code distributed here is the sole property of LocalThunk and the publisher. Consider also buying the game on mobile to to be fair.