#⚙・modding-general

1 messages · Page 8 of 1

cerulean herald
#

LETSGOOOOOO

charred sparrow
#

How can I check logs if I use steamodded?

jaunty lion
#

i feel like it shouldn't have been that easy but i'm not complaining

charred sparrow
#

Debug Socket: Provides a way to output debug data.
The debug Socket is used to send debug informtions from the Game and the Mods outside of the Game. Since we can't launch Balatro linked with a console interface, it's the most efficient way to provide debug data.

cerulean herald
charred sparrow
cerulean herald
#

oh a debug mode?

#

theres a mod that enables that

charred sparrow
#

Like this I think
sendDebugMessage("pre update")

jaunty lion
#

wait so now that i'm using steamodded does that mean i can't get achievements anymore

cerulean herald
#

you can reenable achievements

#

theres a mod for that too haha

jaunty lion
#

lmao!

cerulean herald
#

also this downloader is staying open LOL

dapper nacelle
#

My man fingerGuns

cerulean herald
#

I have to manually close it ahaha

#

I like the idea but it needs a bit more finetuning, needs to open a window to where it was downloaded and let you specify where balatro.exe is

#

Bc lots of people wont have it in C:/Program Files (x86)/Steam/steamapps/common/ which is where I assume its targetting

charred sparrow
#

If I have code like this
love.graphics.print(G.hand.cards, 10, 10)
And I want to check value of G.hand.cards in game - how can I do it?
I can suppose that exists soem console logs where I can sent some debug messages

charred sparrow
jaunty lion
#

so is there no way to activate or deactivate specific mods once they're in the folder

cerulean herald
#

balamod also has a full on devtools api that might be of use to you

lean dune
cerulean herald
#

it has a section for code injection

hardy brook
#

I'm legit about to go on a Joker arc with how annoying this is getting

jaunty lion
#

i could try balamod but idk if it'll work since i have steamodded already

jaunty lion
#

no i'm just saying

cerulean herald
#

I was talking to @charred sparrow whos trying to get their console commands working

jaunty lion
#

yeah i know

cerulean herald
#

yeah balamod and steamodded dont currently work together

#

they can both be installed

#

but balamod mods wont run

hardy brook
#

I got the IDEA, but I can't get the execution

cerulean herald
#

though the API works

cerulean herald
#

r2modman support is almost out tho, and that will support having both versions of the game! it will either inject balamod or steamodded depending on which you want at startup, AND it installs the modloaders for you AND any mods

jaunty lion
#

ooooh

#

that sounds sick

cerulean herald
#

you can have profiles too for switching modpacks easily

#

r2modman is dope

hardy brook
cerulean herald
#

but no theyre not random people I wouldnt say

hardy brook
#

I'm not using that eitherway

jaunty lion
#

wait overwolf is spyware?

cerulean herald
#

thunderstore is well known in the community

hardy brook
#

yes

cerulean herald
#

nah its bloatware lol

#

it just has telemetry data

jaunty lion
#

ah ! i should probably get that off my computer then

cerulean herald
#

it doesnt sell your info

#

which is why most prefer r2modman which doesnt have that

hardy brook
#

I'm still not using it

cerulean herald
#

thunderstore is just a skinned r2modman

#

dont use it @hardy brook lol

#

no one was asking you to

dapper nacelle
#

Some mods are already crazy good

#

Im mouthblown

hardy brook
#

i'm getting HostileCrim moment

#

And my target is my CODE

cerulean herald
#

you've been hostile to me for a while now LOL

hardy brook
#

I have?

#

Sorry

cerulean herald
#

so youlll get it back in return after so long LOLOL

#

its all good

jaunty lion
#

overwolf is now Gone 👍

cerulean herald
#

you dont have to use either, but at least r2modman support will be WELL appreciated and probably the most used by the community until workshop support is out

#

as its the easiest way to install mods for most games, is well known and reliable

hardy brook
jaunty lion
#

oh wait is r2modman available to use currently or is it still being worked on

lean dune
cerulean herald
hardy brook
lean dune
hardy brook
#

I'll try when they're merged. don't want to accidentally break one of my mods

cerulean herald
#

basic support is out though for r2modman I believe, now I think the devs for steamodded and balamod will have to add it to the repo, and then all the mod devs who want to publish their mods onto r2modman as well

hardy brook
#

So what does the Playing Card API do exactly?

lean dune
cosmic shell
cerulean herald
#

we can ask @molten lily for confirmation on r2modman support

lean dune
jaunty lion
#

i'll be playing modded exclusively on my unlocked profile so i don't accidentally fuck up something on my Actual profile

cerulean herald
#

It'll be nice to tell people to just use r2modman to install the modloaders though instead of having so many people get stuck with how to drag n drop, defender/AV blocking the injectors, etc haha

#

plus itll be a nice way to easily switch between steamodded and balamod until workshop

#

esp with the new lovely injector that injects from memory instead of having to modify the games exe

cerulean herald
#

that makes sense haha

cerulean herald
#

yeah thats fine lolol, not every mod has to be on r2modman

#

if people really want your mod they'll go manually install it, or install it through workshop when thats out

hardy brook
#

exactly

jaunty lion
cerulean herald
#

@jaunty lion did you help with some of those jokers? or you mean the jokers in game?

#

also I think you need a newer version of steamodded for joker support

#

0.7.0 pre

#

let me give the link

#

you need the version at the top otherwise modded jokers wont work

jaunty lion
cerulean herald
#

always cool to see your ideas make into a game or mod 😄

jaunty lion
jaunty lion
#

yeah see here they are

cerulean herald
#

which steamodded did you download? the one on the main page?

#

0.6.2?

#

did you grab that one?

jaunty lion
#

i tried multiple versions so idk which one added the .exe to appdata

cerulean herald
#

you'll need this version if so

jaunty lion
#

0.6.2 was one of the versions i tried though

#

oh wait it . says the version at the top

#

yeah i'm using 0.6.2

cerulean herald
#

yeah thats why haha

stone steppe
#

has anyone tried modding on macos ?

hardy brook
#

welp

cerulean herald
hardy brook
#

I got a silver deck that works like my plain deck

#

woo hoo

cerulean herald
#

idk if anyone has modified the mac app to have mod support tho

#

havent seen a mac modloader yet

jaunty lion
#

especially considering defender just deleted it while i wasn't looking

cerulean herald
cosmic shell
cerulean herald
#

if you have windows defender I recommend defender control

#

one click turns off defender and turns it back on

#

instead of going through every menu in windows security, only for something to be missed or toggled back on randomly lmao

jaunty lion
#

i set it to allow the injector on the device

cerulean herald
#

also you might need to allow injector exe through your firewall

#

since it downloads 7zip from the internet I believe

#

someone had issues where it wasnt able to download until they allowed it

#

but others didnt so 🤷🏼‍♂️

jaunty lion
#

ok so i have the new version
do i delete the old copy of the injector from appdata or

cerulean herald
#

reverify the files on steam

#

for balatro, thatll reset the game exe to fresh

#

then you can use the new steamodded exe

jaunty lion
#

my custom suit colors 😔

#

oh well i can just reimport them later

cerulean herald
#

it doesnt get rid of mods

#

those are in appdata

#

it just verifies the balatro game folder

#

and gets you fresh stock copies from steam

jaunty lion
#

well the suit colors weren't a mod, i imported those into balatro.zip directly

cerulean herald
#

which you opened with 7zip or something yeah?

jaunty lion
#

yeah, i renamed it to a .zip and put the files in using 7zip

cerulean herald
#

ahh gotcha. yeah you can just right click on it then hover over 7zip and click open archive

#

dont have to rename it 😉

#

but yeah youll have to add that back in haha

jaunty lion
#

ooh ! i didn't know that was a thing

cerulean herald
#

gotta love that

#

❤️

jaunty lion
#

ok so back to the steamodded thing
how do i put the new version in again

cerulean herald
#

in that case mods probably would work on mac @stone steppe

#

just need to add the mod files to wherever mac saves are located by creating a mod folder there

proud wadi
#

Hmmm, I was watching a streamer play balatro and I noticed that I always get the same tags on the first ante/same voucher in first ante shop, was doing a bit of digging, and I think my global tutorial status is messed up (in that I was never given a tutorial in full release of balatro)

cerulean herald
#

like you did last time

umbral pilot
#

you can also use TCLI if you don't want to use r2mm, I can have an installer up and running for it this week. 😎

#

that has even less bloat, albeit at the cost of being pretty unstable

proud wadi
#

once i verify i guess i can file a bug report

cerulean herald
cerulean herald
#

but yeah it could possibly be a bug

jaunty lion
#

wtf i opened balatro.exe with the new injector and it installed 0.6.2 again

proud wadi
cerulean herald
#

oh it may just say that

#

lemme check mine which has 0.7.0

#

yeah mine does too LOL

#

so youre good, you have the right version now

#

just reapply anything custom you added to the games exe that might have gotten wiped

cerulean herald
#

if it works after starting a new run then you know that fixed it

#

I think you're right tho @proud wadi I remember reading that somewhere

jaunty lion
#

i readded the joker pack i had before and they showed up for a second but then i switched profiles and they disappeared

cerulean herald
#

everytime settings.jkr got deleted tutorial would reinitalize

cerulean herald
jaunty lion
#

yeah

cerulean herald
#

or in the game?

jaunty lion
#

in collection

cerulean herald
#

weird, try restarting the game maybe

jaunty lion
#

i restarted the game and they're there again

cerulean herald
#

this version of steamodded is still not 100% stable

#

which is why its not the default download version on the main page

proud wadi
#

ok, i got the tutorial now, I had to remove settings.jkr AND not launch it through steam (because cloud save was restoring it I guess?)

cerulean herald
#

totally forgot about cloud save lmao

#

yeah it will restore it by default if steam cloud is on I think haha

#

isnt it usually supposed to ask whether u want to use the local or cloud version before overwriting?

#

thats crazy! but maybe bc its not overwriting anything but just adding a missing file back in it didnt prompt u

cerulean herald
proud wadi
#

yeah, i think that's what it was doing, i'm hoping now that I've got a new one it'll complain and i can tell it to use my local

jaunty lion
#

now i just gotta hope they show up in the shop

proud wadi
#

i think it was weirdness caused by me not having played the second demo, because i had some other progress carry over as well

cerulean herald
#

I've seen this before in other games

proud wadi
#

just glad to have it fixed/figured out

#

wasn't sure where to ask about it because I only realized something was wrong/what was wrong by looking at the game code

cerulean herald
#

Idk if I would have even realized it 😆

proud wadi
#

well it's not an issue in the code, I just saw that when selecting tags for a new run it checked tutorial progress

#

same for first voucher

#

and those were what were always consistent on my resets

cerulean herald
proud wadi
#

yeah, just the G.SETTINGS.tutorial_progress call there

cerulean herald
#

AHHH

#

big brain plays 🧠

#

Glad you noticed that and sorted it out! Yeah let localthunk know!

proud wadi
#

a "reset tutorial" button in the game, or "skip tutorial" would solve it

#

now that it's confirmed I'll throw a post there

cerulean herald
#

👍🏼

cerulean herald
#

I noticed I only got the tutorial for my first profile, but after that never saw it again even on new profiles, so that would make sense

proud wadi
#

it's in Game:start_run, if not loading from a save (that's what I assume savetable is) it sets the boss, voucher, and small and big blind tags

cerulean herald
#

I wanted my brother to see the tutorial again on a new profile, but it wouldnt load back up lmao

#

But he just shrugged it off so I didnt have to move/delete my save/settings files temporarily

#

It'd be nice to have a small mod that can call the tutorial again, or disable it/reset it

#

Hopefully its added as a feature to the game too

jaunty lion
#

AYO IT WORKS

cerulean herald
#

thats huge, very POGchamp

hardy brook
#

I'm getting too frustrated, I'l lcome back to it

jaunty lion
cerulean herald
#

I'm guessing that's an issue with the test version of steamodded

#

Which isn't 100% stable as steamo mentioned

#

Should be fully functional even when switching profiles in a future update

#

I'll have to check out that mod to see what it does 😄

#

Might add it to my game soon too. Still trying to get through the main game relatively custom card free though

#

After I beat gold stake, then I'm gonna go crazy on custom cards

jaunty lion
#

one thing i noticed is that custom jokers are considered "new" in the collection every time you boot up the game

#

by which i mean they have that exclamation mark on them

cerulean herald
#

Ohhh interesting. Perhaps bc the current modloader version is adding it to the games code each time, or maybe more likely bc theres no current entries for these custom cards in the games collection lua file?

#

I'm guessing they would need to be some code added to the lua file which contains the collection's card entries for the custom jokers/cards, otherwise the game has no way of knowing/storing the info that you acquired those cards before

jaunty lion
#

now that i know custom jokers Kind of work i might try making more of them

#

maybe eventually i'll figure out how to mod them in myself

#

(instead of hoping someone else does it for me)

stable crag
cerulean herald
#

DO IT! I'm considering writing a small mod myself to get started too 😄 I've already modified someone elses mod and I know like next to no coding lmao, I'm just good with tech stuff, bit of Linux/Docker knowledge and whatnot, pc building, hardware knowledge/modifying, game console modifying, mobile modifying/rooting/tweaking, etc etc. Even with just that I was able to add a simple kb shortcut function to someone elses mod with their help (I wrote all the code, found all the corresponding values, I just messed up ONE WORD which they fixed for me, then it worked 😆 )

jaunty lion
stable crag
#

Yup

#

I moved the on_enable function of balamod to fix Issues like this

jaunty lion
#

ok then how do i add collection entries to the .lua file

cerulean herald
stable crag
#

Huuuuuh

#

Wait a sec

cerulean herald
#

haha so there was 2 things @stable crag

jaunty lion
cerulean herald
#

1 was every time they switched profiles the custom jokers would disappear from the collection altogether

#

the 2nd thing was after every game reboot the custom jokers would show as "new" in the collection

stable crag
cerulean herald
#

hmhmhm

#

does @grand geode mod not do that?

#

I had someone whos been using it, I can ask them actually too

stable crag
#

I know that after restarting the game, it remembers that I already won this challenge

cerulean herald
#

hmmm interesting. Maybe bc it's not stored in the collection like jokers are? I'm not sure tho as I haven't completed any challenges yet myself lmao and haven't looked at the code for challenges

white scarab
#

I know that the way I have my mod save settings was by making my own file that the mod loads from the mod folder

#

which contains the mod settings

cerulean herald
#

The custom jokers need to an entry in the collection I think, so an entry probably has to be made for them in the code that contains the collection

#

Is my guess to avoid having the game thing the custom jokers are new cards every time the game is restarted, or completely disappear every time the profile is switched (this might be caused by something else though)

white scarab
#

I think all the item prototypes are initialized on profile switching

#

which includes the list of jokers

#

so when you reload your profile it reverts to the original list of jokers

cerulean herald
white scarab
#

it's G:init_item_prototypes() function iirc

cerulean herald
#

did you write some code in your mod file so that whenever profiles are switched your cards are still there?

#

or did your mod do something other than add cards and you just mean in general for saving mod settings for a mod?

white scarab
#

the mod I'm referring to is a speedrun timer mod

#

so it has global settings that save across profiles, since the main profile it uses for runs is a temporary one that has all of the requirements for submitting to Speedrun.com and can be configured through the settings

#

as well as for things like switching categories and having the timer start and stop

cerulean herald
#

Okay so this custom joker mod probably has to implement that function or a similar one relative to jokers

white scarab
#

yep; ideally you would want to save that in the profile files

cerulean herald
#

I think it would need to add that these custom jokers have been acquired before as @white scarab described, and like @stable crag said it also needs to add the jokers to the collection before the save is loaded

#

@jaunty lion maybe try adding this yourself using some other jokers mods with this already functioning as a reference! Or you can ask the mod author or ask them to help you figure it out while you do most of the legwork 😄

#

That could be a good start to modding like you mentioned as it's not creating a whole NEW mod but adding a couple new functions to a currently existing one 😉

#

and when something doesn't work, the mod author can help you figure out any issues along the way! Plus everyone in this dope community

#

😄

#

That should solve both problems I think!

jaunty lion
#

hmm

#

maybe i could try using myst's mods as a reference point

cerulean herald
#

And if not, you could just ask the author if they could patch those 2 things in using the info here as a starting guide, and leave the mod trying for another time 👍🏼 I do think it's a pretty good place to start though if you're interested in it!

jaunty lion
cerulean herald
#

Use the games lua files as a reference as well, especially for the collection parts, and use a tool like Jetpilot or sublime editor to search though all the lua files in the game folder at once so you don't have to search through them one by one

cerulean herald
#

saw this so many times the other day 😆 a mod devs worst nightmare lmfao

jaunty lion
#

i imported myst's jokers and they're also doing the thing where they show up as new on every startup

summer tusk
#

for learning how to make ui mods, which mods would be good recommendations to look at?

jaunty lion
#

apparently i had two balatros open at the same time idk how that happened

#

aaand it crashed when i tried to open an arcana pack

#

i think i know which mod caused that

#

(it was myst's mod)

full hare
#

how easy is it to change the names of the hands in the game? Is there one variable, or is it hard-coded everywhere?

grand geode
#

que?

hardy brook
#

So... Apparently there's 3 versions of Gros Michel depending on if you played Playtest, Open Beta, or Release Version

grand geode
#

did i fuck up something

#

oug

jaunty lion
grand geode
#

were you playing on an existing save?

jaunty lion
#

i was continuing from an existing run

grand geode
#

yeah that's why

jaunty lion
#

damn

#

maybe adding mods in the middle of a run isn't a good idea LOL

grand geode
#

extra_gacha_pulls is defined at the start of the run

#

yeah lol

#

i can maybe add a safety net

grand geode
jaunty lion
#

so since i have mods installed now, how do i go back to vanilla balatro if i decide i want to play without them

#

do i just do the integrity check thing on steam

grand geode
#

yeah

umbral pilot
#

which modloader?

grand geode
#

delete the .exe and verify integrity

jaunty lion
jaunty lion
grand geode
#

mhm

jaunty lion
#

gotcha

umbral pilot
#

if you're alright fiddling with things, lovely doesn't modify your game so you can swap back and forth.

grand geode
#

gonna try lovely when i have access to my pc

jaunty lion
#

i think i'll try lovely too

#

being able to swap back and forth easily sounds very nice

grand geode
#

i already have three different exes this will just bring it down to two

cerulean herald
#

Another mod might have implemented this already tho, and for your golden challenges uwu said they were saving properly @grand geode

cerulean herald
cerulean herald
#

you can have the normal game+mods be the version steam points at to open with its shortcut

#

and have the 2nd tinkering balatro folder in another location

#

I would keep a clean copy of the balatro.exe somewhere too so you don't have to reverify everytime something doesnt work either

#

or keep backups of the files you modify in the games exe so if they break, you can easily revert the changes back. If you keep your editor of choice open the entire time your messing with the games files and also playing the game (like notepad++) you should be able to just revert the changes without having to restore the game exe at all btw, since it'll just rollback whatever modifications you made to the file.

#

Just make sure to save your changes before running balatro.exe, but keep the editor (notepad++ or sublime or whatever) open in the background. Dont extract the files, just open the game archive using 7zip and open the lua files with notepad++ or sublime or whatever editor directly from the 7zip archive

#

Once you click "save" itll ask you if you want to overwrite the lua file in the game archive, just say yes and it'll apply the changes

jaunty lion
#

i copied the files of the modded version to a separate folder and did an integrity check to restore the game to vanilla

#

now i have Two Balatros

cerulean herald
# jaunty lion now i have Two Balatros

POG. With lovely and r2modman, that won't even be necessary (and in lovely, current isnt!) I'm gonna have to install lovely myself later today or tomorrow!

rare shell
#

good evening modding chat

rare shell
hardy brook
jaunty lion
#

wowie!

hardy brook
#

the demos are all the same

#

I just forgot to remove the dupes

#

I'm working on a bunch of research on the old versions for stuff

stable crag
white scarab
#

I saved a lot of demo versions...

hardy brook
#

oh dang

stable crag
#

Omg

white scarab
#

I only kept like 2 from the first demo (one is on google drive) but I think I have all in the second demo

hardy brook
#

We definitely need to archive all this

white scarab
#

1.0.0 versions can be downloaded from steam if you know how to do it

#

but I don't think demo versions can

hardy brook
#

One moment, gonna do something RQ

stable crag
#

We should try with steam console

hardy brook
#

I'm adding the both of ya for something

white scarab
#

I wonder what the pre-1.0.0 versions look like in the release section; those could also be archived

white scarab
#

going to download the oldest one just to see

jaunty lion
#

teehee !

molten lily
rare shell
#

going to try seeing if i can implement a deck idea: can someone jog my noggin for a joker in game that removes cards from your deck (not selected cards, like the spectral 6 joker or trading card)?

mild raft
#

real quick question: do i need to use the balamod loader if i changed a asset from the base files?

#

because ive been trying some stuff and nothing is changing in my game

rare shell
#

i guess random cards would do

#

im just trying to get a good grasp on what the code would be to do so

#

want to try making a deck that removes the lowest ranking cards in your deck after each blind

hardy brook
#

Check here

mild raft
ancient junco
#

can you have a function in a deck mod (steamodded) run on when the deck is selected, so that for example, os.time doesnt stay the same

white scarab
#

Yes - you’d have to modify the function that executes when you select a deck

lone tinsel
#

it doesn't as of now. just a regular steam emulator + a small config change works

rocky vapor
#

what software are people using to create custom art for mods?

jaunty lion
#

any old art program can work

rocky vapor
#

can you give an example?

rare shell
#

im having trouble turning my cards into gold editions

#

ive grafted cards from midas mask but im getting an error thrown when my card is scored

#
        elseif context.repetition then
            if context.cardarea == G.play then
                if self.ability.name == 'Suspicious Vase' and not context.blueprint then
                    local vase = 0
                    for k, v in ipairs(context.full_hand) do
                        if (v.base.id == 2 or v.base.id == 3) then 
                            vase = vase + 1
                            v:set_ability(G.P_CENTERS.m_gold, nil, true)
                            G.E_MANAGER:add_event(Event({
                                func = function()
                                    v:juice_up()
                                    return true
                                end
                            })) 
                        end
                    end
                    if vase > 0 then 
                        return {
                            message = localize('k_gold'),
                            colour = G.C.MONEY,
                            card = self
                        }
                    end
                end
            end```
the little snippet i have here
lone tinsel
rocky vapor
#

thank you!

cosmic shell
lone tinsel
rocky vapor
#

shiiit i was about to boot inkscape...

#

guess ill look into some of the other options

lone tinsel
#

best not to do pixel art in vector

rare shell
#

svg jimbo isnt real he cant hurt you

lone tinsel
rare shell
#

you know i just realized it would help if i renamed all my variables

rocky vapor
#

ill have a look

rare shell
#

okay so i think its getting mad about the for loop in my snippet

#

do you not have access to context.full_hand when youre in context.repetition?

ancient junco
white scarab
#

I believe so

mild raft
lone tinsel
#

😭

rare shell
#

okay im pulling my hair out

#

so specifically this snippet lua for k, v in ipairs(context.full_hand) do if (v.base.id == 2 or v.base.id == 3) then v:set_ability(G.P_CENTERS.m_gold, nil, true) G.E_MANAGER:add_event(Event({ func = function() v:juice_up() return true end })) end end it DOES read when a 2 or 3 is played, but crashes immediately afterwards? i dont see why my for loop wouldnt work here??

ancient junco
hexed surge
#

don't install its so weird

rare shell
#

okay i think its literally because of the context i had it under???

white scarab
rare shell
#

i changed the context area to G.Jokers and it works now

white scarab
#

It crashed unless I moved them

rare shell
#

okay i got my joker working but now the only thing is that its applying after being scored

mild raft
clever rampart
#

i still need help with knowing how to outright remove cards from deck in the init effects (no, dont tell me to look at the abandoned deck, i have and i still dont understand it)

edgy magnet
#

@clever rampart The only thing I have gotten to work so far is

local Backapply_to_runRef = Back.apply_to_run
function Back.apply_to_run(arg_56_0)
Backapply_to_runRef(arg_56_0)

if arg_56_0.effect.config.only_one_rank_A then
    G.E_MANAGER:add_event(Event({
        func = function()
            for iter_57_0 = #G.playing_cards, 1, -1 do
                sendDebugMessage(G.playing_cards[iter_57_0].base.id)
                if G.playing_cards[iter_57_0].base.id ~= 'A' then
                    table.remove(G.playing_cards, iter_57_0)
                end
            end

            return true
        end
    }))
end

end

rare shell
#

okay now i have a new problem in i have no clue why the hell my xmult isnt being applied

#

hmmm

#

nevermind i got it to work but i have no clue why it works now

#

magical game this is

#

i realize the method i am using to apply the glass buff after converting the card is half baked at best but we'll cross that build later

edgy magnet
#

I'm not a great coder ¯_(ツ)_/¯

clever rampart
#

it does remove them, but it still appears in the next hand, which is weird

maybe its caused by my other function

cerulean herald
hardy brook
#

I just realized i’ve been trying to mod balatro today for 9 hours

#

Good grief

rare shell
#

YEEHAW

#

(and should this count 4s)

clever rampart
#

i cant use other peoples things are references because i havent seen anyone remove cards

hardy brook
#

Btw, i’m remaking holo, poly, and foil decks as best i can and call it a night on coding mods

#

I may do some art for hanafuda

#

Idk

edgy magnet
mild raft
hardy brook
mild raft
#

lets go

#

i love a holographic deck with the foil textures

hardy brook
#

yes. they do work as they used to. no, editions do not work on the backs anymore. They're textures

#

crap i did put them backwards

#

ok fixed

mild raft
#

now we need silver deck balatrojoker

wild thunder
#

what about gray deck

hardy brook
#

also we need braided

clever rampart
#

i want to have it so it gives an eternal space joker at the start too

ancient junco
#

is there a command in steamodded to exit the game? (like G.state_complete but for game running)

white scarab
hexed surge
late canyon
#

So this does exist

molten igloo
# hardy brook

correct me if im wrong before they were scrapped they became 5, 3, 2?

#

i remeber seeing somthing with thoose nymbers for the decks

tacit mountain
empty brook
#

coincidentally, on the topic of jokers

once again i am faced with joker code and repeatedly ask it "Why won't you work, you stupid bastard?"
trying to get an xmult joker working. i wanted to try and get some weirder stuff going (The plan is to make it like Red Card, but you get x mult and only when you skip spectral packs), but to make sure i could even have a good framework going at all, i'm trying to make a generic x2 mult joker first

here is my attempt at it, and it does not work. it doesn't crash or anything, at least--but it's not doing anything

           if context.cardarea == G.jokers then
                if context.before then
                           if self.ability.name == 'Exorcist' then
                            return {
                                message = localize{type='variable',key='a_xmult',vars={self.ability.extra.Xmult}},
                                Xmult_mod = self.ability.extra.Xmult,
                            }
                        end
                end
            end
        end
    end
#

i've tried like 3 different ways for doing this and none of them have seemed to do anything, which makes me think the solution is probably more along the lines of missing one line of code near the start to tell it to Do Things

#

but i've got no clue lol

grand geode
#

try checking for SMODS.end_calculate_context(context) instead (assuming you're using Steamodded 0.7.2)

spiral cosmos
#

do mods disable unlocks and achievements?

grand geode
#

Steamodded disables achievements by default, there is a mod that reenables them

cerulean herald
rare shell
#

why does it work?

#

¯_(ツ)_/¯

#

question to you folks, any reason why this is triggering off of every hand?

elseif context.before then
                if self.ability.name == "Highlander Joker" and next(context.poker_hands['High Card']) and not context.blueprint then
                    for k, v in ipairs(context.scoring_hand) do
                        v.ability.perma_bonus = v.ability.perma_bonus or 0
                        v.ability.perma_bonus = v.ability.perma_bonus + self.ability.extra
                        return {
                            extra = {message = localize('k_upgrade_ex'), colour = G.C.CHIPS},
                            colour = G.C.CHIPS,
                            card = self
                        }
                    end
                end
            end```
limpid junco
#

is there a way to reset the stats (records) but not the unlocks on a balatro profile?

rare shell
#

okay im coming to the conclusion that this is proccing off of everything because every hand has a high card in it

empty brook
#

i had the exact same issue--from what i can tell, poker_hands does containing

#

but scoring_name is like, The Name It's Scored As

#

taken from To Do List

rare shell
#

huh

#

did the trick

#

🙇

empty brook
#

👍

#

i will now be trying your suggestion for my own joker issue, hopefulyl that works
and updating to steamodded 0.7.2 lmao, i started work on mods today before that came out so i just haven't updated yet

rare shell
#

hmmmmmm

#

it seems to no longer be applying the chip bonus to every scoring card

#

does context.scoring_hand not include things like stones?

empty brook
#

...hmmm. that is weird actually

#

so is it like, applying the chip bonus only to one card?

rare shell
#

the high card yeh

empty brook
#

you know, for my thing i tried it with Splash, but i didn't try it with stone cards. i'm gonna go real quick check and see if it works on those (and thus it's a different issue with what you've got here), or if this suggestion i gave just Doesn't Work With Stone Cards At All

rare shell
#

ill test it with splash since thats an intended interaction as well

empty brook
#

okay yeah, it still works with stone

#

so there's something else going on here

rare shell
#

yeah doesnt work with splash on my end

empty brook
#

that's really weird...

rare shell
#

is there a field for card that checks if its scoring or not??

#

if so i can try iterating and checking for that on each card in playing hand

empty brook
#

there might be? trying to think here of what would be the right choice... hmm

rare shell
#

maybe if i move it to a different context

empty brook
#

i wonder if context.other_card would be necessary somewhere here

rare shell
#

yep it was the context

#

i had it on context.before but moved it to context.individual

empty brook
#

ahhhhhh, yeah that makes sense

rare shell
#

still gettin the hang of this but we make it work

#

one more joker and ill finally release my pack

empty brook
#

hell yeah! i'm excited for it

#

what you've shown so far looks really cool

rare shell
#

i tweaked them a bit but ill get to tweaking it more once people get their hands on it

empty brook
#

my own pack i still have like... the hardest stuff left lmao
i'm working my way up in terms of difficulty, to try and like, properly Learn How 2 Jokester™️ before i dive headfirst into challenging stuff

#

but for now i've gotta get this x mult bad boy working. gonna try your suggestion you gave now!

rare shell
#

todays work so far

burnt wadi
#

Hey I'm new to modding and was wondering if anyone knew a workaround for my issue, I'm tyring to use the steammodder link and windows just won't let me do it cuase it thinks it's a virus.

empty brook
# rare shell todays work so far

hi English Major alert here: highlander joker should not capitalize "Scored" on the second line. source: Hiker doesn't, and i'm pretty sure it's never capitalized unless it's the beginning of a sentence

empty brook
#

update on my own thing: yeah unfortunately your suggestion doesn't seem to be working Lyman. gonna go update to 0.7.2 of steamodded and try Myst's lol

rare shell
#

turns out it wasnt

empty brook
#

honestly i've been meaning to just like. go through the entire wiki someday and fix every formatting error

rare shell
#

sisyphean task

empty brook
#

it would take a while but it bugs me enough that i'll probably do it someday

empty brook
#

what if i just push the boulder a little harder this time. maybe it'll go over the mountain...

mental solar
rare shell
#

🫡

#

also forgot to share the last jonkler

empty brook
#

oh hell yes

woeful thistle
#

In general, not just your mod specifically

dapper nacelle
haughty hinge
#

lmao

livid yacht
wanton rapids
#

horrendous joker ideas

cerulean herald
cerulean herald
#

r2modman support is basically complete I believe, now the modloader authors just have to add their mods to the repo for the game on r2 😄

#

That means thunderstore as well since that's essentially a reskin of r2modman

rare shell
#

ok so back to square 3

#

does scoring hand not count cards for the purposes of splash or stone cards? or am i just iterating through the list of played cards wrong?

empty brook
#

my only guess at this point involves how Hiker uses context.other_card.ability.perma_bonus--like, maybe the fact it's got context.other_card, while yours uses context.scoring_hand?

#

but i'm really not sure at this point lol

rare shell
#

oh hey

#

turns out i just didnt need to iterate through the hand

#

just came to that conclusion looking at agate

#

removed the for loop and now it works fine

#

bad joker ideas with lyman btw

exotic dagger
#

i fail to see how that's bad

#

the only bad thing is the rarity cause that means you won't find it often :P

cerulean herald
wanton rapids
#

oh it's on r2modman now?

cerulean herald
#

It has a section for outputting debug data through a debug socket

wanton rapids
#

which modloader?

cerulean herald
#

@tacit mountain and @stable crag just have to add their losders to the r2modman repo now

livid yacht
wanton rapids
#

oh yeah that makes sense

cerulean herald
#

And then mod authors will all likely flock it it ASAP

wanton rapids
#

more sell jokers

cerulean herald
#

As it will be the main tool used to install/manage mods until workshop support is out

#

I believe that's the case anyways but I'll read through the thunderstore/r2modman devs last messages just in case

#

But I believe support was basically implemented and now all that's left is adding the loaders and mods to the repo

wanton rapids
#

mhm

#

does it use lovely to load the modloaders?

cerulean herald
#

I'll take em all

cerulean herald
#

It patches in memory anywYs

#

So it essentially works similarly to how lovely does out of the box, but obv using lovely would be the preferred method from now on

#

For both modloaders

wanton rapids
#

mhm

cerulean herald
#

That with r2modman will be very dope 😄

wanton rapids
#

so on r2modman you would install the modloader, then install other mods for said modloader?

cerulean herald
#

Esp since you can switch between balsmod/steamodded with 1 click

#

And can have multiple profiles for different mod combinations

#

That u can launch with 1 click

#

And send mod packs/profiles to ur friends

wanton rapids
#

yeah ik how r2modman works, it's pretty good

cerulean herald
#

So they can play using all ur mod combination

#

Yeah most do I think haha

#

Some didnt tho earlier

#

So I figured I'd mention it 🙂

cerulean herald
#

Similar to a game like lethal company

#

Oick ur modloaders of choice, then pick ur mods

#

Then it'll inject them all from memory

wanton rapids
#

so when does this release on r2modman?

cerulean herald
cerulean herald
wanton rapids
#

alr

wanton rapids
#

then it'd become a sidegrade of sorts

cerulean herald
#

Let me find what they said again

wanton rapids
#

alright

cerulean herald
wanton rapids
#

my mod probably won't be done for about a week so i'll wait for it to release before i put it on there

cerulean herald
#

I think another dev said something too where was that

cerulean herald
#

@umbral pilot (the maker of lovely injector and also a thunderstore dev) said this #⚙・modding-general message They might be able to provide an update on r2/thunderstore support too

cerulean herald
#

Very well known in the gaming community esp modded gaming and the preferred modloader for most next to workshop

wanton rapids
#

basically they host a repository of mods / loaders and allow quick downloading / swapping of mods

#

originally made for risk of rain 2 iirc hence the name

cerulean herald
#

Once support is dropped most people will likely install mods and modloaders from here until workshop support is added 😄 that's usually what happens with most games that get r2modman support

hazy lantern
#

is it possible to mod this game on the steam deck? i mostly play it there relaxing out or before bed

wanton rapids
#

when r2modman support gets released most likely

#

otherwise you can use instructions for linux in desktop mode

cerulean herald
#

I helped someone with that 2 days ago

#

Feel free to shoot me a DM and I'll help ya out

hazy lantern
#

ah okay will do

cerulean herald
#

It works with proton and nstively, just injecting the modloader can be a bit of pain if they want to use proton for things like reshade support (though it's more recommended to use the builtin AMD/Steamos shading filters anyways, basically the same as reshade but less latency and overhead on Steamos)

#

@umbral pilot has been working pretty closely with Steamo to implement lovely injector into steamodded as well, so I believe Steamo will be adding steamodded to r2modman very shortly after full support for the game with r2 is complete

#

I think Steamo might have mentioned adding it to r2 as well but id have to double check

stable crag
cerulean herald
#

I think they might have linked it in a message I linked to up there recently ⬆️

stable crag
#

Oh it's thundersore right ?

wanton rapids
#

thunderstore hosts the mods

#

r2modman is used to download / install them

stable crag
#

Ok so thunderstore is like the server and R2 the client?

wanton rapids
#

yeah pretty much

cerulean herald
#

thunderstore is essentially a reskin of r2modman

#

they both use the same api and repos

wanton rapids
#

but thunderstore has ads where r2modman does not

cerulean herald
#

many prefer r2modman bc it doesnt have overwolf

#

which is essentially bloatware which collects some telemetry on the users

#

while r2modman doesnt do that stuff

#

theres a bit more info uwu

#

forgot that one haha, that's the biggest explanation for the differences between r2modman and thunderstore

jade hawk
#

wait. r2modman is seperate from thunderstore?

#

bruh

wanton rapids
#

r2modman uses thunderstore to download mods

jade hawk
#

sorry i mean overwolf

cerulean herald
#

good to know!

wanton rapids
#

it uses the thunderstore servers

cerulean herald
#

that makes sense, I've seen thunderstore out for a while while r2modman I think came into existance with ror2

wanton rapids
#

i thought thunderstore mod manager was a fork of r2modman

#

although i may be wrong

molten lily
#

To clarify a bit;
There's thunderstore.io (the website which has the API for download mods, that r2 and TSMM uses)
Thunderstore Mod Manager (TSMM, the reskin + some minor features of r2modman)
r2modman (the open source mod manager that Thunderstore devs contribute towards)

molten lily
cerulean herald
# jade hawk sorry i mean overwolf

thunderstore has overwolf whereas r2modman does not. If you want a version without overwolf, it exists and thunderstore r2modman pretty high as it's top mod for most games

jade hawk
#

icic, thank you

cerulean herald
#

okay now that makes sense

#

Got all flipped around there lmfao

molten lily
#

It's alright for everyone to use r2modman if they want to bigupthumb thunderstore.io server costs and all the development are funded by ads, so it does help out when people either browse the website for mods or use the Thunderstore Mod Manager PepeHug

wanton rapids
#

how will the thunderstore support for balatro inject mods?

molten lily
#

With this one

wanton rapids
#

alright

cerulean herald
#

🥁

#

badumtsk

molten lily
#

We try to keep everything that we can open source, so that the community can make their own educated decisions on what they want to use pepebrain

Sorry for small promotion, but this is a cool feature on the website: You can look up the source code, if the mod author has made it visible, example: https://thunderstore.io/package/TeamMoonstorm/Starstorm2/source/ This might be nice for anyone who is skeptical on what a mod is actually doing.

jolly kiln
#

has anyone had any luck installing the modloader on linux? keep getting an error upon launching the game

wanton rapids
#

ok, looking at the mod manifest for a rounds mod i made a while ago, would something like this be right for distribution of mods?

cerulean herald
#

god I love that game

#

after I saw Toast play it for the first time

cerulean herald
#

I HAD to play it

frail karma
#

Does anyone have an idea on how I would invert the currently selected cards?

jolly kiln
molten lily
jolly kiln
#

ah great, lovely also crashes my game

#

so i have no way of modding the game

#

woohoo

umbral pilot
jolly kiln
#

wdym

cerulean herald
jolly kiln
#

installing with the recommended code throws this error with steamodded

#

completely stock, unmodified elsewise, and no mods installed

umbral pilot
#

hmm, that's a bad patch

#

weird

jolly kiln
#

tried default proton, proton 9, and proton experimental, using 7-zip package from AUR

#

which provides 7zz

umbral pilot
#

ah, proton?

cerulean herald
jolly kiln
#

im on arch

cerulean herald
#

I helped someone install to steam deck earlier today

umbral pilot
#

you don't need 7z thankfully :-)

cerulean herald
#

gonna be a lot easier on native linux haha

wanton rapids
#

steam deck is native linux though?

umbral pilot
#

dlloverride is likely required

cerulean herald
#

yep

#

other than that they were using proton

#

so it was just a matter of finding the proper commands for the terminal

umbral pilot
#

gotcha yeah, that's pretty on brand for wine

cerulean herald
#

cd to the directory then running the code to grab and run the loader

jolly kiln
#

everyone uses proton it came with your friggin steam install

#

/joke sorry

cerulean herald
#

haha

jolly kiln
#

wait it does?

cerulean herald
#

so no need for proton

jolly kiln
#

new?

cerulean herald
#

YEE BAYBEEE

#

I think its been out for a bit? Not 100 percent sure tho

wanton rapids
#

doesn't show it on steam

#

but it's in the works iirc

cerulean herald
#

oh wait

#

im dumb

#

lmao

jolly kiln
#

??

umbral pilot
#

you can likely fix it with proton tricks

cerulean herald
#

I misread something earlier

jolly kiln
#

lmao

cerulean herald
#

yeah just proton for now my bad haha

jolly kiln
#

happens

cerulean herald
#

i misread what it said on protondb

#

thought native support for linux was already there 🤦🏼‍♂️

jolly kiln
#

anyway how would you recommend installing steammodded

wanton rapids
#

does r2modman handle installing for games which require proton?

cerulean herald
#

mac support is out tho haha

#

so uh

cerulean herald
#

if ur a mac user 🤣

umbral pilot
#

that but sounds like it's partially working. could you grab the patch-@main.lua file from the game dir? submit it to this chat.

jolly kiln
#

lemme repatch

umbral pilot
#

also I'm oh mobile so no good euros type well

cerulean herald
jolly kiln
#

i cleaninstalled

#

should i be on pub experimental?

umbral pilot
#

it shouldn't be required afaik

cerulean herald
#

grab 0.7.2 steammodded

umbral pilot
#

nothing about lovely is exotic

jolly kiln
#

...is there even anything in pub experimental lol

umbral pilot
#

oh wait lol now I can't eat

cerulean herald
#

proton 8 works

umbral pilot
#

read

jolly kiln
#

do you think thru lovely or

umbral pilot
jolly kiln
#

i dont have that file in game dir

#

im using the steamodded linux install script not lovely

umbral pilot
#

even after running it?

jolly kiln
#

i can switch to lovely tho hold on

umbral pilot
#

oh, wait you tried it with lovely though, right?

cerulean herald
umbral pilot
#

delete your game executable and revalidate

cerulean herald
#

oh wait lovely doesnt do that huh

jolly kiln
#

so no

cerulean herald
#

the exe is just an archive essentially

jolly kiln
#

ye i know how exes work

umbral pilot
jolly kiln
#

most of em are like that luckily

cerulean herald
jolly kiln
#

at least for this engine

umbral pilot
#

lovely dumps patched lua source into the game dir for debugging problems like this :-)

#

that's what I'm referring to fyi

jolly kiln
#

also all apps on macos iirc

#

very funny

umbral pilot
umbral pilot
jolly kiln
#

yep wine problem

umbral pilot
#

if they do then I'll be able to see where patching went wrong

jolly kiln
#

do i have protontricks installed...

#

do not

umbral pilot
#

afaik you can stick this in your run args for Balatro WINEDLLOVERRIDES="dwmapi.dll=n,b" %command%

#

that should work

cerulean herald
#

for steammodded it was this which is very common, prolly different for lovely WINEDLLOVERRIDES="dinput8.dll=n,b" %command%

umbral pilot
#

eyy we both clicked on the first good search result

jolly kiln
#

nop

#

no launch still

cerulean herald
#

haha yep, I helped that steam deck user yesterday too

#

they used that to get steamodded working 😉

umbral pilot
jolly kiln
#

correct

cerulean herald
#

maybe pack the games files up in a 7z

jolly kiln
#

i get a command prompt flash for like 5 frames and then nothing

cerulean herald
#

and send them over to run on another linux users machine or in windows through the linux sandbox?

jolly kiln
#

i think that that is against intellectual privacy laws :P

cerulean herald
#

I mean sure but we all own the game lol and it has slight drm

#

steam drm but still

#

not gonna open with a steam emu

#

and everyone here owns the game haha

#

not the first time its been done for troubleshooting

jolly kiln
#

i dunno (guarentee you its already out there too lol)

cerulean herald
#

it is lmao

#

but yeah, not illegal to share game files with another legit owner I dont think either? but if you want just send the modified files too instead of all game files

#

in a dm ofc

jolly kiln
#

it is technically

#

dumb

cerulean herald
#

?

jolly kiln
#

its technically illegal

cerulean herald
#

possibly? I mean making game backups isnt

#

idk about sharing the files though, haven't read through the laws on that in quite some time lmao

#

but again u can share just the modified files if ur worried about that lol

#

like main.lua and whatnot

#

instead of the whole folder

jolly kiln
#

ok done

#

r u joking

#

aughh

#

lemme just

#

try and make that folder

#

lol

cerulean herald
#

this is in arch yee?

jolly kiln
#

thats windows

cerulean herald
#

wait so are you trying to run this from windows or arch?

#

or are you just trying to install the modloader

#

through windows?

jolly kiln
#

i copied it over to my windows machine

#

for debugging

cerulean herald
#

oh, and ur trying to install using lovely right?

jolly kiln
#

ye

cerulean herald
#

I can easily help with windows w steamodded

jolly kiln
#

no its fine gimme a sec

cerulean herald
#

for lovely you'll have to ask @umbral pilot

jolly kiln
#

i know what the issue is and its very dumb

cerulean herald
#

haha okay

#

av blocking it?

jolly kiln
#

its not creating that folder

cerulean herald
#

from modifying in memory?

jolly kiln
#

no its so much dumber

cerulean herald
#

oh permissions?

jolly kiln
#

no

#

even dumber

#

it just

cerulean herald
#

read/write to create the folder?

jolly kiln
#

isnt making the /mods/ folder

cerulean herald
#

what the ahaha

jolly kiln
#

inside the simulated appdata

cerulean herald
#

wait you dont need that though necessarily at first

#

you make that yourself after

#

all you need is the modified exe to boot

#

at least for steamodded

#

i think lovely should be the same

jolly kiln
#

well thats what the error is saying with the loader

cerulean herald
#

since it's just loadin steamodded from memory

#

oh yeah

#

u right u right

jolly kiln
#

no i didnt install steamodded

cosmic shell
#

for linux you need to add WINEDLLOVERRIDES="dwmapi=n,b" %command% to the launch for lovely to work btw (i use linux)

jolly kiln
#

yep that was it lmao

jolly kiln
#

it didnt make the /mods/ folder inside the simulated appdata

cosmic shell
#

I saw the thing given had ".dll" on the end which is incorrect

cerulean herald
#

AHH

#

yeah it does read from balatro/mods to load the patches

jolly kiln
#

that wasnt the issue anyway

#

yep

#

thats why

cerulean herald
#

first time i looked at lovelys readme

cerulean herald
#

you're trying to run it in windows currently tho yeah?

jolly kiln
#

nop

#

launches on linux now

cerulean herald
#

OH

#

NICE!

#

so what was the issue then?

jolly kiln
#

in the proton container %appdata%/roaming/balatro/mods not existing threw a error

cerulean herald
#

oh so that was the issue

#

it not having the mods folder in appdata/balatro

#

MONKA

jolly kiln
#

yep

cerulean herald
#

haha nice, glad ya got it sorted and quite quickly too 👍🏼

jolly kiln
#

ok cool

#

now to install mods

cerulean herald
#

next time someone asks what their issue is on linux/arch

#

I'll refer them to your message

jolly kiln
#

yes so

#

the 'fix' would be lovely making the mods folder

molten lily
cerulean herald
#

having dll at the end seemed to work for other linux distros like steamos

jolly kiln
#

steamos is arch

cerulean herald
#

maybe its unneccesary tho

dapper nacelle
#

Creating the mod folder yourself in the %AppData% folder fix it everytime right ?

jolly kiln
#

yes

cerulean herald
jolly kiln
#

you can run ``mkdir ~/.local/share/Steam/steamapps/compatdata/2379780/pfx/drive_c/users/steamuser/AppData/Roaming/Balatro/Mods`

#

and it will make the directory

cerulean herald
jolly kiln
#

that folder is always the same

jolly kiln
#

you have to make the mod folder

dapper nacelle
#

yh yh ok make sense

jolly kiln
#

otherwise lovely will not load

cerulean herald
#

both steamo and @umbral pilot

jolly kiln
#

will make a issue on the github

#

how do i know its loaded without mods btw

cerulean herald
# jolly kiln that folder is always the same

I figured it was an issue with arch trying to create that folder, but that it would work in native windows. Good to know that it's an issue there too, can likely be patched ASAP

#

you're likely one of the first users of lovely injector atm haha

#

beta testing for the community balatroheart

cerulean herald
jolly kiln
#

i always run modloaders without any mods loaded first in case theres config stuffs

cerulean herald
#

when you get to the main menu

#

usually theres an icon for both steamodded and balamod, lovely should likely be similar

umbral pilot
cerulean herald
#

if not just download a quick test mod I'd say

jolly kiln
#

oh i didnt install it correctly

umbral pilot
#

thanks wren

jolly kiln
umbral pilot
#

I appreciate you testing this out

jolly kiln
#

np np

cerulean herald
#

@umbral pilot does lovely have added text in the top right at the main menu similar to steamodded or balamod to show it's installed/patched?

umbral pilot
cerulean herald
#

like steamoddded and bala?

jolly kiln
#

i made an issue so you get the dopamine high of closing one :3

umbral pilot
jolly kiln
#

well yes

#

but

jolly kiln
#

it, imo, should still be able to load

umbral pilot
#

mm, I think not

#

it should throw an absolute red herring of an error message and proceed to nuke the game

jolly kiln
#

true exactly

#

it should tell you to like

#

wait wait wait

#

genius idea

cerulean herald
#

this sounds like a dark joke in my head LOLOL 🤣

jolly kiln
#

it should open 5 cmd windows with sleep(1);print"contact me on discord";exit

umbral pilot
#

just fucking fork bomb the user

grand geode
#

remember when i said i only need two balatro .exes with lovely? i was wrong

jolly kiln
#

perfect

cerulean herald
grand geode
#

lovely always pulls from C:\Users\[user]\AppData\Roaming\Balatro and my steamodded is in C:\Users\[user]\AppData\Roaming\BalatroModded....

wanton rapids
#

yeah same

cerulean herald
#

balamonka

#

balapepehands

jolly kiln
#

dont call them defects bro!

#

@umbral pilot

#

is this the correct format for the modded files?

#

ok it is Not Loaded

umbral pilot
#

Lovely by design only loads patches from subdirectories within AppData/Balatro/Mods.

jolly kiln
#

gotcha ok

#

yay there we go!

#

thank u'

umbral pilot
#

so to summarize: your linux problem was solved with the WINEDLLOVERRIDE var and by creating the mods directory, right?

jolly kiln
#

uh

#

works fine without the dll override actually

umbral pilot
#

even better

jolly kiln
#

if you need other linux testing lmk

silk viper
#

how are cards like chariot, empress, and justice written in the code? i can't find a definition for them in card.lua

grand geode
#

it should be in

function Card:use_comsumeable()
  ...
  if self.ability.consumeable.mod_conv or self.ability.consumeable.suit_conv then
    ...
end
wanton rapids
#

glitterbomb art

grand geode
#

now we need glitter bomb 2.0 to 6.0

cosmic shell
silk viper
cosmic shell
#

yeah, it references that data in card.lua on line 1091 to change the enhancement.

cerulean herald
#

Yeah it's pretty straightforward, refs the games code then adds or replaces with your own code instead (or u can completely overwrite the games code if you really need to do that using a certain function, but I think that being necessary is very rare and would more often then not cause a lot of problems lol) @silk viper you asked something similar earlier and me, uwudev and I think 1 or 2 others gave u an answer, so perhaps go check back to see what you might have missed

wanton rapids
#

common x1.2 joker?

lean dune
#

but who's paul

wanton rapids
#

that is the question

hexed surge
hexed surge
#

em can somebody explain what just happend

#

the seed is epic too

#

i set ante_scaling at 0 and every blind is 0 chips

compact iris
#

sounds like ante_scaling expects to be 1 or higher, I bet a value between 0 and 1 would be interesting if possible

hexed surge
#

16/1

compact iris
#

yes I understand, setting it to 0 probably multiplied the whole formula by 0 which would set everything to 0

#

but a value between 0 & 1 might make the ante scale down instead of up, or something else interesting

white scarab
#

Any string works fine, actually

hexed surge
#

im duplicating the ace of hearts for fun

white scarab
#

Did this once during the demo

#

It works completely fine

cerulean herald
hexed surge
#

hehe funnie

#

hehe ante 1/57 is crazy

cerulean herald
#

1.2 mult common jokers. 1000 aces of hearts, what will the madlads do next

#

‼️thunk