*** fossfun is now known as Guest28343 | 09:43 | |
Guest28343 | hello, 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 |
---|---|---|
Guest28343 | I only provide the tweaks to make it run | 09:44 |
x2s | how did you get it running? | 09:45 |
Guest28343 | well 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 runs | 09:49 |
x2s | balatro is a löve game? Wow! | 09:49 |
Guest28343 | yes it is | 09:49 |
Guest28343 | that's why I had the skills to fix those things | 09:49 |
Guest28343 | although in this case the problems were related to lua, shaders work perfectly with no changes | 09:50 |
x2s | Then not getting a native linux version of it feels like the devs missed out big time. | 09:50 |
Guest28343 | I suspect they do it to prevent piracy | 09:50 |
x2s | I 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 |
Guest28343 | although the are already ports to linux that works | 09:51 |
Guest28343 | there are already linux working builds | 09:51 |
Guest28343 | you don't need wine | 09:51 |
x2s | we are talking about the same balatro, right? This one: https://store.steampowered.com/app/2379780/Balatro/ ? | 09:51 |
Guest28343 | even on steam there are instruction to make it run natively on linux and mac | 09:51 |
Guest28343 | yes | 09:51 |
Guest28343 | and now it supports sailfish | 09:52 |
x2s | nice! | 09:52 |
x2s | the steam page lists a native mac version. Not having linux there sucks :( | 09:52 |
Guest28343 | so 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 problematic | 09:52 |
Guest28343 | it runs on linux believe me, and if you own the game I can tell you how | 09:53 |
Guest28343 | actually sailfish is linux | 09:53 |
Guest28343 | the same version that runs on sailfish run on linux | 09:53 |
x2s | :) | 09:54 |
Guest28343 | although no landscape mode, but it is playable on portrait mode, only buttons maybe a little small but playable | 09:54 |
x2s | I don't own the game and I'm on SailfishX so rather old hardware and software :( | 09:54 |
x2s | Why not landscape mode? | 09:54 |
Guest28343 | mm, it should work, it does not have high requirements, maybe if it is older lua some functions need to be changed | 09:55 |
Guest28343 | no, I can add it eventually but since is a commercial game I can not publish it | 09:55 |
x2s | yeah, true. But you could distribute a patch somewhere... ;) | 09:55 |
Guest28343 | are patched allowed? I'm not a lawyer and want to spare trouble | 09:56 |
Guest28343 | if so yes, I can add patches | 09:56 |
Guest28343 | probably not publicly but yes it is possible, so if you buy the game feel free to ask | 09:57 |
x2s | That'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 |
Guest28343 | yes I think so | 09:58 |
Guest28343 | as I said this was easier as expected, despite the bunch of complex shaders the game has, the patches are only on the lua part | 09:59 |
Guest28343 | shaders use to be the most problematic part when porting games | 09:59 |
x2s | but 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 |
Guest28343 | yes, no I'm not distributing anything of the game, just my extra lines and functions | 10:02 |
Guest28343 | I can actually pack all on a single file, it is not so much | 10:02 |
x2s | That should indeed be fine. But I would still hide behind a pseudonym and only update and distribute it over a vpn... | 10:03 |
Guest28343 | sure, 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 works | 10:04 |
Guest28343 | and by the way, therea are also ports to emulation handhelds out there | 10:05 |
Guest28343 | https://www.reddit.com/r/ANBERNIC/comments/1cxbrfi/now_i_could_have_balatro_on_any_scenario/ | 10:06 |
x2s | and I guess landscape mode might be something you have to tell sfos and not the game :) | 10:08 |
Guest28343 | yes 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 |
Guest28343 | I mean lack the bindings to detect device orientation on love2d | 10:12 |
x2s | ah, well | 10:18 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!