#⚙・modding-general

1 messages · Page 121 of 1

tepid apex
#

that i know but it was fully stones from round 1

west hill
#

Not that folder you’ve got there

#

Delete that one

crude hazel
fast stone
#

is*

#

sorry

crude hazel
west hill
#

Put version.dll in the balatro folder where the exe is saved

crude hazel
tepid apex
crude hazel
#

huh

fast stone
#

it was a typo

crude hazel
#

???

#

oh

#

mbmb

#

im stubid dont mid me

crude hazel
#

b4 u told me

fast stone
#

version.dll is lovely
steamodded is a different thing
and you have to install it seperately

crude hazel
#

oh wait

#

what

#

what is steammodded

gilded vortex
#

Steamodded is like a mod that other mods use to work

crude hazel
#

then

#

what to download

gilded vortex
#

Lovely is a tool that Steamodded and other mods use to work

fast stone
#

however, you should know that brainstorm doesn't use steamodded
it just uses lovely

crude hazel
#

i need steammodded for that dont i?

gilded vortex
crude hazel
#

like i want to roll for a soul every time

fast stone
#

ah that option is in settings

crude hazel
#

ingame settings

#

so do i put folder in balatro folder?

fast stone
#

yeah
just open up settings in game and a brainstorm option should be there

#

dont do anything with ur folders, i think you got it right

#

try opening up balatro and go to settings

crude hazel
#

ye it dont work even when i put it in

fast stone
#

are you asking about steamodded here?

crude hazel
#

yes

fast stone
#

put it in the mods folder

crude hazel
#

kk

fast stone
#

then try launching up balatro

crude hazel
#

IT WORKS!

#

thx everyone who helped me :D

fast stone
#

yeayyy

crude hazel
fast stone
#

thats because brainstorm isn't a steamodded mod

#

but it is active

crude hazel
#

How can I change settings

#

Then

fast stone
#

just go to settings

#

options > settings

crude hazel
#

Ohhhh

#

U pro

#

workks

fast stone
#

nice

crude hazel
#

does it counts as stats or its same as seeded run

fast stone
#

im not sure actually

#

it should count as an unseeded run i think

crude hazel
#

hm

fast stone
#

ah btw, steamodded disables achievements by default

crude hazel
#

ok

crude hazel
fast stone
#

for steam

crude hazel
#

oh its fine

#

idc about steam

stiff pewter
#

Are questions about modding on ios allowed?

crude hazel
#

y is it all white?

stiff pewter
#

Ok sorry

crude hazel
#

#4

crude hazel
lean dune
crude hazel
#

i love trans egg

fast stone
#

hehe

lean dune
#

i actually already have a fix, but I pushed it to a different branch which is currently broken

white scarab
#

who broke stake API balatrojoker

lean dune
#

as for the main branch, I think only stake colors are broken

#

I changed color to colour for consistency but part of it got lost in the merge process

lunar fable
#

is there a good debug mod? the one mathisfun_ made crashes my game. i want to do some build testing

fallow bramble
lunar fable
#

every time i try extractin the zip to the mods folder it dosent work but has the thing at the botom saying console stuff, but that also dose nothing

white scarab
#

Hold tab

lunar fable
#

i am.

white scarab
#

Check its not a nested install

#

Mods/DebugPlus/lovely.toml is what you want

lunar fable
#

(had to cut my name)

lean dune
#

DebugPlus is a lovely mod without steamodded integration, it won't show up in the mods list

lunar fable
#

still dosent work

lean dune
#

just check if holding (not pressing) tab does anything

lunar fable
#

thats what i do.

#

ive used it before but uninstaled it becuse i was chalange grinding and didnt want to cheat

fallow bramble
#

Brainstorm isn't compatible with DebugPlus

lunar fable
#

ah

#

thanks

lean dune
#

oh I didn't spot that

lunar fable
#

also is there a working acivement enabler? i want to play with more speed and talisman but cant get acivements.

lean dune
#

yeah, there's one in the steamodded example mods

lunar fable
#

dose it work? last i checked it crashed me

lean dune
#

it should work, just make sure you're using the correct one for your steamodded version

lunar fable
#

thanks

#

ill get it after this GODLIKE run i have. have yet to go do build testing, though i dont need to plan what to do with this becuse im about to win my last chalange!

#

4 hours of grinding

fervent owl
#

ah someone already said it

lunar fable
#

ah.

lunar fable
fervent owl
#

ehh I meant hotkeys

#

it just overrides key_press_update

lunar fable
#

ah

#

acivement enabler dosent work? i got the newest version

lean dune
lunar fable
lean dune
#

I'm not sure anything was changed on the matter since then, but that version is a bit outdated either way

lunar fable
#

to lazy to update. all the other mods work fine

lean dune
#

if you installed using git, updating would consist of just running git pull...

lunar fable
#

no clue what or where that is

lean dune
#

whatever

#

can you send the achievements enabler file you have?

lunar fable
#

sent

spiral dune
#

@restive willow #🕹・game-discussion message
Sorry. I haven't played since 1.0.1 came out so I haven't updated things. There was a PR on GitHub that I think updated most things, but I haven't checked everything myself.
I fixed the lucky cards. Feel free to message me if you find any other mistakes with the calculator.

surreal shadow
#

Hi!

#

Any new interesting 1.0.0 mods?

brisk seal
#

Bonus Blinds are pretty new

#

(Def not biased)

restive willow
surreal shadow
#

I hope bunco, cheesy and mika mods become 1.0.0 fast. 🙂

random silo
#

Ro-Balatro

rare shell
surreal shadow
#

Oh, ok. Thanks.

woeful prism
#

Any idea why it doesn't transfer to the Tarot cards?

lean dune
#

that should be an issue on the collection page specifically

#

something's special about it, i don't fully recall what causes it

random silo
#

I cant stop getting terrible ideas

#

Balatro but its egyptian ratscrew, while your hand is being played you can press a button that lets you slap, which when done at the right time can trigger joker effects

#

That would have pretty bad problems though, most noticably the fact that all calculation is done before animations play

random silo
gilded vortex
#

It's a reference

odd gorge
#

if its not too much of an inconvience, where are the balatro mods uploaded?

#

i use r2 modman but

tiny violet
gilded vortex
tiny violet
#

A good place to start would probably be #1255696773599592458 - it's a big pack of a bunch of 1.0.0 mods, so it's a great place to see what there is

odd gorge
#

okay thanks!

polar pecan
#

Anywhere specific I can suggest a joker concept? Or should I just drop it in here

karmic geyser
#

I saw a post on reddit's r/sbcgaming subreddit, which is about single board gaming (i.e., steam deck, handhelds, etc.) where someone ported (into Portmaster) Balatro to work on Anbernic devices. Which kind of sucks because I was looking at getting a Miyoo Mini + or depending how it releases, their Flip version but it has a different CFW that doesn't support Portmaster.
This is all a longwinded way of saying, It would be nice.... lol

junior rock
#

I asked a while ago but didn't get an answer, is there a dedicated mod for challenge creation, and if not does anyone have a method for making a challenge quite easily

junior rock
karmic geyser
#

Yeah, I'm not buying a handheld for another couple of months so there's plenty of time to see what shakes out.

grand geode
manic badge
#

hey! i just tried updating my Steamodded but it's giving me an 'assertion failed' crash when I launch the game, is this a known issue or do i just need to git gud?

#

nvm it was an issue with a mod i installed

granite aspen
#

i tried installing the alpha for steamodder 1.0 and it just doesnt work 😭

#

whats the problem, did i to it wrong somehow?

brisk seal
#

not sure how useful this is but it's fun probably

granite aspen
#

wuh oh! game crashed

#

help lol

stone brook
#

send the rest of the crash log

granite aspen
#

all i did was put all the mods in the example mods folder in the mods folder

#

like the example mods folder that comes with steamodded

#

lol

stone brook
#

im not 100% sure, but i think a couple of the example mods are outdated

granite aspen
#

ah

#

i see

#

alright

stone brook
#

mostly because 1.0.0 is still technically a pre-release

granite aspen
#

yeah ok i tried it with some other mods

#

and it now works

#

thanks again!

odd gorge
#

I wonder if there's a mod to turn Balatro into Texas holdem, or 5 card draw

granite aspen
#

that would be very interesting

brisk seal
white scarab
#

At that point just make your own card game with Balatro’s engine and call it a Balatro mod

odd gorge
#

Coding too hard :(

granite aspen
#

😭 swing and a miss

#

tried installing bunco and it crashed on launch

#

is bunco not updated for 1.0?

sturdy salmon
#

iirc you need to download the source code for the 1.0.0 version of bunco

granite aspen
#

oh

#

do you know where i can find it?

sturdy salmon
#

It's the green code button on the github, download it from there

tranquil vessel
# woeful prism Any idea why it doesn't transfer to the Tarot cards?

It's because of this #⚙・modding-general message. I believe these are your 3 options to fix it:

  1. You can directly edit steamodded's source code files, but that obviously won't work for other people using your mod.

  2. You can wait for steamodded to update, but I have no idea how long it'll take for them to fix this (hopefully soon).

  3. You can try hooking into steamodded's code. Obviously has a high chance to break whenever steamodded updates. You should be able to replace the previous suit changing code with this:

--- steamodded headers etc

steamodded_update_atlas = G.FUNCS.update_atlas

new_update_atlas = function(_type)
    -- We're directly modifying steamodded's source code here. Very fragile!
    output = steamodded_update_atlas(_type)
    G.C.SUITS = {Hearts = HEX('ed2324'), Diamonds = HEX('3bb3f8'), Spades = HEX("000000"), Clubs = HEX("ffffff")}
    return output
end

G.FUNCS.update_atlas = new_update_atlas
stone brook
#

you can also send a pr for smods if you code a solution directly in smods source code

tranquil vessel
#

and I don't feel like I have enough experience with steamodded to open a pull request to fix this temporarily 😅

urban grail
#

can't you just do a lovely.toml and hardcode the new colors inside the game code?

tranquil vessel
urban grail
granite aspen
#

:]

#

and i was having such a good run 😭

candid sable
#

What did you do!

granite aspen
#

its a problem with the inscrybed jokers mod

#

im guessing

#

cus the same thing happened with the other jokes from the mod i got

candid sable
#

Modify that and I think the run can continue

lunar fable
#

whats that?

urban grail
#

a Legendary Incantation

lunar fable
#

but why dose it say incantation? its perkeo

grand geode
#

if a mod takes control of a base game card, the mod badge gets added

candid sable
#

Huh

thorn ledge
white scarab
#

infoqueue hell

stone brook
#

34 remaining ?!

sturdy canyon
#

turning them jokers jolly

carmine mortar
#

Jolly is mult when pair?

Since sly is also there

urban grail
#

Testers for my mod needed
I made this mod which makes creating Jokers way easier.
Intead of remembering what to put in the calculate's return{}, you just do this

if context.joker_main then
  xMult(3,card,context)
end

And now you got a X3 Mult Joker.
It doesn't end here because the current version (Snapshot 24w28a) adds aChips, xChips, aMult, xMult and addMoney, with more to come with future updates

#

There's plenty of supported contexts for each function, so feel free to try them out

woeful prism
tranquil vessel
# woeful prism 1. that's to deep for me 2. If Steamodded gets updated, what happens then? Will ...
  1. Understandable, I don't think it's a great option either way tbh.
  2. Steamodded should implement a new feature, AltTextures, at some point in the future. You should then be able to use that for your color changes.
  3. Only 1 colour? That's weird, for me it changes all 4 colors to the ones that are specified in my code (blue, white, red, black). I have a later version of steamodded though, maybe try updating it?
west hill
#

Yeah, when AltTextures are merged I’d recommend migrating to that for anything that changes textures in game

round oar
#

hey does anyone know if you can dynamically add suits during runtime in steamodded?

gilded vortex
#

Depending on what you want to do, Bunco does it

woeful prism
round oar
#

there's a lot of code to look through

gilded vortex
#

It creates suits but don’t add cards with those suits to the deck

#

You need to obtain them during the game

round oar
#

that could possibly work

#

do you know if any mod actually initialises the suits during runtime?

gilded vortex
#

Not that I know of

#

Someone was recently creating Jokers during runtime

west hill
#

Why do you need them to be initialised then?

round oar
#

it's complicated

#

ideally there wouldn't be a cap to how many suits you could have

west hill
#

How will you handle the visual aspect?

tranquil vessel
round oar
west hill
#

But won’t you then need an uncapped number of images?

round oar
#

i'm pretty sure love2d has a way to create sprites on the fly

#

anyways that's what i need to look into next

woeful prism
tranquil vessel
azure sierra
#

Are there any mods that add more music, sfx, and/or more background effects?

latent nimbus
tiny violet
#

I know the Lobotomy Corp that features custom effects for some of its Abnormalities

#

But for generic "new music" or "new background" mods, I don't know if there's any of those yet.

sturdy salmon
#

Ro Balatro also has some sfx for its consumables iirc, but yeah outside of those examples dunno about any others

lean dune
#

cryptid also has jimball music iirc

white scarab
#

Trance adds recoloring which might be similar

#

I know Djynasty made a mod that replaces the music with Don Palombi’s cover

brisk seal
#

woo hoo!

#

double legendary

sturdy canyon
random silo
sturdy canyon
#

i just copied it from my other stuff

#

without realizing its G.jokers

random silo
#

Imagine if consumables in joker slots had effects lol

sturdy canyon
#

the options are limitless

azure sierra
#

Is there a steamodded 1.0 mod that lets you choose your first joker?

gilded vortex
sturdy canyon
#

its from cryptid

#

i just accidentally spawned some in the joker slot

random silo
timid nexus
#

whoa

#

an enhacement thats equalish to a red seal seems strong

agile lily
#

does anyone know how i can add custom challenges like drspectred does?

azure sierra
tender hornet
#

lol

thick hollow
#

ive gotten far enough that the mods button appears in game but after attempting to add codex arcanum my game now crashes on startup with a giant error message i cannot comprehend

gilded vortex
#

Share the error especially the first part

thick hollow
#

do i just copypaste the whole thing here

tranquil vessel
#

I believe one of steamodded's latest versions broke codex arcanum?

thick hollow
#

ohh

#

thats unfortunate

#

was the mod i was most wanting to try

#

ill try a different mod rqw

tranquil vessel
#

not really sure about that, just saw some people talk about it

#

maybe someone else can confirm

robust carbon
#

I can confirm it

#

(As working on a 1.0 modpack we recently had to remove it because Steamodded alpha versions broke 0.9.8 compat with Codex essentially)

thick hollow
#

will it ever be updated?

gilded vortex
#

You could ask in the thread

robust carbon
#

There is a 1.0 version but feder is waiting for a full release iirc

thick hollow
#

so if i downgrade will it work?

robust carbon
#

To 0.9.8? Yeah

thick hollow
#

oh boy

robust carbon
#

But you lose out on a lot of newer mods

thick hollow
#

i dont really have any other mods im particularly interested of as of now so

#

i think i can take that

#

lol

#

is there an easy way to downgrade

#

or do i need to do everything over

#

i got it

#

yipee breaking bozo

terse sage
#

I had the modloader downloaded while playing unmodded when I beat the last challenge, and now because of that it didn't proc the steam achievement, because apparently the old mod loader automatically disabled achievements. Is there a way to give myself the achievement, or do I need to start a new save file and beat everything again?

urban grail
#

there is a mod called achievement enabler

#

in steamodded github's example mods

tranquil vessel
#

that means he'd need to beat the challenge again nevermind I'm stupid. Maybe that works?

#

You can also try to either

  1. use Steam Achievement Manager link
  2. With debug mode + achievement re-enabler mods, give yourself the win by spawning in good stuff (you might also need to modify your savefiles to remove the win first?)
terse sage
#

I might just try removing the win on an easier challenge then beating it again

#

Never mind, I'm not going to be able to figure that out, all the data seems to be scrambled and/or translated into another language

tall oriole
#

hey, random question, how do i change the card images, similar to balatro: reshuffled?

#

okay updated question: is it possible to ONLY change wee joker's art, and not the normal joker's?

terse sage
#

Okay, thank you!

tranquil vessel
tall oriole
#

okay cool well

#

worth asking i suppose

tranquil vessel
# tall oriole okay cool well

Haha, sorry I'm not much help, I'm not very familiar with it. Have you tried looking at balatro: reshuffled's source code? That might help

tall oriole
#

no i figured it out dont worry

#

thank you for your input though

#

sadly wee joker is a direct copy of the default joker's texture, so no luck there, but i did it anyway it worked fine

urban grail
#

@lean dune is this the portion that runs the jokers calculate function?

maiden marlin
maiden marlin
#

could you describe the problem you're having in more detail? how is the card.EzSc field set and used?

#

ok I think I know what you are asking

maiden marlin
#

if obj.calculate and type(obj.calculate) == 'function'

#

so, yes, you need to put your code after that block

urban grail
#

thanks

#

ok now i get it

rugged dune
#

hi

#

im trying to use the lobotomy corp mod

#

but i get an error that i cannot understand at all

#

would appreciate any help

lean dune
rugged dune
#

ah

#

thanks

#

i was having issues with aa couple other mods like bonus blinds so thats probably why

lean dune
urban grail
rugged dune
#

its this download link right

lean dune
#

yep

#

it's easier to update if you install using git, but that's beside the point

rugged dune
#

this is correct i swear

lean dune
#

alright then send the new crash please

rugged dune
lean dune
#

sorry I just woke up, I can't read properly, it appears

rugged dune
#

thats alright

#

i cant read it at all

lean dune
#

one of your mods defines its own booster API which conflicts with the one in steamodded

rugged dune
#

right

#

that would probably be codex arcanum right

lean dune
#

that mod would happen to be codex, yeah

tranquil vessel
#

codex also doesn't work on steamodded 1.0.0 I believe

rugged dune
#

oh

#

thats a shame

polar schooner
#

the 0.9.8 backwards compat does wonders

lean dune
#

it should run through the compat layer, but it's fundamentally incompatible with boosters on 1.0 unless you rename its booster class

rugged dune
#

so i just gotta do that and i should be able to use them together then?

tranquil vessel
#

I don't know if that's true or not, I'm just repeating what I've seen before in chat 😅

lean dune
#

that might refer to the boosters thing? not sure tbh

#

I don't think we broke anything else

rugged dune
#

if i load it after lobotomy corp will it work lol

lean dune
#

I wouldn't rule it out, but you may run into weird issues

rugged dune
#

ill just not use it for now then

#

thank you for the help

white scarab
#

hmmm I wonder if I can win

#

I think I won

stone brook
#

weakest cryptid joker

white scarab
#

just gonna afk here for a bit

#

no I tried to hit 6.9

exotic shadow
#

question does DebugPlus's win blind button work with this boss?

white scarab
#

let's try it

#

it does

#

ok let's see if obsidian orb freaks out now

#

it worked fine I think

haughty turret
#

real good run tonight

cedar imp
#

hellp

#

i wanted to ask

#

abot how to mod for begginer

#

Ive finished most of the gold stakes in vanilla so i wanted to move to modded

#

bt idk where to start

terse sage
#

I would look for some simpler joker mods to start with, if you're wanting to ease into it. I haven't looked too much into playing, since I've mostly been focused on learning to make my own mods, but off the top of my head I know the Bunco mod just adds ~30 jokers, so that and other mods like it could be a good place to start

cedar imp
#

or atleast some knolege in how to instal mods

#

i dont want to end p having an unplayable game

tranquil vessel
cedar imp
#

i have 0.9.8?

tranquil vessel
#

You can use steamodded 0.9.8, or 1.0.0. They don't have perfect compatibility.
1.0.0 is still in alpha/pre-release, and could significantly change.
I'd suggest using 1.0.0, but it's up to you.

tired jolt
#

i'm trying to install the morefluff mod, but steammodded doesn't seem to detect it

#

however, i DID install steammodded and lovely through r2modman

#

and the morefluff mod wasn't on there, so i just got it from github

#

i THINK i did everything right but it just didnt work

candid sable
#

Huh

#

That is out of my experience scope then

tired jolt
#

i put the .lua file in the appdata > roaming > balatro > mods folder and it did nothing

#

i'm not entirely sure what to do with the assests folder

candid sable
#

Only .lua file??

tired jolt
#

clearly i've done soemthing wrong though

#

i tried both but still

#

i can try again if need be

candid sable
#

It should be a folder of Morefluff

#

That contains lua files and asset folder

tired jolt
#

AH

#

ok i see it's just missing the main folder

#

i'll just manually make that

#

tyty

#

i figured that might be it but a video i watched just put a .lua file in there and it worked but i guess it's different here

#

i will now try this

candid sable
#

I'll recommend you decompress the zip you download somewhere else

#

And copy the folder that contains everything essential to Mods folder

tired jolt
#

will that potentially help?

candid sable
#

So it should look like Mods/<mod name>/<mod name>.lua
And Mods/<mod name>/assets/

tired jolt
#

i did do that

#

just now

#

and it still didn't work

#

i think this mod was updated like 2 months ago, is it outdated?

tranquil vessel
#

describe "it still didn't work"

tired jolt
#

nothing showed up in the menu ingame

tranquil vessel
#

you don't see the mods button?

tired jolt
#

i do

#

i do see it

#

i did not see the mod

tranquil vessel
#

but there's nothing in the mods menu

tired jolt
#

just text saying there's no mods installed and a button to open the directory

candid sable
#

Can you send the Mods folder's content

#

Maybe it'll help

tranquil vessel
#

^ specifically, the mods folder you see when you click the button in the game to open the mods directory

candid sable
#

A screenshot will suffice

tired jolt
#

gimme just 1 sec

candid sable
#

That looks correct

tired jolt
#

let me try again i guess

#

in case the gnomes in my computer changed something

#

nope

candid sable
#

Also I am not familiar with r2modman thing, but since it installed smods correctly I suppose it is maybe not the problem

#

Can you describe the installation process just in case

#

I mean r2 thingy

tired jolt
#

with r2modman you kinda just click things you want like a grocery list lol

#

you download the app, select the game you want and make a profile

#

then you can enable/disable mods in on tab and download mods from thunderstore on another

#

it has its own mod folder, which is where everything from there goes

#

this is the menu for it

#

these are the mods i actively have installed

#

i had to get morefluff from github bc it's not on here yet

#

assuming it will be i added, i guess

candid sable
#

Then I am guessing it might somehow mess with the mods ?

tired jolt
#

maybe

#

not entirely sure how it would but i guess 2 seperate mod folder will do weird shit

candid sable
#

Can you install another mod and see if it go into Mods folder

tired jolt
#

i was about to say im gonna do that lol

#

same hat

#

odd

#

it installed a second steamodded file that's deprecated

candid sable
#

Yeah also I don't think thunder has lots of mods you may desire

#

What does that mean

tired jolt
#

there are now 2 seperate versions of steamodded "running"

#

i put it in quotation marks bc the game instantly crashed to no ones surprise

candid sable
#

That certainly will happen

tired jolt
#

disabled the not deprecated version, and the mod i installed is working

#

not morefluff

#

i should clarify

candid sable
#

I'll still recommend not using r2modman thingy

#

I think it's doing weird things

#

And thunder is not a good grocery store

ornate void
#

Hello all. If anyone is willing to help, I'm trying to get a mod to work, but it isn't cooperating. I had installed the extra speed settings mod before this, and this seemed to be formatted the same way, but putting it in the same folder makes the game unable to actually launch. I'm really not used to modding in general, so I apologize if there's any obvious fixes I'm not seeing.

#

I can share more details once someone is willing to assist, sorry again for being a bit vague

calm vessel
#

which mod are you trying to play?

ornate void
#

It's the Tarot Deluxe mod, the one that gives a chance for buffed consumables.

west hill
#

Can you screenshot your mods folder?

ornate void
#

These are the only two things in it.

#

If I'm missing something important I apologize

west hill
#

When you download the mod, you need to put the entire folder in here

ornate void
#

(Also please don't tell me to activate windows they can have my money when I'm dead in the ground)

ornate void
#

Is there a separate tab for that? Again, I'm sorry for being this dumb lol

#

I don't wanna seem like I need to be babied I'm just tech-illiterate

calm vessel
#

put it like this

ornate void
#

IDK how to get to that point.

calm vessel
#

there should be an asset folder when you download the mod

ornate void
#

There's like 20 different buttons on the github page

tranquil vessel
calm vessel
#

if not, try redownloading the mod

ornate void
#

Should I delete the first lua file?

calm vessel
#

yes

tranquil vessel
#

yeah, probably a good idea

ornate void
#

So that zip file will have the folder, and I put the folder in the mods folder?

calm vessel
#

yes

ornate void
#

Gotcha. Thank you all!

tranquil vessel
#

yeah, unzip it and put that folder in the mods folder

ornate void
#

Do I need to put everything in the mods folder, or just the assets folder?

calm vessel
#

just make sure all mods that have assets are in its own folder

tranquil vessel
ornate void
#

Ahhh ok, so make a new folder and put the stuff in the zip file inside of it

#

Okokok

calm vessel
#

only important thing in the folder is assets and the lua(idk what source is)

tranquil vessel
#

you should include source, it's a couple of lua files the main file imports iirc

calm vessel
#

ohh ok

ornate void
#

It works, thank you all again. I did have one more question that's not nearly as important: Is there a way to do without the second smaller window that opens when playing this game modded, or is that just kinda always there regardless of whether I like it

candid sable
#

Really, put everything you see in the downloaded zip file in the folder is a better idea, especially when you don't know what they do

ornate void
#

Darn

calm vessel
#

you can just ignore it

tranquil vessel
ornate void
#

I did what that suggested and it still pops up.

tranquil vessel
#

hmm, weird

ornate void
#

It's here, right?

tranquil vessel
#

I'll be honest, I didn't double check that myself

toxic cloud
#

Mac users: what's --disable-console egg

tranquil vessel
ornate void
#

Very much isn't working

tranquil vessel
#

it works for me 🤔

ornate void
#

Really isn't the absolute worst thing ever honestly

#

I can just minimize the window

toxic cloud
#

yea smh

candid sable
#

Yeah

#

But still a bummer when something isn't working as expected

toxic cloud
#

me: damn it, Apple Script time

tranquil vessel
ornate void
#

Uhhhhhhhhhhh

tranquil vessel
#

windows 10, 11, mac, linux

tranquil vessel
#

oh, right

#

is that windows 10 or 11 though?

toxic cloud
#

it's win10

tranquil vessel
#

interesting, how can you tell? 🤔

calm vessel
#

is this win7?

tranquil vessel
#

I have the same thing on win10 lol

toxic cloud
#

I look at win11 and compare the difference

calm vessel
#

win10 then

candid sable
#

Hehe

tranquil vessel
#

we could also just let the guy answer lol

toxic cloud
#

iirc I have never seen an unactivated win7

ornate void
tranquil vessel
ornate void
#

What's that

tranquil vessel
# ornate void What's that

The Command Prompt. Go to wherever your balatro installation is, and type cmd in the address bar, and press enter. Then type Balatro.exe --disable-console in the cmd and see if the console still pops up or not.

cerulean flare
grand geode
#

lmao?????

#

OH

fallow bramble
#

Wow you sure hate the Lobotomy Corp mod no need to shake it like that!!!!

grand geode
#

yeah okay i see

fallow bramble
grand geode
#

so undebuffing a joker calls Card:add_to_deck

#

and uh. that joker depends on that function

#

skull emoji

fallow bramble
grand geode
#

vanilla

fallow bramble
#

thunk moment

latent nimbus
fierce ether
#

i have a problem

#

i played a couple of hours in vanilla and got many achievements, but when i decided to download some quality of life mods, all my in-game achievements reset, and now everytime i restart the game i lose all my achievements. for example every new session when i go up to ante 4 i get the achievement "Ante up!" is there a way to make the achievements not reset?

I'M TALKING ABOUT IN-GAME ACHIEVEMENTS, NOT THE STEAM ONES

exotic shadow
#

By default, this should happen. I'm not sure, but maybe getting acheivement enabled will fix if, otherwise send your mod list.

fierce ether
#

have that already

#

wait

real shale
#

Hey guys, using the Zen mode is there a way for it to still count as a win at ante 8?

#

As soon as we have it turned on the ante's just don't seem to end

#

I understand that may be by design but was wondering if there's a way to turn that off

#

Not sure if there's a different version of this or a way to toggle what I'm looking for? Thanks for any help guys!

arctic halo
#

i know it's not supported and considered deprecated post-0.9.8 but is there an unofficial way to inject steamodded 1.x into balatro?

exotic shadow
#

Technically, you could maybe inject 1.0 into the game, but it would be a lot of work to do, and very little gain (if any)

lean dune
#

for the regular lovely patches, it's possible to take the dumped source files and inject those by replacing the originals, but idk about modules

arctic halo
gilded vortex
#

What do you think of this formatting? I'm not sure how to separate standalone abilities in Jokers when one is so brief

#

This is another one but without spacing

#

(I think I preferred the older "Boss Blinds are harder!" rather than the current, clearer text, but I digress)

lean dune
#

like {s:0.6} or so

gilded vortex
#

… why is s lowercase when the other controls are uppercase?

#

does this look smaller?

west hill
#

Definitely smaller

#

You can count the crt lines

gilded vortex
#

why do the draw_card functions have a stay_flipped arg that does nothing

carmine mortar
#

Stay mad, stay flipped

Idk

gilded vortex
#

I think I like this size

exotic shadow
fervent owl
#

Which aure already mentioned

maiden oak
#

does anyone know how i could modify the brainstorm mod to auto-reroll for two arcana skips with a soul tarot inside both

white scarab
#

The GitHub source does most of this actually, although it’s still in development

#

You’d have to manually check for the second tag to be a charm tag

maiden oak
#
if _tag == Brainstorm.SETTINGS.autoreroll.searchTag then
    if Brainstorm.SETTINGS.autoreroll.searchForSoul then
        -- Check if arcana pack from skip has The Soul
        soul_found = false
        for i = 1, 5 do
            if pseudorandom(Brainstorm.pseudoseed("soul_Tarot1" .. seed_found)) > 0.997 then
                soul_found = true
            end
        end

        if not soul_found then
            seed_found = nil
        end
    end
else
    seed_found = nil
end

This is how it works right now

white scarab
#

It’s pretty much implemented already, you just have to install lovely by downloading the source code

maiden oak
#

this is exactly what i'm looking for thanks a lot!

white scarab
#

yw

#

btw let me know if you run into any issues since I’m still testing it out a bit

#

it worked fine for me, but the main Brainstorm dev told me it didn’t work for them

maiden oak
#

it works for me but as you mentioned in the PR it doesn't always generate two arcana skips. but it is a huge improvement nonetheless great work!

white scarab
#

ty

maiden oak
#

btw i don't know anything about lua or modding this game but after making this change it always shows two arcana skips (though it takes a bit of time :D)

if Brainstorm.SETTINGS.autoreroll.searchTag ~= "" then
    _tag = pseudorandom_element(G.P_CENTER_POOLS["Tag"], Brainstorm.pseudoseed("Tag1" .. seed_found)).key
    _tag2 = pseudorandom_element(G.P_CENTER_POOLS["Tag"], Brainstorm.pseudoseed("Tag2" .. seed_found)).key
    if _tag ~= Brainstorm.SETTINGS.autoreroll.searchTag then
        seed_found = nil
    end

    if _tag2 ~= Brainstorm.SETTINGS.autoreroll.searchTag then
        seed_found = nil
    end
end

I know I could merge these if statements but i didn't want to bother with syntax that i don't know about lol

#

nevermind it doesnt always work lol

white scarab
#

Try replacing "Tag2" with "Tag1"

#

the number at the end is for the ante

sterile hornet
#

steam problem

#

i might need to play with a VPN

#

ok now im not sure whats up

rigid jewel
#

what in the

white scarab
#

i have a flush build too

#

no telescope

timid nexus
#

m

lean dune
#

I guess there's an issue if you happen to care about steam achievements

mystic oar
#

my first joker sprite so im a bit new

cedar imp
#

hey

#

question

#

how do yo

#

download mods

#

I found some interesting/cool ones

sterile hornet
#

you need steamodded and lovely

cedar imp
#

done

sterile hornet
#

ah

cedar imp
#

i jsut dont know how github works

#

Its confusing

#

And tutorials are way to vaugue on how 2

sterile hornet
#

there should be a releases tab to the right

cedar imp
#

mhm

sterile hornet
#

just download the zip file

cedar imp
#

for soome of them there is

#

codex arcanum doesnt

gilded vortex
#

Looks very good. I’d maybe move the question mark so it looks centered and maybe tweak the right leaning background question marks

#

@mystic oar

sterile hornet
mystic oar
#

i deleted the message coz i was gonna move it to #💻・modding-dev so reply stalemate if anything

sterile hornet
gilded vortex
mystic oar
#

never seen before sprite :D not reposted

#

but yeah ill move it

gilded vortex
mystic oar
#

hallucination, 2

#

i might actually give the sprite a different effect but this was the easiest thing i had to sprite on hand

gilded vortex
#

I just made a Joker to enable synergies with them

mystic oar
#

i can see that

#

that would be fun but also its a pretty niche mechanic in vanilla

gilded vortex
#

Which is why I want to think of enablers 🤔

cedar imp
#

HELP?

#

what does this mean?

candid sable
#

What you installed

cedar imp
#

More fluff
fusion
codex arcanum

#

all mods suposedly work together stable enough

#

happened when i tried switching acounts

#

As I plan to keep 1 acount vanilla

#

DO you have an idea of what i did wrong or what dint work?

#

maybe i downloaded the mods incorectly?

cedar imp
candid sable
#

Save problem?

#

They won't like sharing same save file

cedar imp
#

fixed

#

just

#

removed mods and placed them back to switch acounts

#

lol

candid sable
#

Well save will still be a problem I foresee

dry gust
#

Im getting an issue where Atlas is a nil variable, did i do something wrong with the setup? This is legitimitely all I have that is actually executing and is not just defining the mod

    key = "sannyoatlas",
    path = "sannyojokers.png", 
    px = 71, 
    py = 95
}```
the path does exist, for reference
calm vessel
#

what did you name the file

dry gust
#

its just sannyo.lua

calm vessel
#

is it just sannyojokers.png or j_sannyojokers.png

dry gust
#

the former

calm vessel
#

try renaming to the latter

dry gust
#

no luck

#
        Local variables:
         msg = string: "[string \"--- STEAMODDED HEADER...\"]:12: attempt to call field 'Atlas' (a nil value)"
         (*temporary) = Lua function '?' (defined at line 6044 of chunk main.lua)
         (*temporary) = string: "Oops! The game crashed\
"
(2) Love2D field at file 'boot.lua:352'
        Local variables:
         errhand = Lua function '?' (defined at line 6001 of chunk main.lua)
         handler = Lua function '?' (defined at line 6001 of chunk main.lua)
(3) main chunk of mod Komakusa Cards (SANNYO) at line 12
(4) Lua global 'loadMods' at file 'main.lua:6188'
        Local variables:
         modsDirectory = string: "Mods"
         mods = table: 0x2212d5d0  {1:table: 0x2212e100}
         modIDs = table: 0x2212d5f8  {SANNYO:true}
         processDirectory = Lua function '?' (defined at line 6107 of chunk main.lua)
         keyset = table: 0x21c22c48  {1:0}
         (for generator) = C function: builtin#6
         (for state) = table: 0x21c22c48  {1:0}
         (for control) = number: 1
         _ = number: 1
         priority = number: 0
         (for generator) = C function: builtin#6
         (for state) = table: 0x2212e278  {1:table: 0x2212e2c0}
         (for control) = number: 1
         _ = number: 1
         v = table: 0x2212e2c0```
tranquil vessel
#

I'm not that good with steamodded, but do you have the latest version (1.0.0)?

dry gust
#

ah, that might be it, its 0.9.8

#

the wiki made it seem like they were identical methods

#

ive git bashed before so its not trouble

#

it crashed still

#
        Local variables:
         msg = string: "main.lua:4145: Failed to collect file data for Atlas sann_sannyoatlas"
         (*temporary) = Lua function '?' (defined at line 6481 of chunk main.lua)
         (*temporary) = string: "Oops! The game crashed\```
lean dune
#

Maybe your image assets aren't saved in the right place?

dry gust
#

you have to save them into two places right? 1x and 2x?

lean dune
#

There needs to be a 1x version in assets/1x and another 2x version in assets/2x

dry gust
#

do they have to be different?

#

oh it worked!

lean dune
#

2x needs to be twice the size

tranquil vessel
lean dune
#

the API was changed significantly from 0.9.8, which had Sprite instead

#

as for the docs, as it says on the main page for it, the numbered pages are for 1.0, the rest is for 0.9.8

dry gust
#

got it...

#

good to know!

tranquil vessel
#

there's also some decent examples at example_mods/Mods

dry gust
#

good! i was wondering if there was example files on the wiki

tranquil vessel
#

which I believe were all updated to match 1.0.0

dry gust
#

the github wiki is comprehensive, which is nice, but also its a bit over my head lol

lean dune
#

oh it actually isn't comprehensive, a lot of it is still missing or WIP

dry gust
#

more comprehensive than some wikis ive worked with

tranquil vessel
#

something that really tripped me up was pos lmao

dry gust
#

hmmm. wonder why this isnt displaying correctly

#

should just be $8

#

i have it in the file as {C:money}$#8#{} and afaik that should be right

tranquil vessel
#

I think it's $8 if you want it to be static, or $#[arg index]# if you want it to be variable

dry gust
#

ah, that makes sense. the 1 in 1 in 2 can change but the money shouldnt, that is actually really clear lol

tranquil vessel
#

you can take a look at en-us.lua for how it's done in the base game

tranquil vessel
dry gust
#

right, i gotta look into actually how to make the card work more, thank you!

tranquil vessel
#

good luck! 🙃

dry gust
#

thats for me to tinker on later

#

right now the card is a dud anyhow

gilded vortex
#

You can also make the number a variable in case you decide to rebalance the card and you do not want to change every localization manually

sterile hornet
tranquil vessel
#

fixes.toml does a couple of things, including being able to launch balatro when steam is not running

#

instead giving the Do you have Steam turned on? message

#

in other words, if you get that message, you shouldn't be able to launch unmodded balatro

#

does that make sense?

sterile hornet
tranquil vessel
#

I think you misunderstand - if you see that message, you already have it

sterile hornet
#

i tried a few thinigs but balatro just ran without lovely

tranquil vessel
#

it's just warning you that balatro couldn't connect to steam

#

normally balatro automatically exits (piracy prevention), but this circumvents that

#

(which I guess might technically fall under piracy? 🤔)

#

in any case, you might not get steam achievements etc, but if you have steam running while launching it should no longer give that message

sterile hornet
#

well
i did have steam running and it still gave me that message so im not sure how that works

tranquil vessel
#

that's weird

#

do you get the steam pop-ups/overlay etc?

sterile hornet
#

well i figured out the issue

#

my steamodded was missing the lovely folder

#

i probably accidentally deleted it

toxic walrus
#

try restarting pc

candid sable
#

lovely folder?

#

Oh lovely patches

shell breach
#

I'm sure this question gets asked quite frequently, but is there a guide available to someone that wishes to mod their balatro game for the first time? Its possible I didn't look hard enough but I couldn't find a guide on this server.

gilded vortex
#

I remember some outdated ones

#

But do you want to make a mod or just install them?

shell breach
#

Just install them. Is this channel for making mods only? If so I apologize

candid sable
#

No you are in the right place

shell breach
#

Okay awesome. I assume the modding process isn't as simple as download the github files and loading up the game, right?

candid sable
#

You haven't installed anything besides the game?

#

Or you are on some progress

shell breach
#

I just have the game downloaded right now. Nothing else

gilded vortex
#

Most mods use Steamodded which is basically a mod that helps make mods

gilded vortex
#

There’s 0.9.8 which is the latest release and 1.0.0 which is in alpha

#

Recently there’s been some backwards compatibility support between them but it’s not guaranteed

#

So if you have a specific mod in mind, see what version it’s for

#

Either way, you’ll probably need to install lovely, use lovely to install Steamodded (or just have it around; depends on the version I think), then install the mod you want

candid sable
#

It's mostly simple, you download, extract, and you put the files into where they belong.

#

Individual mods may have unique requirements and details but you can ask until you encountered them

gilded vortex
#

There are more specific installation instructions

#

But again it depends on the version

sterile hornet
#

you can just search for it

#

there are 2 different versions but it depends on the mods you wanna get

shell breach
#

Thank you so much guys!

#

I'm probably going to start with Bunco first

candid sable
#

With Bunco I'll recommend you use 1.0.0

#

It has 0.9.8 version but it's not maintained

humble saffron
#

windows defender really does not like lovely huh

candid sable
#

WD moment

dusky island
#

if i mod just visual content can i still get achievements?

tranquil vessel
#

steamodded disables achievements by default, regardless of mods used

#

you'll need to use the achievement reenabler mod

random silo
#

I got this fun idea for pins that go on jokers, permanent enhancements like editions but with more specific and interesting effects while being weaker than enhancements. I proceeded to concept 25 of them because why have a sanity when you can suffer.

#

These are probably going to go in an enhancement mod im currently concepting

humble saffron
#

actually half joker exists i don't think they'll mind

wild thunder
#

what if balatro but the math is wrong ("one of our developers thought the addition was wrong so he wrote his own addition function. enjoy")

shrewd plume
#

is there a mod that lets me skip entirely the scoring?

#

the x999 isnt enough for what im doing

fervent owl
#

There is Talisman mod

#

But it isn't 100% instant when it gets to thousands of retriggers

#

This is the best you can get tho as far as I know

shrewd plume
#

if its quicker than nepeus it should be good

fervent owl
#

They should be compatible

#

Nopeus is mostly for other animation speedups

shrewd plume
#

hmm well i just installed talisman and it seems i added too many blueprints cause it crashes as soon as i start blind

#

maybe its a different issue tho

fervent owl
#

Depends on what the crash says

#

Wait

shrewd plume
#

might be divvy too looking at the crash

#

yea it was the preview

fervent owl
#

If you got naneinf it won't work this run

#

Or you have to disable the scoring option

shrewd plume
#

yea works fine now, it was the score preview

fervent owl
#

In settings - spectral pack - Talisman

#

There should be a setting for scoring, I forgot what it is

#

Not animation, the 2nd one

#

I think if you disable that it should be compatible with score preview (but not 100% sure)

#

You gotta restart game tho

shrewd plume
#

ok, ty

haughty turret
#

windows now blocks ALL versions of version.dll it WILL NOT COOPERATE

lean dune
haughty turret
lean dune
#

huh?

haughty turret
haughty turret
# lean dune huh?

the last time it was scanned there was only 1 of 67 now its 17 of 67

lean dune
#

yeah they all started flagging it, which has been causing issues recently

haughty turret
#

do you think its really dangerous?

zealous wave
#

its machine learning bullshit

#

lovely injects into the game

latent nimbus
#

more accurately its a false positive

lean dune
#

it being flagged is to be expected, since it can be used maliciously - by itself it won't do any harm to your system

zealous wave
#

viruses inject into programs to keep themselves around

haughty turret
#

yea

lean dune
#

you can confirm that yourself given it's open source, and so are any mods you install

zealous wave
#

its not directly malicious but if there's someone determined enough they could make a malicious mod

haughty turret
#

yea, well windows wont even let me install it

lean dune
#

you should make sure the mods you install can be trusted though and refrain from using mods from sketchy places

#

there's a couple exe replacement mods on nexus for example, these are pirated and could easily have malware snuck in

haughty turret
#

it doesnt even show the virus in my security panel, it just wont let me

lean dune
#

alright here's what you can do

#

open windows defender and enter the "Virus & threat protection" tab

#

Click "Manage settings"

glad sedge
#
function Blind:debuff_card(card)
    -- Shuffle function
    local function shuffle(t)
        local n = #t
        for i = n, 2, -1 do
            local j = love.math.random(1, i)
            t[i], t[j] = t[j], t[i]
        end
    end

    self.debuff_count = self.debuff_count or 0
    self.debuff_attempted = self.debuff_attempted or false

    if not reset and not self.disabled and not self.debuff_attempted then
        if self:get_type() == 'Boss' and card.area ~= G.jokers then
            -- Gather all cards into a single list
            local all_cards = {}
            for _, playing_card in ipairs(G.playing_cards) do
                if playing_card.area ~= G.jokers then
                    table.insert(all_cards, playing_card)
                end
            end

            -- Shuffle the list of all cards
            shuffle(all_cards)

            -- Debuff the first 13 cards from the shuffled list
            for _, playing_card in ipairs(all_cards) do
                if not playing_card.debuff then
                    playing_card:set_debuff(true)
                    table.insert(self.debuff, playing_card.base.id)
                    self.debuff_count = self.debuff_count + 1
                    if self.debuff_count >= 13 then
                        self.debuff_attempted = true
                        break
                    end
                end
            end
        end
    end`
end

trying to store chosen cards in the table self.debuff so it gets a save state.

but after exit to main menu and enter game again, the 13 debuffed cards are always different! its not remembering the debuffed cards, anyone can help?

lean dune
#

Scroll down and click "Add or remove exclusions"

haughty turret
gilded vortex
haughty turret
gilded vortex
#

You can’t save card references by saving the cards

lean dune
glad sedge
gilded vortex
#

I heard cards have two unique identifiers but Idk exactly (one might be inherited from Nodes)

glad sedge
#

but why save and load methods have this then?

function Blind:save()
    local blindTable = {
        name = self.name,
        dollars = self.dollars,
        debuff = self.debuff,



    self.debuff = blindTable.debuff`

gilded vortex
lean dune
#

it's inconsistent even on the same seed

glad sedge
gilded vortex
haughty turret
lean dune
#

balatro comes with a pseudorandom function you should use

#

you'll see it a few times looking through the source code

haughty turret
glad sedge
lean dune
haughty turret
lean dune
#

no

#

all chromium based browsers will try their hardest to stop you

gilded vortex
#

No need to redefine the original functions or hook them

glad sedge
#

just quick testing, thats why

lean dune
#

doesn't matter if it's edge, chrome, opera or something else

glad sedge
#

so guys, there is no base way of saving the chosen debuffs from my custom debuff_card method?

i still dont understand why there are save and load methods that handle debuffs then

lean dune
lean dune
glad sedge
#

OH. lemme test that then

gilded vortex
haughty turret
glad sedge
lean dune
glad sedge
#

i want the approach to be the less invasive as possible

haughty turret
lean dune
#

Try disabling real-time protection momentarily

glad sedge
#

@lean dune can you quick show me how to modify the method to properly use the pseudorandom? i used the math.random because i was unable to debuff different cards when resetting the game or starting a new run. the cards debuffed would be the same unitl i closed the game and reopened

#

in any case how to handle restarts or losing the game

gilded vortex
lean dune
haughty turret
haughty turret
gilded vortex
haughty turret
haughty turret
gilded vortex
#

I’m not asking you to move

lean dune
gilded vortex
#

I’m asking you if you downloaded and have the file around

glad sedge
haughty turret
gilded vortex
#

I heard you but that’s not what I asked :<

lean dune
#

that approach gets inefficient at low deck sizes or when a lot of cards are already debuffed though

gilded vortex
#

Or pseudorandom_shuffle to get multiple random cards directly

lean dune
gilded vortex
#

uhhh maybe I got the name wrong

#

There’s a function to randomly reorder tables

lean dune
#

it's pseudoshuffle

gilded vortex
haughty turret
gilded vortex
#

I had a similar issue

#

But Windows was deleting the file

#

So when I tried to move it didn’t exist

gilded vortex
#

It stopped deleting it when I disabled Windows Defender

haughty turret
gilded vortex
#

But if the file is still there I’m not sure

glad sedge
#

sorry which one is better pseudoshuffle , pseudorandom_element or this im using?

local j = pseudorandom('debuff13', 1, i)

gilded vortex
#

Did you whitelist the downloads folder individually?

haughty turret
#

yup. just wont move

glad sedge
#

what i dont understand is how this :
local j = pseudorandom('debuff13', 1, i)
gets same results betwee save games but if the seed is the same on restarts it chooses other cards.

haughty turret
#

so i give up.

glad sedge
#

can you eli5 it for me

haughty turret
#

its fine.

gilded vortex
lean dune
haughty turret
#

didnt need mods on balatro anyway

gilded vortex
haughty turret
lean dune
#

I can't tell if you've just been ignoring me

lean dune
#

so you may need to sort if first for it to be consistent

jagged jay
#

quick question. when making the asset images, how do you save them at x2 size without losing quality? i use photoshop

lean dune
haughty turret
wild thunder
#

m

glad sedge
lean dune
lean dune
#

as well as within the same run for the same action

#

Try adding this before the shuffle table.sort(G.playing_cards, function (a, b) return a.playing_card > b.playing_card end )

glad sedge
# lean dune you'd want it to be the same on the same seed though?

What i want is:

  1. if its the same game save, then if close game, reopen, or go to main menu as long games doesnt end by any means, to be the same when loading it.
  2. i dont want the debuff cards to be the same when i reset the game, loss, win, start a new game, or computer explodes and reinstall windows and install balatro again (lol)
lean dune
#

you have 2 already

#

you don't have 1, probably because G.playing_cards is out of order each time

#

if that's the case, sorting it first should solve that

glad sedge
#

currently, if i close the game, reopen it, or exit to main menu, and hit " continue" the cards remains the same debuff . you mean that if i play a hand , exit, game, then hit continue again, the debuffs will be others?

#

yep, i played a hand, exited to main menu, hit continue and now i have 26 debuffs.. i dont see the end of thisss

lean dune
#

that might be due to how you're completely overriding the function

#

sorting should solve the part where it's different on the same seed on different runs

#

Blind:debuff_card() also has to make sure previously debuffed cards are undebuffed, and you're removing that functionality

glad sedge
#

what part is that exactly here?


function Blind:debuff_card(card, from_blind)
    if self.debuff and not self.disabled and card.area ~= G.jokers then
        if self.debuff.suit and card:is_suit(self.debuff.suit, true) then
            card:set_debuff(true)
            return
        end
        if self.debuff.is_face =='face' and card:is_face(true) then
            card:set_debuff(true)
            return
        end
        if self.name == 'The Pillar' and card.ability.played_this_ante then
            card:set_debuff(true)
            return
        end
        if self.debuff.value and self.debuff.value == card.base.value then
            card:set_debuff(true)
            return
        end
        if self.debuff.nominal and self.debuff.nominal == card.base.nominal then
            card:set_debuff(true)
            return
        end
    end
    if self.name == 'Crimson Heart' and not self.disabled and card.area == G.jokers then 
        return
    end
    if self.name == 'Verdant Leaf' and not self.disabled and card.area ~= G.jokers then card:set_debuff(true); return end
    card:set_debuff(false)
end`

#

thats the original code

lean dune
#

the last line, card:set_debuff(false)

glad sedge
#
function Blind:debuff_card(card)

    -- Shuffle function
    local function shuffle(t)
        local n = #t
        for i = n, 2, -1 do
            local j = pseudorandom('debuff13', 1, i)
            t[i], t[j] = t[j], t[i]
        end
    end

    self.debuff_count = self.debuff_count or 0
    self.debuff_attempted = self.debuff_attempted or false

    if not reset and not self.disabled and not self.debuff_attempted then
        if self:get_type() == 'Boss' and card.area ~= G.jokers then
            -- Gather all cards into a single list
            local all_cards = {}
            for _, playing_card in ipairs(G.playing_cards) do
                if playing_card.area ~= G.jokers then
                    table.insert(all_cards, playing_card)
                end
            end

            -- Shuffle the list of all cards
            shuffle(all_cards)

            -- Debuff the first 13 cards from the shuffled list
            for _, playing_card in ipairs(all_cards) do
                if not playing_card.debuff then
                    playing_card:set_debuff(true)
                    self.debuff_count = self.debuff_count + 1
                    if self.debuff_count >= 13 then
                        self.debuff_attempted = true
                        break
                    end
                end
            end
        end
    end
    card:set_debuff(false)
end`

added it at the end, but new debuffs come after playing a hand or so.

white scarab
glad sedge
#

maybe the shuffle should be inside the first condition?

#

and leave outside the set_debuff(false)

lean dune
white scarab
#

I have them set up so if you have python you can just drag and drop the files to resize

lean dune
gilded vortex
#

I feel like use the Steamodded Blind constructor would make your life easier

lean dune
#

it gets called for each card, which is not how your debuff operates

glad sedge
dry gust
#

how does the pseudorandom call work? is it just based off of the jokers key?

gilded vortex
#

No it just takes a seed

#

Usually thunk uses the Joker’s name or key or whatever just to make it unique

white scarab
#

ye

#

some combination of that and ante and maybe source

west hill
#

It depends on how you want your seeding to work

dry gust
#

i dont know if im using the function incorrectly
it says that its not closed, but as far as i can tell it should be

    calc_dollar_bonus = function(self)
        if pseudorandom('donation') < G.GAME.probabilities.normal/2 
            then
                local bonus = self.config.extra.money
                return bonus end
            else
        end
    end```
glad sedge
dry gust
#

well, it does work, but it seems like its activating 100% of the time

#

well now it just didnt

#

lol

#

thanks balat luck

#

how can i get the description to change when using all sixes?

west hill
#

You need to use loc_vars

dry gust
#

i do have a loc_vars, with the chance as an argument, though it still doest change

#

i think all sixes DOES work with it, but the text doesnt change

west hill
#

In your loc_txt have you used #1# for the number that should change?

dry gust
#

yes

#
        text = {'{C:green}#1# in 2{} chance to gain',
        '{C:money}$#2#{} when round ends'}```
gilded vortex
#

Are you inputting G.GAME.probabilities.normal?

dry gust
#

yes

west hill
#

That looks fine

#

Can you send the loc_vars?

dry gust
#

here's the whole thing

#
SMODS.Joker {  -- Donation Box
    key = 'donation',
    loc_txt = {
        name = 'Donation Box',
        text = {'{C:green}#1# in 2{} chance to gain',
        '{C:money}$#2#{} when round ends'}
    },
    config = {extra = {chance = 1, money = 6}},
    rarity = 2,
    pos = {x = 0,y = 0},
    atlas = 'sannyoatlas',
    cost = 5,
    unlocked = true,
    discovered = true,
    blueprint_compat = false,
    loc_vars = function(self, info_queue, card)
        return {vars = {card.ability.extra.chance, card.ability.extra.money, G.GAME.probabilities.normal}}
    end,
    calc_dollar_bonus = function(self)
        if pseudorandom('donation') < G.GAME.probabilities.normal/2
            then
                local bonus = self.config.extra.money
                return bonus
            else
        end
    end
}```
west hill
#

So your first value is always 1

gilded vortex
west hill
#

You want it to be the game probabilities one, right?

haughty turret
dry gust
#

ah, alright
does that mean i wouldnt need the chance variable?

gilded vortex
#

Yes

dry gust
#

yeah, that works! thank you!

lean dune
#

I don't think there's anything we can do about that

haughty turret
lean dune
#

why?

#

lovely has all the things we need

haughty turret
# lean dune why?

well if it destroys our computers, then i think its time to fix it.

lean dune
#

a modding tool that modifies a running process getting flagged as a trojan is to be expected simply because it acts like one

#

bruh

#

as I've told you, by itself it's safe - you can confirm this because it is literally open source

glad sedge
#

@lean dune i tried this in Card:set_base and Card:set_ability and now no card is debuffed..:

    if not initial then 
        if self.debuff_attempted == false then
            G.GAME.blind:debuff_card(self)
        end
    end

even set a flag here?

function Blind:set_blind(blind, reset, silent)
    if not reset then
        self.config.blind = blind or {}
        self.name = blind and blind.name or ''
        self.dollars = blind and blind.dollars or 0
        self.sound_pings = self.dollars + 2
        if G.GAME.modifiers.no_blind_reward and G.GAME.modifiers.no_blind_reward[self:get_type()] then self.dollars = 0 end
        self.debuff = blind and blind.debuff or {}
        self.pos = blind and blind.pos
        self.mult = blind and blind.mult or 0
        self.disabled = false
        self.discards_sub = nil
        self.hands_sub = nil
        self.boss = blind and not not blind.boss
        self.blind_set = false
        self.triggered = nil
        self.prepped = true
        self:set_text()

        self.debuff_attempted = false`
haughty turret
#

then what could this virus be: Trojan.Lazy.D8A49C

lean dune
#

Lovely does what a Trojan does - less obviously so than the old steamodded injectors (it doesn't directly modify the executable, but the running process), but it allows arbitrarily changing the code the game is running on

#

which is perfect for everyone's modding needs, but it very much does act like a Trojan would, which is why it's flagged

#

it is however not malware, given it does exactly what it's meant to do in what it's doing

haughty turret
#

Trojan:Win32/Lazy is a backdoor for hackers to steal data. how do u explain dat?

lean dune
#

it's a false positive

haughty turret
#

if it does modify code then how come it has a back door likr this? i mean i can understand the others but not this one