#⚙・modding-general
1 messages · Page 21 of 1
understood
😉
The new download?
Wait brb
Welp, you might have to downgrade to v1.5
wa wa
Still gonna hit 0 out of 25 Bloodstone procs with my luck 
I was able to dig it out from the steammodded stuff. I don't usually work with LUA so it's just a bit funky but it's starting to click
noice. it works.
If a drawn card would make one of the 5 highest base-score hand types, 1 in 3 chance the card is drawn normally (else discarded).
The boss description text is... long... but I got the effect working
@coral shale your evaluate hand function messes up my black seal
you even simulate them being played
Added two new suits
Yeah, it's bound to happen. I'm not currently looking to be compatible with mods. Trying to get vanilla version working 😅

Feel free to open an issue on GitHub to keep me reminded
I'm gonna try and see what I can add to counteract that
tho it could be an issue later
What does the seal do?
Hmmm, I'm copying and restoring the jokers and the deck, so I'm not sure why the effects would persist
Nah, it's cos you change the playing_cards and not deck
I'm gonna ask the person testing to remove it to see
I can maybe change the deck instead ?
I'm gonna try with the G.deck
question: does the tarot that copies the last played tarot create a copy of this item?
I know that's a seal, I meant the "thing that adds that seal to cards"
it doesn't exist
fair nuff
it's written : "can only be found in standard pack"
Wasn't sure if that tooltip was of "a card with the seal" or "a card that grants this seal to a card"
because it pops up on both (like how if you look at Glass Joker it'll tell you what a Glass Card does)
Yes, but you only gave me the one, so I lacked the other context
how would you do with G.deck ?
idk the difference between deck and playing_cards
It's probably a bug on my end
well, when I go G.deck instead of G.playing_cards it crashes my game 🙂
also I delay the trigger by 0.2 this could also cause some problem
Can anyone help me figure out why jellymod isnt loading textures?
So how does one exactly put mods into the game
or lovely
or lovely & steamodded installation
orbalamod
I recommend lovely & steamodded to bypass antivirus
Where's a good place to start learning how to make mods / learn Lua? 
@iron juniper Figure out boolean operatives/logic and then just read other peoples code and cobble it together until it works
So you don't have to start from scratch, the first part will help you just read code in general, like Cypher from Matrix, can't really write it but will be able to pick it apart and know what part does what so you can put it on your own
Hi, I'm using https://discord.com/channels/1116389027176787968/1221215713910325330 in order to make Voucher about it
I manage to have it working when you buy voucher, and upgrade to "Smart Guy" which is the exact score (lucky card etc)
I looked in JellyVouchers to create mine, and incorporate to DVPreview like this
local apply_to_run_ref = Card.apply_to_run
function Card:apply_to_run(center)
local center_table = {
name = center and center.name or self and self.ability.name
}
if center_table.name == "Calculator" then
DV.PRE.enabled = true
DV.PRE.hide_face_down = true
DV.PRE.show_min_max = true
elseif center_table.name == "Smart Guy" then
DV.PRE.enabled = true
DV.PRE.hide_face_down = false
DV.PRE.show_min_max = false
end
apply_to_run_ref(self, center)
end```
But if you launch another game, preview score is still showing...so I added a little "else DV.PRE.enabled = false"
But now, nothing appears when we buy Calculator voucher
Am I using the wrong function to see for owned Vouchers ?
I tried sending you a DM but you don't accept them, so copying here: whenever a player loads a run, you probably need to check if Calculator or Smart Guy are in his jokers vouchers and then enable/disable my mod accordingly.
oops
done for DM
For people who wants to debug, here is the custom deck and file with asset for Vouchers
Can someone help me to install lovely and to get it going ? It's my first time dealing with mod installation and i'm kinda lost...
copy dwmapi64.dll into balatro folder (steam -> right click balatro -> properties -> installed files -> browse)
run game for first time
done
problem solved and working
I want to hear some opinions before giving it a shot, how hard do you think it'll be to create a funny bank joker? "If any other card would gain chips or mult, this card gains it instead (Starts with 0 chips and 0 mult)" I feel it'd have some interesting interactions with runner, square, wee joker, castle, green joker, ride the bus. Where eventually you'd sell those cards and keep a single joker with high mult and chips in one.
Actually an intriguing idea, especially if it would be retroactive
Easy-ish to implement in source, but tricky to implement as a mod.. from first thoughts
im cookin something. too bad i have no idea how to code. guess ill have to learn.
who summoned the 18498735 unnamed project moon fans
or not tricky but tedious bc you'd have to account for every upgradeable joker
is there a way to get the game.love file?
i just use 7zip(winrar doesnt work for some reason) to unzip the .exe file
im looking for the .love file, not the decompressed game
Anyway to improve mods so that they save your deck? I had a run with my custom Exodia deck on Ante 16 Big Blind; I was about to lose, backed out, reloaded the save, and my deck went back to base! I would've won the blind if the deck didn't reset.
I also had $1000+ with a Lucky Cat run.
It was INSANE.
(disclaimer: do not redistribute balatro)
im trying to compile balatro to js with love.js and im not very successful
don't
Why do the files available in the modding chat doesn't work when I upload them in the game ?
Do I have to do something with the file ?
what files?
any way to check if achievements are enabled?
The .zip files that you can upload. Do I have to modify them to be able to execute them in the game ?
in game
extract them in the mods folder
And it's supposed to load in the game even if it's in a file format ?
Cause I extracted my file in the mods folder as you said and it still isn't loading
in the game
the modloader 'runs' the mods for you when you launch the game
do you have the mod loader properly installed?
as in, do you see the MODS option when you launch the game
alright. can you show your mods folder?
try lowercase mods
inside the mods folder
also, i just realized how cluttered my roaming/balatro folder is, since i use that as my vscode workspace
yea you dont need to launch anything in the mods folder
that one doesn't have a script
Added a new custom deck!
https://discord.com/channels/1116389027176787968/1220976513286148126
so you'll need to directly put the assets into the .exe file
maybe you have a mod that worked on your game that you could share me so that I could try to lauch the game with it on my side ?
open Balatro.exe with specifically 7zip, drag the 1x and 2x folders into the resources\textures folder of the .exe
i cannot redistribute the modified exe to you
Can you use Balamod and Steamodded at once?
if anything breaks we will not be able to provide support
It will screw things up badly. I learned that the hard way.
so try at your own risk
So, one question, Balamod has a very neat mod called "Magic Hands", is there any alternative of this in Steamodded?
these textures can be loaded dynamically as well, right?
I've got no idea how texturing works in this engine
gotcha
if there's interest I can look into a texture injector, but it seems like existing solutions are already pretty good
I really need to fix the new card sprite issue XD
And also the issue I had with message titles and stuff
Yeah I’ll get on that this evening
Thorn vines for wildcards, don't know why but never liked the smear
u should do blue red black like 3D? But Good idea
I had to do something because I was trying things out for superposition
is it taboo to copy-paste the achievements enabler in my mod???
what language are the shaders in? i'd like to make some more for my mod but i have NO clue what language this is.
sorta? why force whoever is using your mod to have achievements enabled?
like theres just no reason to do it
GLSL
thank you!
Next time just post a part of the code into chatgpt
It could tell you the same thing
Chatgpt bad
Project666 wants to build a profile from your chatgpt based on the code you look up becareful lol hes coming for you
YES! Superposition now wraps straights around, the balance has been restored.
unsure how useful that'd be tbh
Not a lot, but helps trigger its own condition, and with that I might consider picking it up if shortcut or four fingers isn't around whereas normally it's just dead draw
Hi so im setting up for modding and im using a guide listed in the modding thingy but i cannot find dwmapi.dll to set up my directory.
I have the other steps followed but i seem to be overlooking or missing something for this one
I feel like a genius for figuring out i missed a download oof
chat is there a good field for initiatizing a variable to a random that would occur at the start of the run but not like during reloading an existing run
jonker in question
i just want to make the given hand random each time a run is initalized
wait wrong chat whoops
(code works otherwise)
also please dont beat me to death for the joke my friend sent me the idea
uhhhhh look how to do list does it?

the way to do list does it is have it be declared under set_ability
chat how do i localize a function again
local set_abilityref = Card.set_ability
function Card:set_ability(center, initial, delay_sprites)
if self.ability.name == "Impractical Joker" then
stuff
end
end``` this is the snippet i have so far but i feel like im missing something after the first if loop
oh i need to pass it to itself
🦆
well actuall hmmm
or it just doesnt work this way
If i uninstall mods and load the profile they were used on will it still be okay? trying to find out if i can play with mods on my main profile
it will crash on deck selection if you were last using a modded deck and you uninstall said modded deck
since it tries to bring you to your last played deck
I just did profile 2 with unlock all fuggit
are there any mods for extra game speed options?
modding this game seems fun 
Any one know if theres a mod to fix my horrid rng
Yeah the mod is called git gud

You can download my hand size mod and set it to 52 and just royal flush your way to later levels
just get debug and spawn whatever joker you want
I was super excited when I thought I was going to break the jokers by debugging and spawning the copy the joker to the right and copy the left most joker as my two only jokers. No explosion or anything. Many sad times
Would have been nice if it acknowledged trying to go infinite
(balance to be determined lol)
Running my xMultiplier Jokers deck. I broke the Observatory tag (it doesn't work anymore), and each deck is at least level 80!
Maybe X1.2? Would be 2.5 before anything else and build up quickly with retriggers
there is the fact that it only scales on unugraded cards and its when those cards score. but i can tweak it ofc.
I like the idea, but isn’t this a little strong?
yea thats what i was figuring lol just finding a good number is gonna be weird
Perhaps make it rare instead of uncommon
Yeah but in a normal run one will always have more cards without enhancements than with, for me at least 1.4 is like getting X5 on every round
Uncommon seems fine to me, it's a "simple" joker after all
simple joker with incredible art wowieee
its meant to be a sorta conceptual analogue to joker stencil, but giving up joker slots is more of a price to pay than giving up upgrading cards
(and the way the multiplier stacks on itself incorporates on that too)
I can see why, I can't imagine even trying to mess with the draw
Ok I see, it has a lower ceiling since you can't put red seals or mult enhacements on the cards
And those are what makes other jokers like bloodstone pop like they do
you could play mult cards before unupgraded cards, but red seal yes
(you just wouldnt get the proc on the mult card)
Got all the vouchers, including the ones from the Jelly mod. That's game for me! I need to sleep!
only took me about 1000 lines to make it work XD
That's right @sleek granite. Celebration time!
if i could make a suggestion: instead of (x1.4) when unenhanced cards are scored, make it (x3) if played card and hand do not contain enhanced cards
maybe even more, if you think x3 doesn't compensate for the inability to use steel or gold crds
That's x3 for free if you're playing high card. Their original idea seemed better because it forces you to find five cards without enhancements to get full effect.
There's more tension there
your card text can rival mine in length
using ultimate random to win
pretty!
I think we need some guideline if we wanna have the best chance of our mod working with each other
Hello, is there a way to unlock all challenges in a mod ?
there's an unlock all button with no modding involved...
just looked at the challenges code because i just got reminded
the unlocks are directly tied to challenges completed
so there's no way to unlock modded challenges without unlocking everything
i want to do something for all the custom decks that don't come with their own card back texture
if i were to make a small buttload of semi-generic playing card backs, would me having a thread with them here be used and appreciated?
I have custom deck backs in my API
that's not quite what i was meaning
sure, prolly here or #🎨・fan-art
then you can reach out to the mods without custom back textures
i've actually made a few already, and it seems like my pixeling skills might be put to good use with it lol
huh
i guess true was supposed to be the default value here
I think the intention is for it to be a nil check using the falsiness of nil, except that doesn't really work with bools
doesn't work to differentiate nil and false
(eternal_compat == nil) and true or eternal_compat would do that
so true
I need ideas for atleast 6 other "Cosmic" jokers for my mod
should they be called constellations?
looks like they're all based on western zodiac star signs
I mean they are zodiac constellations, but the name for the theme is Cosmic
never mind figured it out hey check out this cool joker that i definitely figured out quickly and wasn't a huge pain
Is there documentation for the game code yet? If not, I'm working on my own and I'd be happy to collaborate
not directly, but it's kind of a difficult topic with not being allowed to redistribute source code and all that
Right. Mine is pretty general and more of an overview of the structure
no code is copied outside of function/class prototypes
Does modding disable steam achievements?
by default, yes
but you can re-enable them
I figured, thanks
how to make texture pack of planets?
it's not even 1/4 now it's 1/9001 i swear
how to decompile balatro?
Balamod?
7zip
i think balamod has a command argument to decompile it
Balatro.exe is literally just the love2d executable and a zip file concatentated together
thats actually true, i didn't know that
thanks!
i'm sorry if i'm the billionth person asking this, but does anyone have any resources on how to create a mod for this game? trying to reverse engineer other mods left me with nothing and an aching head
steamodded has example mods, but other than that its mostly trial and error
https://github.com/Steamopollys/Steamodded/tree/main/example_mods
Take a "easy" one if you want too :
https://github.com/betmma/my_balatro_mods/blob/main/Betmma_Jokers/Betmma_Jokers.lua
some mods about game Balatro. Use Steamodded (https://github.com/Steamopollys/Steamodded) to load them. - betmma/my_balatro_mods
i'll definitely go check those out
smh didn't link mine which was the one everyone used for their mods lma
I think I finally finished the sprites for Hametsus natural disaster jokers
Send the mod loader you're using, the crash message and your mod list
uh
i got no mods
and i dont know what you mean by loader
steamodded?
crash message
Do we not have tsunami?
I dont think so, but I can make a sprite when Hametsu wants to add a tsunami
anyone able to help me with this?
What have you done tho? Just injecting the mod loader and that’s it?
Hey guys, got a quesion. My kinda busted run is kinda crashed. should i restart the game or buy a new pc? Or just reduce the hand size to i dunno 150 instead of 250?
Maybe don't have 120 jokers and 270 cards in hand
No wonder it's crashing
This is basically a balatro stress test
Excactly! that is my goal
So why you're telling us it's crashing
local arithmectic_vouchers = {
v_arithmetic = {order = 3, discovered = true, unlocked = true, available = true, cost = 10, name = "Arithmetic", pos = {x=0,y=0}, set = "Voucher", config = {}},
v_calculous = {order = 4, discovered = true, unlocked = true, available = true, cost = 10, name = "Calculus", pos = {x=0,y=1}, set = "Voucher", config = {}, requires = {'v_arithmetic'}},
}
-- Add sprites
SMODS.Sprite:new("CalculatorVoucher", SMODS.findModByID("CalculatorVoucher").path, "v_arithmetic.png", 71, 95, "asset_atli")
:register()
addVouchersToPools(arithmectic_vouchers, "CalculatorVoucher")
end
function addVouchersToPools(voucherTable, atlas)
-- Add Jokers to center
for k, v in pairsByOrder(voucherTable) do
v.key = k
if atlas then v.atlas = atlas end
v.order = table_length(G.P_CENTER_POOLS['Voucher']) + v.order
G.P_CENTERS[k] = v
table.insert(G.P_CENTER_POOLS['Voucher'], v)
end
table.sort(G.P_CENTER_POOLS["Voucher"], function(a, b)
return a.order < b.order
end)
end```
Because order 1 & 2 make this picture
If that's what your planning to do
So i just tested the challenge from the mod desinger, Game crashed at 200 Kings, 70 is possibly. So what is actually the cap xD
tbh i think you should have the entire thing be upside down, the face being upright looks weird
and the contrast is too high
lmao. Might need a downside, even for a rare, I'll try with some normal runs
today on perfectly balanced mods
Yeah, just that. Sorry for disappearing
looks good to me
average 8 blueprint 2 oops all 6s setup.
blueprint effect is bugged too, it creates way too many cards, kinda want to make it blueprint incompatible now. Even then, replacing your broken glass cards is still insane, I'll think of some downside
How many glass cards do you want? Me: Yes
yo, anyone able to help me with this issue?
well, you could try to reset everything and try to inject the modloader again
what modloader are you running and what mods are you running
he has 0 mods, atleast thats what he said before
and the modloader?
I assume steammodded is that?
does it look like this?
I can think of several options:
- Only basic rank 13 cards are generated, no glass ones. So you're just trading your glass cards for potential late game 5oak consistency but I think that's pretty weak. You need a lot of these cards to achieve consistency, getting one or two cards will actually hurt you.
- Every time a glass card breaks, you get some sort of penalty. You obtain some powerful glass cards with the same rank but it comes at a cost.
tbf I'm not even sure it would be good in most normal runs. It has a lot of potential for endless consistency but getting there without blueprint would be difficult
thats steamodded then, yes
try to reinstall balatro and try installing the modloader again
specifically try first with just deleting balatro.exe and verifying game files
frick no
yeah "Balatro" is Balatro.exe, you just have file extensions turned off
you can download them manually without a launcher if you want to, plus my mods are still on my github too.
okay phew
I had bad experiences with Overwolf and thunderstore and places like that, so I don't trust them at all
we should upload all of our mods over a hamachi server instead
Are you nuts? lol

lmao
I really should build a better debugger XD
like, a debug console you don't have to close and re-open every time you wanna debug
And a heads up too that it's totally fine to use an adblock on the site (as long as it's ublock origin
) and r2modman, which we maintain to ensure people have options if they don't like OW / TMM.
r2modman is open source and totally ad free, I prefer it 10000x over TMM.
https://github.com/ebkr/r2modmanPlus/ MIT licensed, freely auditable if you have concerns
Please for the LOVE of JIMBO, don't try to convince me to use that site
this reads like an ad
so does the messages you sent below that
they work as a dev for thunderstore
ah so it is an ad
For $19.99, you not only get 1 sketchy company, but TWO for the price of one!
Yeah no.
oh gosh
are you really doing this right now
"one of the literal devs" most of us in here are devs in some way
i mean devs of thunderstore
I hate thunderstore
and i'm saying it was an ad
it's still advertising lmao
sharing that the option exists is one thing
that message up there is another
you realize that r2modman support has been like
actively discussed and developed for weeks
homies out here trying to make it easier for users of the given modloader
I'm not even saying it's a bad thing
i think calling them linking to the homepage of the site an ad very disingenious
its the same as if someone linked balamod/steamodded/ or any other form of utility
anyways i'm gonna play balatro with like 50 joker mods on
I don't care about the link at all
it's more the message itself
anyways no need to start a fight over this, it's fine to either care or not care about it
yeah no need for fights
just saying to be more kind to developers of other things is all
time to see how fast balatro dies
lol
someone earlier tried loading over 300 jokers
that was probably me
oh yeah, no doubt about that then lol
is this enough jonklers yet guys?
no
need at least 420
That's gonna double the initial amount lol
gee golly I gotta look for more
dw I’m cooking some (kinda mid) jonklers
You’ll get like
5 more
xdd
man I don't even know how to respond to all of that
probably better not to
some people want walled gardens
¯_(ツ)_/¯
not much you can do
I don't
me neither, we agree on that
nobody really does here
yeah, nothing wrong with agreeing to disagree
best thing you can do is ignore it all and keep contributing
we only wall this community off to true gamblers though 💯
what if there were fluorescent cards?
walled gardens explode communities on the regular, I don't want that. you need options.
Oh no
you know, glow-in-the-dark
they be cookin up a new edition
Think so
How would they work effect wise?
lord knows i will be able to sleep soundly when r2modman support comes out
that way i wont have to see "erm my antivirus is going off!" every day
2x chips 
I have no idea yet, but really wanted to think of new possible editions
like this
hm... with common and uncommon suit jokers done, I'll need spectrum jokers as well I guess
it's basically done, just waiting on a review. the pr is on the repo if you want to keep track of it
youre doing gods work
what the hell is a spectrum joker
a joker specific to the spectrum hand type
What is r2modman?
this sounds broken as hell, in other news i'm gonna add this mod
multi-game mod manager
mutli-game mod manager with a built in mod database on thunderstore.io i should clarify
a bit improved effects, other jokers
which jokers can I check with this?
One thing I know about editions is that it's some kind of shader
it also seems like you can pick legendary jokers for the first shop
yeah yeah that doesn't scare me
as long as someone can show me how to add em
firch the glsl master
implementation of the edition itself scares me
I had some expirience with shaders before (in terraria and minecraft)
i would say check out jellymod but i dont think jellymod actually has an edition with a shader? just textures
yeah I checked it earlier and there's no editions
oh right those would be enhancements
hmm
you could maybe try some sort of reverse engineering with the silverseal mod or something like that to see how seals are implemented, then populated, and try to frankenstein it with edition code instead
seals is also a different thing
I don't think it is what I need
you'd be the first person to figure that out
looking pretty good (added some more mods)
something messed up the way the scoring works
with plasma
so what exactly is the goal in looking for edition code? just where to start in general?
im trying to pour through the game code myself to see if i can offer more than just vague directions
im trying to even find where the shaders are paired to the editions tbh
I tried injecting into edition code some time ago but it failed miserably
uhhh
i see the declaration code in game.lua
or rather the config declaration
also you know it's good when I can't even continue a run without the game crashing
lol
it looks like editions are done in Card:draw, with the function draw_shader after checking for the appropriate edition (set using Card:set_edition naturally).
negative seems slightly unique in that it also hijacks the texture rendering, for obvious reasons
draw a card, draw a picture, draw your weapon
is there a fourth draw though
no
drawing and quartering....?
it's technically a drawing game for being a card game :)
yeah it crashed pretty quickly just went to 2 mods, a benefit at beginning mod and mika's mod
I'm trying to rework all the low tier jokers rather than adding new ones, what do you guys think Seance should do? I'm thinking of changing it from triggering on Straight Flushes to triggering on Four of a kind or 5oak, since spectral cards mostly help with those builds
make it trigger on all the non-hidden high end hands
actually include hidden
but maybe like
flush house
always gotta be careful about being able to hold a spectral card
4oaK/5oaK seems trivial compared to straight flush and i think the point is that theres a hoop you have to go through
My man Metherul is just excited to see the community benefit from the tooling we work on. If we'd want to advertise I'd contact this Discord servers mods first.
In many (almost all) of the communities TS has, modders dislike stuff like ads, pay walling or making free users experience worse (understandably). That's most likely the reason why TS devs (in this dc server me & metherul) are pretty fast to encourage people to use r2modman if they feel any negative feelings from ads or overwolf.
As this server doesn't allow self-promotion or advertising, I will not go on about how we want to pay for all of these development/server costs in the future, but if anyone has questions I'd be happy to answer them in DMs. (Or a thread on this message, if that's alright with the mods
)
Thing is if I'm already building for straight flushes, most spectral cards would make my build worse
So there's never a point to picking up seance
They don't even sell for that much money
Yeah, it's not worth the energy to argue too much usually. But then again there's the silent majority that might benefit from the information/clarifications 
how do i change the main jokers as a mod
depends on what you want to change
I'd start by looking for where the functionality you want to change lives on the game's code, and make your changes as necessary
it was a joke
An interesting idea for a deck would be that you can see only 5 different jokers throughout the entire run (legendary jokers unaffected) but they can appear any number of times
these jokers being the first 5 ones you happen to see?
that seems like a huge hold r simulator tbh
each joker would count as the same rarity so same chance i guess
so you would have to work with what you get xd
but things like showman obviously would be excluded lol
the meta would just be to reset until you get some good uncommon/rare synergies
Sounds more like a challenge run than a deck
since there's not gonna be anything new to see after ante 1, that means a lot of resetting
Would be fun if you could only find food jokers, so you need to keep buying popcorn, ice cream, ramen to keep your chips up
i just wanna change the jokers (descryption/ abilities)
Like a joker who take the debuff of this card ? And keep it
Interesting 🤔
Gluttony Joker 🤣
I meant for the deck where you can only find the same 5 jokers through the whole run. Imo they'd have to be the food jokers to make it both viable and fun.
That someone suggested higher up
If you just want to get started, open the Balatro.exe with 7zip, joker abilities are in card.lua, joker descriptions are in localization > en-us.lua
I mean that's one way to get around making it a reset fest, just fix the joker pool
i know where it is and how to change it i just wanna know how to overide the code using a mod
Does anyone know where the text gets changed for Mult Cards?
I wanna give mult to base cards as well and it's applying it to the score, but it's not showing up in the card description at all
So it looks like there's no context.hand_drawn 🤔 . context.first_hand_drawn is a thing (used by certificate for example) but there's nothing for subsequent hands, and this is something I'd need for a joker. Not sure how difficult creating a new context would be
maybe I should check how boss blinds work since bosses like cerulean bell do stuff each time cards are drawn
just a question before i get too serious: is the indestructible nature of an eternal joker hard-coded, or can it be overridden by a mod's coding?
i'm asking because i'm thinking about a mod concept involving some joker card art i made awhile back: fused jokers.
with love2d anything is possible
that's what i thought; i just wanted to be sure it was possible in the game's engine before i bothered trying
so basically, having two specific jokers -- usually ones with very similar triggers, effects, or aesthetics -- would combine them into a new joker. naturally, this would technically involve them being destroyed, even if they were eternal; though i would make the resulting fusion eternal if either material was.
I want to clarify - anything is technically possible, but the hard part is making sure it's plausable lol
Well, it's finally time to show you guys the project me and @rare shell have been working on: Codex Arcanum!!!
Codex Arcanum adds a new type of consumable card: Alchemical Cards.
During a blind, use these cards to gain temporary hands and discards, get more cards, or even lower the blind itself!
There will be 7 alchemical cards at first, but I would love to hear your opinions and ideas for more cards/jokers/anything!
Example of the Terra alchemical: https://gyazo.com/4916359a7deba606805a2e5725850ae1.mp4
To further discuss the mod, we can talk about it at #1221916334372290620
i love this so much omg
trojan script?
it always says that
sketchy
steammodded is not liked by windows defender
try the powershell injector
big microsoft hates steammodded
that already is the powershell injector
or just use lovely
Forgot to show it, This is how the main menu looks rn
(alchemical cards don't have the count thingy for now)
Does Steamodded disable achievements or anything?
yes
Ah, shit
theres a mod you can have to enable them though
if you just wanna use a texture or something
is there any documentation for mod hooks that i'm just missing?
if you can't find what you need then you'll likely need to write a lovely patch
what are you missing?
oh, i was just looking for how to find the player's current jokers; but i think studying someone else's code has helped me find it
for i = 1, #G.jokers.cards do
this would be the first line for something that looks through that, right?
Check out how blueprint does it
so fibanachi is an italian mathatician and there is a card named after him......can we have davinchi and gallaleo
fibonacci* da vinci* galileo*
Da vinci*
fun fact: this is what your deck looks like before the deck sprite is placed above it
buncha cards
oh yeah I kinda did this earlier by accident
well I just rendered the card on top of the deck again
the reason why it's like that I suspect is so the deck back being raised up from having a lot of cards works
and it getting lowered down when you draw cards
Could be a deck of seeing the next card you'd draw
somebody knows what this "r" in the config refers to?
{n=G.UIT.R, config={align = "cm", minw = 2.8, minh = 1, r = 0,15, colour = G.C.PURPLE, hover = true, shadow = true}}
If you remember the EXTREME deck welp...
hmm no thats not quite right
(perkeo is now drag and droppable, the magician tarot is now where the jokers should be, and there are a LOT of them)
for what it is worth the cards still work
Impossible Deck
new deck idea, swap consumable and joker slots
but thats the R for row from the UIT i mean, the lowercase r inside the config table
or is it related?
uh not sure
seems to be some extra stuff for rendering
possible if its selectable (?)
@exotic shadow like clickable you mean?
how long did it take you to do it?
idk
a full day, with like 1000 lines of code LOL
i tried, i changed it from 0.1 to 1 and i didnt see literally anything change, idk at first i thought it was maybe the roundness of the corners
but doesnt seem like it
reading the code for the UI of this game melts my eyes
try setting it to 1000 and see what happens
and if that looks normal try setting it to -1000 or 0
i wish icould do that xD
ill change it to 1000 first
1 sec
literally nothing, ill change it to -10 now
the purple button is mine to avoid confussion
try maybe 0
I see nothing wrong here
Literally just the vanilla game
so, does anyone here know which card is being added when a joker is bought via context.adding_to_deck? and is it that or context.added_to_deck?
trying to figure out how to make it check which joker was just bought, for the specific purpose of seeing if you have two jokers that can fuse; as per my previous idea.
I'm sorry I'm not Italian
me neither
dayum that's so cool
also, do custom functions need any fancy headers?
really want to put the "fuse cards" code into its own function
nope, just make sure its name isn't used anywhere else already, everything is global by default in lua
you better make the function signature unique in case anyone else want to "fuse cards" and calls their function "fuse_card"
otherwise no
I think the context you mean is context.playing_card_added, which is what hologram uses and is specific to playing cards
ah; so what context would i be looking for to check what's being purchased?
there is however also an unused context.buying_card, which triggers when a joker is bought (or voucher redeemed, I'm not sure if it activates on buffoon packs and judgement/wraith/soul though)
the card being bought would simply be referenced as context.card
seems like judgement and similar cards don't trigger this, but you could surely add it
oh shit i broke straights again
gays be like
that one was infuriating
a table has no length, but tables and arrays are actually the same thing, so it looked all fine
that's what I get for not testing ig
I tried using buying card but it didn't seem to trigger for me
does anyone know how the shop is seeded?
The idea is that any of the "Destroy a random joker" effects would now target this one instead, ceremonial dagger too. I want to make it so it shows "Gored!" when destroyed.
interresting !
If I use print on my LUA script (steammoded) where do I see it on game ?
you don't
interresting...so, how can I know what context is inside ?
there's sendDebugMessage though, which you can read out with the debug window included in the steamodded code
for context, you can use something like vscode global search to see where the function gets called from and what's passed to it
How activate it please ?
it's a python script called tk_debug_window.py
Yeah, that's what I did, but, it's looks like a lot of information is stocked in it, I wanted to print/debugmessage in order to watch array
call sendDebugMessage in your code, it will show up in the debug window when it's run
it's not the most practical but best we have for the moment, you'll just need to scroll to the bottom
wait, can i not pass the "self" value into a custom function?
you can - but you're likely getting notation mixed up
obj:func(args) is syntactic sugar for obj.func(self, args)
if you aren't using colon notation, you must specify self as the first argument
but you must not if using colon notation
I see..it's a LOT of lines...
I guess, first, I've to comment all sendDebugMessage in all mod I use xD
or make a clean folder and only mine in it
-- for overriding
local original = obj.func
function obj:func(args)
original(self, args)
-- other code
end
which mod loader mod is better?
afaik steammoded has more mods but they both do different things
hmm
im pretty sure its just because steamoded has been around longer but im pretty new to this stuff so idrk
https://hastebin.com/share/jajisaseya.lua this is the fusion function i made, and the part of my calculatejoker code that should be checking if you buy smiley or scary face, and run the code that combines the jokers into j_creepy, or "Creepy Face"
i hope it's obvious that i have zero experience in Love2D and was hoping that my knowledge of languages like Java and C# could translate decently
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
question dose anyone have a idea witch mod this is ?
Jellymod
im mostly looking for something that i can turn on/off mods at any time
Why is my joker not giving xmult
legend
i havent tried lovely, but i dont think thats a thing yet
hmm
combo of the century
easy flush 5 machine
oh and I just got hack
so now every card retriggers
esp if u get it early so u can rack up planet cards
isnt base flush 5 like 100x500 or smthn?
I got it quite late
so my flush five is only level 2
I just got reverse high priestess into flush five so now it's level 3
I lost still sadly
I did not get to ante 8
damn flush 5 gives less then i remember
this is so cursed
what does wee joker do again?
and with double vision wee joker be smokin that stuff
thats busted lol
I sold even steven for pessimist but he only gave me 1 negative for 2 hands
big bruh moment
depends on the stuff you want
the .lua is the mods
all of those are steammoded mods
not steammoded if thats what ur trying to download
argh
do i download these?
download the steammoded_injector than drag and drop the baltro .exe onto it
not the ps one
is the seed finder bugged for anyone else atm? im currently having to edit the code to get it to move on to the next error
downloaded but my pc finds the file as a virus so i cant put balatro in it
💀
gotta let it through antivirus
okay so now the cards destroy themselves properly
or turn antivirus off
mhm
tried to turn off the windows defender and it didnt work
hm i dont remember how i did it
not to say anything but its quite weird to know that the injector has a trojan
yea but im guessing if it had any malicious software than someone woulda said somehting
it's only malicious thing is stealing all of your time with mods from the fun 
because that's his name
[he is secretly gay]
doesnt it just say joker on the card
yes but
bruh, the mod loader? i guess didnt work
huh?
mhm
Y'all have made some cool frickin mods so far 
the injector pretty much didnt work for me
golden jimbo 
.w.
seems legit
i might be stupid
Steamodded?
yup
can't afford it tho
hm idk thats what i did
I'd probably verify and start with a fresh Balatro exe, then drag Balatro exe onto Steamodded exe
😵
Antivirus might panic a bit 
nah, everything is turned off
imagine you right click on an item and you see what mod it is from :)
balatro is giving me three random jokers
when i attempt to combine smiley face with scary face
would love that
i dont see any changes in files too
you have to have a folder called "Mods"
Try launching and closing the game
did
make a folder in roaming for balatro called "Mods"
then check
Give me a sec, I'll make sure I'm not being dumb myself here
tried and it didnt do anything
do you have to run the injector_ps one?
ill try
I used steamodded_injector.exe and it works fine for me
same
Dragging Balatro.exe onto steamodded_injector.exe
although my antivirus does try to delete steammodded like every week
I recommend using Lovely
Antivirus just wants a lil snackrifice as a treat 🗡️
truth
should be able to open steam then do the thing to open game files
maybe i have a wrong balatro file or sum
bad news coding nightmare?
Right click on Balatro in Steam: Manage -> Browse Local Files
yeah.
it gives three of them for some reason, when i only want it to give one
probably because i need to throw a return at some point
and the localization copied over from scholar doesn't work like i was hoping it would
@normal onyx This is the link with instructions to install Steamodded with Lovely https://discord.com/channels/1116389027176787968/1217867725532041369
dont steammoded mods work with lovely?
got it
somehow
THERE we go
the card is now properly added, now that i've checked that the bought card isn't dissolving
now i've just got to get the localization working and i'm in business
Hard to get here...but I'm working with it, thanks again ❤️
Kinda, it's more Steamodded that works with Lovely than the mods themself
Lovely load Steamodded and Steamodded handle the mods
@iron onyx what are you working on, I'm super curious...
a "joker fusion" idea i've had since before i knew this game could be modded
here's one of them
the edition and eternal preservation code isn't working rn but
oh well
the idea is, obtaining a certain pair of jokers will automatically combine them, compositing both their effects into a single card
and once it's fully done, it will retain the eternal property and the highest-tier edition
yea i was just gonna ask if ur mod is in #1209506514763522108 so i could check it out
seems pretty cool
it's something i'm thinking of, yes
is it in early development or can i download it
it's still in beta, unfortunately
Didn't Mika or Jelly make a Straight Nate? You could probably use that sprite if you wanted
gg very good idea though
i need to figure out how to make the game look at the editions of both material cards
as well as the eternal status of either
because i want it to retain eternal status if one of the cards used was
yea that sounds tricky
as well as editions in the order:
- negative
- polychrome
- holographic
- foil
if both have an edition, the higher tier one is chosen
or, should be
wait so is there gonna be a way to fuse them or are they just gonna spawn
you fuse them by buying both of the fusion's materials in the smae run
if that can help for eternal ?
i already have lushutil
So... I got two problems
so for creepy face, you buy both smiley face and scary face
oo yh makes sense
- Don't know how to give xmult to my joker
- Don't know how I'm gonna get the "If Glass Card, then destroy after score"
@iron onyx any reason you can't just delete both and run through an algorithm to create the new one from the stored stats of the other two?
that's what i've already gotten done
Who put the 👀 emote?
buying them both deletes both, and spawns the fusion
and the fusion works as it's supposed to
now it's just passing on the best edition from both cards and eternal statuses
which i do have code for
but i guess it's not working?
oh wait
that's the problem
the eternal code wouldn't run if neither material had an edition
now that's fixed
So yeah, keep trying to figure out AT LEAST THE XMULT but nope
every attempt has no xmult
@hardy brook did you add anything to game.lua or just in the file you screenshotted?
Nothing in game.lua is changed
ok that might be part of our problem
just a sec, lemme grab a screenshot of the area I think might help
I don't want to change anything in game.lua though
I just wanna add xmult to a card
lol
success!
this is really underwhelming for a rare tbh
i mean, i'll change the rarity later; kinda stole that from another mod anyway
yeah fair
might even make it a custom "fusion" rarity (if possible)
bc you're not supposed to get them normally
are custom rarities possible? :o
i think only with balamod
oh, i see
mathisfun_ got exotic rarity working
are you using this syntax in your code, where it says extra = {Xmult = 3}
are custom rarities possible with hacky code that will probably cause other mods to break? :P
(compatibility was never an option)
I think you'd have to write new shader code to get a similar effect to the others
rarities, not editions
oh my b, I think custom rarities are defintely possible with hacky code
i had an idea for Junk Jokers that would be unsellable and take up a slot but have some condition that destroys them; but idk how feasible that is haha
Tried it once and doesn't load but i'll try again
someone was posting about adding a new rarity tier, mythic. but i have no clue which chat that was now
I'm curious - how are shaders installed / added?
i mean really isnt all the code hacky and we just need to all use the same hacky code for compatibility anyway
haha, true. i wonder if i could tackle making an api that does it. might be a bit Much for my Third Thing i do tho lol
the game just loads them all in at start up and puts them in a global object that's referenced where it's appropriate, should be trivial just to inject some additional code to add extra shaders.
oh, but rarities are held as numbers huh. that might be the hardest part...
this is a question for @tacit mountain or Balamod's creator I think - I can figure out what's going on in the code itself after awhile but don't actually know what steammod or Balamod does to inject their lua code into the src, and if that's different for lua than .fs files
how might one access that global object for parsing...
it's just G.SHADERS, i guess you could also add shaders on demand with something like G.SHADERS["shader_ref"] = love.graphics.newShader(path_or_filedata)
That's it yeah
Steamodded don't provide anything for shaders, no idea for Balamod
what does loc_parse_string() do?
oh btw is the injector updated to reflect recent commits?
i was going through the steamodded source but i can't find the definition
You mean last ones even the ones not in a release tag ?
i remember there was this pull request about blueprint_compat not loaded, was that covered now?
it parses a localization string, probably turning it into some UI representation for rendering.
oh i was just wondering if it will impact users, if they choose to use stuff like .exe to inject
I'm working on r2mm and nativefs compatibility, I will do a new release with all new stuff when it's ready
because if stuff like that were fixed only on github then user still won't be able to use it right
awesome!!!!
But injectors use bundle code, and the PS one use a specified tag
So they do not reflect last updates
yeah figured... i think i will stick with the latest release for now
just so that it isn't only working on my machine and a few others... Thanks a lot for all the update and support 
I was expecting shaders to be handled natively. nice, should be easy to inject into.
speaking of shaders anyone know how to get a png image of the shaders?
whatchu got in mind
a shader preload patch if it's even required
so the shaders are present in the table as early as possible
but it doesn't seem super necessary
I finished adding The Drain Blind & The Bleach to my mod
you got a version out or is it still in development
this looks cool and id love to try it out
yea its called Ink And Color Suits you can find it in modding or click on this link https://github.com/RattlingSnow353/InkAndColor
any mod recommendations?
Instead of copying the whole thing into your mod you could just point people to download BlindCollectionPatch yk
anyways gonna figure out some UI stuff then I might add a Blind API to Steamodded???
hey i'm new to this, is there a template i might use as a starting point for modding custom jokers?
When you run out of cards to roll for
real
yes I just figured this out today! For Steammod (not familiar with Balamod yet) you can use the jokerapi.lua file in the example mods folder of Steammod
an example of me getting started
(also pixel art absolutely belongs to @dusky reef for his awesome mod in progress High Card: https://github.com/Ken-Shi/Balatro_HighCardMod/)
Finally rolled Showman, took a while
(I patched the lovely file, nativefs ref was not meant to be on the repo)
This is awesome thank you for everything - quick q, are there examples anywhere (or somewhere you can point to) where I can see the Joker utils implemented? It doesn't seem like JokerAPI.lua was updated, but I can't tell for sure
You mean like some examples ?
ya basically
I'm fine without! Just not sure if they're things I need/want to make use of
What does R2MM support mean for us? I know R2MM when playing ROR2 but not sure how to get started for balatro modding on there
Just a change in thew way you are manipulating love.filesystem (if you were)
I was 
totally fine we appreciate all the other crazy stuff you do
Replace love.filesystem by NFS and it's done lol
How does one find the old textures for the jokers? I want to restore 8 Ball to its former glory of creating tarot cards
And make it purple too
idea: mod with 1238971238912 planets (real)
the way you get so many is by counting flushes of less than 5 cards and straights of less than 5 cards, and making every combination a different hand
nah they all just level four of a kind
i had an idea for Suit Pair - essentially a two card flush (5x2???)
me when Flush Two 
can i dump more ideas here or Where do i put them (im new to this discord)
I'm new too but I think a new thread for mod idea dumping/riffing isn't a bad idea
a channel could work too but I imagine that requires an Admin decision
theres the mod suggestions forum in #1209506514763522108
oh we're so back
More jonkler shenanigans
This is making me want a challenge where you get 5 negative eternal copies of this joker rigged to all 5 final boss blinds
turns out i had the perfect seed to test whether or not my fused jokers edition retention works!
the wrathful joker had poly, the arrowhead had nothing.
I really wanna make Balatro: Uno edition but I can only supply ideas nothing else
anyone know what state G.GAME.PACK_INTERRUPT is?
trying to bind a key to the "next round" button in the shop.. trying to figure out what state to change to properly exit the shop
what is e arg?
just the name of the argument. context would tell more on what data type it is supposed to be or how it is used.
mime too?
attempted to trim down my "fusion check" code, so i'm not typing the same things over and over
i feel like i'm doing something wrong, but i don't know exactly what.
THERE we go
just had to get rid of the keys
trying to call this function, i've been seeing people passing in things like arg_756_0 or something of the sort and maybe that's what I'll need, but haven't found any sort of guidance on what these args are
don't think it would be appropriate to create my own argument here, i'm sure it's looking for some kind of information in the game
b-balatro crafting?
any specific trigger right now to fuse them?
just buying the two materials in any run
or is it just "buy 2 of the materials, they combine"
yep
mkay
in beta RN
spiffy
but ye
there is an oddity i've noticed
the custom cards wiggle at the end of a round as if they're doing something, even if they don't
Maybe you could call the fused jokers "Lenticular" like those stickers that show 2 pictures when you move them side to side
congrats on the milestone! did you try setting the new card's config to include "nopulse=true"
i would make a custom rarity if i knew how to add custom rarities in steamodded (i... don't feel like porting my entire mod over to another loader just for that.)
i did not, thank you!
hi is there any way to recover a save that bricked because of a quit out during a card transformation e.g. death
variable names have no sway on how a variable works; you'd need to look at what the function does with the variable to know what data type (number? string? Joker?) it expects it to be, or look at what data type other code gives it (im not familiar with the function in question personally)
Is it possible to add custom ranked cards/how to do so?
guys i've been modding in balamod and want to move one of my mods over to steammodded, where the hell do i start?
so can somebody give me a crash course on what is needed to publish your mod on thunderstore?
Steamodded got an update ?
yep
what changed ?
r2mm support, qol and a couple of features for the joker API as well as a loading priority system notably
what's r2mm ?
no?
I mean if you want to be pedantic we can just call it the Risk of Rain 2 Mod Manager instead
But I think r2mm is fine tbh
tf is is Risk of Rain mod manager doing here
do we have to edit our mods for them to work with r2mm? or do you have to install them manually anyway?

