#⚙・modding-general
1 messages · Page 17 of 1
if you log in you can download
how else am i supposed to download
You could just download that and move it the mods folder
sob
That mod only is from a Lua file since it’s one of the Steamodded examples
K
so like this?
Yes
alr
A easy mod disabler would be cool
What
why tf is github so annoying to work with
just started building a mod, is there a reason this doesnt work?
mod = {
mod_id = "TetraPak",
name = "Tetra Pak",
enabled = true,
on_enable = function()
sendDebugMessage("TetraPak enabled")
end
}
-- init mod
table.insert(mods, mod)```
it doesnt appear in the modslist at all, so something may be up with mod structure.
Is there support for playing sound with steamodded ?
any idea?
i was able to get to the main menu but no further, once i started a run and played a hand, it crashed to this
one of your mods is causing this, but I can't tell just from this message
is there a crash log i can find anywhere?
If you install [this mod](#1217948591612493874 message), it should be able to show more info, or you can try disabling mods until it works
got it, hol up, gonna get a new pick of the crash with that mod
huh
it just instantly crashed this time
no message popup the screenshot
that's odd
i am supposed to put both the stacktrace and the stacktraceplus mods together right?
or should i just pick one?
yeah make a folder and put them both in it
i can try that but mods don't load like that for me lol
my mods won't load into the game if i don't put them like this
it should load if you put a single mod in the folder
You should be able to make a folder named BetterStack and stick both the lua files for the mod in there
I don't think it will work if they are out of a folder
as they need to find each other
still exited without message
I'm not sure why it would do that
i made a folder named "BetterStack" exactly and they seem to have not loaded idk why
though I did notice that you have the infinite score mod, which is not compatible with a lot of mods
they are loading but, ye i'll try getting rid of infinite score
anyone remember where to activate the hidden secret hands
didn't get an answer for this before and Im assuming I won't get a positive one but is there any mod that adds in the stickers on your jokers into the gameplay
crash again with the same no stacktrace stuff and infinitescore deleted
and if i uninstall the aScoreUtils mod that comes with infinitescore
actually I just checked an the stack mod should work if its not in its own folder
so I have no idea why its crashing
lemme try taking it out and see if the instant crash is gone
yea same thing
it crashes to the og stacktrace
and says the same stuff
tried an unmodded deck
and it still happens
well a mod that I suppose 'rebuff cards" must be the source of the problem
ah thanks for the insight bro
i can read, and have checked my mods folder for anything related, and i do not have a mod called that.
well it's time to open the files one by o,ne then
also none of my mods straight up buff a card, they only add new jokers or whatevs
ok after moving files in and out of the mods folder to determine the cause
it seems to be specifically Jelly Vouchers lua that causes it
none of the others cause any issues
idk what Jelly Vouchers even does but ye
can I still get unlocks and achievements if I'm playing with mods?
my firewall is blocking steammodder, anyone know how I can allow it through?
download using the Lovely method
what's the lovely method
Go to windows defender, find the blocked action and allow
quick question guys
where do i put my mods on the mac
it says %appdata% balatro/ mods
ive launched the game but it didnt create it
welp
Wondering if I'm missing a step - I have the steamodded_injector.exe, but it closes automatically after printing the "Please drag ..." line.
take balatro.exe and drag it on top of the injector.exe
Thanks a ton. I was thinking I had to drag it onto the terminal window.
okay, ive made an exception for the file, ive done the drag and drop and its still telling Me WINDOWS DEFENDER HAS DETECTED A THREAT
🙄


Where can I find the stuff Id need to make/install mods
Hey guys can someone help me with the Lovely Method? Since my Norton antivirus (that i can't shutdown no matter how i try disabling everything) block both injector and the pyhton one aswell
there's this guide for it here, https://discord.com/channels/1116389027176787968/1217867725532041369 you might need to scroll up a bit though
Can we get that pinned
I might have done an oopsie
I tried downloading the injector and now the game isnt running
it's crashing when I try to open it
how do I fix my stupidity
how do I verify files?
right click on the game in steam library, properties, installed files on the popup menu
how do i overide the main lua files?
epic modded run
Thinking I'll wait for workshop support before getting into modding here.
any modding access on macOS or still to early for that?
i was modding game.lua and suddenly this didnt change anything that could cause this. i believe
So, I want to get into adding mods to Balatro. I created a folder in D:\Steam Library\steamapps\common\Balatro labeled "Mods." What's next?
the cmd command for balamod is not working even when navigated to the folder I downloaded
where is this dll? cant find it
releases > tags
tyty
hi folks! i was testing around with some stuff using debug mode, and accidentally exceeded my previous highest hand by 8e. whoopsie!
is there a way to go into your save file and edit what your highest hand stat is? i thankfully took a screenshot of my previous best (3.319e13) so i'm just gonna like.... revert it to that
megacheater ong
i know...... i cheated so bad..... definitely intentionally used debug mode to RAISE MY BIG HAND....
now the guilt is KILLING me, i say....!!!!
((i wanted to see what it'd be like to have every single joker on at once and didn't realize it would score this high with a level 1 hig hcard lmao)
Blackbando I will rid the dirt from your name if you help me find a file name :)))))
still the Director's Cut lol, honestly I just wanna know how to get access to a file dump or smth
but someone did what I wanted before with a different voucher so im just tryna find where the names are to amend the mod
oh, i see
the overstock was called "v_overstock_norm" so its surely close to that I just wanna avoid bruteforcing if I can
id rather just have the file repository at hand
v_directors_cut
you can find it in the game.lua file, line 605
upgraded is v_retcon, like 30 lines down
thank you sm, I appreciate ya 🙏
yw!
meanwhile i'm just gonna like. scrounge around and see if i can find my save file anywhere
it did teach me something interesting about balatro, i suppose: your hand DOES get saved even if you quit before it's done scoring
i tried to quit to main menu when i saw the mult go into the es but it still became my highest hand lol
i'm not sure if this is ever relevant but it's a neat fact
crashing to desktop on Steammodded powershell version anyone know whats happening?
sorry ima modding scrub, where is this? lol I checked steamapps>common>Balatro and appdata>roaming>Balatro
Do I get the modloader to dispense it somehow or am I missing smth here?
open up Balatro.exe with 7-zip (or similar)
it's in there
ohhhhhhHHHHHHH TY
yw!
update on my save file situation: i did find it, but it's a .jkr file. i was hoping i could open this in notepad++ and just real easily rewrite one number to fix it
and uhhh
no
i really should've made a backup save or done this on a full-cleared profile lmao
hexeditor time
you can use my save editor
and use the raw tab
oh actually the save ediotr just lets you change that without the raw
I forgor
yeah i was able to fix it real easy thanks to you. thank you so much!!!
hmmm...it seems that JellyMod was what was crashing Steammodded, installed another mod and it worked fine. Anyone else able to play JellyMod with Steammodded?
I was wondering if you guys could help me with something.
I wanted to modify the proto_cards field in the start_run method. This field controls the cards in the game. To do it, I wanted to use the no_suits property of the challenge args, to make sure a suit does not load. How would you go about doing that?
Anyone know what the issue is here? I can't figure out how to get this effect to work.
All I want to do is get two random tags to spawn when this joker is sold.
which line is 1003
tag_1 = available_tags[math.random(1,#available_tags)]
well whatebver the random function is returning is not something in availible_tags
I'm not sure how lua works enough to figure out what you need to change
i have no idea what im doing ngl
i can build pcs and code half decent websites but this is beyond my skill level
ping response please
what are u trying to do?
use balamod
is there not a step by step on someone github?
the readme says to run "balamod-v0.1.11-windows.exe -a" in a terminal and thats all its doing
are u in the correct directory?
ive tried all the folders that lead to balamod
yeah
AHAH
i found a single .exe for balamod in the thread and its working now
okay well now it isnt letting me set directory..this is more complicated than i thought
good morning!
I think you should switch . and :
good morning to you too!
switch them where?
local start_run_ref = Game.start_run
function Game:start_run(args)```
swap, not switch*
also
start_run_ref(self, new_args)```
should I pass self to the Game.start_run(args) function def?
it is required to pass self when recalling function if it contained :
🫡
thank you so very much
Now I just need a way to re_enable the suit when starting a new game
I feel like I really should do some kind of small tutorial regarding small quirks like that
good morning firch
🫡
🫡
I like how often I use this emote when doing something related to balatro's modding
definitely my favorite now
guys I have a crazy idea of a new Joker
it will add absolutely crazy cards to booster packs
like 16 of spades
or 20 of hearts
or double ace
that sounds quite farfetched
so i have decided to take a gander with steammodded and windows wont let me download the mf
and also maybe 1 of suit
im gonna fight this damn thing
idk maybe cards that have the value of face cards but at the same time aren't face cards
Ooh I love it
emperor that is ace but face card
@rare shell does a font for legendary cards exist somewhere?
oh i just do them myself
i just adjust whats existing
okay I thought that maybe there is
will copy the letters I guess
you're free to steal from my sprites if you need some of the letters not in the default legendary roster
im a fan of wacky card pack
hey firch?
yo?
show the full thing
thats the whole thing
do you have jellymod installed
not the error the code I mean
mhmm
yeah thats the problem
jellymod brokes a lot of things
so delete jelly and try again
cool
i stg if i installed everything wrong im gonna riot
wait wait is your mod folder goes:
mods/mod_name/things
I think you may need to redownload them to figure it out
Hey i was wondering. Is there a function that is called every time we return to the main menu? I want to use it to reset the state of something
i guess borroweddeck is just broken..in its own folder but still assets error
oh well
firch im starting a petition to get you a "Epic Helper" role

I just tell stuff I learned from other people when doing same mistakes or trying similar things, that's not much
this next joker... is going to be the best
I found a lot of issue
with my cardback injection mechanics, not like it doesn't work, but there's a lot of shady business
but now i know how to solve all of them. Will do in a second
And we really appreciate you for it!
is it your mod?
no
then someone else messed up
it worked fine yesterday
maybe downloading 11 pages of mods was a bad idea
some jokers pictures are wrong..
🥳🥳🥳 congrats!
Sadly I cannot showcase it rn, but I will when I return home this evening
Not sure exactly the ins and outs of modding myself, but I've seen mods for other games such as Slay the spire in the steam workshop page, would that eventually develop for this game as well for modders to post on the steam page itself? Or will it always have to be on external client?
steam workshop mods need to be done by the developer instead of the community. As such, modding in its current form will not be availbe as a steam workshop. However, localthunk has shown intrest in adding modding in the past, so it won't be surprising if we get steam workshop to some degree at some point
hey yall not finding any links or guides to installing mods is there one here?
Check Steamodded github page
Maybe this is a stupid question, but do we have a list of possible contexts?
do "inspectDepth(context)" I think
yo guys, the jellymod assets/legendary jokers arent working, anyone know why
is it the only mod you have ?
no, however i have made sure the assets are there
that might be why
if there are other joker mod it could cause issue
alr
so should i just play with jellymold then?
mod*
acc ill troubleshoot it rq
try with only Jellymod yes
it works, but now im trying to install center hook (the api) do i put in the mods folder too or a differnt one?
doesnt say anythinghttps://github.com/nicholassam6425/balatro-mods?tab=readme-ov-file#jokers-modsj_jokerslua
i need help trying to get mods they lookkkk ssssooooo ccooooll
holy cow guys
I did it!!
This should be very robust now, I digged into the realm of lua and I think this should be extra easy to use now
GJ !
I'm looking for things to play custom sound file
tho I'll likely have to use love injector because of the way sound file are currently played by the game
if they're not in the assets/sound directory GL getting them to work
welllll
just found a work around along the line actually
something I did not know about lua
oh ?
you can wrap functions
which means you can basically inject anything into the code
so for sound files, you can just inject code to where you set up config
Yes and no because you can't choose where to inject it
does this work for enhancers?
it is just for enhancers!
I'm not entirely sure I follow
so you know all of the files are "loaded" via some sort of configs?
would this be modifiable to work with tarots?
yes
i think it would be, not sure how much modification you will make because I did it to specifically get around how card back works
what you can do is (don't quote me on this one, haven't look a lot deeper into sound specifically) write code that follows the exact config format and wrap them to the end of wherever the config lines rest in
so that it loads extra sound files to the game that follows the game save's directory
right, but that should help you load the files in
this is
are you trying to replace it or insert something randomly during a process?
My file is loaded in the Game by STeamloaded in a Mods/ folder
yeah that's right
So if I want to play a sound with the game function (which I think for the sound channels etc I'm forced to use the base one)
I can't because it's in the /Mods folder
can't you wrap it so that it does everything that is below the line you pointed at in another function and wrap it at the back?
HMmmm
you know the powerfully thing about wraping is, it overtakes the original function
so imagine you had play_sound, now you can call play_sound and do {play_sound, play_another_sound}
so for example
I think you should look into maybe potentially wrap SET_SFX?
since it is where this is set
SET_SFX is a mess
you can just hijack it so that when it tries to set something that uses s you replaces s to whatever you want instead?
well it needs to load it and then it can be called once it's loaded
so very unlikely you can wrap that
this is the player
this is the loader
and I have no access to SOURCES
even though it's right here
I can also make balatro do totally weird things
tho my code is just that
and #SOURCES is 0
which file is this again
engine/sound_manager
if anyone somehow has the capabilities to make a working save editor for the stats page so i can fix this i will offer an insanely large bounty of 10 american dollars
lmao
im down bad to remove ante 39 </3
Yes
actually, now that i think about it, can you just overwrite Play_sound?
that's why I spent a lot of time, and that's why I also think I'll do a love injector one for this
tried that also
like keep everything but the line that loads from your folder instead?
is the challenge coming from directory navigation?
the function requires SOURCES for it's function
and I can't get to it
unless I make my own from scratch
hm
now that I think about it
might be doable
it also could be that it resets this value somewhere else
the biggest trouble i had with card back was every time you change pixel smooth settings it redo the render
@infractus, check out my YippeeGameOver for how i did the custom sounds
@_@
I searched way too much for a mod like that couldn't find one lmao
might not be the best but it Works
so i wrap set_render and now it will always append the new card backs when rerendering
I tried to use love.audio.play etc
but I got a lot of issues where it would load back to main menu, or the mainb menu would compeletely bug
like this :
but it might not be because of the love.fil fault
smh
I realise now that it's the ethod I used to call it
I'm gonna break something
it's very clean, it's what I did when it worked
just I thought it caused issue
but I now realise that it does not
because something else caused it
Thanks Myst
Yup, seems to work when I try it, just it's a pain because I can't do the same thing I did for my seals for testing beause it makes the game freaks out
Thank you Myst
nahhh it's more explicit 😉
cartomancer?
four tarots for $6 is quite strong
vagabond
comes with the restriction of having no money
yeah tbh idk how to build around vagabond
aaa (going for straights)
doesnt that spell superposition?
yeah
and that's why it gives tarots
random impostor trigger??
(expansion pack is riffraff but 1 modded card)
Managed to do that which seems pretty reliable for playing sound for now
should I keep the tolower for the string or should I assume that I won't make mistake and that other people that want to use that also won't make mistake with majs ?
Is modding the game difficult if I’ve never modded before
What are the odds it comes to steam workshop? That’s much less confusing
making mods is not extremely difficult if you know how to program
installing mods is a bit annoying to set up but is smooth after that
Is there a mod for slower ante scaling?
Thank you, Nexus was the one place i didnt check 💀
thanks myst
I'm gonna post them all there because it's way simpler than on discord, and it's better for user that want to check updates etc
I don't trust nexus too much only if an official mod is referenced there
what mod adds them reverse tarot?
JellyMod/JellyTarots
If you change a regular card texture, and instead of being only the number of the suit card in a png format, you change it for a texture with a white background.
the "effects", like stamps, crystal card, etc, will apply correctly?
enhancements are layered below the playing cards texture
so the white bg would override
damn, then I have more work ahead of me than I thought.
i don't see why you wouldn't just make it transparent
i want to do an spanish card suit mod, and is so much easier for someone like me with 0 artistic skills to "copy paste" the actual vector of the cards (which doesn't have transparent backgrounds) than doing the pixel art of the cards myself and doing the things properly
Question why is there multiple ways to mod balatro wouldn't be better if it was centralized mod loader?
it would but some have feature other don't
and would be hard to implement
I post the link to nexus for my mods here XD
Do all the mod loaders work together like slime rancher or? Does it have to be separate like Minecraft java?
Sorry meant to turn off the ping
love and Steamodded are compatible
was on the channel anyway don't worry
Oh so I should have used lovely instead of steamodded
Lovely is used to load Steamodded without downloading the .exe
so you'll still want both
Oh ok
I honestly can't wait when someone makes mods to add more number cards and face cards 😂 than the standard deck I know it's gonna happen
Kinda figured because of that other rogue game that is totally different from this one but similar at the same time
I wonder how far can moders take this game
Like make it 3d somehow 😂
nonononono
Technicly if we wxanted we could rewrite everything in the game sooo
we can do pretty much what we want
So yes they could literally make it 3d
Just need understanding and motivation
I've seen other 2d games get remade to be 3d through mods alone
It's a bit buggy but a fun experience
I know some mods make new jokers but are there any that act similar to blueprint and the other base game card brainstorm..... I know I saw copy cat from that one dudes video where he got infinite jokers
tho I think "love" , is only for 2D games
3d for love2d exists but it's convoluted
Like it be fun if there was a left copy that copies directly to the left (incompatible with blueprint) and a right most brainstorm version?
I'm wondering if any mods have these jokers
if soemeone has any clue, which var etc that I need to change or things I need to do differently plz
Something that's annoying is my laptop won't download some of the mods and automatically isolates them with no option to cancel isolation I have to download it on my phone question is will my laptop isolate them again
It really thinks they are trojan viruses for some reason
im stuck on something, and i dont see whats wrong, can somebody help me?
SMODS.Jokers.j_combatacemercenary.calculate = function(self, context) --if played card is an ace add x1.5 mult if context.individual and context.cardarea == G.play and (context.other_card:get_id() == 14) then return { message = localize{type='variable',key='a_xmult',vars={self.ability.extra.xmult}}, Xmult_mod = self.ability.extra.xmult } end end
For some reason it does not apply the xmult_mod, when I change it to anything else like chips it works without problems
did you declare extra.xmult in Joker's config?
yes
hmmmmm
must have forgot to install something
combatacemercenary = SMODS.Joker:new(
"Combat Ace - Mercenary", "",
{extra={xmult = 1.5}},
{}, "",
1, 5, true, true, true, true
),
hmmm
all it says it requires the mod loader steamodloader
i dont see the problem. my other joker adds 35 chips per played ace, has 1:1 the same code but chips instead of xmult/xmult_mod and works without problems
Hey guys, once i've got a mod installed, I dont have the access to find the mod folder to add another, where can i find it?
%appdata%\Balatro
opps i put the source code in instead my bad lmao
Installing is what I want. I can’t make a mod lol
hey, is there like a tutorial/recommendations for modding here somewhere, both for installing and making mods? was thinking about messing around with custom stuff, now that im done with Completionist+ and Challenges
In case you havent figured it out already, you're supposed to use x_mult instead of Xmult_mod. Xmult_mod is only used in SMODS.calculate_end_of_round(context)
oh yea, that works. thank you 😄
The only thing I'm not happy about is when I modded to add legendary jokers and other jokers it ruined my favorite seed 😂
I've got the same issue did you fix it ?
at the end of the blind it goes back in the deck
even though the card "doesn't exist"
me with the best idea: ||make a dash spider jumpscare joker||
I think that'll be placeholder logo for now
replace the o with 
Hi! I installed the Jelly mods and all its components, but I don't see the challenges, what did I miss?
I have to do all the vanilla ones before I can play the modded ones? really?
Why aren't they unlocked by default?
Isn't there a mod that unlock all challenges?
why did u forgor the unlock all exists 💀
I'm new to the modding scene, I don't know anything
Can you show me how to "unlock all", like you say instead of telling me it exists and not how to do it please?
Is it a mod? Is it a special version of the game I must install? Is it a console command I must type somewhere? How?
Okay, nevermind, I found it, thanks for your help
:/ well me go now
I'm doing it my way by just having the mod that makes it so in-game unlocks still work even if u use seeded runs at least that way I'm having fun while unlocking stuff .... I always get very bad seeds 😂
One time I sat there for an hour trying to get past ante 4
steamodded requires .exe on mac????
uh I can explain
so
unlock all is
wait oh
you found it
cool
Hey, got a quick question: how to I print to the 'lovely' injector console? I'm running Steamodded, and trying to use the standard 'print()' from Lua
how do I remove the mods?
On the main screen you have your current profile in the bottom left corner, you can manage up to 3 profiles there, including unlocking everything on a profile (it disables achievements etc.)
Where can I get localization colors?
😔 not yet
also good morning chat
5pm here but good morning to you too
What is DYN_UI?
probably short for dynamic ui
yea dynamic ui
Okay and what is that?
Okay smartass lol
yeah i presume its the main menu bg?
wild guess but the ui changes colors during blinds and boss blinds
was my first thought
well theyre all listed as the same value
XD
also infarctus when are you calling the dissolve action?
are you caling it during context.individual like me?
might want to get rid of the personal information here
oh yeah my name lol
:p
ehhh

no one saw that totally....
are you using balamod or steamodded?
balamod
we all know braces real name is John Jacob Jingleheimer Schmidt
and that his name is also, infact, my name too
and I totally still don't have it
did you have any mods installed as is though?
i dont know too much about balamod myself but
to be fair, I dont really care about leaking my name
the game can't even load yet so uh
Wait, that's my name too !
the file exists.... idk whats uhp
fun fatc, "oui" in french means "yes" and "ja" in German means "yes" so Ouija is the Yesyes
maybe try deleting balatro.exe and validating steam files again and try again?
Is the creator planning to add Steam Workshop support anytime soon?
where is our balatro save
so i dont lose everything
%appdata%\Balatro
ok
deleting the .exe then validating files will just tell steam to download the .exe again
couldn't i just validate it without deleting it
no
ohk
if youre scared you can just copy the .exe somewhere else
Hi mac, I'm infarctus
that might change things too
also infarctus i tried removing from deck but it seems to not be doing it 😦

im going to do some testing but
i think it might not be getting removed if its a winning hand?
nah not a problem with winning hand
these 4 cards were getting deleted out of a 5 card hand and they're just hovering here
the one that didnt get deleted shuffles in fine
Yes
well thats different now
fyi it's at the end of the blind the game still considers the card valid and puts it in the deck
🤔
like when you beat the blind, the card that were shattered etc get put back in the deck but they're non existant because we deleted them
so it causes this problem
well that makes sense given firch's code works because it happens end of round
at least that's how I understand it
maybe im just calling the remove from deck method wrong
did you try not shattering and removing it from deck ?
do you call like an index ?
I don't think my joker idea for the community jokers is good.... And might be to op
Send it! It’s the only way to know
I did
disclaimer: i just woke up and slapped together some pieces of code to see if anything would change really
if self.ability.name == 'Fortuno' and not context.blueprint and G.GAME.current_round.hands_played == 0 then
local card_to_destroy = context.other_card or nil
if context.other_card:is_face() or context.other_card:get_id() == 14 then
return nil
end
card_to_destroy.getting_sliced = true
card_to_destroy:start_dissolve()
card_to_destroy:remove_from_deck(true)
ease_dollars(self.ability.extra.dollars)
return {
message = localize('$')..self.ability.extra.dollars,
colour = G.C.MONEY,
delay = 0.45,
remove = true,
card = self
}
end```
What do you think about my black seal (even though the seal is green rn and I need to change it)
Redprint (blueprints cousin)
black seal idea is banger
Ooh I like it
Remove the actual cards with black seal would be good idea too
Not just the seal
it could also downgrade the hand it was used in maybe?
i might need to just go the way farst did it
there's also this but already tried it
I tried breaking the crad but it causes problems
how did he do it ?
Downgrading the hand by a specific amount of levels that it was used in could work?
Could you send me a link to your idea?
firch has all the cards that wanted to be deleted to a list
and then end of round iterates through that list
Since the card must be played alone there's not much point
This is a really cool idea
High card is used in a lot of major long run moves
Another thing u could trys is downgrade each card currently in hand down a level
I think it works fine rn.
What do u think itay?
Yeah we might have to...
ah i found it
my savior ?
It had the potential to be very good
I fucking hate doing this lmao
https://github.com/Firch/Bunco/blob/main/Bunco.lua
look at the dread joker here
speak of the devil
hi firch
It looks nice tho
check this thing
Hiiii firch!
this is sick
I love this!
Did you do the art?
here ? :
local original_remove_from_deck = Card.remove_from_deck
function Card:remove_from_deck(from_debuff)
original_remove_from_deck(self, from_debuff)
if self.ability.name == 'Dread' then
for name, level in pairs(self.ability.extra.level_up_list) do
level_up_hand(self, name, true, level * -1)
end
end
end
Yeah that's neat
Oooh, that's nice art, brings back nostalgia
I thought about how we have very little copy jokers in base game and I remembered what copycat does in a modded joker from jellymods so I thought what if a card only takes the red mults of every joker u own and uses it as a mult but when negative joker it does chips
specifically around 366
for i = 1, #self.ability.extra.trash_list do
self.ability.extra.trash_list[i]:start_dissolve()
end
self.ability.extra.trash_list = {}
end
end```
wait
Just made a mod to improve the chance of receiving "The Soul" and "Black Hole" from packs.
I know it seems complicated but really no other copy joker should work with it because that would bug it out bad 😂@cunning silo
what if i just call it again at the end of round
I'm doing trashlist that contains what it deletes

it calculates with joker, I want to do it without jokers lmao
by the way, does anyone know how to do stuff right after all selected cards are discarded?
I don't think the code will be much different tho
context.discard is per discard
Yes
Oh are u doing a joker to make it so when u discard it goes towards your score?
you would need to figure out a way of storing a global trash variable here
and context.after maybe?
I'm not sure but that the first thing that I'd try
not sure if this triggers upon discard tho, i thought it's only upon hand played
i am thinking doing so
can't I local ?
i suppose you could, im just not sure where you'd store a local for seals as a whole
idk
(globals vs locals isnt my strong suit here)
I'm still trying to figure it out
im trying to figure it out without the trash list admittedly
if anything so i could help you out with black seal
the grind continues
(lmao I teached myself lua by modding so I don't think I'm more advanced in that than you)
can I have some context on that?
.
local eval_card_ref = eval_card
function eval_card(card, context)
local fromRef = eval_card_ref(card, context)
if context and context.full_hand and (#context.full_hand or 0)==1 and context.scoring_hand and context.cardarea == G.play and not(context.repetition_only) then
local seal = card:calculate_seal(context)
if seal == 'Black' then
Add_Negative_Random()
G.E_MANAGER:add_event(
Event({
trigger = 'after',
delay = 0.2,
func = function()
--card.getting_sliced = true
--card:start_dissolve({G.C.RED}, nil, 1.6)
--card:remove_from_deck()
--card:remove_from_deck()
--card:shatter()
for k,v in pairs(G.playing_cards) do
if v.seal== 'Black'then
v.seal=nil
end
end
return true
end
})
)
end
end
return fromRef
end```
this is what i mean by "seals" as a whole since this type of black seal would be a sort of shared thing
here's the code rn
Neat 😎 I love how in one sentence I knew exactly what u were gonna do eventually
so what is this supposed to do currently, remove seals from all the cards with black seals?
whats the list that contains the played hand?
is it G.playing_cards?
destroy card originally
but I removed it for now because of the bug
other_card?
nah im trying to get the index of a card in a given playing hand
discard and prediscard actually breaks when i try to do things
hmmm let me look into it
I think so yes
or context.full_hand
that's what I use
I wonder if game generates table with your cards/deck at the start of round
maybe that's why it keeps giving phantom cards
recommended to convert to .ogg
why tho ?
takes less space
mp3 is stinky
and generally considered to be game audio format
oo stinky stinky
the theory is that deleting them during the scoring step DOES destroy them but DOESNT remove them from deck
okay I'll do that
although some games use wav for sfx and oggs for music at the same time
i export all of my audio as .wav

yes wavs are okay
it's just mp3s that are Bad
I'm thinking of making a global play sound that can also be played instead of the base game sound
Like a util file but for sound
yea you didn't properly remove the card
i figured
why properly removing card is such a pain
i was experimenting with the remove_card() method found in ramen and what not
balatro is a lot of lists and id imagine making sure that your lists are properly being removed from is important id reckon
Does anyone have a good way of changing this to black (or other seals that are in teh game to black) ?
sorry to bother you guys but where do i look up how add mods to balatro ?
I got u fam
Ones slightly darker than the other hope this helps
I have a software on my phone that lets me do a lot of stuff with photos
do you use official Joker Black™️?
wait
i think
im getting there
also your phone exported it with large amounts of blur
oh???
His file is smaller than mine so of course it's gonna be bigger
you don't need to have bigger image size tho
with Joker Black™️, I think that's the darkest you can do without breaking the palette
i think i got it???
almost
not the palette but you know what I mean
If you could kindly do the 2x also plz
I don't think I understand
there's a specific color of black that thunk uses
the darkest color in the game (generally speaking) is considered this
the darkest colour in the game isn’t pure black
and the entire games color palette does not (mostly) go darker than that black
there's G.C.Black tho ?
?
sprite-wise
And the spades are black too
Welp my seal is darker because it's black ?
checking it rn, they're not darker but they have higher saturation
you cant call it during invidual
wait
hmm
maybe it was working because of where it was deleting
round 2 of testing
amoung Us
nice
i still dont understand how that affects image collors
idk why it doesn't work x)
me rn
okay so this does at least confirm one thing
deleting cards from your hand is fine
its specifically trying to get them as they score
maybe if i move it to context.before?
nope
context.after ?
what does context.individual do exactly?
context.individual is whats happening during calculating a single scoring card in your hand and repeats for each scoring card
at least thats my understanding of it
so code that would need context.other_card usually goes under context.individual
oh i c
context.individual is also for cards that are still in your hand
oh so steel card also triggers context.individual?
I haven't checked but that would make the most sense yea
so really there's no state for the end of discards?
is there anything that's tied to cards drawn?
like after you finish drawing kind of state?
alright i dont think i can figure out right now how to destroy on play card step, that might just be for someone with more know how than i do
on the bright side
i just do it anyway and then end of round remove them again with the trash list method and it works fine
so i can now finally say i have (mostly) fixed fortuno
didn't @rare shell work this out a couple days ago?
yeah, i was trying to figure out a way of doing it without the trash list though
does the trash list give you dissolve animation?
it does not, but i call it twice
like do you fakely see them get destroyed when played?
once is the initial buggy dissolve that doesnt remove it from deck, and the second time properly removes it end of round
what's wrong with list tho
but i guess you still see they dissolving, sounds close enough at least
as far as im concerned theres no method of "shuffling" your deck in base game so this will have to be a temporary bandaid for now
my concerns are if later on if theres some hypothetical modded jokers that try copying stuff from your full deck during a round
also if you will figure it out maybe you could make a function mod?
@rare shell do you mind showing me your solution again?
look at j_dread
i implemented it slightly differently because of my architecture but as long as you can declare a local trash_list somewhere you're good
you can declare it as local or, if joker, as ability
(which is the same thing anyways but ability is even more "local" I think?)
Is that explanation good enough?
i think so
and for me ? XD
?
how would I go about removing cards from deck with the seal
declaring a trashlist outside and then hook to something that gets called on context.end ?
I don't know if it'll work great since it also uses card:start_dissolve
heyo! random question
i was wondering if there was anywhere i could read the code of vanilla jokers? I want to reverse engineer them in order to make my own
I want more mods to my 11 page mod collection..
so
um
if you have a good mod
please tell me
going to download it when it's released
this gets called but doesn't work
i currently developing a cheese seal mod right now and i don't know how to make it give x69420 mult
function eval_card(card, context)
context = context or {}
if context.cardarea == G.play then
if card.seal == 'Cheese' then
G.E_MANAGER:add_event(Event({
trigger = 'immediate',
delay = 0.2,
func = (function()
local over = false
local edition = poll_edition('aura', nil, true, true)
card:chip_mult(x69420)
card:juice_up(0.3, 0.5)
return true
end)
}))
end
end
return eval_card_ref(card, context)
end
did you look at glass card ?
no
where
you look at source code
in the code of the game ?
Pierrot
lmfao
the jokers are never right
pessimist is my favorite by far
you can open balatro.exe with archiver and for cards there is a file card.lua
thanks
If you really wanna I extracted it here
I don't think you can do that btw
Bro don’t sent that publicly
yes
this is unplayable
Literally makes piracy possible
balatro what are you smoking
I don't see why not ?
how do i change the color of this text, i can change it in the deck list but not here
Going to send this to my relatives who don’t own the game /j
well that's true, but they'll need all the dll, etc which aren't included
but fr why is there "extra gacha pulls" in my gambling save file???
and I already know where I can have copies of the game that aren't legit
aaand all the data for all the jokers are in there? hm
To get the source code you should instead send a program that extracts it from their installed game
tho sending it like that on discord :/
the only game ill pirate is uno online(im legally obligated to tell no i will not and will never pirate and payed for material)
Sending the games source code falls under rule 7
guys do I need to specify joker value or the game automatically creates it based on rarity and such stuff
shop value*
So don’t do that even if you do believe that you are sending it to people who have a copy of the game
does this just block you from restarting?
why would you think that ?
it sends you back 3 antes, and can't go further back than ante 1
that's true lmao
and can't be used ever again
will never do that again
the E joker is still perplexing to me I need explanation
There's a hole in some countries and Reverse Engineering a source code
it's not always considered illegal
where do i find the place to change the color of this text
extracting a zip archive is not reverse engineering
COuld be
also, I can't seem to be able to grasp under what license balatro is
there's the license of every software it uses XD
my game is now severely blue but i still cant change the "Diamonds" color
Chaos
anyone gonna help me?
m_glass = {max = 500, order = 5, name = "Glass Card", set = "Enhanced", pos = {x=5,y=1}, effect = "Glass Card", label = "Glass Card", config = {Xmult = 2, extra = 4}},
Thanks
this is how Glass card is defined
extra is for the chance of breaking
Xmult is for the Xmultiplier
I think
that's true
although this may help
it shouldn't make a difference, it's one of the built in config options.
actually it might, I'm not too familiar with how seals work
im confused
you got the wrong download, get the exe from here https://github.com/UwUDev/balamod/releases/tag/v0.1.11
i downloaded the source files again didnt i
so does this work with the other mod loader
if you mean installing both mod loaders at the same time, i don't recommend it currently.
afaik the game will run with both installed, but some mods may break
everything is blue besides the cards which i can change, i still cant find where i can change the color of the text
Bluetro
real
im trying to get to the last stake on red before moving on, rn im trying to change diamonds to blue but i cant change that specific text
here its fine, but i cant change the color while its in play
i think it's G.C.SUITS.Diamonds if that doesn't work you could try injecting into the function loc_colour
ill try that
#1209513992519946250 message ok why is this seed not working or am i supposed to go passed the fisrt pack lol
Guys check this out #1220084296346501201 message 
1.0.0k changed the behavior of that seed: https://discord.com/channels/1116389027176787968/1210710631515295745
If you downgrade to 1.0.0j it would work
https://www.youtube.com/watch?v=DYh-kYdET0E&t=2845s Hey there, anyone knows which modpack this is?
About Balatro:
Balatro is a deck-building roguelite where you must play poker hands and earn chips to defeat enemy blinds. Enhance your deck of playing cards, buy Jokers to modify each hand you play, and discover new and wild synergies to win!
Try it out here: https://store.steampowered.com/app/2379780/Balatro/
Links - https://wlo.link/@skoot...
jelly mods
if i remember correctly
oh well thats sad
Thanks a lot, is that the only necessary thing to be downloaded or do I need BalaMod aswell?
appreciate it a lot, thanks 
im pretty sure its that mod set because its the only mods that have reverse tarrots
weird
but it eventually starts
is there a list of available joker stats or something to base on while using steammodded jokerapi?
how exactly does this seed looker work lol
You should download the latest version
Reverse-engineering of the game’s code
is people using balamod and steammodded at the same time?
'i thought i did
Latest version should be n
any1 know of a mod that increases slightly chance to find good jokers like rare and negative in shop? also allowing legendaries to show in shop?
i just fixed the issue
So, I have made a new suit, and I can lock/unlock it to whatever I want. I have 2 options right now, but I wanted to ask you which one would you prefer:
- Lock the suit to a specific deck of cards. (Would be more vanilla, but will lock it to specific rules)
- Add a GUI element to enable/disable the suit. It would work on any deck. (Less vanilla, but allows broader use)
i just rerolled roughly 1.2k times for DNA and it took one and a half hours
very good time wasted
plan is to at least add 2. to the steamodded playing card api. Personally, I like the approach of being able to select what suits to play with more, being a sort of expansion to the game as a whole
for some reason i cant downlaod the steamodded injector does anyone know why?
Windows defender doesn't like what it's doing
disable it or use lovely
i did disable it
lol
Seed?




