#⚙・modding-general

1 messages · Page 17 of 1

tropic mason
#

and it shows me this

#

as if id know wtf this is

glad sedge
#

if you log in you can download

prime cairn
#

Don't press Lua files

#

They show code

tropic mason
#

how else am i supposed to download

white scarab
#

You could just download that and move it the mods folder

tropic mason
#

sob

white scarab
prime cairn
#

K

tropic mason
#

so like this?

prime cairn
#

Yes

tropic mason
#

alr

prime cairn
#

A easy mod disabler would be cool

tropic mason
#

im this close to punching a hole through my monitor

prime cairn
#

What

tropic mason
#

why tf is github so annoying to work with

vocal spoke
#

just started building a mod, is there a reason this doesnt work?

mod = {
    mod_id  = "TetraPak",
    name    = "Tetra Pak",
    enabled = true,
    on_enable = function()
        
        sendDebugMessage("TetraPak enabled")
    end
}

-- init mod
table.insert(mods, mod)```
#

it doesnt appear in the modslist at all, so something may be up with mod structure.

gleaming talon
#

Is there support for playing sound with steamodded ?

silver moat
#

any idea?

#

i was able to get to the main menu but no further, once i started a run and played a hand, it crashed to this

exotic shadow
#

one of your mods is causing this, but I can't tell just from this message

silver moat
#

is there a crash log i can find anywhere?

exotic shadow
silver moat
#

got it, hol up, gonna get a new pick of the crash with that mod

#

huh

#

it just instantly crashed this time

#

no message popup the screenshot

exotic shadow
#

that's odd

silver moat
#

i am supposed to put both the stacktrace and the stacktraceplus mods together right?

#

or should i just pick one?

exotic shadow
#

yeah make a folder and put them both in it

silver moat
#

i can try that but mods don't load like that for me lol

#

my mods won't load into the game if i don't put them like this

exotic shadow
#

it should load if you put a single mod in the folder

#

You should be able to make a folder named BetterStack and stick both the lua files for the mod in there

#

I don't think it will work if they are out of a folder

#

as they need to find each other

silver moat
#

still exited without message

exotic shadow
#

I'm not sure why it would do that

silver moat
#

i made a folder named "BetterStack" exactly and they seem to have not loaded idk why

exotic shadow
#

though I did notice that you have the infinite score mod, which is not compatible with a lot of mods

silver moat
#

they are loading but, ye i'll try getting rid of infinite score

glad sedge
#

anyone remember where to activate the hidden secret hands

hollow iris
#

didn't get an answer for this before and Im assuming I won't get a positive one but is there any mod that adds in the stickers on your jokers into the gameplay

silver moat
#

and if i uninstall the aScoreUtils mod that comes with infinitescore

exotic shadow
#

actually I just checked an the stack mod should work if its not in its own folder

#

so I have no idea why its crashing

silver moat
#

lemme try taking it out and see if the instant crash is gone

#

yea same thing

#

it crashes to the og stacktrace

#

and says the same stuff

#

tried an unmodded deck

#

and it still happens

gleaming talon
#

well a mod that I suppose 'rebuff cards" must be the source of the problem

silver moat
#

ah thanks for the insight bro

#

i can read, and have checked my mods folder for anything related, and i do not have a mod called that.

gleaming talon
#

well it's time to open the files one by o,ne then

silver moat
#

also none of my mods straight up buff a card, they only add new jokers or whatevs

#

ok after moving files in and out of the mods folder to determine the cause

#

it seems to be specifically Jelly Vouchers lua that causes it

#

none of the others cause any issues

#

idk what Jelly Vouchers even does but ye

dapper cypress
#

can I still get unlocks and achievements if I'm playing with mods?

dapper cypress
#

my firewall is blocking steammodder, anyone know how I can allow it through?

grand geode
#

download using the Lovely method

dapper cypress
#

what's the lovely method

bold bluff
#

Go to windows defender, find the blocked action and allow

dapper cypress
#

I have no idea how to do that

#

I tried but couldn't manage to figure it out

serene sandal
#

quick question guys

#

where do i put my mods on the mac

#

it says %appdata% balatro/ mods

gleaming talon
#

create /Mods folder if not exist

#

or launch the game once and it'll create it

serene sandal
gleaming talon
#

welp

cursive jay
#

Wondering if I'm missing a step - I have the steamodded_injector.exe, but it closes automatically after printing the "Please drag ..." line.

gleaming talon
#

take balatro.exe and drag it on top of the injector.exe

cursive jay
#

Thanks a ton. I was thinking I had to drag it onto the terminal window.

gilded solstice
#

okay, ive made an exception for the file, ive done the drag and drop and its still telling Me WINDOWS DEFENDER HAS DETECTED A THREAT

#

🙄

gleaming talon
gilded solstice
polar tinsel
#

Where can I find the stuff Id need to make/install mods

peak grotto
#

Hey guys can someone help me with the Lovely Method? Since my Norton antivirus (that i can't shutdown no matter how i try disabling everything) block both injector and the pyhton one aswell

cosmic shell
dapper cypress
#

I might have done an oopsie

#

I tried downloading the injector and now the game isnt running

#

it's crashing when I try to open it

#

how do I fix my stupidity

wet radish
#

Verify files on steam

#

it'll redown the exe to the unmodded

dapper cypress
#

how do I verify files?

wet radish
#

right click on the game in steam library, properties, installed files on the popup menu

ocean torrent
#

how do i overide the main lua files?

hexed surge
#

epic modded run

polar tinsel
#

Thinking I'll wait for workshop support before getting into modding here.

vocal spoke
#

can you not use require in mod files?

#

it says the file doesnt exist

limber cloud
#

any modding access on macOS or still to early for that?

glad sedge
#

i was modding game.lua and suddenly this didnt change anything that could cause this. i believe

shy ibex
#

So, I want to get into adding mods to Balatro. I created a folder in D:\Steam Library\steamapps\common\Balatro labeled "Mods." What's next?

clear patrol
#

the cmd command for balamod is not working even when navigated to the folder I downloaded

minor topaz
#

hello friends, does anyone know how to find a list of the card names?

#

*file names

small ether
#

where is this dll? cant find it

white scarab
#

releases > tags

small ether
#

tyty

empty brook
#

hi folks! i was testing around with some stuff using debug mode, and accidentally exceeded my previous highest hand by 8e. whoopsie!
is there a way to go into your save file and edit what your highest hand stat is? i thankfully took a screenshot of my previous best (3.319e13) so i'm just gonna like.... revert it to that

minor topaz
#

megacheater ong

empty brook
#

i know...... i cheated so bad..... definitely intentionally used debug mode to RAISE MY BIG HAND....

#

now the guilt is KILLING me, i say....!!!!

#

((i wanted to see what it'd be like to have every single joker on at once and didn't realize it would score this high with a level 1 hig hcard lmao)

minor topaz
#

Blackbando I will rid the dirt from your name if you help me find a file name :)))))

empty brook
#

yeah i can try

#

what're you looking for exactly?

minor topaz
#

still the Director's Cut lol, honestly I just wanna know how to get access to a file dump or smth

#

but someone did what I wanted before with a different voucher so im just tryna find where the names are to amend the mod

empty brook
#

oh, i see

minor topaz
#

the overstock was called "v_overstock_norm" so its surely close to that I just wanna avoid bruteforcing if I can

#

id rather just have the file repository at hand

empty brook
#

v_directors_cut

#

you can find it in the game.lua file, line 605

#

upgraded is v_retcon, like 30 lines down

minor topaz
#

thank you sm, I appreciate ya 🙏

empty brook
#

yw!

#

meanwhile i'm just gonna like. scrounge around and see if i can find my save file anywhere

#

it did teach me something interesting about balatro, i suppose: your hand DOES get saved even if you quit before it's done scoring

#

i tried to quit to main menu when i saw the mult go into the es but it still became my highest hand lol

#

i'm not sure if this is ever relevant but it's a neat fact

clear patrol
#

crashing to desktop on Steammodded powershell version anyone know whats happening?

minor topaz
#

Do I get the modloader to dispense it somehow or am I missing smth here?

empty brook
#

it's in there

minor topaz
#

ohhhhhhHHHHHHH TY

empty brook
#

yw!

#

update on my save file situation: i did find it, but it's a .jkr file. i was hoping i could open this in notepad++ and just real easily rewrite one number to fix it

#

and uhhh

#

i really should've made a backup save or done this on a full-cleared profile lmao

minor topaz
#

hexeditor time

exotic shadow
#

you can use my save editor

#

and use the raw tab

#

oh actually the save ediotr just lets you change that without the raw

#

I forgor

empty brook
#

yeah i was able to fix it real easy thanks to you. thank you so much!!!

clear patrol
#

hmmm...it seems that JellyMod was what was crashing Steammodded, installed another mod and it worked fine. Anyone else able to play JellyMod with Steammodded?

cunning silo
#

I was wondering if you guys could help me with something.
I wanted to modify the proto_cards field in the start_run method. This field controls the cards in the game. To do it, I wanted to use the no_suits property of the challenge args, to make sure a suit does not load. How would you go about doing that?

rigid jewel
#

Anyone know what the issue is here? I can't figure out how to get this effect to work.
All I want to do is get two random tags to spawn when this joker is sold.

exotic shadow
#

which line is 1003

rigid jewel
#

tag_1 = available_tags[math.random(1,#available_tags)]

exotic shadow
#

well whatebver the random function is returning is not something in availible_tags

#

I'm not sure how lua works enough to figure out what you need to change

torpid oar
#

i have no idea what im doing ngl

#

i can build pcs and code half decent websites but this is beyond my skill level

#

ping response please

young obsidian
torpid oar
#

use balamod

young obsidian
#

is there not a step by step on someone github?

torpid oar
#

the readme says to run "balamod-v0.1.11-windows.exe -a" in a terminal and thats all its doing

young obsidian
torpid oar
#

ive tried all the folders that lead to balamod

young obsidian
#

does the balamod exe run?

#

idk i havnt done any of this tbh

torpid oar
#

yeah

#

AHAH

#

i found a single .exe for balamod in the thread and its working now

#

okay well now it isnt letting me set directory..this is more complicated than i thought

rare shell
#

good morning!
I think you should switch . and :

cunning silo
rare shell
#
local start_run_ref = Game.start_run
function Game:start_run(args)```
#

swap, not switch*

#

also

#
start_run_ref(self, new_args)```
cunning silo
#

should I pass self to the Game.start_run(args) function def?

rare shell
#

it is required to pass self when recalling function if it contained :

cunning silo
#

YOOOOOOO IT WORKS!!!!!

#

I CAN LOCK SUITS NOW

rare shell
#

🫡

torpid oar
#

i have managed to inject balamod

#

now to figure out how to add mods 👀

cunning silo
#

Now I just need a way to re_enable the suit when starting a new game

rare shell
#

I feel like I really should do some kind of small tutorial regarding small quirks like that

#

good morning firch

#

🫡

#

🫡

#

I like how often I use this emote when doing something related to balatro's modding

#

definitely my favorite now

#

guys I have a crazy idea of a new Joker

#

it will add absolutely crazy cards to booster packs

#

like 16 of spades

#

or 20 of hearts

#

or double ace

grand geode
#

that sounds quite farfetched

rare shell
#

kingdom of spades that considered to be all of face cards

torpid oar
#

so i have decided to take a gander with steammodded and windows wont let me download the mf

rare shell
#

and also maybe 1 of suit

torpid oar
#

im gonna fight this damn thing

rare shell
#

idk maybe cards that have the value of face cards but at the same time aren't face cards

cunning silo
rare shell
#

emperor that is ace but face card

#

@rare shell does a font for legendary cards exist somewhere?

#

oh i just do them myself

#

i just adjust whats existing

#

okay I thought that maybe there is

#

will copy the letters I guess

#

you're free to steal from my sprites if you need some of the letters not in the default legendary roster

#

im a fan of wacky card pack

torpid oar
#

hey firch?

rare shell
#

yo?

torpid oar
#

help?

rare shell
#

show the full thing

torpid oar
#

thats the whole thing

strong swift
#

do you have jellymod installed

rare shell
#

not the error the code I mean

torpid oar
strong swift
#

yeah thats the problem

rare shell
#

jellymod brokes a lot of things

torpid oar
#

so delete jelly and try again

#

cool

#

i stg if i installed everything wrong im gonna riot

rare shell
#

wait wait is your mod folder goes:
mods/mod_name/things

torpid oar
#

i dont even know what mod thats from

#

did i fuck it?

rare shell
#

uhhh no you should have every mod in its own folder

#

that's the problem I think

torpid oar
#

jfc

#

thank

#

i dont even know where half the mods came from

#

what folder i mean

rare shell
#

I think you may need to redownload them to figure it out

cunning silo
#

Hey i was wondering. Is there a function that is called every time we return to the main menu? I want to use it to reset the state of something

torpid oar
#

i guess borroweddeck is just broken..in its own folder but still assets error

#

oh well

#

firch im starting a petition to get you a "Epic Helper" role

rare shell
#

I just tell stuff I learned from other people when doing same mistakes or trying similar things, that's not much

#

this next joker... is going to be the best

dusky reef
#

I found a lot of issue

#

with my cardback injection mechanics, not like it doesn't work, but there's a lot of shady business

#

but now i know how to solve all of them. Will do in a second

cunning silo
prime cairn
#

anyone know what hapened?

#

I just wanted to a full house

rare shell
#

is it your mod?

prime cairn
#

no

rare shell
#

then someone else messed up

prime cairn
#

it worked fine yesterday

#

maybe downloading 11 pages of mods was a bad idea

#

some jokers pictures are wrong..

cunning silo
#

@rare shell I DID IT

#

I made deck-locked suits a thing

rare shell
#

🥳🥳🥳 congrats!

cunning silo
#

Sadly I cannot showcase it rn, but I will when I return home this evening

glacial holly
#

Not sure exactly the ins and outs of modding myself, but I've seen mods for other games such as Slay the spire in the steam workshop page, would that eventually develop for this game as well for modders to post on the steam page itself? Or will it always have to be on external client?

exotic shadow
#

steam workshop mods need to be done by the developer instead of the community. As such, modding in its current form will not be availbe as a steam workshop. However, localthunk has shown intrest in adding modding in the past, so it won't be surprising if we get steam workshop to some degree at some point

lilac tulip
#

hey yall not finding any links or guides to installing mods is there one here?

gleaming talon
#

Check Steamodded github page

runic kraken
#

Maybe this is a stupid question, but do we have a list of possible contexts?

gleaming talon
#

do "inspectDepth(context)" I think

upper egret
#

yo guys, the jellymod assets/legendary jokers arent working, anyone know why

gleaming talon
#

is it the only mod you have ?

upper egret
gleaming talon
#

that might be why

upper egret
#

why would that cause issues?

gleaming talon
#

if there are other joker mod it could cause issue

upper egret
#

so should i just play with jellymold then?

#

mod*

#

acc ill troubleshoot it rq

gleaming talon
#

try with only Jellymod yes

upper egret
gleaming talon
#

idk look at the installation

#

but I think yes you put it in the Mods folder

upper egret
nocturne dagger
#

i need help trying to get mods they lookkkk ssssooooo ccooooll

dusky reef
#

holy cow guys

#

I did it!!

#

This should be very robust now, I digged into the realm of lua and I think this should be extra easy to use now

gleaming talon
#

GJ !

#

I'm looking for things to play custom sound file

#

tho I'll likely have to use love injector because of the way sound file are currently played by the game

#

if they're not in the assets/sound directory GL getting them to work

dusky reef
#

welllll

#

just found a work around along the line actually

#

something I did not know about lua

gleaming talon
#

oh ?

dusky reef
#

you can wrap functions

gleaming talon
#

yup

#

x)

dusky reef
#

which means you can basically inject anything into the code

#

so for sound files, you can just inject code to where you set up config

gleaming talon
#

Yes and no because you can't choose where to inject it

wanton rapids
#

does this work for enhancers?

dusky reef
gleaming talon
dusky reef
wanton rapids
#

would this be modifiable to work with tarots?

dusky reef
gleaming talon
#

when wrapping a function you can only make modifs before and after

#

not during

dusky reef
# gleaming talon yes

what you can do is (don't quote me on this one, haven't look a lot deeper into sound specifically) write code that follows the exact config format and wrap them to the end of wherever the config lines rest in

#

so that it loads extra sound files to the game that follows the game save's directory

gleaming talon
#

no that's not my problem

#

Steamodded does load the file

dusky reef
gleaming talon
#

this is

dusky reef
#

are you trying to replace it or insert something randomly during a process?

gleaming talon
#

My file is loaded in the Game by STeamloaded in a Mods/ folder

dusky reef
#

yeah that's right

gleaming talon
#

So if I want to play a sound with the game function (which I think for the sound channels etc I'm forced to use the base one)
I can't because it's in the /Mods folder

dusky reef
#

can't you wrap it so that it does everything that is below the line you pointed at in another function and wrap it at the back?

gleaming talon
#

HMmmm

dusky reef
#

you know the powerfully thing about wraping is, it overtakes the original function

gleaming talon
#

yeah yeah I know

#

but I did things yesterday for like 2hours with no success

dusky reef
#

so imagine you had play_sound, now you can call play_sound and do {play_sound, play_another_sound}

#

so for example

#

I think you should look into maybe potentially wrap SET_SFX?

#

since it is where this is set

gleaming talon
#

SET_SFX is a mess

dusky reef
#

you can just hijack it so that when it tries to set something that uses s you replaces s to whatever you want instead?

gleaming talon
dusky reef
#

oh i see the challenge

#

it plays the sound at the end right away eh?

gleaming talon
#

well it needs to load it and then it can be called once it's loaded

dusky reef
#

so very unlikely you can wrap that

gleaming talon
#

this is the player

#

this is the loader

#

and I have no access to SOURCES

#

even though it's right here

dusky reef
#

I see why this is pain now

gleaming talon
#

I can also make balatro do totally weird things

#

tho my code is just that

#

and #SOURCES is 0

dusky reef
#

which file is this again

gleaming talon
#

engine/sound_manager

shell bolt
#

if anyone somehow has the capabilities to make a working save editor for the stats page so i can fix this i will offer an insanely large bounty of 10 american dollars

#

lmao

#

im down bad to remove ante 39 </3

dusky reef
#

damn

gleaming talon
#

Yes

dusky reef
#

actually, now that i think about it, can you just overwrite Play_sound?

gleaming talon
#

that's why I spent a lot of time, and that's why I also think I'll do a love injector one for this

dusky reef
#

like keep everything but the line that loads from your folder instead?

#

is the challenge coming from directory navigation?

gleaming talon
#

the function requires SOURCES for it's function

#

and I can't get to it

#

unless I make my own from scratch

#

hm

#

now that I think about it

#

might be doable

dusky reef
#

the biggest trouble i had with card back was every time you change pixel smooth settings it redo the render

grand geode
#

@­infractus, check out my YippeeGameOver for how i did the custom sounds

gleaming talon
#

I searched way too much for a mod like that couldn't find one lmao

grand geode
#

might not be the best but it Works

dusky reef
#

so i wrap set_render and now it will always append the new card backs when rerendering

gleaming talon
#

I tried to use love.audio.play etc

#

but I got a lot of issues where it would load back to main menu, or the mainb menu would compeletely bug

#

like this :

#

but it might not be because of the love.fil fault

#

smh

#

I realise now that it's the ethod I used to call it

#

I'm gonna break something

#

it's very clean, it's what I did when it worked

#

just I thought it caused issue

#

but I now realise that it does not

#

because something else caused it

#

Thanks Myst

#

Yup, seems to work when I try it, just it's a pain because I can't do the same thing I did for my seals for testing beause it makes the game freaks out

#

Thank you Myst

grand geode
#

np

#

though i think i had some redundant lines in there

gleaming talon
#

nahhh it's more explicit 😉

wanton rapids
#

anagram of another joker

#

and with that i have 30 jokers in my mod

grand geode
#

cartomancer?

wanton rapids
#

yeah i realised that after posting

#

better

grand geode
#

this feels like a common at best

#

you get like four tarots then poof

wanton rapids
#

four tarots for $6 is quite strong

grand geode
#

vagabond

wanton rapids
#

comes with the restriction of having no money

grand geode
#

yeah tbh idk how to build around vagabond

wanton rapids
#

aaa (going for straights)

magic sandal
wanton rapids
#

yeah

#

and that's why it gives tarots

#

random impostor trigger??

#

(expansion pack is riffraff but 1 modded card)

gleaming talon
#

Managed to do that which seems pretty reliable for playing sound for now

#

should I keep the tolower for the string or should I assume that I won't make mistake and that other people that want to use that also won't make mistake with majs ?

soft creek
#

Is modding the game difficult if I’ve never modded before

#

What are the odds it comes to steam workshop? That’s much less confusing

wanton rapids
#

making mods is not extremely difficult if you know how to program

#

installing mods is a bit annoying to set up but is smooth after that

rotund hollow
#

Is there a mod for slower ante scaling?

grand geode
rotund hollow
#

Thank you, Nexus was the one place i didnt check 💀

gleaming talon
gleaming talon
knotty fable
#

what mod adds them reverse tarot?

grand geode
#

JellyMod/JellyTarots

oak jolt
#

If you change a regular card texture, and instead of being only the number of the suit card in a png format, you change it for a texture with a white background.

the "effects", like stamps, crystal card, etc, will apply correctly?

grand geode
#

enhancements are layered below the playing cards texture

#

so the white bg would override

oak jolt
#

damn, then I have more work ahead of me than I thought.

grand geode
#

i don't see why you wouldn't just make it transparent

oak jolt
#

i want to do an spanish card suit mod, and is so much easier for someone like me with 0 artistic skills to "copy paste" the actual vector of the cards (which doesn't have transparent backgrounds) than doing the pixel art of the cards myself and doing the things properly

knotty fable
#

Question why is there multiple ways to mod balatro wouldn't be better if it was centralized mod loader?

gleaming talon
#

and would be hard to implement

gleaming talon
gleaming talon
#

When I do that it works temporarily

#

It reverts to that at the end of the blind :

knotty fable
#

Sorry meant to turn off the ping

gleaming talon
#

love and Steamodded are compatible

gleaming talon
wanton rapids
#

lovely can be used to loaad balamod and steamodded

#

at the same time, idk

knotty fable
#

Oh so I should have used lovely instead of steamodded

grand geode
#

Lovely is used to load Steamodded without downloading the .exe

#

so you'll still want both

knotty fable
#

Oh ok

#

I honestly can't wait when someone makes mods to add more number cards and face cards 😂 than the standard deck I know it's gonna happen

grand geode
#

i'm pretty sure that exists

#

can't find it tho sob

knotty fable
#

Kinda figured because of that other rogue game that is totally different from this one but similar at the same time

#

I wonder how far can moders take this game

#

Like make it 3d somehow 😂

gleaming talon
#

Technicly if we wxanted we could rewrite everything in the game sooo

#

we can do pretty much what we want

knotty fable
gleaming talon
#

Just need understanding and motivation

knotty fable
#

I've seen other 2d games get remade to be 3d through mods alone

#

It's a bit buggy but a fun experience

#

I know some mods make new jokers but are there any that act similar to blueprint and the other base game card brainstorm..... I know I saw copy cat from that one dudes video where he got infinite jokers

gleaming talon
#

tho I think "love" , is only for 2D games

grand geode
#

3d for love2d exists but it's convoluted

knotty fable
#

Like it be fun if there was a left copy that copies directly to the left (incompatible with blueprint) and a right most brainstorm version?

#

I'm wondering if any mods have these jokers

gleaming talon
#

if soemeone has any clue, which var etc that I need to change or things I need to do differently plz

knotty fable
#

Something that's annoying is my laptop won't download some of the mods and automatically isolates them with no option to cancel isolation I have to download it on my phone question is will my laptop isolate them again

#

It really thinks they are trojan viruses for some reason

runic kraken
#

im stuck on something, and i dont see whats wrong, can somebody help me?
SMODS.Jokers.j_combatacemercenary.calculate = function(self, context) --if played card is an ace add x1.5 mult if context.individual and context.cardarea == G.play and (context.other_card:get_id() == 14) then return { message = localize{type='variable',key='a_xmult',vars={self.ability.extra.xmult}}, Xmult_mod = self.ability.extra.xmult } end end

For some reason it does not apply the xmult_mod, when I change it to anything else like chips it works without problems

rare shell
#

did you declare extra.xmult in Joker's config?

runic kraken
#

yes

rare shell
#

I don't know then, everything looks normal to me

#

can you show the config?..

knotty fable
#

hmmmmm

gleaming talon
#

must have forgot to install something

runic kraken
rare shell
#

hmmm

knotty fable
runic kraken
#

i dont see the problem. my other joker adds 35 chips per played ace, has 1:1 the same code but chips instead of xmult/xmult_mod and works without problems

open sable
#

Hey guys, once i've got a mod installed, I dont have the access to find the mod folder to add another, where can i find it?

runic kraken
#

%appdata%\Balatro

open sable
#

Nothing comes up with that

#

Nevermind, Im an idiot, was doing localappdata

knotty fable
#

opps i put the source code in instead my bad lmao

soft creek
nimble rover
#

hey, is there like a tutorial/recommendations for modding here somewhere, both for installing and making mods? was thinking about messing around with custom stuff, now that im done with Completionist+ and Challenges

strong falcon
runic kraken
knotty fable
#

The only thing I'm not happy about is when I modded to add legendary jokers and other jokers it ruined my favorite seed 😂

gleaming talon
#

I've got the same issue did you fix it ?

gleaming talon
#

at the end of the blind it goes back in the deck

#

even though the card "doesn't exist"

wet wave
#

me with the best idea: ||make a dash spider jumpscare joker||

rare shell
#

I think that'll be placeholder logo for now

wet wave
rare shell
#

for now it'll be like that

#

will make the design more interesting later on

mortal robin
#

Hi! I installed the Jelly mods and all its components, but I don't see the challenges, what did I miss?

wet wave
#

again... u have to do the requirements for them

#

by just beating 25 challenges lmao

mortal robin
#

I have to do all the vanilla ones before I can play the modded ones? really?

#

Why aren't they unlocked by default?

#

Isn't there a mod that unlock all challenges?

wet wave
#

why did u forgor the unlock all exists 💀

mortal robin
#

I'm new to the modding scene, I don't know anything
Can you show me how to "unlock all", like you say instead of telling me it exists and not how to do it please?

#

Is it a mod? Is it a special version of the game I must install? Is it a console command I must type somewhere? How?

#

Okay, nevermind, I found it, thanks for your help

wet wave
#

:/ well me go now

knotty fable
#

I'm doing it my way by just having the mod that makes it so in-game unlocks still work even if u use seeded runs at least that way I'm having fun while unlocking stuff .... I always get very bad seeds 😂

#

One time I sat there for an hour trying to get past ante 4

oak swallow
#

steamodded requires .exe on mac????

prime cairn
#

so

#

unlock all is

#

wait oh

#

you found it

#

cool

coral shale
#

Hey, got a quick question: how to I print to the 'lovely' injector console? I'm running Steamodded, and trying to use the standard 'print()' from Lua

prime cairn
#

how do I remove the mods?

nimble rover
rare shell
#

Where can I get localization colors?

rare shell
#

globals.lua

gleaming talon
#

What's the color for negative ?

#

nvm found it : dark_edition

rare shell
#

also good morning chat

gleaming talon
#

5pm here but good morning to you too

hardy brook
#

What is DYN_UI?

rare shell
#

probably short for dynamic ui

grand geode
#

yea dynamic ui

hardy brook
#

Okay and what is that?

rare shell
#

dynamic user interface

#

(i dont know)

gleaming talon
#

a dynamic background maybe

#

only way to know is dig in the code

hardy brook
rare shell
#

yeah i presume its the main menu bg?

grand geode
#

wild guess but the ui changes colors during blinds and boss blinds

gleaming talon
rare shell
#

well theyre all listed as the same value

hardy brook
#

Someone should make a joker with each line a different color

#

See what happens

gleaming talon
#

XD

rare shell
#

also infarctus when are you calling the dissolve action?

#

are you caling it during context.individual like me?

gleaming talon
#

for my black seal

#

maybe removing the card from G.playing_cards

rare shell
#

ah you tried removing from deck as well

#

i was going to try that myself

gleaming talon
#

no didn't try

#

try that

#

XD

#

well I could rn

rare shell
#

might want to get rid of the personal information here

edgy sequoia
rare shell
#

:p

edgy sequoia
#

ehhh

gleaming talon
edgy sequoia
#

no one saw that totally....

rare shell
#

are you using balamod or steamodded?

grand geode
#

yup uh huh

#

:p

edgy sequoia
rare shell
#

we all know braces real name is John Jacob Jingleheimer Schmidt

#

and that his name is also, infact, my name too

gleaming talon
#

and I totally still don't have it

rare shell
#

did you have any mods installed as is though?

#

i dont know too much about balamod myself but

edgy sequoia
grand geode
#

the game can't even load yet so uh

gleaming talon
edgy sequoia
#

but

#

meh

#

THERE we go lol

#

but still

rare shell
#

i didnt know your real name was || ||

#

wait this doesnt load at all

edgy sequoia
#

the file exists.... idk whats uhp

gleaming talon
#

fun fatc, "oui" in french means "yes" and "ja" in German means "yes" so Ouija is the Yesyes

rare shell
#

maybe try deleting balatro.exe and validating steam files again and try again?

tardy sierra
#

Is the creator planning to add Steam Workshop support anytime soon?

edgy sequoia
#

so i dont lose everything

gleaming talon
rare shell
#

i dont recall the exact location

#

but it wont delete it regardless

edgy sequoia
#

ok

rare shell
#

deleting the .exe then validating files will just tell steam to download the .exe again

edgy sequoia
#

couldn't i just validate it without deleting it

gleaming talon
#

no

edgy sequoia
#

ohk

rare shell
#

if youre scared you can just copy the .exe somewhere else

edgy sequoia
#

nah im not

#

also i am mac

gleaming talon
#

Hi mac, I'm infarctus

rare shell
#

that might change things too

#

also infarctus i tried removing from deck but it seems to not be doing it 😦

gleaming talon
rare shell
#

im going to do some testing but

#

i think it might not be getting removed if its a winning hand?

gleaming talon
#

nah not a problem with winning hand

rare shell
#

these 4 cards were getting deleted out of a 5 card hand and they're just hovering here

#

the one that didnt get deleted shuffles in fine

gleaming talon
edgy sequoia
#

well thats different now

gleaming talon
#

fyi it's at the end of the blind the game still considers the card valid and puts it in the deck

rare shell
#

🤔

gleaming talon
#

like when you beat the blind, the card that were shattered etc get put back in the deck but they're non existant because we deleted them

#

so it causes this problem

rare shell
#

well that makes sense given firch's code works because it happens end of round

gleaming talon
#

at least that's how I understand it

rare shell
#

maybe im just calling the remove from deck method wrong

gleaming talon
#

did you try not shattering and removing it from deck ?

#

do you call like an index ?

knotty fable
#

I don't think my joker idea for the community jokers is good.... And might be to op

cunning silo
knotty fable
#

I did

rare shell
#

disclaimer: i just woke up and slapped together some pieces of code to see if anything would change really

#
                if self.ability.name == 'Fortuno' and not context.blueprint and G.GAME.current_round.hands_played == 0 then
                    local card_to_destroy = context.other_card or nil
                    if context.other_card:is_face() or context.other_card:get_id() == 14 then
                        return nil
                    end
                    card_to_destroy.getting_sliced = true
                    card_to_destroy:start_dissolve()
                    card_to_destroy:remove_from_deck(true)
                    ease_dollars(self.ability.extra.dollars)
                    return {
                        message = localize('$')..self.ability.extra.dollars,
                        colour = G.C.MONEY,
                        delay = 0.45, 
                        remove = true,
                        card = self
                    }
                end```
gleaming talon
#

What do you think about my black seal (even though the seal is green rn and I need to change it)

knotty fable
rare shell
#

black seal idea is banger

knotty fable
#

Not just the seal

#

it could also downgrade the hand it was used in maybe?

rare shell
#

i might need to just go the way farst did it

gleaming talon
#

there's also this but already tried it

gleaming talon
gleaming talon
knotty fable
cunning silo
rare shell
#

firch has all the cards that wanted to be deleted to a list

#

and then end of round iterates through that list

gleaming talon
knotty fable
#

Another thing u could trys is downgrade each card currently in hand down a level

gleaming talon
#

I think it works fine rn.

knotty fable
#

What do u think itay?

gleaming talon
rare shell
#

ah i found it

gleaming talon
cunning silo
rare shell
#

I fucking hate doing this lmao

#

speak of the devil

#

hi firch

#

It looks nice tho

#

check this thing

cunning silo
#

Hiiii firch!

rare shell
#

this is sick

cunning silo
gleaming talon
gleaming talon
knotty moss
knotty fable
# cunning silo It had the potential to be very good

I thought about how we have very little copy jokers in base game and I remembered what copycat does in a modded joker from jellymods so I thought what if a card only takes the red mults of every joker u own and uses it as a mult but when negative joker it does chips

rare shell
#

wait

wet river
knotty fable
#

I know it seems complicated but really no other copy joker should work with it because that would bug it out bad 😂@cunning silo

rare shell
#

what if i just call it again at the end of round

#

I'm doing trashlist that contains what it deletes

gleaming talon
dusky reef
#

by the way, does anyone know how to do stuff right after all selected cards are discarded?

rare shell
dusky reef
#

context.discard is per discard

gleaming talon
knotty fable
rare shell
#

you would need to figure out a way of storing a global trash variable here

rare shell
#

I'm not sure but that the first thing that I'd try

dusky reef
rare shell
#

there's also pre_discard

#

which triggers one time

rare shell
#

i suppose you could, im just not sure where you'd store a local for seals as a whole

gleaming talon
#

idk

rare shell
#

(globals vs locals isnt my strong suit here)

gleaming talon
#

I'm still trying to figure it out

rare shell
#

im trying to figure it out without the trash list admittedly

#

if anything so i could help you out with black seal

#

the grind continues

gleaming talon
rare shell
gleaming talon
#
local eval_card_ref = eval_card
function eval_card(card, context)
    local fromRef = eval_card_ref(card, context)
    if context and context.full_hand and (#context.full_hand or 0)==1 and context.scoring_hand and context.cardarea == G.play and not(context.repetition_only) then
        local seal = card:calculate_seal(context)
        if seal == 'Black' then
            Add_Negative_Random()
            G.E_MANAGER:add_event(
                Event({
                    trigger = 'after',
                    delay = 0.2,
                    func = function() 
                        --card.getting_sliced = true
                        --card:start_dissolve({G.C.RED}, nil, 1.6)
                        --card:remove_from_deck()
                        --card:remove_from_deck()
                        --card:shatter()
                        for k,v in pairs(G.playing_cards) do
                            if v.seal== 'Black'then
                                v.seal=nil
                            end
                        end
                        return true 
                    end 
                })
            )
            
        end
    end

    return fromRef
end```
rare shell
#

this is what i mean by "seals" as a whole since this type of black seal would be a sort of shared thing

gleaming talon
#

here's the code rn

knotty fable
gleaming talon
#

I'm also working on a jojo tarot card sound

#

tho I only have those

rare shell
#

so what is this supposed to do currently, remove seals from all the cards with black seals?

#

whats the list that contains the played hand?

#

is it G.playing_cards?

gleaming talon
#

but I removed it for now because of the bug

rare shell
#

nah im trying to get the index of a card in a given playing hand

dusky reef
#

discard and prediscard actually breaks when i try to do things

#

hmmm let me look into it

gleaming talon
#

or context.full_hand

#

that's what I use

rare shell
#

I wonder if game generates table with your cards/deck at the start of round

#

maybe that's why it keeps giving phantom cards

grand geode
gleaming talon
#

why tho ?

rare shell
#

takes less space

grand geode
#

mp3 is stinky

rare shell
#

and generally considered to be game audio format

gleaming talon
#

oo stinky stinky

rare shell
#

the theory is that deleting them during the scoring step DOES destroy them but DOESNT remove them from deck

gleaming talon
#

okay I'll do that

rare shell
#

although some games use wav for sfx and oggs for music at the same time

#

i export all of my audio as .wav

grand geode
#

wavs are fine

#

i think

rare shell
#

yes wavs are okay

grand geode
#

it's just mp3s that are Bad

rare shell
#

my 40MB song .wav

#

they eat a lot of space but it's fine if audio is short

gleaming talon
#

I'm thinking of making a global play sound that can also be played instead of the base game sound

#

Like a util file but for sound

rare shell
#

thats new

gleaming talon
rare shell
#

wait...

#

hmm

#

what if i call this on context.after

grand geode
#

yea you didn't properly remove the card

rare shell
#

i figured

#

why properly removing card is such a pain

#

i was experimenting with the remove_card() method found in ramen and what not

#

balatro is a lot of lists and id imagine making sure that your lists are properly being removed from is important id reckon

gleaming talon
#

Does anyone have a good way of changing this to black (or other seals that are in teh game to black) ?

foggy relic
#

sorry to bother you guys but where do i look up how add mods to balatro ?

knotty fable
#

Ones slightly darker than the other hope this helps

#

I have a software on my phone that lets me do a lot of stuff with photos

rare shell
#

do you use official Joker Black™️?

#

wait

#

i think

#

im getting there

#

also your phone exported it with large amounts of blur

#

oh???

knotty fable
woeful finch
#

did you perhaps use the wrong sampling method

#

use nearest neighbour, not bilinear

rare shell
#

you don't need to have bigger image size tho

knotty fable
rare shell
#

with Joker Black™️, I think that's the darkest you can do without breaking the palette

#

i think i got it???

#

almost

#

not the palette but you know what I mean

gleaming talon
rare shell
#

its deleting the wrong things but theres no phantom cards!

#

ewww discord scaling

rare shell
#

there's a specific color of black that thunk uses

rare shell
woeful finch
rare shell
#

and the entire games color palette does not (mostly) go darker than that black

gleaming talon
#

there's G.C.Black tho ?

woeful finch
#

?

rare shell
#

sprite-wise

gleaming talon
#

And the spades are black too

woeful finch
#

what G.C black

#

spades are darker cuz they are spades

gleaming talon
gleaming talon
rare shell
#

OKAY YUP I FIGURED IT OUT

#

🫡

rare shell
#

you cant call it during invidual

#

wait

#

hmm

#

maybe it was working because of where it was deleting

#

round 2 of testing

rare shell
#

amoung Us

gleaming talon
knotty fable
#

i still dont understand how that affects image collors

gleaming talon
rare shell
rare shell
#

me rn

#

okay so this does at least confirm one thing

#

deleting cards from your hand is fine

#

its specifically trying to get them as they score

#

maybe if i move it to context.before?

#

nope

gleaming talon
#

context.after ?

dusky reef
#

what does context.individual do exactly?

rare shell
#

context.individual is whats happening during calculating a single scoring card in your hand and repeats for each scoring card

#

at least thats my understanding of it

#

so code that would need context.other_card usually goes under context.individual

dusky reef
#

oh i c

strong falcon
#

context.individual is also for cards that are still in your hand

dusky reef
#

oh so steel card also triggers context.individual?

strong falcon
#

I haven't checked but that would make the most sense yea

dusky reef
#

so really there's no state for the end of discards?

#

is there anything that's tied to cards drawn?

#

like after you finish drawing kind of state?

rare shell
#

alright i dont think i can figure out right now how to destroy on play card step, that might just be for someone with more know how than i do

#

on the bright side

#

i just do it anyway and then end of round remove them again with the trash list method and it works fine

#

so i can now finally say i have (mostly) fixed fortuno

dusky reef
rare shell
#

yeah, i was trying to figure out a way of doing it without the trash list though

dusky reef
#

does the trash list give you dissolve animation?

rare shell
#

it does not, but i call it twice

dusky reef
#

like do you fakely see them get destroyed when played?

rare shell
#

once is the initial buggy dissolve that doesnt remove it from deck, and the second time properly removes it end of round

#

what's wrong with list tho

dusky reef
rare shell
#

as far as im concerned theres no method of "shuffling" your deck in base game so this will have to be a temporary bandaid for now

#

my concerns are if later on if theres some hypothetical modded jokers that try copying stuff from your full deck during a round

#

also if you will figure it out maybe you could make a function mod?

dusky reef
#

@rare shell do you mind showing me your solution again?

rare shell
#

look at j_dread

#

i implemented it slightly differently because of my architecture but as long as you can declare a local trash_list somewhere you're good

#

you can declare it as local or, if joker, as ability

#

(which is the same thing anyways but ability is even more "local" I think?)

#

Is that explanation good enough?

#

i think so

gleaming talon
#

and for me ? XD

rare shell
gleaming talon
#

how would I go about removing cards from deck with the seal

#

declaring a trashlist outside and then hook to something that gets called on context.end ?

rare shell
#

I don't know if it'll work great since it also uses card:start_dissolve

fickle orchid
#

heyo! random question
i was wondering if there was anywhere i could read the code of vanilla jokers? I want to reverse engineer them in order to make my own

prime cairn
#

I want more mods to my 11 page mod collection..

#

so

#

um

#

if you have a good mod

#

please tell me

gleaming talon
#

I'm developping a black seal mod rn

#

almost finished

prime cairn
gleaming talon
minor seal
#

i currently developing a cheese seal mod right now and i don't know how to make it give x69420 mult

#
function eval_card(card, context)
    context = context or {}

    if context.cardarea == G.play then
         if card.seal == 'Cheese' then
            G.E_MANAGER:add_event(Event({
                trigger = 'immediate',
                delay = 0.2,
                func = (function()
                        local over = false
                        local edition = poll_edition('aura', nil, true, true)
                        card:chip_mult(x69420)
                        card:juice_up(0.3, 0.5)
                    return true
                end)
            }))
        end

    end
    return eval_card_ref(card, context)
end
gleaming talon
#

did you look at glass card ?

minor seal
#

no

gleaming talon
#

go look it

#

x)

minor seal
#

where

gleaming talon
#

in the code of the game ?

prime cairn
#

Pierrot

haughty hinge
#

lmfao

prime cairn
#

the jokers are never right

haughty hinge
#

pessimist is my favorite by far

rare shell
#

you can open balatro.exe with archiver and for cards there is a file card.lua

minor seal
#

thanks

gleaming talon
#

If you really wanna I extracted it here

rare shell
#

I don't think you can do that btw

white scarab
#

Bro don’t sent that publicly

rare shell
#

yes

prime cairn
#

this is unplayable

white scarab
#

Literally makes piracy possible

haughty hinge
#

balatro what are you smoking

gleaming talon
hasty parrot
#

how do i change the color of this text, i can change it in the deck list but not here

prime cairn
#

wait was that balatro

#

source code

white scarab
haughty hinge
#

no

#

save file

gleaming talon
haughty hinge
#

but fr why is there "extra gacha pulls" in my gambling save file???

gleaming talon
#

and I already know where I can have copies of the game that aren't legit

fickle orchid
white scarab
#

To get the source code you should instead send a program that extracts it from their installed game

gleaming talon
#

tho sending it like that on discord :/

haughty hinge
#

the only game ill pirate is uno online(im legally obligated to tell no i will not and will never pirate and payed for material)

white scarab
#

Sending the games source code falls under rule 7

rare shell
#

guys do I need to specify joker value or the game automatically creates it based on rarity and such stuff

#

shop value*

white scarab
#

So don’t do that even if you do believe that you are sending it to people who have a copy of the game

prime cairn
#

does this just block you from restarting?

gleaming talon
#

why would you think that ?

prime cairn
#

idk?

#

the description was hard to understand for me

haughty hinge
#

it sends you back 3 antes, and can't go further back than ante 1

gleaming talon
haughty hinge
#

and can't be used ever again

gleaming talon
#

will never do that again

prime cairn
#

oh

#

ok

#

I think I should read more carefully

haughty hinge
#

the E joker is still perplexing to me I need explanation

gleaming talon
#

There's a hole in some countries and Reverse Engineering a source code

#

it's not always considered illegal

hasty parrot
#

where do i find the place to change the color of this text

cosmic shell
gleaming talon
#

COuld be

#

also, I can't seem to be able to grasp under what license balatro is

#

there's the license of every software it uses XD

minor seal
#

i am still stuck

#

can't find where the ability code is for the glass card

hasty parrot
#

my game is now severely blue but i still cant change the "Diamonds" color

prime cairn
minor seal
gleaming talon
# minor seal anyone gonna help me?

m_glass = {max = 500, order = 5, name = "Glass Card", set = "Enhanced", pos = {x=5,y=1}, effect = "Glass Card", label = "Glass Card", config = {Xmult = 2, extra = 4}},

minor seal
#

Thanks

gleaming talon
#

this is how Glass card is defined

#

extra is for the chance of breaking

#

Xmult is for the Xmultiplier

#

I think

minor seal
#

also i am doing a seal

#

not an enhancement

gleaming talon
#

that's true

minor seal
#

although this may help

cosmic shell
#

it shouldn't make a difference, it's one of the built in config options.

#

actually it might, I'm not too familiar with how seals work

knotty fable
#

im confused

cosmic shell
knotty fable
#

i downloaded the source files again didnt i

#

so does this work with the other mod loader

cosmic shell
#

if you mean installing both mod loaders at the same time, i don't recommend it currently.

#

afaik the game will run with both installed, but some mods may break

hasty parrot
#

everything is blue besides the cards which i can change, i still cant find where i can change the color of the text

woeful finch
#

Bluetro

hasty parrot
#

real

woeful finch
#

Balablue

#

on blue stake too

#

but not on blue deck 😮

hasty parrot
#

im trying to get to the last stake on red before moving on, rn im trying to change diamonds to blue but i cant change that specific text

#

here its fine, but i cant change the color while its in play

woeful finch
#

i think that’s tied to a variable somewhere

#

idk where tho

cosmic shell
#

i think it's G.C.SUITS.Diamonds if that doesn't work you could try injecting into the function loc_colour

hasty parrot
#

ill try that

knotty fable
rare shell
white scarab
#

If you downgrade to 1.0.0j it would work

charred shale
#

https://www.youtube.com/watch?v=DYh-kYdET0E&t=2845s Hey there, anyone knows which modpack this is?

About Balatro:
Balatro is a deck-building roguelite where you must play poker hands and earn chips to defeat enemy blinds. Enhance your deck of playing cards, buy Jokers to modify each hand you play, and discover new and wild synergies to win!

Try it out here: https://store.steampowered.com/app/2379780/Balatro/

Links - https://wlo.link/@skoot...

▶ Play video
knotty fable
#

if i remember correctly

knotty fable
charred shale
knotty fable
#

if you havent done that yet

#

but thats it

charred shale
#

appreciate it a lot, thanks balatroheart

knotty fable
#

im pretty sure its that mod set because its the only mods that have reverse tarrots

#

weird

#

but it eventually starts

glad sedge
#

is there a list of available joker stats or something to base on while using steammodded jokerapi?

knotty fable
#

how exactly does this seed looker work lol

white scarab
white scarab
glad sedge
#

is people using balamod and steammodded at the same time?

knotty fable
white scarab
#

Latest version should be n

small ether
#

any1 know of a mod that increases slightly chance to find good jokers like rare and negative in shop? also allowing legendaries to show in shop?

knotty fable
cunning silo
#

So, I have made a new suit, and I can lock/unlock it to whatever I want. I have 2 options right now, but I wanted to ask you which one would you prefer:

  1. Lock the suit to a specific deck of cards. (Would be more vanilla, but will lock it to specific rules)
  2. Add a GUI element to enable/disable the suit. It would work on any deck. (Less vanilla, but allows broader use)
haughty hinge
#

i just rerolled roughly 1.2k times for DNA and it took one and a half hours

#

very good time wasted

lean dune
pine spoke
#

for some reason i cant downlaod the steamodded injector does anyone know why?

lean dune
#

disable it or use lovely

pine spoke
#

i did disable it

haughty hinge
#

this is indescribably funny

#

idk why

pine spoke
knotty fable