diff --git a/content/blog/24-balatro-homebrew.md b/content/blog/24-balatro-homebrew.md new file mode 100644 index 0000000..83d3dca --- /dev/null +++ b/content/blog/24-balatro-homebrew.md @@ -0,0 +1,38 @@ +--- +date: 2025-04-25 +title: balatro homebrew +subtitle: its not easy to hack your switch but its not as hard as you would expect +tags: + - programming + - videogames + - homebrew +permalink: /blog/24/ +--- + +*cross-posted from .* + +I got modded balatro to _mostly_ run under Switchroot Ubuntu. There's a bunch of mods that are complaining about bad filesystem access and I haven't dug in to isolate the problem yet. For my own notes tho, here's what I know: + +- install Switchroot Ubuntu Noble, see here + +- do *not* install the system default love package, it has a bad filesystem hook. + +- install love=11.5ppa from bartbes's repo. + +- copy Balatro.exe from another computer. you don't need any of the dlls it comes with. + +- install rust: + +- use rust to compile lovely-injector, following WilsontheWolf's steps + +- run this command to start the game: + + ```sh + LD_PRELOAD=liblovely.so love Balatro.exe + ``` + +- place mods in ~/.config/love/Mods/. + +TODO: +- load mods from another folder, such as .config/balatro/. +- figure out why some mods crash when loading textures.