#Can we run Balatro on the Nintendo 3DS/Wii?

1 messages · Page 1 of 1 (latest)

blazing mango
#

the filesize is small enough, I think it depends on if these consoles can run the program

heady ether
#

you'd probably need to port it or make some sort of wrapper that runs LOVE2d, kinda like what supported consoles do

full axle
#

https://lovebrew.org/ ? would this work

Welcome to LÖVE Potion, a powerful tool for creating homebrew games and applications for the Nintendo 3DS, Nintendo Switch, and Nintendo Wii U using the LÖVE framework. LÖVE Potion currently supports LÖVE 12.0 and allows you to harness the flexibility and simplicity of LÖVE (LÖVE2D) to develop engaging and dynamic software for these platforms.

junior tulip
#

Probably

#

Just a matter of who wants to go through the effort to build it

lucid shell
#

now im kinda curious about if this would work

topaz timber
#

Seems like Lovebrew as quite a few missing functions

#

love.graphics.setShader being one example that I think is used quite a bit haha

topaz timber
#

So on a technical level it might be possible, but there definitely are quite a few things missing from what I can tell which could end up causing the game to either not run as a whole, or with missing features (namely shaders for one)

lucid shell
#

you don't know if you don't try guiguishrug

coral abyss
#

this seems interesting

topaz timber
#

managed to get to a point where it output some errors on the 3ds at least

#

the annoying part is having to modify files, rebuild, put onto SD card, reboot 3ds, try out, repeat

coral abyss
#

-# not to be that guy but uhhhh fyi rule 1 is a thing

#

-# so like just be careful ig

topaz timber
#

I don't know what about that message is breaking rule 1 but sure

coral abyss
#

no just in general

#

modding rule 1

#

specifically

topaz timber
#

oh modding rule 1

#

though you meant I was a bit aggressive with the reply haha

coral abyss
#

no lol

topaz timber
#

well in that case I guess this thread should be closed lordmaLUL

lucid shell
#

oh well guiguidisintegrates

topaz timber
#

(Though I have no idea what the dev's thoughts on a 3DS port would be in general - as in, if it's a different story with porting it to a actively maintaned console vs. an older one etc. etc.)

coral abyss
#

yea no I'm just saying be wary that this could be taking down by local thunk

lucid shell
#

yeah, it's like. the 3DS is dead from nintendo's point of view so it's more of a novelty than anything

topaz timber
#

Well I can say the progress bar is filling up on the top screen now but it then crashes into a cool stack dump

wicked sorrel
#

Somone was working on 3DS a while back

#

I was messing with Wii U personally but didn't really get anywhere

topaz timber
#

I can't even get this setup working in Citra

#

I have to run it on my 3ds haha

#

like, in Citra it doesnt even boot

#

would make this so much easier though

#

though I have to say... a 3ds port together with the mod to allow mobile-like dragging of cards could be neat

#

but it would also mean a rework of the ui so you can have non-interactable info at the top

#

like the chips and mult

#

and also the info about the current blind

topaz timber
#

gonna do an @fallow carbon 👀

fallow carbon
#

Hey there

topaz timber
#

Not sure what you used several months ago for getting the main menu working but I've dabbled in it as well today with LovePotion

#

Had to comment a few things out (namely shaders) and adjust a few things (e.g. downscale the textures so they fit into 1024x format, plus for now just use the "standard" font the 3DS has)

#

and now i got to a point where it... just crashes the 3DS outright after the loading screen haha

fallow carbon
#

So hey I just returned home

#

This is as far as I got

topaz timber
#

Yeah it fails on my end after the "Loading localization" part

#

Also yeah, the performance is... oof haha

fallow carbon
fallow carbon
topaz timber
#

ah

#

Yeah and at the end of that video you also run into the system crash

fallow carbon
topaz timber
#

Uh I just used Windows PowerToys to limit them to a max. of #x1024

#

(or 1024x#)

fallow carbon
#

I think you ran out of VRAM

topaz timber
#

Oh hmm yeah the 3DS doesn't really have a lot hah

fallow carbon
#

The problem is that all of the textures are cached during the loading of the game

#

I downscaled the textures by factor of 2 to get the game to boot

fallow carbon
topaz timber
#

hmm downscaled them by a b it more now and its still crashing with the same error hah

fallow carbon
fallow carbon
topaz timber
#

gdb? OhISee

fallow carbon
#

Gnu Debugger you can install it by following instructions in the development section of LovePotion (by installing devkitPro)

#

Btw have you removed all of the unsupported calls like setNewFont

topaz timber
#

Yeah with those it showed the error on the top screen

#

As in, actual Love2D / game error, not the system crash

fallow carbon
#

Btw have you removed the custom error handler?

topaz timber
#

Nope

fallow carbon
#

It won't help you with system crash but the default error handler is better for debugging game crashes

topaz timber
#

I doubt that'd help me with the system crash right now heh

#

but yeah, I have console enabled so it waits for a remote connection anyway before it runs

#

So itd probably throw errors in the command prompt / python script now

#

error handler removed, still takes a long while on "Loading: localization" and after that goes black and runs into the system crash

fallow carbon
#

I really don't know what causes the system crash it's hard to tell without stack trace

topaz timber
#

yea...

#

does feel like it's crashing in the localization section, so load_profile, set_render_settings, set_language or init_item_prototypes probably

fallow carbon
#

Have you changed the resolution of the tiles in the tilesheets table

topaz timber
#

tilesheet table? Where would that be

#

globals RENDER SCALE section?

fallow carbon
#

game.lua
It's where all of the textures are loaded

topaz timber
#

nope, not adjusted that yet

#

honestly, i dont think ill continue this experiment further haha - even if it would end up being rendered properly and whatnot, I feel the performance will be very lackluster and the only thing itd give is a "made it work" achievement 😛

fallow carbon
#

Still I doubt that's it

fallow carbon
topaz timber
#

at which point I think remaking the game from scratch would probably be easier lol

fallow carbon
#

It might be

topaz timber
#

but yeah, idk

#

If you do ever manage to get it working I'll tip my hat to you haha

#

This was a nice dabbling on the side experiment for me but I really need to focus on all my other projects lordmaICANT

fallow carbon
#

I'll return to this project after graduation and after having confirmation of being accepted to uni

topaz timber
#

best of luck with graduation and uni! 😄

fallow carbon
#

Thanks

wicked sorrel
#

for the crash handler see if you can put the steamodded one in there

#

I belive it should be reisliant enough to run without steamodded

#

if not let me know I have a version that for sure works without it but doesn't have all the features

#

might be nicer to have

junior tulip
#

If you need more testers

#

Alright boys balatro on psp

coral abyss
#

I also have a new 2ds xl if you need someone to test

agile jolt
#

i also have a new 2ds xl if you need someone to test

wicked sorrel
#

I also have a new 2ds xl if you need someone to test

glossy island
#

Me 4

lucid shell
#

i wish there was any way i could be helpful aa

coral abyss
lucid shell
#

i have a new 3ds xl

coral abyss
#

you can't help then

#

sorry

#

(you can i just have to stick to the bit)

fervent laurel
#

i also have nothing if you need nobody to test

wicked sorrel
#

I have a Wii U if you want to test

glossy island
#

I have a Wii U if you want to test

normal fulcrum
#

I have a PSVita if you want to test

night loom
#

@topaz timber fancy meeting you here

topaz timber
coral abyss
#

I have a game boy colour if you want to test

blazing mango
#

I am so proud of this community

junior tulip
#

Wonder if I could get this running on my PSP?

#

With the PSP port of love2d

#

Been so long since I've compiled a homebrew application tho

junior tulip
#

I'm sure the dev is fine with homebrew ports as long as you have players provide their own copy of the game

topaz timber
#

I'd add to it that porting it for older consoles that are EOL is probably the only way as well

#

not any new ones yknow

junior tulip
#

You could work around by using asserts

topaz timber
#

Then again... Seeing as the game is on phones and Switch... lordmaLUL that pretty much takes care of new platforms I feel haha

junior tulip
#

And ppl have to grab their own Lua files from their own copy of the game

#

It's not hard since it's just as simple as using 7zip

topaz timber
#

It's sadly not a simple plug-and-play onto another console just by using the lua files the main game provides

junior tulip
#

Hmmm

#

Wonder if it be possible to create a patcher that modifies what needs to be modified to be moved to a homebrew port of it

#

Cause I get why the dev doesn't want different ports of the game

#

Which is how the game is developed

#

There's probably away to do it without ports turning into a copy-paste job of their game

restive kettle
#

this looks interesting

#

I have a 2DS, Wii U, and Switch if you want to test

junior tulip
#

I always like games running on different hardware as homebrew always interesting to push limits of old hardward

#

I feel like this could work

#

Just a matter of finding a way to require a copy of the game

#

And get the files urself

#

So it's not just a copy paste of the game to another platform

restive kettle
#

yeah its very cool

blazing mango
topaz timber
#

Yeah you'd have to work with very low resolution images AND a far smaller screen size

junior tulip
#

Balatro maybe a simple game but it still has stuff that maybe too complicated for the ds without seriously downgrading the he game

blazing mango
#

oh yeah for sure, this is more for ideas in terms of ui

lucid shell
#

yeah

#

the main issue will likely be in how we'd then distribute it, because this would require a lot of patching

agile jolt
#

if it can get mods running, we could use that downscaler mod to make the resolution smaller?

#

potatatro is it

mortal trench
#

Potatro*

junior tulip
#

The downscaling of the sprites shouldn't be difficult either

topaz timber
#

Python script or just a git diff like it was made for the mobile dragging mod

junior tulip
#

Probably require someone to build it themselves

#

Like mario64 ports do with ROM requirements

topaz timber
#

Well yeah - they'd start with the base game files (extract the .exe), then apply the patch in that folder, then move those files into the folder, then build it some way

#

Then again, the LovePotion build for 3DS seems to be able to load the game files from a subfolder

lucid shell
#

mhm

wicked sorrel
#

Yeah just distributing patches would make sense

lucid shell
#

in the meantime im porting another love2d game (mari0, luckily it's opensource so no legal issues there) just to get a bit more practice of porting love2d games

rocky grove
#

I also have a new 2ds xl if you need someone to test

lucid shell
#

ngl at this point im wondering if it'd be easier to just make a whole 3ds fangame 😭

junior tulip
#

Well the c64 project of balatro just got DMCA'd

#

So I guess their stance on balatro ports is final even if it's an original homebrew port completely different from the official game

coral abyss
#

i feel as though this could very easily be solved by either never making it public or requiring the original game files to run

junior tulip
#

assembly i believe is what c64 uses?

coral abyss
#

that does not mean anything

junior tulip
#

it does

#

u can't just copy files from balatro for it to work

coral abyss
#

if i remade balatro 1:1 in roblox would that get taken down?

junior tulip
#

probably

coral abyss
#

exaxtly

#

same principle here

junior tulip
#

Pulling a nintendo does leave a sour taste in ppl's mouth's tho

#

considering it was a well made homebrew for hardware that old

lucid shell
#

damn, we cooked :(

junior tulip
#

I'd assume it's the publisher not wanting competition

#

And not a dev decision

#

Even tho it wasn't really competition

lucid shell
#

yea but. still

coral abyss
cedar thorn
#

I have a wii u as well lmao kekw

sonic cairn
#

I have seen it survive for a few days now

coral abyss
#

yes that was why i was using it as an example

sonic cairn
#

Ok

restive kettle
#

someone made a ds thingy

random isle
#

Running it with my New 3DS, too bad there's no sound but it's playable.

#

Just don't press the Start button or it will crash.

junior tulip
#

Doesn't really do anything for a 3ds port if it runs in the nds sandbox

random isle
#

MicroLua has a version for 3DS, but since it's still an .nds file, i'm launching it from Twilight Menu++

junior tulip
#

Thing is there's a native port of the engine that runs balatro for the 3ds

#

This seems like a ground up recreation

#

Similar to the c64 version

#

Right now looks like the current goal is running the actual game on the 3ds

#

In some way that requires you to get the assets from a copy of the game you own

#

So it can coexist with the actual game and not get DMCA'd for being a carbon copy

lucid shell
#

yeah that's the goal

full axle
#

Do mods run on switch? I can't find any threads about it

cedar thorn
#

No

tight burrow
#

the rules are pretty outdated

#

from my understanding the rule is to not directly share the source code of the game

#

If you needed the original game to compile this version instead of it being directly shared I think it would be fine

half rune
#

Hey y’all, is this still a project being worked on? I was literally thinking of this today.

half rune