This is an automated archive made by the Lemmit Bot.

The original was posted on /r/sbcgaming by /u/Rathalot on 2024-07-19 15:04:00+00:00.


Hello Everyone,

As per requested by some of you, I am providing a guide here to help scale up Balatro to make the game more playable on smaller low-res screens like the RG35XX series.

Note: This requires you own/purchase your own copy of Balatro, and note that you will be editing some of the game’s code to get it to work. I do not condone piracy.

 

Step 1: Open your Balatro game files. This is typically called Balatro.love or simply Balatro… it is the file you moved over to portmaster to make the game work. This is actually a zipped series of lua files and other game files. You can rename the file to Balatro.zip and extract it.

 

Step 2: Once you have the Balatro files extracted, you’ll see a series of folders (engine, functions, localizations, resources) and some lua files. The .LUA files we are going to be editing are “game.lua” and “globals.lua”. They can be opened in Notepad.

 

Step 3: globals.lua changes. Go to around line 217, you will see some variables within the RENDER SCALE heading. I made the following changes that I found work for me:

self.TILESIZE = 70 --originally 20, scales up title page size
self.TILESCALE = 5.65 --originally 3.65 scales up title scales
self.FPS_CAP = 40 --originally 60, caps FPS for less heat and battery drain
self.TILE_W = self.F_MOBILE_UI and 11.5 or 21 -- many others users change this, do not change it, keep this default
self.TILE_H = self.F_MOBILE_UI and 20 or 11.5 -- many others users change this, do not change it, keep this default
self.CARD_W = 2.7*35/41 --originally 2.4, increases card size
self.CARD_H = 2.7*47/41 --originally 2.4, increases card size
self.COLLISION_BUFFER = 0.03 --originally 0.05, allows things to be tighter

You should notice after these above changes that the card sizes will be a decent amount larger and much more readable, however the text will still be small.

 

Step 4: game.lua changes. Now to now increase the text side scaling. Open this lua file in notepad and go to approimately line 968. Look for " self.FONTS = {"

In here you will notice there is a variable for each font type called FONTSCALE. Change all of the lines with 0.1 as the FONTSCALE to be 0.17, and all of the lines with 0.12 FONTSCALE to be 0.18. Leave all other values the same.

You will notice this drastically increases the font size without getting in the way of much.

 

Step 5: Save all of the .lua files, and re-zip your extracted Balatro files. Rename the .zip back to Balatro or Balatro.love and put it back in your Balatro portmaster folder. PLEASE NOTE, make sure you zip everything up properly, so that the balatro folders and lua files are in the ROOT of the zip. If you aren’t careful, Windows will nest the zip into a subfolder which will cause the game to not be able to find its files.

 

Feel free to try these settings and let me know if you find better ones!