#Modding/Steamodded/Balamod installation help (soon to be guide), ask installation questions here!

629 messages · Page 1 of 1 (latest)

languid yarrow
#

Either I will get back to you as soon as I can (if i'm not sleeping) or the answers here will help you install the modloader and get around common errors. If I'm not around, someone else might be able to help if they happen to come by here, and I'll be writing a Steamodded installation guide/ Balamod installation guide very soon for both Steamodded and Balamod w/ a section to get around common issues and an FAQ section as well 🙂

#

Modding/Steamodded/Balamod installation help (soon to be guide), ask installation questions here!

fickle sierra
#

i'm trying to get the modloader to download but i always get stopped due to a trojan virus. Is there an easier way to mod the game?

dense plank
#

I have setup the Steammodded loader through the Powershell injector. From what I can gather of the shitty explanation for installing mods, this should work right? But for some reason, when i launch the game, there is no mods or even steammodded being loaded.

fickle sierra
north zodiac
#

hm, i was able to get the lovely injector to work but not the main

#

idk what i did differently

fickle sierra
#

I think I need a way to get the injector off of someone else via email or something because I'm unable to download anything at all.

#

Because of like I said windows defender stops me because it's detecting it as a trojan virus

fickle sierra
north zodiac
#

wait, the problem is with downloading it?

#

or actually using it

languid yarrow
# fickle sierra Want me to send a screenshot of what I mean? Which will be tomorrow because righ...

heyyo my bad I didnt see these comments! I forgot to setup notifications for this post LOL, I'll do that now. Reply back here and I'll give ya more help 😄

Windows defender and other AV regularly block the modloader from installing (this is pretty normal with a lot of modloaders bc of how they work, which is by modifying the exe file. Not all modloaders do this of course, but many do).
You need to temporarily disable/pause whatever AV you have to install the original non PS modloader properly,** but if you use the PowerShell version steamodded_ps_injector.exe you shouldnt even need to disable your AV! Some AV might still need to be disabled with the powershell version, but most just work**

Also,** if you're using chrome you might need to change ur settings if it keeps blocking the download**. You can** either change the security settings in chrome to allow downloads, or you can just use another browser like firefox to download the installer** (remember the one you want is steamodded_PS_injector.exe from here: https://github.com/Steamopollys/Steamodded/releases/tag/0.7.2 )

GitHub

NEW FEATURES AND UPDATES FROM 0.7.2

Bumping version to 0.7.2
A new Injector made with Powershell has been added
The PowerShell injector can be used compiled or not
Addition of the Joker API
Joker ...

languid yarrow
languid yarrow
# dense plank I have setup the Steammodded loader through the Powershell injector. From what I...

I think you likely messed up installing steamodded, plus a lot of these look like the full source code folders and not the actual mod files you need. reply back here and I'll help you out. Also some folders in ur pic, like steamodded-main, shouldn't need to be there. Was that just the name of the folder that came with of one of the mods u tried downloading? Or is that actually the steamodded folder/source code?

languid yarrow
#

also thanks for helping out @north zodiac 😄 I also helped someone else out with windows 11 btw, and yeah disabling defender got it to work with the original version of steamodded. With the new powershell version of steamodded I don't think that's even needed anymore too, so that's really nice!

Lovely injector is awesome tho and @wooden nebula recently made a guide on how to inject Steamodded with it! I think I'll be pinning that here as well bc it's friggin awesome and so helpful, and since it doesn't modify the exe file to inject the modloader but instead modifies the exe directly from your RAM, it doesnt trigger almost any AV!

#

For everyone having issues installing Steamodded: if you're having trouble getting Steamodded to work because it's getting blocked by your AntiVirus, try Lovely Injector!

It injects the Steamodded modloader from RAM whenever you open the game (instead of injecting Steamodded by modifying the balatro.exe file) so it doesn't trigger most AV! It takes a few more steps to setup the first time, but it can help a lot if your AV keeps blocking Steamodded, and in general is a cleaner way to run the Steamodded modloader! It's a great option to get Steamodded for Balatro up and running!

@wooden nebula made a great guide on how to install it, go to their Post (link to the Discord Post attached here) to check it out and** make sure to give a big thanks to @wooden nebula for making the guide and @torpid jetty for making Lovely Injector** (and spearheading r2modman support for Balatro with the other Thunderstore devs, which will make installing mods and modloaders a LOT easier for everyone!) !!!

https://discord.com/channels/1116389027176787968/1217867725532041369 Link to the guide here ⬅️ ‼️

Discord

Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.

#

Also if you're having issues with your AV blocking Steamodded but for whatever reason don't want to install or setup Lovely Injector (which I highly recommend using if you can), use the newer Powershell version of Steamodded's installer/injector! The PS version doesn't trigger most AV so there's no need to pause them to install Steamodded!

In order to run the original non-PowerShell installer of Steamodded (steamodded_injector.exe), you needed to need to temporarily disable/pause whatever AV you have, but if you use the PowerShell version steamodded_ps_injector.exe you shouldnt even need to disable your AV! Some AV other than Windows Defender might still need to be disabled with the PowerShell version, but most just work without having to disable your AV!

Also, if you're using chrome to download Steamodded, you might need to change ur settings if it keeps blocking the download. You can either change the security settings in chrome to allow downloads, or you can just use another browser like firefox to download the installer (remember the one you want is steamodded_PS_injector.exe from here https://github.com/Steamopollys/Steamodded/releases

GitHub

A Balatro ModLoader. Contribute to Steamopollys/Steamodded development by creating an account on GitHub.

mystic rampart
fickle sierra
fickle sierra
#

welp. now the game rashes on start up. i think i need to vc with someone to guide me step by step or something

languid yarrow
# fickle sierra forced to disable Windows Defender with the PS as well. if you're gonna make a F...

I mentioned that in the FAQ actually:

but if you use the PowerShell version steamodded_ps_injector.exe you shouldnt even need to disable your AV! Some AV other than Windows Defender might still need to be disabled with the PowerShell version, but most just work without having to disable your AV!

and actually I just realized I mentioned it in my response to you as well:

You need to temporarily disable/pause whatever AV you have to install the original non PS modloader properly, but if you use the PowerShell version steamodded_ps_injector.exe you shouldnt even need to disable your AV! Some AV might still need to be disabled with the powershell version, but most just work

also yeah ngl this part ⬇️ did sound a bit rude LOL maybe don't word stuff like that in the form of a question. I'll assume you didn't mean to come off rude though since you said you were just trying to help

if you're gonna make a FAQ add what AV programs need to be disabled?

languid yarrow
# fickle sierra forced to disable Windows Defender with the PS as well. if you're gonna make a F...

Cant exactly list every AV out at the moment 😅 but yeah when I do make a more thorough guide (which I've been putting off doing forever, keep getting busy and forgetting to do it) I'll give better instructions on how to install with PS and how to disable your AV if it needs to be disabled (for windows defender I have a pretty simple answer and thats to use Defender Control to easily disable Defender with 1 click: https://github.com/qtkite/defender-control , but I'll also try to include manual steps for how to disable defender manually; most other AV just have a 1 click button you can click to pause protection)

GitHub

An open-source windows defender manager. Now you can disable windows defender permanently. - GitHub - qtkite/defender-control: An open-source windows defender manager. Now you can disable windows ...

languid yarrow
#

And also what kind of crash are you getting? Is it showing a crash screen? I think I likely know the cause of it but I wanna make sure first

fickle sierra
#

it's always stating a certain file does not exist. and it changes every time. so then i have to verify the files and start all over again. VC is more than likely needed.

#

just let me know when we can vc

languid yarrow
#

Can you show me a screenshot of which file? I think its the 7zip one if I'm correct, and I know what causes that issue

#

show me a screenshot if you can of the file that doesn't exist. Also are you on windows 10 or 11?

fickle sierra
#

10

languid yarrow
#

I'd like to keep things here if possible so others will be able to see how we fixed your problem as a reference. I've helped many people in DMs by now but the more I can help here, the better 😄

#

I'll leave the VC/screenshare help as the last resort

fickle sierra
#

but the thing is the file constantly changes.

languid yarrow
# fickle sierra 10

Gotcha, show a screenshot of the error you got please when you run steamodded

languid yarrow
#

Don't worry I'm pretty sure I know the issue and the cause and how to fix it, just give me an example screenshot so I can confirm thats the issue

fickle sierra
#

well the error happens when i install a mod and the game restarts

languid yarrow
#

Install a mod? Wait have you gotten steamodded working then without any mods?

#

If you delete all mods from the mods folder in appdata/roaming/balatro/mods does it show steamodded on the top right of the main menu?

fickle sierra
#

it works until i install a mod.

languid yarrow
fickle sierra
#

yes

languid yarrow
#

gotcha, show me how your mod folder looks like and the mods your trying to use right now

#

it's likely just bc the mod files were just placed mods folder the wrong way, so it's causing an error. Could also be an outdated mod that isn't working on the newest steamodded yet, I can double check

fickle sierra
languid yarrow
#

can you give me a link to the mod?

fickle sierra
languid yarrow
#

your missing the assets folder

#

grab that and put the assets folder in your mods folder

#

most mods actually use that same assets folder, so if you ever try to use another mod in the future that needs to use 'assets', and you likely will, you'll run into issues

#

so instead what you should do is put both of those in balatro/mods/mikesmodcollection

#

make a new folder called that and place both that assets folder and mikesmodcollection.lua in there

fickle sierra
#

is it possible to download everything at once or do i have to download everything seperately. not familiar with github lol.

languid yarrow
#

click on the link I sent you, its a zip with everything you need in it

fickle sierra
#

oooohhh thanks. So do i put the zip in there or extract then move?

languid yarrow
#

nono

#

open the zip up

#

okay first actually

#

go to your mods folder and make a folder called MikesModCollection

fickle sierra
#

So extract first?

languid yarrow
#

first go to your mods folder and make a folder called MikesModCollection

#

then move mikesmodcollection.lua into that folder

#

don't extract anything just yet, especially not to the mods folder at the moment

#

start by doing the above first

fickle sierra
#

ok

languid yarrow
#

it should look like this:

#

but for mikesmodcollection instead

#

most mods come in releases that are premade so they're easier to install but some come like this and you have to create the folders yourself 🥲

fickle sierra
#

wait. where do i get assets

languid yarrow
#

okay so first you made that folder yeah?

#

and put the lua file in it?

fickle sierra
#

yes

languid yarrow
#

okay now the only thing in your mods folder should be that mikesmodcollection folder

fickle sierra
#

yes

languid yarrow
#

now you can open that zip I had you download, DONT EXTRACT IT ALL just use 7zip to open it up

#

lmk when you have it open in 7zip

fickle sierra
#

its opened

frail steeple
#

hey i'm sorry to bother but i am around the same stage as you, i have this and it don't make anything so i don't now what is the nexte stap

languid yarrow
#

okay nice, now if you have the MikesModCollection folder open in a window of windows explorer

frail steeple
#

(and sorry for the english i'm french)

frail steeple
languid yarrow
# fickle sierra its opened

you can just drag and drop the "assets" folder from the 7zip window to the windows explorer window with MikesModCollection folder

#

or you can extract it to appdata/roaming/Balatro/mods/MikesModCollection, whichever you prefer. Personally I prefer to drag and drop because it's easier. You only need to move the assets folder, nothing else. You can also copy and paste it there if you want from the 7zip/winrar to the MikesModCollection window, however you prefer it all does the same thing

fickle sierra
#

assets have been moved

languid yarrow
# fickle sierra assets have been moved

okay nice, you should now have a folder called Assets and the mikesmodcollection.lua file in the appdata/balatro/mods/mikesmodcollection folder yeah? and nothing else

fickle sierra
#

yes

#

got it thanks!

frail steeple
#

so @languid yarrow do i juste do the same thing? i don't see the same file as you did?

languid yarrow
languid yarrow
#

make a folder in mods called Jellymods

fickle sierra
#

so to recap. just move lua and assests?

languid yarrow
#

then drag all these to that folder @frail steeple

languid yarrow
fickle sierra
#

all

frail steeple
languid yarrow
#

so all you gotta do is extract/drop that folder in the Mods folder and thats it!

fickle sierra
#

alright

languid yarrow
#

If a mod only has one file like dunkeymod.lua, then all you gotta do is drop that in the mods folder

#

if a mod doesn't have a releases tab on Github or asks you to download an assets folder AND a lua file, you need to make folder for those in Mods and drop those in that folder

languid yarrow
frail steeple
#

yes

languid yarrow
#

okay perfect, just open it with 7zip

#

then make sure you have a file explorer tab with the appdata/roaming/balatro/mods/Jellymod folder open

#

then you can either just drag and drop all of them from the 7zip window by highlighting them all with your mouse or hitting ctrl + A to select all the files in there, then dragging them over to the file explorer window with Jellymod folder open

#

or you can select them all in 7zip and press "ctrl + c" to copy them and then just paste them in the Jellymod folder

frail steeple
languid yarrow
#

or if you want hit that extract button in 7zip

frail steeple
#

all is in the files

languid yarrow
#

and then navigate to the jellymod folder and extract there. They all do the same thing, the above 2 ways are just faster for most

languid yarrow
# frail steeple

PERFECT! just delete the jellymod.zip in your mods folder now since its not needed

frail steeple
#

and now is it good?

languid yarrow
#

try to open the game now

#

oh you might wanna rename the folder to jellyjokers in the future

#

just so you dont get confused if you ever download the full jellymod lol

#

it's not needed tho, it can be named whatever

frail steeple
#

it doesn't change anything?

languid yarrow
#

nah haha

#

its fine as is but its just so you remember that its not the full jellymod but actually only jellyjokers

#

u can leave it if you want too

frail steeple
#

no it's steel only normal tarot cards

#

and normal jokers

#

do i oppen it with "steammodded" or normal

#

because normal it don't change anything and with steammodded it don't start

languid yarrow
#

Just tested and its working for me

#

what version of Steamodded are you on? and are you using any other mods?

#

let me see the crash page if you can

frail steeple
#

it oppened a black screan with texte loading and all this and the it closedf itseld

#

(like the command control i don't now if you see what i mean)

languid yarrow
#

the cmd prompt

#

wait how did you open the game

#

have you ever installed steamodded to the balatro.exe?

#

and then launched balatro and saw it say steamodded in the top right?

#

like how it does in my screenshot?

frail steeple
languid yarrow
#

You use that to install steamodded but its not how you play Balatro

frail steeple
languid yarrow
#

also that version is known to have issues when installing Steamodded with most AV

#

okay yeah you never installed steamodded haha

#

I'll tell you how to do it 😉

frail steeple
#

LOL i'm really sorry

languid yarrow
#

Now more people will be able to learn how to install Steamodded too!

frail steeple
#

thank you

languid yarrow
#

So actually I'm very glad for your contribution here 😌

#

And what antivirus do you have? If it's just defender it SHOULD work without having to disable it with this powershell version of the steamodded injector, but you might need to disable it too, there's different reports from different people it seems

frail steeple
#

it's installed

#

i allowed it on my antivirus

#

now what do i do with this .exe?

languid yarrow
#

okay nice

#

now where is Balatro installed?

#

what folder?

#

c:/games/balatro? or the default steam location on the c drive? or on a D drive?

frail steeple
#

ok so i'm not sure of understanding the question so depending the answer can be: on my desk, on steam, or in the appdata file

languid yarrow
#

did you install the game from Steam?

#

or did you move the game folder somewhere else?

frail steeple
languid yarrow
#

Okay open Steam

frail steeple
languid yarrow
#

now go to library

#

select balatro

#

then right click on balatro

frail steeple
#

done

languid yarrow
#

and look for "browse local files"

frail steeple
#

i'm in it

languid yarrow
#

right click on the path bar in windows explorer

#

and click this

#

copy address as text

frail steeple
#

ok done

languid yarrow
#

now paste that here so I can see where its installed to

#

feel free to delete your username if you want

#

just need to know the path so I can guide you on the next step

frail steeple
#

it's loading

languid yarrow
#

?

#

huh

#

what do you mean

frail steeple
#

it's failing sory

languid yarrow
#

okay bro listen LOL

#

before you do anything wait for me to give you the next instruction please 😅

frail steeple
#

is this enouht for you?

languid yarrow
#

okay perfect thats the default location

#

yep thats perfect

#

thats the default location actually

#

so it should be easy to install

#

what happened when you tried in double click the steamodded_PS_injector.exe ?

#

can you screenshot the error it gave you?

frail steeple
#

command block appear and disapear

languid yarrow
#

are you using the PS version?

#

because that should only happen with the original version you were using at first

#

show me which one your trying double clicking on

#

with a picture

#

it should say steamodded_PS_injector.exe NOT steamodded_injector.exe

frail steeple
#

oh

#

no

#

it'a asking me

#

for 7zip

#

i told you i have 7 zip

languid yarrow
#

show me whats it showing you

#

let me see the screenshot of the error

frail steeple
#

but i have breeze zip

languid yarrow
#

ahhh

#

you have an x64 windows PC yeah?

#

not an ARM one?

frail steeple
#

yes

#

no

languid yarrow
#

okay yeah download that then

#

OH WAIT

#

no nvm

#

just so its more stable

frail steeple
#

no it continued to whow the command block

languid yarrow
#

if it asks you during installation to add 7zip to the context menu, say yes

frail steeple
#

but it stay open and differently

languid yarrow
#

okay show me the screenshot bro

frail steeple
languid yarrow
#

that worked brudda

#

XD

#

its modded now

#

open balatro

#

you should see steamodded in the top right now

#

😉

#

the command prompt is supposed to show

#

you just need it to successfully complete

#

which it did! 😄

frail steeple
#

ahhhhhhh when i open the game it crasheeeedddddd

#

i'm really sorry

languid yarrow
#

no worries, how did you open the game?

#

with steam?

frail steeple
#

to take you'r time for this i'm not really good with all this

languid yarrow
#

no no worries haha

#

it's almost done and this happens sometimes when you run steamodded more than once

#

okay first try this

#

go to the balatro game folder by opening local files in steam

frail steeple
languid yarrow
#

like we did last time

#

then double click on balatro.exe

#

and tell me what happens

#

if it shows any crash screen with an error screenshot it for me too

frail steeple
#

no

#

it just load

#

like no

languid yarrow
#

it just load? like its taking a long time to open?

#

or it crashes?

#

with no error screen?

frail steeple
#

1: black screen
2: nothing
3: loading bar and the disapear completly

languid yarrow
#

and you tried this by using balatro.exe right? not opening it with steam or the desktop shortcut??

frail steeple
#

yes

languid yarrow
#

just to double check that isnt the issue

#

move it to documents or something for now

#

and check if theres anything else new in your mods folder too. If there is screenshot it so I can see what the new files are in there

frail steeple
languid yarrow
# frail steeple

gotcha, thanks for the video so I could see what was happening. try what I said above

#

then after you move the Jellymod folder out of there try to reopen balatro.exe

#

OH WAIT THAT SIZE

#

there WAS an issue bc you ran steamodded twice

#

okay I see the probleam

frail steeple
#

with the full empty mods file it stell the same

languid yarrow
#

okay heres what you gotta do

#

first delete balatro.exe

frail steeple
#

done

languid yarrow
#

then go to steam, right click on balatro and click on properties

#

then go to installed files and click on verify files

frail steeple
#

yes

languid yarrow
#

it should now redownload a clean balatro.exe for you

frail steeple
#

it says steam will download back the corrupted file

languid yarrow
#

perfect

#

go to your steam downloads to see when its finished

frail steeple
#

finished

languid yarrow
#

nice, now run steamodded_PS_injector.exe again. DO NOT RUN THE STEAMODDED_INJECTOR.EXE WITHOUT THE PS IN THE NAME!

#

that could cause issues here

frail steeple
#

okay

#

done

languid yarrow
#

you might wanna delete the old steamodded_injector.exe as well to be safe to make sure you don't click on it again and run into issues, only keep the one with PS in the name

#

nice, now open balatro

#

and see if it opens without crashing and if you see steamodded in the top right

frail steeple
#

YEEEES

#

ok now i can putt back the mod?

languid yarrow
#

WOOOOOOO!!!!

#

yep just put it back now!

#

😄

frail steeple
#

(curently praying)

#

YEEEEEEEEEEES

#

YOU ARE A FUCKING LEGEND BRO

#

you juste saved my life i would have been totaly unable to do it by myself

#

merci beaucoup as we says in french

languid yarrow
#

haha really glad I was able to help 😄

#

This is how I learned this stuff too and everyone else here!

#

We all asked and googled and found out how to do this stuff til we did it enough that we could answer other peoples questions ahaha

#

You'll be able to help someone who needs help with this stuff in the future I'd bet 😉

languid yarrow
#

uwudev who made Balamod is French 🥖

#

also my dad speaks french since his country was once "administered" by France 🤣

frail steeple
#

but stil than you a lot

languid yarrow
#

He tells me all the time about the crazy schooling system there

languid yarrow
#

how intense it is

#

and the graduation test thing

#

the similaua?

frail steeple
#

he is really right LOL

languid yarrow
#

balarei? I forget the pronounciation

frail steeple
#

bacalauréat LOL

#

even th ename is bullshit

languid yarrow
frail steeple
#

i'm sorry i have to let you

#

but thank you a lot

languid yarrow
#

np, glad I was able to help! 😄

#

enjoy modded balatro!

wooden nebula
#

@languid yarrow Hey, hope you don't mind the ping but is there any good resource at the moment for what function calls do what and what functions names there are, I want to build some mods myself but I'm not sure where to start?

languid yarrow
# wooden nebula <@274835786304585739> Hey, hope you don't mind the ping but is there any good re...

of course not m8, feel free to ping me anytime 😃 I dont think theres a ton of documentation out for what function does what currently though and I don't do much coding at all myself, I just know the bare basics and can check out other peoples code and more or less figure out how to copy their code and use the game files to add the stuff I want to do 🤣 If you're using balamod I know theres some pretty good stuff on the readme

#

and you could also ask for help for people who made similar mods to a mod you want to make!

#

what mod are you trying to make?

#

also using a good IDE for Love2D like Sublime or Jetpilot would likely help a lot

#

you could also reference the love2d documentation if you need to, but you should only probably need to do that occasionally if at all if you reference the game files and use a good IDE

#

and someone elses mod for reference if you can

#

you can use either balamod -d to extract the game files or more easily just open the balatro.exe with 7zip then extract all the game files like that

wooden nebula
#

I've decompiled the game and was looking through it a bit ago but I was a little busy with work to get started. I want to start with a very simple joker mod. It started with looking at the Lua code of Jellyjokers I wasn't a fan of the negative affect of pessimist (sell this card the apply the negative attribute to a random joke but permanent negative 2 hands) which is a good concept for a card because it gives access to the negative attribute easier -2 hands is crazy especially early on I wanted to tweak it to instead get rid of all discards

languid yarrow
#

do you just wanna modify that one part?

#

if so that should be pretty easy

#

I actually have jellymod files here so I can take a look too if thats the case

wooden nebula
#

Pretty much I wasn't sure of the syntax for that so I was wondering if people have started noting down what functions do what

#

I thought it would be a good place to start then I could use a few different mods as maybe a template for designing my own jokers/deck

#

I'm available to jump into vc if you're down if not I can grab the relevant code pieces and put them here

languid yarrow
#

I'm checking out the code in the game rn, but if you have any relevant code pieces and can quickly screencap em or copy em, thatd be helpful too! 😄

wooden nebula
#

I just realised I deleted the hands part of the code last time I was messing with it and never restored it 😂
This should be the part where you declare the card description:

               name = "Pessimist",
                   text = {
                      "sell this card to apply",
                      "{C:dark_edition}negative{} to a random Joker.",
              },```
We have this piece of code that describes its general attributes the extra part in config is what gets passed along to the function that describes what the code does:
```j_pessimist=        {order = 7,  unlocked = true, discovered = true, blueprint_compat = false, eternal_compat = false, rarity = 3, cost = 10, name = "Pessimist", pos = {x=6,y=16}, set = "Joker", effect = "", config = {extra = 2}, unlock_condition = {type = 'win_custom'}}```
And finally we have the func for the actual joker although its missing the part where it subtracts your hands:
      ```if self.ability.name == 'Pessimist' and not context.blueprint then
        local temp_pool = {}
        for k, v in pairs(G.jokers.cards) do
            if v.ability.set == 'Joker' and (not v.edition) and v ~= self then
                table.insert(temp_pool, v)
            end
        end
        local eligible_card = pseudorandom_element(temp_pool, pseudoseed('Pessimist'))
        local edition = {negative = true}
        eligible_card:set_edition(edition, true)```
languid yarrow
#

Yeah I'm seeing the same pieces

wooden nebula
#

This first two bits should be fine we can alter the description to read "Sell this card to apply negative to a random Joker but permanently lose all discards", for the config we keep it the same but maybe pass through a bool for the negative affect

languid yarrow
#

I think theres a reference to the self.ability.extra

#

and I'm wondering if thats where hands are deleted

wooden nebula
#

Yup thats where it is usually

languid yarrow
#

or maybe if it just reads the description even using that function

#

then runs whatever is in the description of the joker

wooden nebula
#

I deleted it that part last time whilst messing with it

#

Give me a sec I'll redownload it

#
        local temp_pool = {}
        for k, v in pairs(G.jokers.cards) do
            if v.ability.set == 'Joker' and (not v.edition) and v ~= self then
                table.insert(temp_pool, v)
            end
        end
        if #temp_pool > 0 then
            local eligible_card = pseudorandom_element(temp_pool, pseudoseed('Pessimist'))
            local edition = {negative = true}
            eligible_card:set_edition(edition, true)
            G.GAME.round_resets.hands = G.GAME.round_resets.hands - self.ability.extra
            ease_hands_played(-self.ability.extra)
        end```
languid yarrow
#

OHHH

#

G.GAME.round_resets.hands - self.ability.extra

#

its likely this

#

try deleting the - self.ability.extra

wooden nebula
#

yup I just don't know what the syntax is for discards

languid yarrow
#

so it only says this G.GAME.round_resets.hands = G.GAME.round_resets.hands

#

and probably delete this too: "Permanent {C:blue}-#1#{} hands."

#

from the joker description

#
          },
          j_pessimist = {
               name = "Pessimist",
                   text = {
                      "sell this card to apply",
                      "{C:dark_edition}negative{} to a random Joker.",
                      "Permanent {C:blue}-#1#{} hands.",
                      "{C:inactive}({C:attention}Destroys{C:inactive} itself when blind selected){}"
              },```
wooden nebula
#

Tbh we could completely remove that line which is what I did in my inital snippet but I think replacing it with something that removes discards would be better I know there is a joker in the normal pack that does that but I'm not sure that one updates during the actual round being played whereas techincally if you copied the code from that joker you could get away with no negatives for a blind

languid yarrow
#

try changing both those parts

#

so I think in this mod G.GAME.round_resets.hands = G.GAME.round_resets.hands - self.ability.extra is what is deleting hands

#

G.game.resethands refers to how many hands you have

wooden nebula
#

Thats the conclusion I came to last time, I was wondering if you might know the syntax for changing the discard amount

languid yarrow
#

and - self.ability.extra is subtracting the number of hands according to pessimists self joker ability

#

oh are you trying to edit it?

#

and not completely disable the hand removals?

wooden nebula
#

Yeah my orginal code with the edits accomplishes the hand removal aspect I wanted to change the negative affect

#

The idea is that in the config we could pass through a boolean and then it does a check in the joker to see if the boolean is True and it then permanantly alters the discard amount

#

if center_table.name == 'Wasteful' or center_table.name == 'Recyclomancy' then
G.GAME.round_resets.discards = G.GAME.round_resets.discards + center_table.extra
ease_discard(center_table.extra)

languid yarrow
#

I gotcha, yeah thats a bit above my coding paygrade 😭 I would ask either Myst who created the original mod Jellymod is based off of or the maker of Jellymod on this discord

wooden nebula
#

this is the voucher that alters the discards by increase them actually we can use this part

languid yarrow
#

or perhaps ask in the modding discord, someone likely whos worked on a similar mod would know. You could also check out other mods that do the same thing that you're trying to accomplish

#

theres likely one out there that has implemented this idea

#

OH WAIT

wooden nebula
#

No worries thank you for the help, I think I've got a clue on how to do it

languid yarrow
#

LOOK IN GAME_MODIFACATIONS.LUA

#

I think the code for all this stuff is there

#

I see stuff about hand additions and subtractions

#

maybe... just maybe?

languid yarrow
#

you could also ask @halcyon star as they made the mod 😄 If you see this not mario what code do you use to subtract hands with your custom jokers?

#

so this is what they did to remove hands @wooden nebula

        if self.ability.name == 'Hollow Joker' then
            G.hand:change_size(-1)```
#

i think discards are a similar function

#

G.discard I believe

wooden nebula
#

I've changed some of the code I'll give my way a try first If not I'll try what you've suggested

languid yarrow
#

I think Jellymods author just went about it in a different way referencing that line we saw

languid yarrow
#

I somehow missed that you wanted to get rid of discards instead so many times 😭

wooden nebula
#

It's all good I appreciate the help regardless sometimes its nice to just bounce ideas off someone it happens all the time in development

languid yarrow
#

Haha hey fair nuff, I'll help anyway I can 🫡 😄

#

If you do end up using G.discard and it turns out it doesn't update during the round, theres probably an event you can call to make it refresh during the round too

#

But looking at the code I THINK it should trigger when the Pessimist joker gets destroyed

languid yarrow
wooden nebula
#

Done got it working @languid yarrow

#
if self.ability.name == 'Pessimist' and not context.blueprint then
        local temp_pool = {}
        for k, v in pairs(G.jokers.cards) do
            if v.ability.set == 'Joker' and (not v.edition) and v ~= self then
                table.insert(temp_pool, v)
            end
        end
        if #temp_pool > 0 then
            local eligible_card = pseudorandom_element(temp_pool, pseudoseed('Pessimist'))
            local edition = {negative = true}
            eligible_card:set_edition(edition, true)
            G.GAME.round_resets.discards = G.GAME.round_resets.discards - self.ability.extra
        end
#

Tested it game the only issue is that it isn't reflected on the ui when you sell but when you go in game it works

#

Then the UI updates and its fine now I just need to test it during the round

#

Okay so I imagine those events are linked, if you sell during it round it doesn't update the discard counts

languid yarrow
#

NICE!!!! that makes tons of sense!!!

languid yarrow
#

but when you go into a round/blind it shows on the UI?

wooden nebula
#

Yup the fix for the round start affect is really simple, the issue is that its set to trigger at round start not on sell

#

Although potentially it just needs a bit of both

languid yarrow
#

ahhh!

#

hm there's probably an event you can call so that it resets the discard count in the UI right when the joker is destroyed

#

I'm sure they had code for that in the mod

wooden nebula
#

I think so, but I'll have to stop here for now I'll probably revisit that sometime soon

languid yarrow
#

what was the original code there? g.game.round_resets.hands?

languid yarrow
#

Good shit brudder, you friggin did it!

languid yarrow
#

That was a hard one too since there was no clear reference to discards in the mod file

#

it was like so obfuscated almost

#

Maybe send a PR to jellys github or put a comment in their post here so they can add an option for using discards instead of removing hands to jellymod!

#

my guess is lots of others would like to use that joker but also find the effects too punishing

subtle bone
#

how do i install balamod

subtle bone
#

can someone help

olive cypress
#

Hey guys, spent a long time trying to figure this out myself to no avail

Is Steammodded supported for Mac M1?

dusty lava
#

hi guys i have the latest crypitd and talisman mod installed and its working properly. I try to add the grim mod 0.9.5 like this - but its crashing

opal bramble
true badger
#

I got a notification about Puwaders.C!ml when trying to move the Lovely injector for mods. Is that normal?

crystal drum
true badger
#

Just wanted a spot check. Thanks man

crystal drum
#

Np :3

visual marsh
#

finally a guide

#

nice

abstract nova
#

how tf should i go back to ver 0.9.8

crystal drum
#

Why would you want to?

crystal drum
lethal pilot
#

Okay, I'm feeling incredibly stupid right now but I can't get the alpha release of Steamodded to work. I should just be able to download it from the github page and pop it into the appdata\balatro\Mods directory right? Screenshot shows the current path. I also tried using Git with the command on the installation page with the same results 🫠

crystal drum
#

You need lovely too

#

Look at the main modding-chat. I just helped someone else

lethal pilot
#

Still need lovely for the alpha release? I'll check out the main chat, thanks 🙂

crystal drum
lethal pilot
crystal drum
#

Np :3

vagrant solstice
#

im still having this problem, and as far as i can tell, i have the lovely injector setup properly

#

any help would be very appreciated

visual marsh
#

Not in the game exe folder

vagrant solstice
#

Ah

#

I haven't modded manually on win 11 yet

visual marsh
#

The version.dll of lovely is the only thing you put in the game exe folder

#

So, you run the game?

vagrant solstice
#

Your question somewhat confuses me

vagrant solstice
#

Well, that helped immensely. Windows 11 somewhat confuses me, lol. I miss 7

#

Thanks

uneven cargo
#

How do i check if mods are active?

#

i have a few installed but idk if they are working

civic eagle
#

if a mod is in blue that means it loaded successfully
if a mod is greyed out it was disabled by you, this screen lets you disable mods
if a mod is in red that means it has an incompatibility or wasn't installed properly, and if you hover over the ! it tells you what's wrong

uneven cargo
#

hm i didnt see one but i definitely have atleast a mod enabled

#

none here but

civic eagle
uneven cargo
#

I have some here??

civic eagle
#

okay well let's just go through everything

uneven cargo
#

they are in my appdata mods folder , cant you just dump the .lua in there?

civic eagle
#

no you need

#

the entire folder

uneven cargo
#

ah.

#

well isnt that annoying

#

well ill start renaming

civic eagle
#

were you just taking out the lua files????

uneven cargo
#

i was downloading straight from either github or disc , no folders are provided so i assumed

civic eagle
#

the folders are provided you get them when you unzip the mods usually

#

if not then it assumed the program you use to unzip it unzips it into a folder

#

which is the default

#

anyway you should have version.dll in the folder with balatro.exe, and you should have a Steamodded folder in appdata/roaming/balatro/mods

#

no other folder names really matter except Steamodded being called Steamodded, but it's good practice to remove -main from a folder name if you get it from the code button on github

uneven cargo
#

Alrighty , thank you for your help

dusk briar
#

Im so damn lost with this im doing the things above but it wont work (also windows defender is being a pain the the ass)

#

(help please)

#

Nvm I got it

serene moon
#

hi im having trouble launching mods, i can open the game with no mods in but it always crashes when i put a mod in the folder

#

i can post the crash log if its allowed

civic eagle
serene moon
#

its fine i went and asked the pokermon guys and they helped me

#

thank you anyways!

civic eagle
#

oh alright

pine lintel
#

Is there guide on how to install mods?

#

If so, please link it

civic eagle
pine lintel
#

No, how do i do that

civic eagle
#

alright

#

we are gonna take some quick trips around github then

#

quick note

#

steamodded's latest release is 0.9.8, that version is obselete, press the green code button and press download zip instead

crystal drum
#

sorry for the sass, lol

civic eagle
#

yeah the guide sucks i'll just go over it here

pine lintel
#

Yeah, i read the guide and i had no idea what it was

crystal drum
#

which isn't most people understandably

civic eagle
civic eagle
#

download the zip file that corresponds to your operating system

#

i'm assuming it's windows but if it's not then do tell

pine lintel
#

yea its windows

#

ive done that

#

whats next

civic eagle
#

okay

#

unzip that and it should have version.dll inside right

crystal drum
#

but legit

#

use busa 6 not beta 7

#

beta 7 has major mod compat issues

civic eagle
#

oh fr

#

okay hold on we're gonna

crystal drum
#

you linked beta 7 though

civic eagle
#

not the other version that version is bad apparently

#

anyway same thing on this page get the windows zip and grab version.dll

pine lintel
#

and?

civic eagle
#

now go to steam and press this button

#

right click -> manage -> browse local files

#

it'll open the folder containing the balatro.exe file

#

put version.dll in that folder

pine lintel
#

okies

civic eagle
#

that's halfway done

#

now go to the search bar in the bottom left and type %appdata% to get to appdata/roaming

#

and you should see a balatro folder in there

crystal drum
#

(you put a lot more effort into this than me when I do it marie, lol. probably will pay off by going a lot smoother though)

civic eagle
#

go in there and make a Mods folder

#

if it already exists that's fine but it probably doesn't

#

let me know when you've caught up

pine lintel
#

ya

#

i have

civic eagle
#

alright

civic eagle
#

and put it in the mods folder

pine lintel
#

i havent downloaded that yet

civic eagle
#

okay well do that

pine lintel
#

do i get the aplha

civic eagle
#

press the green code button and press download zip

#

you should get steamodded-main.zip downloaded

pine lintel
#

done

civic eagle
pine lintel
#

yes that

#

done

civic eagle
#

unzip it, rename it to Steamodded and make sure it's not nested (nested means it's inside a folder of the same name as its own, e.g Mods/Steamodded/Steamodded, that is a bad thing and you should make sure all mods are not nested when you download them)

pine lintel
#

ok done

civic eagle
#

that's it

#

you should be good

#

boot up balatro now and you should have a Mods button on the main menu

#

if you do then it worked

crystal drum
#

uh... what about the antivirus bulshit for lovely?

civic eagle
#

oh yeah that happens sometimes

#

because of the nature of lovely, it likes to flag antivirus

crystal drum
#

it happens 100% of the time on (current) windows afaik

pine lintel
civic eagle
#

if you boot up balatro and your antivirus goes off, go make sure it didn't delete version.dll and exclude the file or directory

civic eagle
#

i only get the issue every once in a while on windows defender

crystal drum
#

you.... didn't add an eception?

pine lintel
#

thanks

crystal drum
#

it's that easy

civic eagle
#

i just

crystal drum
#

then it won't touch it ever again

civic eagle
#

press allow on deveice

#

device

#

¯_(ツ)_/¯

civic eagle
pine lintel
crystal drum
#

lazy in a way that makes you do more work, sounds like me

#

lmao

civic eagle
#

go find a mod's github and download it, either by the green code button or the latest release

#

the mod dev will probably recommend one of the two if you ask

#

put it in the mods folder, make sure it's not nested

crystal drum
#

tbh I can think of zero curent mods where it's better to actually get the release

civic eagle
#

you can find pretty much every good mod in the modding thread in the discord

civic eagle
#

i have a prerelease up which is super buggy at the moment and my current repository has a separate crash

#

0.1.2b is the current stable version

pine lintel
civic eagle
#

there's a few modpacks if you want a modpack or you can put one together yourself

#

dimensere or whatever his name is has a good modpack collection i'd recommend

crystal drum
civic eagle
#

if you get a crash, it will crash on the console, at which point press ctrl + c to copy it and paste it as a text file into the thread of the mod mentioned on the top line and they'll be able to help you

crystal drum
#

#1255696773599592458 has every mod he can possibly get to function together at different levels of extremeness (in comparison to the base game)

#

different phlopshies both good options depending on what you're interested in

civic eagle
crystal drum
civic eagle
#

balamod is a different modloader

crystal drum
#

irrelevent probably for eternity

civic eagle
#

you don't need that

crystal drum
#

lol

pine lintel
#

do i need that to play some specific mods?

civic eagle
#

nope

pine lintel
#

okie

civic eagle
#

pretty much every mod should work, but be wary of certain 0.9.8 mods

#

steamodded has backwards compatibility with 0.9.8, so most mods work as intended

#

but some mods just do not work on 1.0.0 which is the version you are on

crystal drum
civic eagle
#

unless a mod states it is 0.9.8, you can safely assume it's for 1.0.0

#

most mods are on 1.0.0 by now

#

if you're not sure, ask

#

that's pretty much everything you need to know

pine lintel
crystal drum
#

yes

civic eagle
#

yes

crystal drum
#

and they removed the release for a reason, so use the code button

pine lintel
#

sure

civic eagle
#

i'll be back

pine lintel
#

thanks again, i cannot express my gratitude enough

#

now im off to play some MODS!!

serene moon
#

wooooo

supple onyx
#

Sorry in advance since it might be a frequently question asked here, but I really can't find the answer to this.
If I am using steamodded to add mods that have new assets (eg new jokers or vouchers), how do I add them to the game? Since added the mod's lua by itself doesn't work and I don't know where to add the included assets.

civic eagle
#

assets/1x should contain 1x sheets
assets/2x should contain 2x sheets

#

you also need to set up an atlas

#

oh you got the answer elsewhere i see