#⚙・modding-general

1 messages · Page 29 of 1

vestal crag
#

Hell, what would that look like as a joker?

wanton rapids
#

troubador + merry andy

stone brook
#

temperance as a joker is swashbuckler i think

vestal crag
#

Fair.

alpine cosmos
#

stuntman + merry andy?

wanton rapids
#

yes.

#

two stuntmen for that matter

#

what's this for btw

vestal crag
#

Half Joker + Mime

wanton rapids
#

oh that's clever

alpine cosmos
#

seeing the actual word "and" in a coding language is unsettling

stone brook
#

i posted it up above, but this

wanton rapids
#

ah i see

stone brook
#

i think i have enough now

wanton rapids
#

luck is this mod's mechanic?

stone brook
#

yea

wanton rapids
#

what does the jimbo army do

stone brook
#

that ones unrelated, it gives +2 mult per played card

vestal crag
#

Oops + Oops, honestly. (There's a lot of 1/4s and 1/2s.)

stone brook
grand geode
vestal crag
#

Yup

vestal crag
#

What's that one Lucky Cat synergy...

grand geode
#

i'm afraid you can't get a nat20 with 2d6

alpine cosmos
#

pfft
maybe not with YOUR 2d6

#

mine rolled a 29

#

/lh

vestal crag
#

Mystic Summit + Dusk

stone brook
#

my 2d6 rolled a 2 and a 1, so its obviously 21

lean dune
#

hey that's a blackjack

#

obviously

grand geode
#

your blackjack limit is 20

hard grove
#

my 2d6 rolled a double 10
what your d6 don't have a 10 side

alpine cosmos
#

pfft

rare shell
#

hol up

#

let me roll my 2d6

#

3&5

alpine cosmos
#

clearly thats 15

#

though wait that does give me an idea of a joker that could probably be okay

grand geode
#

???

#

3&5 is 1

vestal crag
#

Actually, Oops + Lucky Cat would be funny.

alpine cosmos
#

Snake Eyes - All probabilities will not happen

#

maybe

vestal crag
#

Half Joker + Burnt Joker?

grand geode
#

even more niche than oops! all 6s lol

cunning silo
rare shell
#

y'all want to instantly cringe

vestal crag
#

...sure

cunning silo
#

Lay it on me

alpine cosmos
#

on an unrelated note
sdjsdjh what does this mean 😭 😭

rare shell
#

check out my old code snippet for registering card ui

alpine cosmos
rare shell
#
    if self.ability.name == 'Devilish Joker' or self.ability.name == 'Impractical Joker' or self.ability.name == 'Devoted Joker' or self.ability.name == 'Makeshift Joker' or self.ability.name == 'Fortuno' or self.ability.name == 'Pawn Joker' or self.ability.name == 'Sentai Joker' or self.ability.name == 'Scrapper Joker' then
        return generate_card_ui(self.config.center, nil, loc_vars, card_type, badges, false, nil, nil)
    end```
alpine cosmos
#

nevermind i am not that strog

stone brook
#

thats some good ol' spaghetti

rare shell
#

this is 3 lines of text

alpine cosmos
#

what in good lord

rare shell
wanton rapids
#

oh i got 20 on 1d6

alpine cosmos
#

seeee

wanton rapids
#

opposite it is the -13

alpine cosmos
#

look im gonna roll a d6 and ill show you what i rolled

vestal crag
#

Square Joker + Family?

rare shell
#

did you go out of your way to fucking perspective warp a comic sans 20 onto your dice

stone brook
#

LMFAO

wanton rapids
#

comic neue actually

grand geode
#

LMAO

vestal crag
#

Actually, Square Joker + Family could be a combo.

rare shell
#

like i get its a fake shitpost but this is like effort

stone brook
#

high effort shitposts are the best

grand geode
#

this ain't Roll get your weighted die outta here

rare shell
vestal crag
#

Also, good editing shitpost, is good.

alpine cosmos
#

i rolled a demon eye

stone brook
#

AAAAAAAAA

rare shell
#

alright

#

im rolling again

vestal crag
#

Wait

rare shell
vestal crag
#

Pants + Square Joker

alpine cosmos
#

anyways um,,,
sorry for asking for help again but

alpine cosmos
#

i dont know what i did wrong

grand geode
stone brook
#

at some point you passed a nil value to the ipairs function

wanton rapids
#

that's probably in the jokers being injected to the game

alpine cosmos
rough horizon
grand geode
#

can i see your beast joker

alpine cosmos
#

hm,

#

sure sure

rare shell
#

cease your apologies,
you will be supported and helped in this community

grand geode
#

well i can't open a txt on mobile lol i'll watch everyone else help you instead

#

🍿

alpine cosmos
grand geode
#

MY MULT

alpine cosmos
alpine cosmos
wanton rapids
#

i think the way your joker is set up is incorrect

alpine cosmos
#

oh

grand geode
#

unrelated but is it just me or are transfems usually more apologetic

alpine cosmos
#

well

rare shell
#

😭

alpine cosmos
#

no you're right i know about 6 transfems and we all say sorry a lot

rough horizon
#
local j_beast = SMODS.Joker:new("Beastly Joker", "beast", {beastly_ability}, {x = 0, y = 0}, loc_def, 2, 5, true, true, true, true)

should be

local j_beast = SMODS.Joker:new("Beastly Joker", "beast", beastly_ability, {x = 0, y = 0}, loc_def, 2, 5, true, true, true, true)

I believe

wanton rapids
#

oh yeah that makes sense

grand geode
#

speaking from experience ofc

alpine cosmos
rare shell
alpine cosmos
#

make that 7 now then

rare shell
#

LMFAO

junior tusk
#

more apologetic compared to the average human being? or what 😭

grand geode
#

i don't usually say sorry 😭 but i know people who do

rare shell
#

i gotta start taking estradiol i want to be funny as shit

alpine cosmos
grand geode
#

uhhh

#

perhaps

alpine cosmos
junior tusk
#

timid thats the nature from pokemon

wanton rapids
junior tusk
#

u mean blåhaj?

#

😉

rare shell
alpine cosmos
rare shell
#

my apologies i was trying to make a funny

alpine cosmos
#

sdjhsjh no no its fine sorry

rare shell
alpine cosmos
#

maybe you do need to hop on that E then

rare shell
#

sorry?

alpine cosmos
#

oh i did it again

#

sorry

rare shell
#

the only hormone supplement i need is the dopamine i get from hitting a 2 card blackjack

#

(im not actually chastizing u by the way friend)

junior tusk
#

I FOUND OUT WHAT THE PROBLEM IS

#

ITS THE BAD APPLE JOKER THAT CRASHES MY GAME

alpine cosmos
#

i too am simply reciprocating the funny

rare shell
#

james was still so real for making that mod

rough horizon
junior tusk
alpine cosmos
junior tusk
#

i love bad apple tho so i cant be mad

grand geode
#

anyways omw making estrogen joker

alpine cosmos
rough horizon
alpine cosmos
#

mhm

stone brook
vestal crag
#

Estrojoker?

junior tusk
alpine cosmos
#

i mean

grand geode
#

is beastly_ability defined

rare shell
#

estrogen joker gives you the ability to eat your cards

alpine cosmos
#

i think so
unless its improperly defined

fallow bramble
grand geode
alpine cosmos
#
    local beastly_ability = {
        extra = {
            base_chips = 20,
            chip_mod = 20
        }
    }
wanton rapids
#

or jack, for strength

alpine cosmos
#

hold on wheres that one suggestion

rough horizon
alpine cosmos
#

oh sure sure sure

rough horizon
#

thanks, I'll test a few things

alpine cosmos
#

sure sure sure
thank you!!

wanton rapids
#

oh yeah, what is loc_def

#

change loc_def to beastly_def

alpine cosmos
#

O H

rough horizon
#

yeah, I just saw that too lol

wanton rapids
#

oh yeah

alpine cosmos
#

that did it!!

wanton rapids
#

it crashes because it tries to iterate over the nonexistent description using ipairs

alpine cosmos
#

thanks!!!

wanton rapids
#

nice

alpine cosmos
#

just gonna go

#

and fix up some of the formatting

#

thanks again!

wanton rapids
#

np

rare shell
#

we're so back

alpine cosmos
#

we have returned

wanton rapids
#

oh yeah lyman can you check out the update to the website template

chilly wigeon
wanton rapids
#

seems very wordy

#

and significantly stronger than madness?

chilly wigeon
#

you have to have 6 jokers tho

rough horizon
#

Black Deck for the win

wanton rapids
#

$66 and -1 ante are very strong though

#

also if you get this in negative it's a free win

chilly wigeon
rare shell
#

i would but i still got to refactor like half my code

wanton rapids
#

fair enough

rare shell
#

and its like 6:30 am

grand geode
#

i daresay this is weak

wanton rapids
#

$66 and -1 ante though

#

i can see it being weak in practice though

rare shell
#

ill ping you when i refactor it and try to implement the update though

chilly wigeon
#

maybe i should make it work only once per game

grand geode
#

ruining your build for some meh scaling

junior tusk
#

furnace + krampus + mineral deposit/seltzer is very good in jellymod. i must say

wanton rapids
#

this is my -1 ante joker btw

grand geode
#

it's cracked if you have a single extra joker slot

rare shell
#

ritual seems really bad to me idk

wanton rapids
#

if you have 5 joker slots it's not good

#

if you have 6 it's op

rare shell
#

imagine randomly getting this too

#

you dont need 6 joker slots

#

you just need a negative

mossy cairn
rare shell
#

but black deck is also awful

round oar
#

i love how one ability is -1 ante and another is +6 mult

rare shell
#

and i dont think ectoplasming your way into this working is that good

#

that being said the infinite riff-raff deck on black deck is very funny

#

which i guess is kind of stupid

#

yeah probably doesnt need the -1 ante

round oar
#

and also letting you destroy eternals is super powerful

rare shell
#

feels so bad otherwise though

grand geode
#

-1 ante makes it loopable

rare shell
#

im not a fan of this design tbh

chilly wigeon
#

i was worried sudden death without that -1 ante but

wanton rapids
#

you can easily buy 5 jokers with $66

grand geode
#

infinitely loopable

chilly wigeon
#

maybe i should just get rid of it

wanton rapids
#

without -1 ante it's quite weak

rare shell
#

it either does nothing or it's really strong to a point its hard to balance

grand geode
#

the idea is there but seems flawed tbh

rare shell
#

i agree the idea is there

wanton rapids
#

exactly $666 would be a funny trigger condition

rare shell
#

maybe you could do something with it destroying a joker slot

wanton rapids
#

you could safely put -1 ante there

rare shell
#

actually you could make it blow up a joker slot if its doing the thing

wanton rapids
#

oh true

rare shell
#

still doesnt fix the issue of being very do nothing most of the time

#

but thats personal philosphy

#

but if you wanted to go with this exact design that's what i would change

chilly wigeon
#

i think some of rare is just do nothing in the original game

wanton rapids
#

even hit the road does something some of the time with most decks

grand geode
#

maybe change the trigger

rare shell
#

this is about as specific of a trigger as seance is i'd argue

grand geode
#

"Every 66 cards scored, gain +66 Chips..."

chilly wigeon
#

actually this is one of my if you have exactly 2/3/4/5/6 jokers triggered jokers

grand geode
#

actually that sounds slow but it's an idea!!!!

rare shell
#

oh its a cycle

#

idk maybe you go the localthunk route of design and maybe dont do the 6 joker one

#

just like thunk didnt make a high card variant of the tribe/trio/etc

wanton rapids
#

yeah there's no "The Five Of Them"

grand geode
#

also i kinda dislike when jokers get wordy like this lol

#

cough jellymod cough

chilly wigeon
#

my 4 joker joker is short

wanton rapids
#

yeah i really dislike when things have a ton of words on them

#

this isn't yugioh

chilly wigeon
wanton rapids
#

wait that gives me an idea

grand geode
#

R Key felt pretty wordy but that's the best I could do

wanton rapids
grand geode
#

joker retrigger is most likely a no-go in basegame lol

grand geode
#

it has 9 words

#

wym

rare shell
#

spiral joker just gives me anxiety

grand geode
#

and i am being lenient by counting "x" as a separate word

wanton rapids
#

it has more words in game

alpine cosmos
#

hi sorry to interrupt
how do I make the description of a card dynamic?
like, it currently shows an error, is there something im missing?

wanton rapids
#

you have to have a loc_def method

#

one moment let me find an example

alpine cosmos
#

oh hm

wanton rapids
#

like this

chilly wigeon
#

btw I learned a lot from MoreFluff mod, and this is my first time coding in lua, thank you so much for your code

alpine cosmos
#

ahhh okay cool

#

thank you!

wide atlas
#

Is there any way to make the swirly background of the game into a solid green screen colour or any colour at all

chilly wigeon
#

debug mode i think?

lean dune
# alpine cosmos oh hm

you reference the loc def values in text like #1# for the first value in the list or #3# for the third

rare shell
#

im not a wordy andy mostly but sometimes a modded design needs all them words

#

high card will always have my eternal wordy pass

#

personally i dont like going over 4 lines of text

#

5 if counting trinket/reminder text like (Must have room) or counters

wanton rapids
#

yeah

fallow bramble
#

Oh im good then

rare shell
#

are you?

fallow bramble
chilly wigeon
fallow bramble
#

Free moners

chilly wigeon
#

it sells for 1 btw

fallow bramble
#

Ah

rare shell
#

cute

chilly wigeon
#

my plan for this is to provide a good start

fallow bramble
#

Inb4 you only get it at ante 10 balatrojoker

grand geode
#

base joker after being powercrept by every other joker in the game:

wanton rapids
#

default jimbo is great

#

with discount he's a free buysell

fallow bramble
#

My mod has a synergy with base jimbo

#

(Tho its hella niche)

chilly wigeon
#

is it jjookkeerr

fallow bramble
#

Nope

grand geode
#

wait i'm so fucking stupid i could've done the 85% all mult blind effect all this time

#

instead of fucking with localization i just needed to overwrite the return

wide atlas
grand geode
grand geode
wanton rapids
#

can't you just change the message?

grand geode
#

the return message specifically

#

not joker wording

grand geode
hard grove
grand geode
#

yes i'm also doing xmult seperately

#

and hmult

sleek granite
grand geode
#

actually true

#

honestly i feel it's like that because thunk didn't want to add a second effect to it

sleek granite
#

if it was "play or discard" i think it'd be fine. sacrifice a joker slot to always get value from your gold cards

#

requires the setup of having gold cards

cunning silo
#

Just had a fun idea for a joker:

  • Regicide: starts at x1 mult. Adds x0.25 mult per face card played. Then, destroys the face card.
#

Named after an old card game

sleek granite
#

canio and triboulet's bastard child

cunning silo
#

XD

#

I might actually make a mod that adds jokers based on other card games

sleek granite
#

i wanna get custom unique playing cards working so bad but it's gonna be SO MUCH code to patch. ugh

cunning silo
#

Like Egyptian Ratscrew or Regicide

#

Another idea:

  • Blackjack: x5 mult if the sum of the cards in played hand is 21
#

Maybe x3/4

#

Yeah that’s probably my next mod XD

sly carbon
#

the blackjack one is already in Mika's mod

wanton rapids
#

should reduce mult if the total is more than 21

cunning silo
cunning silo
stone brook
#

i think the worst part of adding new playing cards is making it function with existing stuff like strength

sleek granite
#

so far i think the worst part is that i don't have the luxury of the base game tracking the "slug" of a playing card's "base"

#

other cards get self.effect.center.key or self.config.center.key ??? idk this code is confusing

#

oh nvm there's self.config.card_key maybe this is what i needed ^^"

cunning silo
sleek granite
#

you what

cunning silo
#

Us trying to make it work

#

Wanna make that into a race between us?

#

(I’m not home yet, I’ll be in about 30 mins)

#

Just for fun

sleek granite
#

uhhhhhh

#

i have the relative intelligence of a hamster

cunning silo
#

XD

#

It’s okay

#

If you need any help with that, I would love to assist

sleek granite
#

there's like a billion things that need to get overriden for this to work at a basic level for what i'm hoping for it to be

#

because i'm not just thinking "ooo you can arbitrarily register like the 94 of hammers" i'm thinking like full-on enabling playing cards to have the complexity of jokers

sullen sandal
#

guys, I'm wondering, how do you setup a dev env for the mods ? Are you using a dumped balatro with steamodded (or balamod) installed and creating the mod in the main.lua file or something like that ? Or just by reading the mod loader's code and then using the different APIs ?

sleek granite
#

the latter

#

but most people probably have extracted the source code yeah

sleek granite
#

and then you have to account for the game polling the card's .base.value directly EVERYWHERE

#

(and other properties of its base)

#

there's no function to override unless we patch every single one of those preexisting functions to call like Card:get_rank() or the appropriate alternative

#

honestly i probably should just leave this to someone else anyway it'll be massively jank and bad if i do it amemelt

cunning silo
sleek granite
#

then the game will crash

cunning silo
#

You can then evaluate it to whatever you want based on global parameters

#

And return the correct value

sleek granite
#

because it'll try to compare a function to a string

cunning silo
#

Hmm I see

sleek granite
#

searching the source for this

#

and that's just one of them

#

similarly, nearly everywhere that the game checks for stone cards would also have to be overridden, since fundamentally pretty much everything stone cards do is what we'd want to be doing as well, just with calling other code instead of Make Card Bad

cunning silo
#

You can always have a method in the background that changes the value

sleek granite
#

(making the card treated as 'suitless' and 'rankless' (or calling code to determine what suit/rank the card is) and changing its displayed name and text and stuff like that)

#

some of these could be cleanly handled with standard hooking, an unfortunate amount of these checks are in the middle of functions though

cunning silo
#

Hmmmmm

#

Sad

sullen sandal
#

btw, it was not communicated properly, but I implemented new log levels in Steamodded (v0.9.3+) for debug purposes. There's 6 log levels defined in steamodded now. You can invoke them with the following functions:

sendTraceMessage("My trace message", "TraceLoggerName")
sendDebugMessage("My debug message", "DebugLoggerName")
sendInfoMessage("My info message", "InfoLoggerName")
sendWarnMessage("My warn message", "WarnLoggerName")
sendErrorMessage("My error message", "ErrorLoggerName")
sendFatalMessage("My fatal message", "FatalLoggerName")

which will print out in the debug console:

2024-03-30 22:12:11.018426 :: TRACE :: TraceLoggerName :: My trace message
2024-03-30 22:12:11.020429 :: DEBUG :: DebugLoggerName :: My debug message
2024-03-30 22:12:11.021429 :: INFO  :: InfoLoggerName :: My info message
2024-03-30 22:12:11.021429 :: WARN  :: WarnLoggerName :: My warn message
2024-03-30 22:12:11.022429 :: ERROR :: ErrorLoggerName :: My error message
2024-03-30 22:12:11.023429 :: FATAL :: FatalLoggerName :: My fatal message

Be sure to use a logger name that correspond to your mod (example : "MikasCollectionLogger" for Mika's mod collection).

The logger name is optional and will default to "DefaultLogger" if no logger name is passed.

I also rewrote the debug console which allows you to filter out only logs from a specific logger, and/or by log level (v0.9.5+), also there's a search functionnality implemented. The new debug console has a bug that I'm aware of, some rare logs are not parsed properly. I fixed this issue in my last pr which should be merged in the next steamodded release. I encourage you to start using the new logging mechanic, it could help a lot to debug and figures out from which mod an error (or just a log in general) comes from

sleek granite
#

i dont think i have enough brain to do custom playing cards
the game is too fundamentally built up on the playing cards very strictly being Normal

cunning silo
#

YOU HAVE NO IDEA HOW MUCH THIS HELPS

#

sorry for writing all caps XD too excited

sleek granite
#

me, also having no idea how much this helps since i dont know how to use the debug console

sullen sandal
#

execute the python file in the debug folder of steamodded

cunning silo
cunning silo
sleek granite
#

i've just been using standard print() functions because lovely opens a terminal

cunning silo
#

Oh and are logs saved now?

sullen sandal
#

There's some shortcut implemented :
ctrl + f focuses in directly in the search bar. The ctrl + backspace functionality that you find in most of IDEs and text editors are implemented too. When your are focused into the search bar, if an occurence of a search was found, press enter to go to the next occurence

sullen sandal
sullen sandal
cunning silo
grand geode
lone verge
#

I'm trying to keep track of hand state/cards in hand. I assume I can just interate over them with G.hand.cards for starters.
Is there some kind of event I can listen to when the hand changes/cards are drawn?

New to lua and I'm not sure how to do this correctly. Does anyone know? Or if there is a mod that already interacts with this I'm sure I could figure it out from there, but haven't seen anything.

cunning silo
sullen sandal
grand geode
#

i've been having tk open while reloading balatro

cunning silo
coral shale
grand geode
#

nah it's been like that since

#

the first time i've used tk

sullen sandal
sullen sandal
#

it's in my fork steamodded

#

but I opened a pr to the main repo

grand geode
#

ah

#

the current tk is pretty good already methinks

sullen sandal
#

Please let me know if you encounter any issue/bug with the latest version

grand geode
coral shale
#

Anyone have any idea how many people have Steamodded installed with lovely vs without? I'm thinking of publishing my history mod just for lovely

grand geode
#

notably i've removed the patch dependency

cunning silo
#

Btw myst have you migrated to the blind register?

grand geode
sullen sandal
coral shale
grand geode
grand geode
#

i think there are still quite a lot of people who use the .exe

sullen sandal
#

I'll let you guys know when the export functionality will be implemented

cunning silo
#

Great!

cunning silo
#

I wanted my mod to be compatible with yours

grand geode
#

ic

#

you don't need to reply ping me btw i'm already reading this channel

cunning silo
#

Oh sorry XD

lone verge
grand geode
#

did 0.9.1+ mess with jokers

alpine cosmos
#

i think so

#

thats what i heard

coral shale
grand geode
#

ughhhhHHHHHHH

tepid sentinel
#

@cunning silo you asked me to see the UI of the roulette right? you can see it now you want though its not perfect

fickle elbow
tepid sentinel
#

i hope i can make it sound when it spins today

#

and i had some weird crash yesterday so let me know if the same happens

lone verge
# coral shale Not sure where you're getting all these functions from? `addcallback` and `firew...

Yeah sorry, should have added that. I was looking at the repo for the balatrobot since I want try that out anyway, and it already seemed to have a decent implementation for the hooks I was gonna use if it works.
https://github.com/besteon/balatrobot/blob/main/middleware.lua#L55
https://github.com/besteon/balatrobot/blob/main/hook.lua

GitHub

Contribute to besteon/balatrobot development by creating an account on GitHub.

GitHub

Contribute to besteon/balatrobot development by creating an account on GitHub.

coral shale
lone verge
#

Aaah, this is exactly what I was hoping for! Thanks a lot, I'll play around with that

sullen sandal
#

ok it was far easier than I though

#

It will be available in the next steamodded release

#

(poke @cunning silo)

cunning silo
fickle elbow
#

randomizer deck chose 2 of 1 joker

#

unskipable

tepid sentinel
fickle elbow
#

ik

tepid sentinel
#

?

grand geode
#

allllright i'm stumped here

#

stack trace gives no useful information, but

engine/ui.lua:686: attempt to compare number with nil
Stack Traceback
===============
(1) Lua local 'handler' at file 'main.lua:5564'
    Local variables:
     msg = string: "engine/ui.lua:686: attempt to compare number with nil"
     (*temporary) = Lua function '?' (defined at line 5591 of chunk main.lua)
     (*temporary) = nil
     (*temporary) = string: "Oops! The game crashed\
"
(2) Love2D metamethod at file 'boot.lua:352'
    Local variables:
     errhand = Lua function '?' (defined at line 5563 of chunk main.lua)
     handler = Lua function '?' (defined at line 5563 of chunk main.lua)
(3) Lua method 'draw_self' at file 'engine/ui.lua:686'
...
#

on hovering a joker

wanton rapids
#

what happens if you get rid of your joker's description

fickle elbow
# tepid sentinel ?

i run into a problem with a random stat as i can not proceed in the run for the lower number was higher than the normaly lower number

tepid sentinel
sullen sandal
grand geode
#

i do have tk but no way i'm posting the whole thing here lol

tepid sentinel
sullen sandal
#

yup, I did not encounter any bug btw, it just grew my frustration xD

#

I was missing $1 for a blueprint, I lost everything

tepid sentinel
grand geode
#

actually let me try something

coral shale
grand geode
#

can i throw this to anyone to check for issues

vestal shell
#

Any resources on how to start modding the game?

wanton rapids
#

looking at other mod's code is a good place to start

grand geode
#

i don't even know anymore this code is similar to MystBlinds yet it doesn't work at all

umbral pilot
grand geode
#

yk i'll just throw you the code

wanton rapids
#

i have steamodded installed using lovely but only so i can git pull to update

grand geode
#

dms

#

same

umbral pilot
#

one of my motivations for making lovely was so I could git pull steamodded to update lmao

#

it's so convenient

grand geode
#

i can't be assed having to download and reinject every time i wanted to update lmao

knotty fable
hardy brook
#

Repeating decks have edited card backs, enough you can recognize them

#

I still don't know how to add editions to card backs though

sullen sandal
dapper helm
lean dune
umbral pilot
#

the biggest blocker on replacing the classic injector is mac support, but @vocal spoke has been amazing in figuring that out

#

so we're not that far off

lean dune
#

amazing

hardy brook
#

I also found a few more Balatro Versions that were on my PC

#

unfortunately, if I want to archive stuff earlier than 0.8.6b, i need to find videos from before that time

#

Any video before 18 June 2023

cunning silo
#

added a new joker and...

strange laurel
#

I'm looking into the event.lua file to understand more about the Event Handler (E_MANAGER) and what some of the arguments like "trigger" (can be "immediate", "before", "after", etc) and "blocking" (true/false) do. Any tips?

lean dune
#

seen that I think

cunning silo
willow rock
#

how can i fix ?

lean dune
#

we're on it

hardy brook
#

All you get for the next hard deck

past tendon
#

😨

orchid vault
hardy brook
#

No no

#

It's a completely different effect

#

I only need to know how to get some challenge deck stuff working

orchid vault
#

i should download your mod tbh

#

with all the stuff i have that gets crazy powerful

#

your mod might balance it

hardy brook
#

You might have to mess around in the code to make it work with other stuff

hardy brook
#

A lot of my projects have suddenly turned into group projects and I’m surprised and glad that somehow my stuff has turned into things to bring people together

rare shell
#

Is it possible to change sprite of a certain joker without replacing the whole image?

hardy brook
#

Wdym?

#

Like replace one joker sprite?

rare shell
#

I'd imagine to change a sprite of already existing joker you'd simply replace the spritesheet

hardy brook
#

Yes

rare shell
#

but that kinda sucks and I want to replace only one joker

hardy brook
#

Maybe find a way to patch overtop the joker’s sprite initialization or something?

#

Like how you make a new one but then make it so that in the mod it replaces the art. Idk how hard it is or if possible. I’m going off theories

lean dune
#

you could try setting a different atlas on the joker object

stone brook
#

yea you just replace it in G.ASSET_ATLAS

boreal ibex
#

i just remembered i think like yesterday somewhere people were talking about making cards with no suit, but code for that should already kinda exist in the base game because of stone cards. they have no rank or suit

hardy brook
#

Welp

lean dune
boreal ibex
#

ahh

rare shell
#

what am I supposed to do aside from SMODS.Card:new_suit() to create a new suit? Getting this error

#

This error appears when I click on 'View deck'

lean dune
#

what's the definition look like

rare shell
lean dune
#

yeah these atlas names don't exist just because you're calling your vars that way

#

you need the actual name, i.e. the first argument of SMODS.Sprite:new()

#

any reason why you're defining the same sprite twice?

rare shell
#

oh nvm

#

I got it now

lean dune
#

giving it the same atlas for high and low contrast is perfectly valid btw

rare shell
#

sprite_ is borking

lean dune
#

🦣

rare shell
#

for now I do not even have face card sprites

lean dune
#

currently you're just registering the same exact file to the same exact atlas twice

rare shell
#

yes

#

because I do not have the hc sprites yet

#

that's temporarily

lean dune
#

still needs a different name

#

if you give it the atlas 'exotic_cards_high_contrast', it will assume that it exists

hardy brook
#

The Insane Deck is done

lean dune
#

woo

hardy brook
#

You all got 1 week to have someone beat the extreme deck before I give the insane deck a public release

rare shell
lean dune
#

yeah I think that's all

frozen horizon
#

there aren't any guides for balatro modding out there are there

#

friend is looking for one in this server and cant find any

lean dune
hardy brook
lean dune
#

other than that, best I can recommend is looking at other mods and inspecting the game's source code (just extract the executable)

lean dune
hardy brook
#

If you guess what one of the other 2 are (no cheating because I posted it in another server that I share with some of you)

#

I will fully show that effect

lean dune
#

1 in 4 cards are drawn face down?

hardy brook
#

You're fine to guess Aure since this is the only server we share

lean dune
#

that's just x-ray challenge all over if so

hardy brook
#

But there's one more effect

lean dune
#

okay so it's drawing from challenges

hardy brook
#

Some yes

#

Been learning how to turn Modifers into configurations

#

but that's unrelated

lean dune
#

I'll go with double or nothing without the benefit for the other one then

#

played cards become debuffed after scoring

#

but that could be way off

hardy brook
#

nice work!

lean dune
#

nice

#

but also that's brutal

hardy brook
#

Yeah, but it's not 1 hand 1 discard

lean dune
#

it's a brutal combo ngl... if you play a face down card, you might have wasted a card you'll need later there

hardy brook
#

exactly

boreal ibex
#

i love the look of the deck backing thoo

lean dune
#

yeah ikr

hardy brook
#

Thanks. i used my extreme deck and made it blue

boreal ibex
#

whats the extreme deck look like?

hardy brook
boreal ibex
#

oo

hardy brook
#

Oh and I'm updating the plain deck's look one more time

#

Current look

boreal ibex
#

blue fire does burn hotter than red (atleast for stars)

hardy brook
boreal ibex
hardy brook
#

basically make it less blurry

boreal ibex
#

more defined?

hardy brook
#

yes and no

#

make it look more like a balatro deck

#

but still my card back

boreal ibex
#

i get what you mean

hardy brook
boreal ibex
#

cool

fallow bramble
rare shell
fallow bramble
#

ye s

tepid sentinel
tepid sentinel
spring thorn
fallow bramble
#

!!!!!!

fallow bramble
rare shell
#

Insane cards

normal rune
#

on a scale of 1 to 10 how hard is this game to mod?

tepid sentinel
#

you know how to code?

normal rune
#

eh, I'm learning it still but I've dabbled in things like Game Builder Garage, so I know the basics

tepid sentinel
#

My only "advice" is to just try something simple at first, maybe just change an existing mods code alittle and go from there

normal rune
#

ok

tepid sentinel
normal rune
#

Thanks!

rough horizon
#

most "simple" things have already been done by other modders, so you can probably look at those

#

doing something that hasn't been done before is where the fun begins

rough horizon
#

joke, the real fun is the friends we made along the way

#

coding with lua is actually quite frustrating (for me)

lean dune
#

eh, there's worse

tepid sentinel
#

and there's better

lean dune
#

as with anything

tepid sentinel
#

you win some you loose some right?

tepid sentinel
lean dune
#

I'm mostly fine with lua, I just can't stand how array indices start at 1

#

when it comes to syntax, everything is just flavor

rough horizon
#

i have a lot of experience with C# and Java, which seemingly hinders me more than actually helping lol

#

a lot of small errors that get old pretty quick

tepid sentinel
lean dune
rough horizon
#

I already have to switch constantly between C# at home and js at work. And lua is pretty different to both of those again

#

and not being able to debug properly makes testing pretty annoying

tepid sentinel
#

i wanted to ask something that confused me the hell out of me the first day i started to tinker with the code of the game and the example mods from Steammodded, why "arg_56_0" and not something more descriptive?

lean dune
#

eh we have debug tools

lean dune
#

nothing is written that way now that the code is no longer obfuscated

#

rule of thumb, the example mods aren't the best resource to use

tepid sentinel
rough horizon
#

I'm currently working on my own debug tool. Not sure if it actually is going anywhere tho, lol

lean dune
#

if this gets to all the features the tk window has, I could see myself using that for aesthetic reasons

#

is it inside the game or does it just use the font?

rough horizon
#

sadly not inside the game

lean dune
#

lol no that's a good thing

#

I want access to logs even when it crashes

rough horizon
#

good point

#

the main feature I originally made this for is to be able to display a whole lua table in a treeview

#

which is suprisingly much harder than I thought

lean dune
#

that seems useful but non-trivial

rough horizon
#

the C# part is done, but getting the table into a json format and sending it via tcp turned out to be very annoying

#

lua seems "unable" to handle converting nested tables into a json string without crashing, and when it worked it was always sent in multiple packages which are a pain to piece together again

lean dune
#

there's something that might be even more useful

#

dynamic crash screens

#

you only see as much of the stack trace as the screen can handle, with no way to scroll

#

(and seeing the full value of an in-scope table would be useful at times 💀)

boreal ibex
#

a similar thing would be to be able to copy crash logs for viewing

rough horizon
#

crash logs should also be sent to the debug console, from which you could copy them

lean dune
#

they are

#

but not if you don't happen to have it running

#

(yes, that sounds like a me problem)

rough horizon
#

i find it very annoying to have it running

#

or rather, having to start it

lean dune
#

agreed

iron onyx
#

why does my hologram look like this--

#

i only have my own jokerfusion mod active, and that doesn't change the face of it

rough horizon
#

looks good to me

#

maybe he's just shy

lean dune
#

something's odd about todd hologram

civic grail
#

ate too many cheerios

iron onyx
#

funny you should mention him~

rough horizon
#

when is steamodded being updated on r2modman PeepoHide

civic grail
#

its the latest whodunnit by agatha christie

rare shell
#

it looks fine for me

#

the holo

iron onyx
#

but on a serious note: that's heckin weird, isn't it?

boreal ibex
#

i actually really love the attention to detail on odd todd, because not only is his hat odd, so are his eyes and the thing around his neck is

civic grail
#

who killed holojoker:

  • Runner
  • Odd todd
  • Death
#

🤔

boreal ibex
#

hey, dont rul out the business card

civic grail
#

so it was a hit

#

got it

rare shell
#

Joseph J. Joker

civic grail
#

so who called the hit on hologram joker

rare shell
#

Hitman Business

lean dune
#

gotta wait for steamo to do it

rough horizon
#

thanks for the work you are doing on it, btw

#

great stuff

iron onyx
#

ohhhhhhhhhh i think i get what it is. i think hologram might be three layers and not two

lean dune
#

don't think so

iron onyx
#

and whatever the mods do to replace it, don't take the third layer into account

#

i swear that like, the eyes move on it or something

civic grail
rough horizon
lean dune
#

mods usually don't replace sprites anymore but add new ones

#

but maybe one of the mods you have installed is indeed replacing

boreal ibex
civic grail
iron onyx
#

i knew i wasn't the only one having this problem

civic grail
boreal ibex
#

woah

lean dune
#

well holo only defines 2 pos tables

iron onyx
#

i mean, my current joker fusion mod does use the old method of replacing the entire joker sprite table with a new one

#

because i based my own util file off of lusciousdev's

lean dune
#

actually it might break when you disregard its soul_pos

#

that wasn't working for april fools, now was it

iron onyx
#

does the april fools mod use lushutil, or a variant thereof?

rare shell
civic grail
#

am i in AnarchyBalatro

tacit mountain
fallow bramble
rare shell
#

new lore just dropped

#

0.9.5 still held up?

#

I think

lean dune
#

0.9.5.1, technically speaking

#

I did have to redo that release

rare shell
#

ok ackshually andy

#

🤓

lean dune
#

💀

#

doesn't count for anything

rare shell
lean dune
#

egg 🪴

boreal ibex
#

so theres two things i want to do right now, and i want to do them equally so i must crowdsource the decision. A or B?

civic grail
#

hmm i like both

#

on one hand

#

on the other hand

lean dune
#

consider that

rare shell
#

b = balatro =balatro_B= both

#

even both = b

fallow bramble
#

I don't care, third option GO!

boreal ibex
#

this was a mistake

fallow bramble
#

Wow so many options

boreal ibex
#

fine ill just pick myself

civic grail
lean dune
boreal ibex
#

i choose A

rare shell
#

B alatro
balatro_B
B ig B lind
B oss B lind
B etter
B est
🇧
🅱️

#

everything points to B

civic grail
lean dune
#

Baltro

rare shell
#

bal

civic grail
#

Baltro

boreal ibex
#

its not just baltro...

civic grail
#

BAL | TRO

boreal ibex
#

i recognize that font anywhere

rare shell
#

It should be Bltro

#

Bblbtro

boreal ibex
#

you would change your mind if i told you what the options mean

#

but fine if yall wanna pick B, ill be back later

lean dune
#

🅰️

civic grail
#

AL | TRO

tropic mason
#

whats the link to the github page that has a collage of all mods

rare shell
#

the choice was
A. Play Balatro with friend
B. Drop 4 thermonuclear bombs

rare shell
#

not all but most*

tropic mason
#

thank you

civic grail
boreal ibex
#

on whoever chose b...

civic grail
#

confirmed

#

Firch is B

rare shell
#

Oh no

#

Am I a Birch now

civic grail
#

balatro_Birch

lean dune
#

Lmao

main locust
# spring thorn

Insane Deck: Played cards give a copy of a disabled Egg joker worth 0$ fool

rare shell
#

Egg Shell

rare shell
#

do the other suits look out of place?

boreal ibex
#

look normal to me

cinder sage
#

they look nice!

boreal ibex
#

barely noticed at a glance, so thats good

main locust
#

you'll have 2 disabled joker slots, that's the best I can do though

lean dune
#

🦣

rare shell
#

🦣

white scarab
#

Another cruel idea: all cards are debuffed and stone cards

green spire
#

what mod injector should I use for these mods?

tropic mason
lean dune
#

💀

#

where's BetterStack

tropic mason
#

is that a reply to me

lean dune
#

yes

tacit mountain
#

It's either a very old release or a very early crash

tropic mason
#

might be an old release

#

probably an old release

lean dune
#

yeah looks like it

#

go update

tropic mason
#

aye dark overlord

#

(if i knew how)

tacit mountain
#

Best solution by far

tropic mason
#

i am about as technologically illiterate as they come

lean dune
tropic mason
#

do i just override

lean dune
#

and yeah follow the lovely guide

tropic mason
#

ohi remember that

#

i spent way too long decyphering the cryptic messages

tacit mountain
#

And for a lovely setup, just delete Steamodded files to replace it by new ones

tropic mason
#

ok im already confused do i have to run something again?

lean dune
#

with lovely injector, no

#

with the classic injector, you need to run it again after verifying game files

wild karma
#

Could somebody please help me with running modded Balatro on my Macbook, I am a bit lost

tropic mason
#

tell me the .exe or whatever file i need to click or i will do it wrong im sorry im so technologically illiterate 😭

#

so i just

#

delete the entirety of ModName?

#

and remake it?

tacit mountain
#

If you did the installation with lovely, yes that's it

#

@lean dune I will add a lovely annotation somewhere when that's the instalaltion method for Steamodded, it will help us a lot for that type of situation

tropic mason
#

oh gods now i have to remake that

tacit mountain
#

What, adding files ?

tropic mason
#

wait

#

do i need to name it

#

modname

#

or

#

steammodded

tacit mountain
#

It don't matter

lean dune
#

the name doesn't matter

tropic mason
#

i was told it was last time

lean dune
#

but it's good to name it steamodded so you know what it is

tropic mason
#

😭

#

ok so now that i have this empty folder i need to download the latest installer and run it?

#

or do i need to upack something first or

lean dune
lean dune
tacit mountain
#

This may also help you

tropic mason
#

ok so just download steammodded0-9-5.zip?

tacit mountain
#

Yep

tropic mason
#

alright

#

done

#

where do i unpack it to

tacit mountain
#

C:\Users\YOUR_USER\AppData\Roaming\Balatro\Mods

tropic mason
#

alr

#

now i have two

#

do i need the other one?

lean dune
#

delete the other one

#

no need for it

tacit mountain
#

And it should be it

tropic mason
#

dont need to run a ddl or exe?

tacit mountain
#

Nop, just the game

tropic mason
#

:D

#

wait what

#

when i boot up

#

it doenst hsow that

#

any mods are enambled

#

nor that "mods" option on the main menu

tacit mountain
#

You may not have a lovely installation wait a second it will be very easy

tropic mason
#

aye

tacit mountain
#

Download this

#

And put it in your game directory

#

(So the Balatro game directory)

tropic mason
#

now this is gonna sound

#

really stupid

#

but whats a game directory

#

is it the one in appdata?

#

or from steamapps common

lean dune
#

the folder where your Balatro executable is

#

the steamapps common one

tropic mason
#

alr it sin

lean dune
#

looks like a problem with high card mod

tropic mason
#

damn

#

gnome more high card

#

by the gods it works

#

alright

#

thank you, sorry for taking up so much of your time

lean dune
#

it's fine

tropic mason
#

one more question

#

if i have something like this

#

how do i download it all at once

#

nvm i found it

#

ok nvm i do have to askw where the downlaod is for this

#

i hate downlaoding off github it feels like each filetype has a different way to download it

wild karma
#

how do make sure I have all the required libraries installed?

lean dune
tropic mason
#

i dont wanna manually download all of them one at a time

#

and i dont know how to downlaod a folder from github

#

s ofar ive only found the downlaod link for raw code

lean dune
#

you know how there's a green code button

#

the option at the bottom says download ZIP

#

that will give you a zip file with everything in the repo

tropic mason
#

you are ablessing on this world have a wonderful week

#

and now the game fuckng crashes on startup

#

im

#

😂

lean dune
#

oh what's wrong

tropic mason
#

no idea

#

it just shows a black screen

#

a loading bar for

#

.1 seconds

#

and then hardcrashes

lean dune
#

no crash message, it just exits?

tropic mason
#

this is my modlist if its got something to do wit htaht

tropic mason
lean dune
#

some of these should have their own folders, like JellyMod and Mika's

#

also try removing JellyMod and see if that fixes anything

tropic mason
#

mikas has a fodler

#

i have it in both

#

a folder

#

and loos

#

should i delete the loose one?

#

now i get this

tacit mountain
#

The bunco mod should also be in subfolder

tropic mason
#

ill just redo em all ina subfolder

#

now that i actually know

#

how to do it

#

and not just downlaoding the raw code

lean dune
#

yeah also remove the loose ones

tropic mason
#

now it looks like this

#

jellymod doesnt come with a subfolder

grand geode
#

you need to create one for it

lean dune
#

jellymod should also be in a subfolder

#

but it tends to be incompatible with things, so a good first step is to try and remove it

tropic mason
#

i havent booted up ytet but

#

thatll be y step 2

grand geode
#

i love how the first debug step is almost always "remove jellymod"

tropic mason
#

epic victory

#

it boots

tropic mason
#

whats wrong with jellymod

#

yknow i spent so long on this

tropic mason
#

my "one match before bed" turned into "its now 1am"

lean dune
#

well same here but the actual reason I'm up is getting sucked in by a 2 hour balatro university video

#

anyway heading to bed now, see y'all

grand geode
#

gn aure!

wild karma
#

I am trying to install steamodded but I get this error

#

I cant use balamod because I don't have the M1 chip on my mac, is steamodded also like that?

tacit mountain
fickle elbow
#

i found a fatal error with the roulette wheel mod.

boreal ibex
#

woh

sleek granite
#

just get lucky lol

willow rock
#

hello anyone know how to fix ?

alpine cosmos
#

jshd hi does someone also know what's going wrong here?

#

i know this is the line of code that's the issue

        if context.cards_destroyed then
            local value = 0
                for k, v in ipairs(context.glass_shattered) do
                    value = value + v.getID()
                end
            self.ability.extra.current_chips = self.ability.extra.current_chips + value*2
            return {
                message = localize('k_upgrade_ex'),
                card = self,
                colour = G.C.CHIPS,
                delay = 0.45
            }
        end
        if context.cards_removed then
            local value = 0
                for k, v in ipairs(context.removed) do
                    value = value + v.getID()
                end
            self.ability.extra.current_chips = self.ability.extra.current_chips + value*2
            return {
                message = localize('k_upgrade_ex'),
                card = self,
                colour = G.C.CHIPS,
                delay = 0.45
            }
        end
#

but im not sure what to do about it 😭

fickle elbow
alpine cosmos
#

that is

#

a lot of money

fickle elbow
#

it can be more

sleek granite
#

why do you have a locked foil joker

alpine cosmos
#

mika's mod i believe?

fickle elbow
ancient junco
#

whats the state when your hovering over the deck and it shows ou the preview?

sleek granite
#

ignore that i was scrolled way up lol

#

phone being cringe ^^"

sleek granite
ancient junco
sleek granite
#

no, sorry. though i know it's probably possible, since iirc the deck and hand move down when it's open. just dont know how that's done ^^"

fickle elbow
#

hmmmmm

alpine cosmos
#

i still havent figured this out

alpine cosmos
#

practically won

fickle elbow
#

i keep hitting jack pot $50 million rn

#

ante 2

#

here my trick

#

i became the house

#

and the house always wins

fickle elbow
#

im big winning

sleek granite
#

wait are you betting negative money lol

rare shell
#

negative jollars?

exotic tulip
#

do you guys know the dimensions of the cards in pixels? I got the raw files of the assets but I'm struggling to figure out how many pixels should be in a card.

alpine cosmos
#

71 x 95 overall

#

but there's a 1 pixel border

exotic tulip
#

got it, thank you so much

alpine cosmos
#

so it's about 69 x 93

exotic tulip
#

got it

#

thank you!