#⚙・modding-general

1 messages · Page 16 of 1

left ivy
#

someone has already created a mod for lower scaling if thats what you want

#

if not Ive got no clue lol

glad sedge
#

scaling is what im changing. but i want more antes
more opportunity for shops in like 20 antes
but after 12 things go crazy

#

and i dont think any build can hold up. destined to lose

left ivy
#

youd be surprised

glad sedge
#

when inet comes back im going to check a endless on youtube to get some understanding

dusky reef
#

wish i knew the game sooner

#

but it's also nice to see so many new people are hanging out in the mod chat

#

(including myself)

left ivy
#

Its always nice to see newer faces

#

Telling the tales of what the game use to be like, and my bugs

#

from WWI to WWII to WWIII

strong swift
left ivy
#

(Im seeing a trend)

left ivy
white scarab
left ivy
#

Remember when I got to ante 7 and we thought that was INSANE cause of the psychic bug/original hand dupe

#

fought violet vessel before the boss even existed

white scarab
#

I remember when I thought sub 2 was a fast speedrun with that glitch

#

Since then it’s been beaten by like 25 seconds glitchless with the full 8 antes

left ivy
#

If the latest ante skip didnt take so long to do it would have been insane! almost sub 1... almost

white scarab
#

You could probably sub 1 that demo on a good seed

#

Just jump from ante 1 to 6

left ivy
#

true

left ivy
#

OH YEAH!
I forgot about that ngl

white scarab
#

I even removed pausing the game pausing the timer in my timer mod

#

Since other speedrun moderators thought that was not a good idea

left ivy
#

lol

#

I need to get my obs to work

#

speeding balatro and bph could be fun

#

especially since they still havent patched my glitch that just completely skips the game for bph

white scarab
#

You should check with the speedrun community if that’s allowed for BPH

glad sedge
#

if anyone finds how to change default multiplier of antes let me know im going crazyyyy

#

how it sounds so easy but cannot find it. also the wall properties are inexisten in blinds.lua just the code for when you disable it

white scarab
#

You would probably need to modify the function that has that information

glad sedge
#

problem is cannot find that at all

rare shell
#

speedrun tote to death any%

white scarab
#

Search 2800 in the code

rare shell
white scarab
#

Actually I think I might know what file it’s in

#

Ok the function is called get_blind_amount

#

idk what file is in, was just looking at some old screenshots I had

dusky reef
#

making those easy mechanic jokers are so fast now

#

shoot typo

glad sedge
#

that was conveniently uploaded today thanks guysssssss

rare shell
#

so are these seperate jokers that show up on the collection and spawn in shop or?

dusky reef
#

no ideally none of them will spawn in shop

#

they are only playable from the specific deck

#

which automatically adds the x-playing joker

#

which transforms to all of the others

#

I think I am aiming to make all of them round-based, so no growth but hopefully collectively gives the player a lot of options per round

hardy brook
ocean torrent
#

what did i do wrong 😭

exotic shadow
#

did you save the 1x spritesheet to the 2x folder?

ocean torrent
#

huh

#

i just assumed they were the same

#

i have the same png in both files

exotic shadow
#

no the 2x one is twice the size

ocean torrent
#

ok well how tf am i supposed to do that omg

ocean torrent
exotic shadow
#

yeah

ocean torrent
#

thanks

dapper helm
#

what happens if you deplete all options in a certain pool? like for example if you have a negative copy of every tarot from using perkeo do they never show tarot packs?

#

does it become only black hole and soul out of planet and tarot packs respectively?

exotic shadow
#

All the pools have a fallback if they can't spawn any

#

Jokers is the base joker
Planets is pluto
Tarots is fool
Not sure what spectrals have

dapper helm
#

interesting, i might try and find a seed (with seed searcher for sure) that can do that if i get bored

glad sedge
#

@gleaming talon thank you for the mods from nexus , they rock. can you elaborate some time on what logic is being followed exactly on the ante modifiers? is just 2x slower?

ocean torrent
#

how do i override the main files of the game

rare shell
dusky reef
#

Hey guys I just posted an initial version of High Card mod in modding threads. Will keep updating it to complete all 52!

sullen dome
#

hi everyone, i'm trying to install the mod injector but my pc just keeps telling me its a virus, is that fine or is it an actual virus

dapper helm
sullen dome
#

ok i'll try that, thanks!

cunning silo
#

Hii! I am pretty new to modding, and I wanted to use some debug prints to check my code.
Is there a console I can open to help me?

sonic pollen
#

If I had to strike a guess, I imagine that there's some sort of console read you can check if you can get developer mode open

wanton rapids
#

are you using steamodded or balamod

cunning silo
wanton rapids
#

are you using lovely or not

cunning silo
#

No

#

Using the normal injector

wanton rapids
#

do you have python installed?

cunning silo
#

@sonic pollen you wanted to see as well

wanton rapids
#

it opens a window which called from sendDebugMessage() in balatro go to

cunning silo
#

Oh, and another question.
Let’s say I have an idea for a patch to the base game’s code (I am working on trying to find a way to add custom deck textures). Will I be able to make a contribution to the project?

wanton rapids
#

if you can use github, then yes

sonic pollen
#

thanks for this

#

So you just run this window alongside balatro and it catches the debug messages and displays them?

cunning silo
#

Cool. Thanks a bunch! I was looking for more games to mod, and this is a new one that is very interesting

midnight arrow
#

Does modding disable achievements? looking for some gui mods but would like to still progress

wanton rapids
#

steamodded does, but there's a mod to enable them

cunning silo
#

What are the benefits of using Balamod over Steammodded?

rare shell
#

yo itayfeder 👋

#

iirc balamod doesn't alter the game itself while steamodded does

#

you can just disable balamod and that'll be fine, but you will need to clean your files to uninstall steamodded

cunning silo
#

You’re from MCIA right?

rare shell
#

there maybe more things, but this is only what I know (I personally only used steamodded so far)

rare shell
sonic pollen
#

Anyone know if there's any community effort to document the code base

#

Would be nice to have and to give aspiring coders the convenience of not having to each independently learn how the game works

ocean torrent
#

how do i override the main files of the game

midnight arrow
#

anyone know how to uninstall balamod?

ocean torrent
ocean torrent
gleaming talon
shell bolt
#

bit of an odd question, but does anyone know if theres any way to reset the scores on the stats screen without resetting like.. everything lmao
i mistakenly was playing modded on my normal profile (yes, i know) and now my stats screen shows ante 39 and 3000$ etc.. haha
would like if i could somehow fix that although i doubt it
it luckily didnt set my high score to naneinf, but it did for some reason set it to 0

ocean torrent
#

I think you could by doing like overiding

#

Or just make a new save file and cheat everything in with the dev tools

#

that same thing happend to me and idk what to do either

gleaming talon
#

naninf is as it says in it's name "not a number"

ocean torrent
gleaming talon
#

Probably doable

#

I can maybe see what I can do

#

OR, you can try to modify your profile.jkr file

shell bolt
#

i was thinking about that but i dont know how to modify it lol

#

that was the first thing i went to check

gleaming talon
#

save file editor, you can put it in it, be aware that you need to backup your file coz there's a high chance of a crahs and your profile not working after replacing it

#

Try to mess with that

shell bolt
#

yep instacrash

#

i was able to find and alter it

#

im not sure why im getting this error though

#

only altering one digit

#

i found a saveeditor for balatro on github but im too dumb to use it i think lmao

cunning silo
#

So, I am trying to make a feature that will allow custom deck sprites. It almost works, but it gets into problems in the start game menu.
Apparently, the function that controls it (set_sprite on the top card of the 10 card showcase deck), is only called once we try and open the menu.
How do I force it to be called every time I cycle through decks?

gleaming talon
#

It might be a different function

upper egret
#

hey guys, is there any tutorial anywhere to install mods?

gleaming talon
gleaming talon
upper egret
#

alr

upper egret
gleaming talon
#

When you dl it, windows will say a pop up like "virus detected", click ont it, click on the "detected malware", and click "keep it"

upper egret
# gleaming talon When you dl it, windows will say a pop up like "virus detected", click ont it, c...

im trying to install via lovely since my antivurs is really annoying, but i cant find the download on this page, do you know where it is? https://github.com/ethangreen-dev/lovely-injector/tree/master

GitHub

A runtime lua injector for games built with LÖVE. Contribute to ethangreen-dev/lovely-injector development by creating an account on GitHub.

shell bolt
gleaming talon
#

but if you use powershell install it will cause no proble

#

It should*

upper egret
gleaming talon
upper egret
shell bolt
#

its super tiny

upper egret
#

when im in a confusing download competition and my opponent is github

shell bolt
#

hahaha

#

i had to ask myself i spent 5minutes looking for it

upper egret
#

btw

#

i just put mods in the mods folder rightn

#

not modsname

shell bolt
#

yeah mods is pretty decent at going through shit

#

the .luas will just go in mods

#

and then some mods will have an assets folder

#

mods like ankh or lovely the whole folder just goes in /mods

upper egret
#

cuz otherwise theyll be called assets 1 and assets 2

shell bolt
#

yea i just merged mine

upper egret
#

in like the assets sub folder

shell bolt
#

i pretty much just merged and hit yes to replace whenever it asked

serene sandal
#

how do i play this game on mac, anyone got any ideas? Im on Sonoma 14

north moat
serene sandal
#

Oh okay 👌

#

Thought it was only for pc

twin herald
#

Mac version was released at the beginning of this month!

#

Generally, you can tell if mac is supported by seeing the OS icon above the buy button

serene sandal
#

so I was eager to see if it would come out on mac.

#

i need to something to do from time to time on my work laptop lol

rare shell
#

Is it possible to change spritePos/sprite of a Joker?

#

like that (this doesn't work)

cosmic shell
#

it's just pos, not spritePos

rare shell
#

(I'm certain that this part is triggered)

gleaming talon
#

1px is very small

#

try increasing it

#

x)

cosmic shell
rare shell
#

oh does this pos uses different length measure?

cosmic shell
gleaming talon
rare shell
gleaming talon
#

are you sure the game does not override the pos/spritepos later ?

#

Since it makes the Joker move a bit etc

rare shell
#

🤷‍♂️

cosmic shell
#

i think the sprite position is actually under self.config.center.pos

grand geode
#

why aren't you changing it on joker declaration

cosmic shell
#

I assume they're trying to make a joker that dynamically changes sprite.

rare shell
#

I'll showcase it wait a sec gotta download something to record gif

grand geode
#

thomnk

rare shell
#

cassette a/b sides (woah these colors are sure crusty)

gleaming talon
#

that's neat

rare shell
#

I want to make different effect depending on cassette's side

#

less crusty

cosmic shell
#

small nitpick, i think it would look better if the b-side was facing the other direction since it already does a flipping animation

gleaming talon
#

Feels like you're too smart for me

past tendon
#

neat, I had an idea for an alternating joker, glad to see changing the sprite is possible

rare shell
#

can't just flip a sprite because then all the lights will be wrong

#

but honestly is balatro nitpicky when it comes to light source?

#

if we count art jokers, they do have different position of light source, like here for example

#

but most of them are top/top-left

#

top-left:

#

Also sprite changes before the flip happens, I need to change it mid-way somehow

#

I think I need this?

past tendon
#

it's hardly noticeable in that case but it may be a problem if the sprite changes a lot yeah

rare shell
#

(should I also swap "B" with "DJ-oker" on the second one?)

past tendon
#

I guess it makes more sense (just a small nitpick though)

rare shell
#

but from readability standpoint?

cosmic shell
#

thinking about how it would be written if it was a real tape the B would probably be on the other side (to the right of DJ-oker i mean)

gleaming talon
rare shell
#

can someone name me good pairs/counterparts in this game?

#

like
discard/hand
enhanced/not
chips/mult
etc

cosmic shell
#

red suits and black suits could be one

woeful finch
rare shell
#

doesn't quite work with high contrast mode tho but makes sense anyways

gleaming talon
#

Positive/Negative (Joker)

rare shell
#

was surprisingly easy to implement proper flipping

#

any more counterparts/pairs?

rare shell
gleaming talon
#

Negative & positive also works with consumable & perkeo

rare shell
#

I wish negative playing cards existed

#

everyone's point against them is they will require additional poker hands

#

but why can't you make them just not count in poker hands and just work like splash

gleaming talon
#

They can just add +1 hand size

past tendon
#

depends on how they work.

#

planet/tarot could be another pairing

rare shell
#

also negative cards will be handy when discarding large amount of cards

gleaming talon
rare shell
#

face/not?

gleaming talon
#

Yes also

#

!= chips amount also

rare shell
#

guys I play this game for like 6 hours (rookie numbers) but I still don't get what is interest and what it does besides giving me money

#

and how it increases

gleaming talon
#

easy

#

it gives 1$ every 5$ you have

#

but caps at 5$ offer max (unless voucher)

#

and you receive it after finishing a blind

#

So if you have 18$ when finishing a blind, when you collect money it'll give you +3$

rare shell
#

there's also this diagram joker yeah?

#

that does something with uncapping it

gleaming talon
#

Diagram joker ?

wanton rapids
#

to the moon

#

doubles the amount of interest you get

#

that's it

gleaming talon
#

Yeah no uncapping it

rare shell
#

yeah I forgot what it does

#

I kinda didn't understand what it does tbh

gleaming talon
#

well if you have 200$ it should give you 40$ at end

#

so not related to interest just acts the same way

rare shell
#

anyways I thought there's counterpart to this too but I guess there's not

gleaming talon
#

nope no counterpart

#

well, if you skip blind you get no money for it

rare shell
#

any counterpart for money?

#

sell value can be considered a pair to current money I guess

grand geode
#

if the cap is $5 then this gives an extra $5

past tendon
#

I think odd/even or black/red would be good just because they're straightforward (and are already used by other jokers so people are familiar with these)

rare shell
#

yep!

#

wonder if I should do both or only one of these

#

I think odd/even will be the best choice

#

but at the same time I'll need to clarify which cards are considered odd/even, like todd and steven do

hardy brook
#

So I found some old challenges in some of the old channels on the server

#

A lot of them from GothicLordUK, and I thought some of them would be fun to remake

#

I even concepted an updated version of "The Draft"

#
    - Open 10 Mega Tarot Packs, Mega Planet Boosters (Alternating opening)
    - 3 Joker Slots

The Draft (Updated)
    - Start with a deck of 1 Ace of Spades. Open 10 Mega Standard Packs, then alternate between Mega Tarot and Mega Planet boosters
    - 3 Joker Slots
        - The game would start with a LOT of tags as a heads up.```
#

So yeah... You're pretty much starting the game with 20/30 tags that give you packs, which is a lot

#

They said ULTIMATE packs, but idk what an Ultimate pack is

grand geode
#

why tags, just run the open function directly

#

well probably more complicated than giving a billion tags lol

hardy brook
#

Because i don't know how to do that

#

lol

#

I know how to give people tags at the start of the challenge run

#

I think

#

I woke up not long ago

#

Wait that's banned tags

#

I'll figure it out later

#

I wanna work on the texture pack

rare shell
#

how do I check if joker is specifically in joker slots?

#

I thought it is context.cardarea == G.jokers but it isn't

magic sandal
tepid sentinel
#

How would I go about creating a deck with fewer cards? Simply deleting from g.playing_cards doesn't seem to work, I'm still trying to figure it out.

rare shell
#

odd todd even steven but 2x

twin herald
#

I'd argue the 2x is overkill

#

You already are getting a good deal for having a two-in-one joker

rare shell
#

+6, +45 then?

twin herald
#

Idk. Id just keep them the same values as odd todd and even steven

rare shell
#

It's uncommon and also it's a little bit more unpredictable than todd and steven

past tendon
#

also depends on rarity. Since it's uncommon I wouldn't be too surprised if it had slightly better values than odd todd/even steven

#

+8/+60 sounds like a lot though

rare shell
#

switched to 6/45

#

also is the wording alright here?

past tendon
#

for example fibo is uncommon and gives +8 for specific ranks

rare shell
#

also actually I don't know if I even want odd/even thing

#

might do dark/light suits

#

after all, the cassette itself has ranks in its sprite

#

might underline them based on side

past tendon
#

many cool design spaces to explore here. I think you should playtest a few ideas and see which one is the most fun/interesting

rare shell
#

what do you think about this?

prime cairn
rare shell
#

I'm talking about suits underlined on each side

prime cairn
#

oh

#

why is there 3 suits

rare shell
prime cairn
#

ohh

rare shell
#

additional suits are from here

prime cairn
#

The little suits look good

#

It's easy to understand

rare shell
#

(note: not my sprites)

prime cairn
#

I downloaded so many mods and it still works

#

about 10

#

I heard jelly mod doesn't work with others

#

but

#

It worked after downloading them in diffrent folders

grand geode
#

it isn't compatible with some others because it overwrites functions

#

so if the other mod is also using that same function then Too bad!

prime cairn
#

k

gleaming talon
#

like mods that overwrite functions have higher priority than other so that it causes as little problem as possible with cross modding

grand geode
#

good luck getting ordering to work with current steamodded lol

gleaming talon
#

Yeah I ain't gonna do that

#

would be cool to have it tho

#

like set a priority in the header of a file

#

and if you don't have one its lowest priority automaticly

hardy brook
#

What'cha up to?

#

Seems intriguing from what I've seen

rare shell
#

Moons are considered dark suit, stars are considered light suit

#

there are tiny suits in this card, which include moons & stars

#

this seems to be working well with custom suits, yaay

rapid bridge
#

how long do you guys think i should wait before i install any mods? so far im 12 hours vanilla but i was thinking of adding a lot more hours first

rare shell
#

Personally I'd just install mods the first minute as long as I know what to and what to not expect from the main game

rapid bridge
#

that’s valid tbh

#

i haven’t rlly looked at them yet but so far i’d only be into cosmetic mods

rare shell
#

I like mods that do not add something that doesn't fit the main game (for example high-res art, specific memes and references, etc)

rapid bridge
#

yeah that’s what i was thinking about too for what i want

prime cairn
#

what mod adds a fps counter?

grand geode
#

debug mode

hardy brook
rare shell
#

Honestly I wish six suits didn't add suits right at the start of the game

#

And instead were suits you buy with booster packs or get through taro

hardy brook
#

I think you can so that with an unchecked six suits

#

Starting the game with 4 suits

rare shell
#

huh?

#

How do I uncheck?

hardy brook
#

Unless the mod removed it, when you pick a deck it should say 6 suits underneath to enable or disable

#

I wonder if people figured out how to make custom packs

rare shell
hardy brook
#

Oh that’s odd

#

Guess that was removed in the update

rare shell
#

😭

rare shell
hardy brook
#

You’d have to figure out shaders

#

Because editions use shaders

prime cairn
#

I don't remember downloading a debug mode but there is a fps counter..

hardy brook
#

Show?

#

Or show your mods folder

#

I may be able to figure out which mod

prime cairn
#

so many mods

hardy brook
#

First off, damn, none of mine lol

prime cairn
#

oh

hardy brook
#

Strange

prime cairn
#

most of the mods there are deck or joker ones

hardy brook
#

I can’t seem to find the debug mod

#

Surprised they’re all compatible tho

prime cairn
#

idk how they work but I'm suprised too

#

Someone said jelly mods doesn't 100% work with others

#

but it works..

#

should I just ignore the frame counter

hardy brook
#

I guess. where'd you get the mods just so i can check

prime cairn
#

I'm getting mods from here

hardy brook
#

not sure what would be giving you it from the list you got there

prime cairn
#

k

#

thanks for help

rare shell
hardy brook
tepid sentinel
#

Do decks have to have 52 cards?

prime cairn
#

oh no I think adding more mods crashes the game before it launches

woeful finch
tepid sentinel
prime cairn
#

So many decks

#

how is the game still working

rare shell
#

iterative design

steady parrot
#

Where's the mod at that lets me hear this version of the theme when I play........

https://youtu.be/WJi6m7R8ADY?si=DjfSntLGoSce7ZHP

Stoked to share this new SOLO cover I worked on recently! I've always been a fan of Rogue-Like Games for a long time, especially deck builders (and being a trading card game junkie). First few that come to mind are games like: Slay The Spire, Monster Train, Peglin, One Step from Eden, and many more.

When Balatro first got announced, I got the d...

▶ Play video
rare shell
#

when you make it yourself

#

I want to make a mod that geniunely adds more music to the game

#

because hearing the same tune for hours makes your brain rot

#

I like that it does dynamic music thing with location, but it is not enough

#

something something vanilla music for ante 1-3, custom for ante 4-6, other custom for the rest and so on

#

mobile balatro?

#

is this some sort of unofficial port i dont know about

#

if this is unofficial, then

bleak oriole
#

AH

rare shell
#

anyway

#

you're quick lmao

bleak oriole
#

Never appear 😄

rare shell
#

so uh

#

firch

#

yo?

#

out of curiousity i was looking in the games files

#

and i think i came to the conclusion that the theme we all here is actually a slowed down version of the theme

#

?????

#

what?

#

really?

#

im not going to post the source files here because know

#

but yeah

#

I think it slows down when you lose a run

#

no but like

#

default its pitched down

#

go to /resources/sounds/music1.ogg

#

let me check

#

hell I can't play oggs

#

gotta install vlc or something

#

one sec

#

(I just got a new pc that's why lol)

#

i think music3 is what plays during a run loss (but its still pitched down)

#

Is soundtrack that is included on steam is also pitched down?

#

im not sure

prime cairn
#

11 pages of mods

magic sandal
#

which file contains the jokers? i wanna see how jokers are written

rare shell
#

card.lua

#

vlc installed

#

holy shit it's so fast

#

im losing my mind

#

and now i can definitely tell its pitched down by default now

hardy brook
#

screw it, I'm gonna try and finally beat my extreme deck

rare shell
#

this is cursed knowledge

hardy brook
#

i want to at least beat it with white stake

#

it's THAT hard

prime cairn
rare shell
#

I wonder if localthunk pitched it down on purpose because the music felt too intense

#

that'd make sense

#

also it's not only pitched but sped down I think

cosmic shell
rare shell
#

nope

#

not really

#

depends on how you do that

grand geode
#

the actual files are sped up for reduced file size

rare shell
#

you can pitch down and resample and lose no speed

rare shell
woeful finch
#

i think it’s at 70% speed and pitch and tune decreases

rare shell
#

that would make sense

woeful finch
#

forgot exact amounts

hardy brook
#

I just want to get one UNSEEDED WIN

#

I wanna see someone actually try and get an unseeded win on it

gleaming talon
#

can you know the number of card played in the "context" from the eval_card fction ?
And what is the way to get it ?

cosmic shell
#

I assume so since half joker exists

rare shell
#

#context.full_hand specifically would get the number of cards played (not just scored)

gleaming talon
#

thanks guys

rare shell
#

quick, I have one joker left, what should he do

#

mosaic joker

#

at least give me a theme for his ability

hardy brook
#

After each hand, turn a random card left in the deck into a glass card

#

Finally got to Ante 2, my gosh

woven sonnet
hardy brook
#

I probably did 30 resets already

rare shell
#

also this suggestion is nice

#

do we have something like that in base game?

rare shell
#

also that card pack is sadistic

hardy brook
#

I thought mosaics were gla-

#

no wait

#

That's stained glass

#

Then yeah stone cards

rare shell
#

I think you meant vitrage windows

#

ty guys

#

will make mult on stone cards I think

#

simple yet tasty

hardy brook
#

Oh my gosh I actually got a safe haven with grabber

gleaming talon
lean dune
#

loses on the spot

rare shell
#

Is it possible to create custom unlock conditions?

#

for modded jokers*

hardy brook
#

My gosh, this is actualyl stressful

grand geode
#

yes but steamodded doesn't save it

hardy brook
grand geode
#

because it loads after loading save files

rare shell
#

perharps it is possible to create custom save file?

#

figures why it keeps spamming me for checking my joker discoveries

#

oh yeah also that

hardy brook
#

Doing Jimbo Only now

#

My gosh this run

gleaming talon
#

Has anyone managed to add negative to a joker ?

#

I'm struggling a bit on this part

#

checked how ectoplasm does it and in "Card" class it keeps using self (I'm sorry if I'm asking stupid questions I self taught myself lua)

#

I want to do : self.eligible_editionless_jokers

#

So basicly get a table of eligible jokers that can have negative

bold bluff
#

Hi everyone, does anyone know why some of the modded jokers don't seem to work?, blackjack joker lollipop and a couple others from various mods didn't work, the cards would be able to be bought just not actually trigger in game, not entirely sure why so I was wondering if anyone here has had this problem

gleaming talon
#

If they rewrite eahc others function they won't work so maybe that's why

bold bluff
#

I did kinda just throw a bunch of mods in at once😅

#

I didn't feel like bugfixing last night, I'll have to look into it more today when I get home

#

Jelly just crashed everytime, I don't remember if I ever tried just Jelly, so maybe thats why

gleaming talon
#

this won't cause problem

#

this will

#

for each function that is redefined

#

you can usually see if it's redefined by the length of the new function

#

If there's a lot of line, likeley rewritten

bold bluff
#

At the top of my head this doesn't make sense, but I have some programming knowledge so when I'm looking in the Lua scripts I'll see if I can fiqure it out

gleaming talon
#

Just if there's no call to the "original function" for a redefined function expect it to cause problem for mod that uses the same function

bold bluff
#

Because then it's only looking for local data instead of data throughout the whole game or am I way off?

#

My guess is that it has to do with how each mod sees its own assets and scripts but like I said thats just a guess and I'm not at my pc so I can't even look into the files to investigate 🤣

gleaming talon
#

Well it doesn't work but you get the idea

#

If someone implements a change and after a script get executed and completely erase the modified function they won't work as intended

bold bluff
#

Is there a fix for it? I'm a big fan of absolutely crazy mod packs in all my games

white scarab
#

I think it depends on modders’ design philosophies when going about modding the game

#

Balamod lets you inject code into the middle of a function if you need to iirc

bold bluff
#

I'm using steammod I think it's called

#

The other one lol I know it's not balamod

white scarab
#

When using Steamodded you have to try to redefine as little as possible

white scarab
#

Depending on the function and what you want to do it may be impossible with current Steamodded features

gleaming talon
bold bluff
#

Well I just downloaded a bunch of steammodded mods and shoved them in and aslong as it didn't crash, I played a deck, and I noticed some issues lol

white scarab
#

I think as the modding scene evolves the design philosophies will change to be more welcoming for mod packs, where code is injected with features like that

bold bluff
#

Having a non invasive general modding system would be great but is there any current working solutions? Because the whole modding community would need to get together and follow a functional system for it to just, w o r k

white scarab
#

I think you would have to speak to the mod developers to see if they can fix overriding issues in different functions

#

Sometimes even with that system two mods may conflict each other

#

Like maybe they both add the same kind of enhancement but with two different effects

#

Now it’s there twice

#

But I think that’s an issue with making mod packs in general anyway

bold bluff
#

I mean, would just changing the name of the function, fix functionality? Or is it more inside then that

white scarab
#

Well then how would other mods know which version of the function to use? That doesn’t scale well I don’t think

bold bluff
#

Ohh I think I see what your saying. If the name isn't a standard then mods can't communicate with eachother?

white scarab
#

Yeah

#

If every other mod is using a different function and the game only calls one of them, only one of the mods changes will apply

#

I know with my mod I’ve kind of been ignoring this issue

#

But it’s also meant to be standalone

#

It doesn’t even use a modloader

bold bluff
#

I mean, communication between mods wouldn't be needed for every mod? Jokers should be calling its own script and having the game execute it? Extra suits or decks are one thing but jokers should be a relatively isolated thing, no?

gleaming talon
#

wait, the shuffle is always the same ?

white scarab
#

Uh

#

I’m not sure if the game adds on the seed inside that function or outside of it

#

Check what it does for your deck

#

If it doesn’t use seed then that’s actually huge for beating the boss

#

Since every shuffle is deterministic for a certain number of jokers

gleaming talon
#

yup

#

But maybe I'm looking the wrong file but this is strange

bold bluff
#

Me not actually knowing Lua is making reading these hard lol

runic kraken
#

is @carmine flare here?
I kindly joinked his code for the UI box and need his permission if I want to publish my mod blueprint

white scarab
#

I know for card shuffles it uses seed but I forget if that seed is added when shuffle() is called in the specific part of the code or when shuffle() is called in general

#

I think for specific parts

bold bluff
#

Python and C# are what I have experience in

rigid jewel
#

Speaking of seeds, how would you go about making custom jokers follow custom seeded logic? I tried it for a few jokers and couldn't get it to work so I stuck with math.random

rigid jewel
#

I have a very poor understanding with seeds in games in general

runic kraken
white scarab
bold bluff
#

Seed based randomization is crazy🤣

gleaming talon
white scarab
#

In general the strategy is to pretty much just copy thunk’s homework when doing that

#

Each joker uses a string for their own identification in the seed so you can change that to something that fits the joker name

rare shell
#

or some variation of that

#

replace card with whatever is being negative'd

gleaming talon
#

that would cause problem if the Joker already has an edition

#

but I found what I wanted

#

I thought there would be like a magic function for that but no, it's just hardcoded like this lmao

rare shell
#

i mean you could also just check if the joker has an edition before running the code

#

like how the snippet does

gleaming talon
#

that would cause problem for infinite loop

#

not if I integrate it properly

rare shell
#

fair

gleaming talon
#

but I found what I wanted anyways XD

rare shell
#

🤯

bold bluff
#

How did you guys learn the games code? Like I know Lua is a programming language but how did you learn to communicate in a way the game would understand,

#

I havnt been able to find any info on it

rare shell
#

¯_(ツ)_/¯

#

maybe the players save file remembers what jokers you won with based on internal id

gleaming talon
#

not save file but profile file probably

rare shell
#

and the source code

#

¯_(ツ)_/¯

#

why doesn't it remembers anything else then

#

is it stupid?

#

maybe not everything is being stored

#

i know steammodded has some kinks regarding that

#

I hope they will fix that

gleaming talon
rare shell
#

also I think I implemented all the jokers I made!

#

welcome to the fold

#

That means I need to make wiki for the mod, tweak stuff like sell value & rarity and I will release the mod

#

you're initiated now

#

oh

#

you should look at

#

took me about 10 minutes to set up

#

is that that fancy thing with balatrorian background?

#

yarp

#

epic

#

but I think github wiki will be cleaner honestly

#

I can do both

#

no harm in doing both in fact

rigid jewel
# white scarab Which part are you trying to seed? I’m kind of the seed expert here

Here's the list of jokers currently using math.random that ideally could use pseudorandom
1: Chameleon Joker's selection of a joker to dupe (basically acts as blueprint but to a random compatible joker position, does selection on context.setting_blind)
2: Taliaferro and Royal Gala (identical logic to Gros Michel and Cavendish)
3: Virus's selection of cards to convert to played card (probably the most complex to seed, but maybe localthunk cooked a joker to steal the logic from)
4: Ban List's selection of poker hand types to not get money from (very similar logic to To Do List, but there's two hands instead of one so I couldn't really steal To Do List)

rare shell
#

mad respect for that

rigid jewel
#

If you need me to elaborate on Virus I can

#

The code is beyond scuffed

rare shell
#

thank you for the site

gleaming talon
#

feels a bit underwhelming

rare shell
#

thank not mario when hes around

#

will do

#

i still need to fix his destroy effect ooooooooooooooooooooooooauuuugh

#

and also reword it so its clear that you get $3 per card destroyed

gleaming talon
#

ohhh OKAY I understand now

rare shell
#

😛

gleaming talon
#

Yeah the text is ambiguous

bold bluff
#

Maybe instead of destroy it can lower card rank by 1 or 2 cus destroy seems brutal for legendary

rare shell
#

you think writing custom magic cards for years would teach me a thing or two about text formatting but unfortunately i am dumber than a bag of rocks

gleaming talon
#

For each numbered card scored in your first hand each round, destroy it and gain $3

rare shell
#

antialiasing in my balatro??? lmao

#

listen!!!

#

i added it before i found out thunks guide

bold bluff
#

🤣

rare shell
#

death.

gleaming talon
rare shell
#

besides its one level of aa it never hurt anyone,,,

rare shell
# rare shell

I'm literally searching for this exact image right now lol

#

you're faster

#

trying to scan the joker page for any AA'd jokers and i think the only one i could find that would come close is lumpytouch's vagabond

#

and i guess polaroid sorta??

#

yeah theres some in the more "blurry" backgrounds like that and trading card, all as a background element though admittedly

#

dagger also sort of has some aa on the handle

gleaming talon
bold bluff
#

Is the math for that just a number or like a whole ass equation?

rare shell
#

alright, back to trying to fix fortuno

#

so this is underneath context.individual checking for G.play

                if self.ability.name == 'Fortuno' and not context.blueprint and G.GAME.current_round.hands_played == 0 then
                    local card_to_destroy = context.other_card or nil
                    if context.other_card:is_face() or context.other_card:get_id() == 14 or card_to_destroy == nil then
                        return nil
                    end
                    card_to_destroy.getting_sliced = true
                    G.E_MANAGER:add_event(Event({func = function()
                        (context.blueprint_card or self):juice_up(0.8, 0.8)
                        card_to_destroy:start_dissolve({G.C.RED}, nil, 1.6)
                    return true end }))
                    ease_dollars(self.ability.extra.dollars)
                    return {
                        message = localize('$')..self.ability.extra.dollars,
                        colour = G.C.MONEY,
                        delay = 0.45, 
                        remove = true,
                        card = self
                    }
                end```
issues i have ran into
duplicates of fortuno will delete the same card twice and result in having empty cards occupy the players hands that are always selected
#

okay nevermind i am dumb and i figured it out

#

🦆

cunning silo
#

Hey!
So, I have added a new suit (yay!), and I was trying to use that suit's color in a joker (the usual +4 mult one).
But, when I tried to use the normal system (using the special notations), it was not colored in, which is interesting, since the cards themselves have the correct color.
Is this a known problem?

rare shell
#

just need to check if the card is getting sliced first

#

this discord is magical because i just type my problems in and suddenly i figure out everything, incredible!

#

I think suit jokers have actual colors

cunning silo
#

they do, but i used the same description format as them

rare shell
#

ah now I understand

#

I think you can check sixsuits mod for reference

shell bolt
cunning silo
#

localization:

            j_greedy_joker = {
                name = "Greedy Joker",
                text = {
                    "Played cards with",
                    "{C:diamonds}#2#{} suit give",
                    "{C:mult}+#1#{} Mult when scored", 
                }
            }

mine:

    local dazed_joker_def = {
        name = "Dazed Joker",
        text = {
            "Played cards with",
            "{C:stars}Stars{} suit give",
            "{C:mult}+4{} Mult when scored"
        }
    }
rare shell
#

they also add two new suits and have that text colorization thing

#

also btw sixsuits mod already has stars

cunning silo
#

oh it does? ):

rare shell
#

yep!

bold bluff
#

Yea stars and moons

rare shell
midnight arrow
cunning silo
#

and they are even of a similar color XD

bold bluff
#

Should totally add more though. Even more chaos 🙂

rare shell
#

I WANT:
Eagles
Shields

#

my life will be complete

bold bluff
#

More suits the better

cunning silo
#

looking through it, there is no place where they use the special localization

#

they didn't add a new suit joker though

rare shell
#

oh yeah I forgot they're yet to add these suit jokers

#

but they have custom hands implemented which is nice

rigid jewel
rare shell
#

like 5 different suits result in custom hand

rigid jewel
#

I'm not familair with UI enough to know how

#

Best guess is making an entry in G.ARGS.LOC_COLOURS in misc_funcion file

cunning silo
rare shell
#

don't listen to me, but personally I think you should just collaborate with sixsuits

bold bluff
#

One massive suits mod would kinda make sense instead of 2 smaller suit mods

cunning silo
#

they did that as well didn't they?

rare shell
#

okay im back im stumped

#

spectrum hands

#

(not my screenshot)

cunning silo
#

I though I had something original for a moment ):

rare shell
#

I get that. Now I feel bad for ruining it for you 😭

cunning silo
#

nah XD all good

rare shell
#

okay i think im just straight up removing cards wrong

cunning silo
#

I was going to find that mod one way or another

rare shell
#

but for real, it'd be awesome if you contributed to that mod

cunning silo
#

I want to lock the new suit behind a card deck though

#

(which is the real challenge)

rare shell
#

aye firch you ever get that joker that destroys cards to work?

rare shell
#

I also use dissolve tho

#

but the problem is is that I destroy the cards at the very end

bold bluff
#

Like only have it for one deck or only have it be available after beating a certain Deck?

rare shell
#

maybe there's some field im not using correctly

#

which may not cause the same error you have

rare shell
#

you can check my repo

#

i dont know why destroying it in hand generates these phantom cards

#

this happens after a new blind so they stay in deck

#

oh wait

#

am i not removing them from deck

#

joker is 'Dread'

bold bluff
# cunning silo only on one deck

Maybe have it detect the name of the deck? If so enable the suit ? Ide imagine it's more complicated then that but. It would work possibly

rare shell
#

also it'd be awesome if suits were locked behind a deck

cunning silo
#

oh BTW I tried to use loc_colour from the misc_functions. But it did not really work

rare shell
#

I literally said something like that today to sixsuit's developer

#

(they currently planning to do menu for toggling additional suits right at the start of a run)

bold bluff
#

An option in mod settings to enable suits for all deck or turn them off at will would be cool, this would make adding suits easier I think with modded decks, I don't know why but sixsuits broke the deck of 4s mod

cunning silo
#

can I just use hex colors directly in the description?

rare shell
#

Perharps I'd make a fork one day

cunning silo
bold bluff
#

I agree it would be more vanilla like, but I live for the chaos 💀

#

Having 6 8 12 suits brings nightmares to all🤣

rare shell
#

how many suits can you come up with

cunning silo
#

you have the 4 base suits
the 4 tarot ones
moon, star
shield
idk

bold bluff
#

I mean suits are just a symbol really

#

Can be anything

#

Pentagram

cunning silo
#

the problem with using G.ARGS.LOC_COLOURS, is that it probably does not load before I try to load it, which means that i cannot add to it

rare shell
#

Stars,
Moons,
Shields,
Eagles,
Spikes,
Flowers,
etc

#

tried googling, here's someone tried to make designs

#

anyone know where start_dissolve() is defined at in source?

bold bluff
#

I just think alot of suits will be chaotic. Probably will cause functionality issues after too many added but whatever

cunning silo
#

okay found a workaround for the colors

#

Look at this!

bold bluff
#

Yooo

gleaming talon
#

what do you think about this ?

Black seal is only available through standard pack

rare shell
#

huge

#

very strong

rare shell
#

only available through standard pack seems deece though

bold bluff
#

For sure

cunning silo
#

This is the workaround BTW.
You call loc_colour to make G.ARGS.LOC_COLOURS initialize itself, and then you add your own color

gleaming talon
#

Yeah but people will want to buy more Standard pack, which I fell like isn't done a lot

#

I finally finished the code and everything should work

bold bluff
gleaming talon
#

and you can't cheese it by duping it because I remove every black seal from the deck after it's played

bold bluff
#

Yesss perfect

gleaming talon
#

if you could copy it it would really be broken

bold bluff
#

What if it was a dupe in hand? Would I still be deleated?

bold bluff
#

Because isn't in hand and in deck two different clarifications

#

Ah ok

gleaming talon
#

Every single card in the deck I loop though to remove it

bold bluff
#

Perfect then

gleaming talon
#

lists every card everywhere

bold bluff
#

Ah that works as a general call I assume

gleaming talon
#

hand, discarded and deck

bold bluff
#

Is G standing for game? In the code, I see it everywhere

gleaming talon
#

Yup

#

it also is equal to self in main

cunning silo
#

G is standing for globals in Lua isn't it?

rare shell
bold bluff
#

OK, so essentially irrelevant to what the code means

rare shell
#

maybe I'm just big_blind tho

cosmic shell
gleaming talon
spice spear
cunning silo
#

BTW how would you guys go about limiting a suit to a specific deck?

rare shell
#

wait you want to limit it completely?

bold bluff
#

I still think a check for deck name before actually 'running' the suit script would work, but I know it's more complicated then that

cunning silo
#

from other decks, yup

rare shell
#

like so it won't appear in shops/packs in other decks

cunning silo
#

yup

glad sedge
#

Boys a little help here?

`--- STEAMODDED HEADER
--- MOD_NAME: BetterYellowDeck
--- MOD_ID: betteryellowdeckbyark
--- MOD_AUTHOR: [ark]
--- MOD_DESCRIPTION: Modifies Yellow Deck to 100 dollars

------------MOD CODE -------------------------
function Game:start_up()
self.P_CENTERS = {
b_yellow = {name = "Yellow Deck", stake = 100, unlocked = false, order = 3, pos = {x = 1, y = 2}, set = "Back", config = {dollars = 10}, unlock_condition = {type = 'discover_amount', amount = 50}},
}
end

------------MOD CODE END----------------------`

this doesnt work

rare shell
#

I thought that it wont appear at start but you'd still be able to get those custom suit cards

gleaming talon
#

at what point is there too much jokers ?

glad sedge
bold bluff
#

🤣

cunning silo
rare shell
#

never. Jockactory must grow

glad sedge
bold bluff
#

Omg how'd I miss that

spice spear
#

super excited for space age

glad sedge
#

i cant wait for friday facts

gleaming talon
#

(at some point in dev there was a bug with black seal and it would trigger like 10times so it resulted to that with rif raf)

bold bluff
#

🤣

cunning silo
#

now im not really sure if trying to limit the suit to a specific deck would actually be worthwhile

glad sedge
gleaming talon
#

hum, I can explain

bold bluff
gleaming talon
#

Okay note to myself, if you dissolve the cards at the end of a blind the counter will go back to normal

#

I'll just need to update G.cardsindeck or something like that

rare shell
#

im big_blind

#

ill work on fortuno later

dapper cypress
#

is there a good tutorial on how to download mods?

bold bluff
#

Ide imagine there's dozens on YouTube already? I'm not sure if there's any linked/mentioned in here though 😦

dapper cypress
rare shell
#

its fine

#

its a false flag

#

it would not be on github if it was a virus

cunning silo
#

@rare shell I think I figured out how to make custom suits appear only in custom decks

#

but it depends on one thing

#

what is the method that is called when you start a game?

rare shell
#

uhhh

cunning silo
#

cause I just had a crackpot theory

cunning silo
glad sedge
#

guys anyone can share one of your injections with steammodded for game.lua to take as reference??

rare shell
#

oh I sent that too early

#

this is start up of balatro

#

more like that I think

cunning silo
#

so it also knows what deck you have

#

good

#

i think i have an idea

#

a very stupid one, but an idea indeed

rare shell
#

works = not stupid

#

(in most cases)

cunning silo
#

who said it's working? XD

#

apply_to_run runs the deck ability on a run right?

rare shell
#

Don't know how to prove that ngl

#

I'd just inject something into that and check

#

but can't find it in the files

cunning silo
#

perhaps not knowing Lua beforehand was a bad idea XD

rare shell
#

nah

rare shell
#

you can just make funciton with the same name and call an original function in it

dapper cypress
#

thanks

rare shell
cunning silo
#

yup, doing that rn

#

i think i found a way to block the suit

rare shell
#

you need to find original function to do so tho

#

for passing the args

cunning silo
#

BTW how do you remove a card from the playing_cards array?

rare shell
#

quick search: probably something like that

cunning silo
#

what is the 'self' representing here BTW? can I just place any if statement here?

rare shell
#

I think so

#

anyways it's time to sleep

cunning silo
#

I am basically telling the game "there is no stars suit in ba-sing-se" at this point

cunning silo
bold bluff
rare shell
rigid jewel
#

I'm having an error where despite specifically checking for if the other joker's name is To The Moon, it seemingly doesn't proc this joker.
For context: this jokers gives 1.5X mult if the joker earns money in the payout screen. I'm having to specifically check for To The Moon because it doesn't interact with the calculate_dollar_bonus function.

stone brook
#

looks like to the moon doesnt actually do anything in calculate_dollar_bonus

rigid jewel
#

That's why I check for the joker's name

stone brook
#

actually

left ivy
#

I found a bug with the jelly mod

stone brook
#

maybe its called rocket

#

oh wait no thats the rocket one

silver moat
#

first time modding, so far the explanations are really crappy for steammodded, is this how the mods should be placed in the mods folder or nah?

small wren
#

I tried downloading the modloader but Norton spat it out is this a legit concern or Norton being dumb?

stone brook
#

its technically a legit concern, but its fine

small wren
#

Any ideas for a workaround?

tidal rampart
#

how do i apply mods

stone brook
small wren
#

Alright thank you

frosty lantern
#

What is the easiest way to disable mods? Do I just have to take them out of the mods folder? Or can you do it in game?

tidal rampart
#

and how do i make my own mods?

eternal mirage
#

Hey, I need some help with a joker I'm modding. For now I just want to add a polychrome edition to every playing card before they score.

The problem is that if I use the set_edition function outside of an event like this, then all the cards get the edition applied immediately after I hit play, instead of waiting for the animation.

#

So instead I tried putting the set_edition inside the event function, and it worked correctly, the cards only got the edition applied after the joker triggered. The problem is that now the game just don't recognize their edition and just ignores it for the playing hand and I have no idea why

#

Does anyone knows what I'm doing wrong here? I spent hours trying to fix this but I've got no idea anymore at this point

glad sedge
#

has anyone experimented with changing the $$$$ for each dollar for ... numbers?

vocal spoke
#

does anyone know if balamod loads folders within the mods folder?

tropic mason
#

steammoddedinjector.exe is marked as a severe trojan, and wont show up in downloads

#

installing the 7zip version doesnt help as the injector is just a txt file that does nothing

glad sedge
tropic mason
#

11

#

i got that to work

#

but now it requires dwmapi

#

which i cant find in

#

any of hte links

#

at all

glad sedge
#

are you dragging the balatro.exe to the injector?

tropic mason
#

yeah i gotthat to work

glad sedge
#

when it says that it requires that dll exactly

cosmic shell
silent cloak
#

is the injector really safe?

tropic mason
#

no idea

silent cloak
#

like for the mods?

tropic mason
#

sure hope so

prime cairn
#

How do I remove the mods

tropic mason
#

windows defender hates it with a passion

prime cairn
#

Without

#

Removing all mods

silent cloak
prime cairn
#

It's save

#

Safe

#

It says there is a Trojan but

glad sedge
#

injector is safe, as many keygens are. but the way they are codded to interfere with exe files is the same or similar pattern to a actual virus, thats why antiviruses claim its bad

prime cairn
#

Ignore it

tropic mason
#

ok but i still dont understand waht dwmapi is

#

is that lovely?

glad sedge
#

but dont worry. github has an extensively good detection system and program is trusted

#

you dont need lovely injector, you can use the binary from the github of steammodded

prime cairn
#

If it was a virus 5% of the balatro community would have already been hacked

cosmic shell
silent cloak
tropic mason
#

and is this the correct wa to format it cause i saw a lot of questions abt it and am gonna ask preemtively

sage finch
#

Since mods are new, people are working on a easier way to install and remove them right?

white scarab
#

r2modman support is coming soon

#

Which is a GUI mod manager

tropic mason
prime cairn
#

Installing is just putting folder or a file to mods folder

white scarab
#

I was using an experimental version of the tool and it works nicely

tropic mason
#

yeah but some people are completely incompetent with tech (me)

#

i dont think ive ever had a smooth way to install mods without the use of like

#

r2modman or curseforge

#

its awlas complicated and broken and buggy

glad sedge
tropic mason
#

i have no idae

#

if its wokring

prime cairn
#

What is R2 modman

tropic mason
#

just a mod hosting platform that does it all for you

glad sedge
#

you would see somethinglike this

tropic mason
#

ill boot up see if it works

white scarab
#

It’s a GUI mod manager. So instead of moving folders around you just click buttons to install mods

prime cairn
glad sedge
tropic mason
#

aite yeah

#

taht works

#

so its formatted fine?

prime cairn
#

Mods

tropic mason
#

r2modman hostst the files

#

you click download

glad sedge
tropic mason
#

it sends them to your pc and instantly puts it in the right place

#

only problem with r2modman is that its laxer when it comes to security

prime cairn
#

But some mods probably will not go there

white scarab
tropic mason
#

so every once in a while there'kll be a mod tahts just malware

white scarab
#

And it can itself load Steamodded or Balamod

prime cairn
#

Yea I'm not trusting

tropic mason
#

only place ive seen it happen was with uhh

#

what was it

#

lethal company

#

i ahvent seen it hit other games

prime cairn
#

Not taking a chance

tropic mason
#

fair nuff

bold bluff
#

So I'm trying to get jellymod to work, it's the only mod in the folder, any ideas?

prime cairn
#

Just download them one by one

#

Like

#

Tarots

white scarab
#

Download from releases page not from GitHub source

prime cairn
#

Then jokers

tropic mason
#

is there like a central page

#

for mods

white scarab
#

I saw someone get the same error when doing that

prime cairn
#

Yes

bold bluff
#

Ah oki

silk hound
prime cairn
#

There is a GitHub page for it too

tropic mason
#

smn like r2 or nexus

#

where its just a colalge

#

and you can pick n choose

prime cairn
#

There is a GitHub page

#

I don't have a link

white scarab
bold bluff
prime cairn
#

Yea that

#

I downloaded 20 decks and over 100 new jokers to the game

#

It works

tropic mason
#

thisi s why i despise github

#

i press something