Saturday, 2025-10-04

*** fossfun is now known as Guest2834309:43
Guest28343hello, someone asked me if the commercial game balatro runs on sailfish os runs. It does, it needs some tweaks. If anyone owns the game and want to know how to play it on sailfish feel free to ask me. Just to clarify: I do not provide the game, you have to purchase it.09:43
Guest28343I only provide the tweaks to make it run09:44
x2show did you get it running?09:45
Guest28343well most of the problems it had were problems I went through with many other games... to mention a few: calculations with too large float numbers which work on x86_64 but not on arm, missing or different api due to different versions of löve etc. For instance the game generates randome seed with too large floating point calculations, I modified those function to fit on arm, I don't know if affects gameplay but it runs09:49
x2sbalatro is a löve game? Wow!09:49
Guest28343yes it is09:49
Guest28343that's why I had the skills to fix those things09:49
Guest28343although in this case the problems were related to lua, shaders work perfectly with no changes09:50
x2sThen not getting a native linux version of it feels like the devs missed out big time.09:50
Guest28343I suspect they do it to prevent piracy09:50
x2sI bet I can go and look at the dark edges of the net and find a copy of balatro there that runs fine with wine...09:51
Guest28343although the are already ports to linux that works09:51
Guest28343there are already linux working builds09:51
Guest28343you don't need wine09:51
x2swe are talking about the same balatro, right? This one: https://store.steampowered.com/app/2379780/Balatro/ ?09:51
Guest28343even on steam there are instruction to make it run natively on linux and mac09:51
Guest28343yes09:51
Guest28343and now it supports sailfish09:52
x2snice!09:52
x2sthe steam page lists a native mac version. Not having linux there sucks :(09:52
Guest28343so if anyone owns the game feel free to ask, I've considering posting it on forums but since it is a commercial game it would be problematic09:52
Guest28343it runs on linux believe me, and if you own the game I can tell you how09:53
Guest28343actually sailfish is linux09:53
Guest28343the same version that runs on sailfish run on linux09:53
x2s:)09:54
Guest28343although no landscape mode, but it is playable on portrait mode, only buttons maybe a little small but playable09:54
x2sI don't own the game and I'm on SailfishX so rather old hardware and software :(09:54
x2sWhy not landscape mode?09:54
Guest28343mm, it should work, it does not have high requirements, maybe if it is older lua some functions need to be changed09:55
Guest28343no, I can add it eventually but since is a commercial game I can not publish it09:55
x2syeah, true. But you could distribute a patch somewhere... ;)09:55
Guest28343are patched allowed? I'm not a lawyer and want to spare trouble09:56
Guest28343if so yes, I can add patches09:56
Guest28343probably not publicly but yes it is possible, so if you buy the game feel free to ask09:57
x2sThat's an interesting legal question. If you write your own patcher (maybe there's already one out there already) that deletes lines without needing or checking the previous content and only adding your code it should be your work...09:58
Guest28343yes I think so09:58
Guest28343as I said this was easier as expected, despite the bunch of complex shaders the game has, the patches are only on the lua part09:59
Guest28343shaders use to be the most problematic part when porting games09:59
x2sbut you cannot include any of the original code in the patch. But still an interesting legal question someone with a huge legal budget should explore. Not me though. I'm living through the next economical crisis. (The last one was two years ago, the one before two years ago from the last one, and so on...)09:59
Guest28343yes, no I'm not distributing anything of the game, just my extra lines and functions10:02
Guest28343I can actually pack all on a single file, it is not so much10:02
x2sThat should indeed be fine. But I would still hide behind a pseudonym and only update and distribute it over a vpn...10:03
Guest28343sure, anyway I'm not promoting anything, as said you should own the game, as if the game is yours you should be able to run it wherever it works10:04
Guest28343and by the way, therea are also ports to emulation handhelds out there10:05
Guest28343https://www.reddit.com/r/ANBERNIC/comments/1cxbrfi/now_i_could_have_balatro_on_any_scenario/10:06
x2sand I guess landscape mode might be something you have to tell sfos and not the game :)10:08
Guest28343yes I've done that tens of times, sailfish os lack device orientation but I have already implemented a workaround so it's not hard, not sure I will do it but I could.10:11
Guest28343I mean lack the bindings to detect device orientation on love2d10:12
x2sah, well10:18

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!