#⚙・modding-general

1 messages · Page 2 of 1

hardy brook
#

Oh

tribal cloud
#

But I get that it wasnt a priority this game is so good I only knew about it yesterday and I already have lots of time on it

hardy brook
#

I’m starting a community mod so if ya wanna try, feel free to pop in

hushed furnace
#

depends on your prior coding knowledge and how ambitious you are. i don't know lua but I have some programming experience and i was able to make some simple changes fairly quickly (half joker only takes 0.5 from stencil multiplier)

#

and that took me like 20 minutes?

pastel wolf
#

Yeah i've got no prior experience coding and ive just started cuz i wanna add my own jokers in

orchid bear
#

me too

pastel wolf
#

I can understand what the code does when i read it but idk how to write it lmao

orchid bear
#

i have a small bit of coding experience but not much

hushed furnace
#

probably want to wait for someone to make an API for adding jokers then tbj

pastel wolf
#

Nah we send it

#

And cry

shut chasm
#

where can you find the card/edition sprite sheet

pastel wolf
#

Under resources

#

I believe

#

Unless editions are just effects then idk

hushed furnace
#

editions are shaders

pastel wolf
#

Makes sense

#

Then it'll be code

void elm
#

how difficult do yall think it would be to add a whole new card rarity? I wanna add "shiny" cards (obv stolen from pokemon) that are SUPER rare and combine the abilities of all the other special card types

#

youd get it like 1 in 300 runs but itd still be neat i think

pastel wolf
#

Uhhh probably not that hard

#

But idk coding

#

:)

void elm
#

I do a little bit, but im waiting for the tools to develop a bit further before I try

#

was hoping someone with more experience in that kinda thing may know lmao

#

but obv the game is super new

tacit mountain
#

Like I said before, for now I'm mainly focusing on Sprites / Texture Pack then I will go over other subjects

pastel wolf
#

Steamo is the lead

#

Mod uhh person

void elm
#

noted

pastel wolf
#

I wonder if the game would add a new collection page itself if there was another joker over 150

void elm
#

i would assume adding stuff to the collection would be its own separate process

#

just adding a card on its own probably wouldnt do that

pastel wolf
#

Probably

#

Another thing to work out

void elm
#

from the 1 time i dabbled in isaac modding the main thing i learned is that pretty much everything is done separately

#

and you just have to make sure you do all the different steps cuz nothing gets automatically done

hushed furnace
#

the bigger a change/addition you want to make, the more it's connected to generally and the more places it can go wrong

hardy brook
#

All with green borders are complete

spiral dune
#

WIP Balatro Calculator

orchid bear
#

that could be a meme

#

like that meme with the dragon heads or whatever

hardy brook
#

I only did the clubs, I still need to do mime and the other three

tacit mountain
#

Can someone provide me some sprites that I can test as replacements of the game files ?

hardy brook
#

this is a good basic image for a joker sprite replacement ig

tacit mountain
#

I would need the whole map for now, I want to test replacements before additions

hardy brook
#

oh the whole sprite image?

#

I'll dm you it if so

white scarab
hardy brook
orchid bear
#

how do i install the modloader

hardy brook
shut chasm
#

Crimson, what program(s) do you use to get into the game files and retexture the cards/effects? Coming from making texture packs for Minecraft, I would just get into the game folder, but since it is a .exe, how do you do it?

white scarab
#

Misprint is a fun one

hushed furnace
tacit mountain
#

@hardy brook

shut chasm
#

and- what is the difference between the 1x and 2x textures

tacit mountain
#

So the resolution

tacit mountain
#

For now, registering a sprite more or less look like that in term of code:

    local sprite_jkr = SMODS.Sprite:new("Joker", tmp_mod.path .. "image_jkr.png", 71, 95, "asset_atli")
    sprite_jkr:register()

So Name, Path to to the file, Nbr Pixel X, Nbr Pixel Y, Asset Type

#

I need to figure out a way to properly use the resolution setting with the Path

#

I was thinking about using the Mod Path as top level then assets/1x and assets/2x with every assets under it

#

So in my example it would instead look like this

local sprite_jkr = SMODS.Sprite:new("Joker", "image_jkr.png", 71, 95, "asset_atli")
#

But the Path in your Mod directory would be TheExampleMod/assets/1x/image_jkr.png or TheExampleMod/assets/2x/image_jkr.png

#

@hardy brook @novel shell You are the 2 most involved in the assets creation, would this look usable on your side ?

#

Same @white scarab what do you think about it ?

orchid bear
#

has anyone made any custom challenges

white scarab
#

is assigning it to a texture still how it was in the 0.9.0 ver? That could probably be made easier for single-image textures instead of spritesheets

hardy brook
#

or added to the original sprite?

tacit mountain
#

For this one we are speaking about the global Sprite

#

The Map

#

But

#

The code already permits to add sprite in addition to other ones, for example single jokers

#

I just need to find a way to make it usable by other game objects

hardy brook
#

I think I get it? I'd have to mess around with it in-game

hushed furnace
#

haven't tried adding a new one, I was just using it to test other changes I made

proud wadi
#

starting work on building a display that will show the next cards to be drawn for an eventual "Seer" joker (preview the next X cards), just wanted to get the basics of actually getting the next cards from the deck and displaying them SOMEWHERE

#

is fun

tacit mountain
#

Ok in the end I decided to teak it a little bit to be able to register both 1x and 2x with a single call

local sprite_jkr = SMODS.Sprite:new("Joker", tmp_mod.path, "image_jkr.png", 71, 95, "asset_atli")
#

The Top Path need to be separately provided in the arguments, it make it more modulable and permit to register both 1x and 2x at the same time (since the PX and PY values are the same)

#

Outside of the asset_images (The playstack_logo and dev one) that will only exist in x1

proud wadi
tacit mountain
#

@white scarab I will deploy it first without the old capability to use added sprite, so the pp doing textures pack will be able to load them easly

#

Then, I will implement it once again

unique marlin
#

i can't download the steamodded file from the github page. says it's a trojan virus and my pc automatically deletes it. what do?

tacit mountain
orchid bear
#

how do i get textures from the game

#

nvm

tacit mountain
#
GitHub

NEW FEATURES AND UPDATES FROM 0.6.0

Bumping version to 0.6.0
Rework of the Sprite API
Now able to load assets into the Game
Addition of the Sprite object
You can refer to this new wiki page if you...

GitHub

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

winged sonnet
woven rock
#

anyone have an idea how fast you could do poker hand probability calculations? like say you select a couple of cards to discard, it would show you the probability for each poker hand that you can get from drawing from your deck. is this possible in real-time with some clever trick or would you need to do all possible drawing cards combinations and check which poker hands would be formed in hand?

rigid jewel
#

Ok I got the mod loader to work, time to cook.

little wharf
steep sonnet
#

has anyone tried to make any like custom texture decks?

rigid jewel
#

I'm trying to test one for myself rn

steep sonnet
#

im assuming I could just replace the card sprites

#

but like

#

then it won't be like fully custom

#

cause we have multiple decks but we cant customize their faces

round ore
rigid jewel
#

Althoug so far I'm having no success.

#

I don't know what to call for card face textures

soft gust
#

I would like to know where can I change in the game file to change the negative card spawn rate

white scarab
#

There’s a function poll_edition

#

I forgot which of the files it’s in but you can Ctrl+F

soft gust
white scarab
#

Just set it to return {negative = true}

#

Instead of actually doing RNG

steep sonnet
#

I feel like you could "hijack" the colorblind option thingy in card.lua where sprites are being set to add more textures for card faces? I have no idea how i'd go about doing that tho

#

like different card faces are already built in and you'd just need to add more

soft gust
#

bc I cannot seem to open them

white scarab
#

I’ve been using Steamodded for all the modding

#

You’d have to modify the game executable and I’m not sending that lol

rigid jewel
#

Yeah something like that would require you to alter the .exe

soft gust
white scarab
#

I’ll craft a quick mod up while you install it

rigid jewel
#

Def think that the guide should clarify that the sprite.lua file in steamodded provides the exact names you'd need to change specific sprites.

#

This looks so cursed without inverting the card backs xdd

steep sonnet
#

how do the pixel x and pixel y identifiers work for le sprite deck object thing

#

ohhh wait nvm

rigid jewel
#

If you have trouble figuring out what the px or py is for a sprite or how to reference check the sprite.lua file in Steamodded-main/core.

#

It has references to every sprite in the game, including pixel sized and frames.

#

Now time to figure out how to let jokers stack negative and poly :]

white scarab
#

@soft gust

rigid jewel
#

Huh

#

okay

#

So does this mod do to equivalent of override poll_edition function?

white scarab
#

yes

#

that's all it does

rigid jewel
#

yay ok that makes me understand how to mod this game more

rigid jewel
proud wadi
#

i'm making progress on a dumb thing! If you have the Medium spectral card in your consumable slot, it will show you the next three cards in the deck

hardy brook
#

woah

proud wadi
#

right now it only updates if it should show at the time that you draw from deck, i need to do some more digging to see if I can have it update as the card is added/removed from the consumable area

hardy brook
#

Here I am just doing a fun community texture edit thing and you're out here making insanely cool stuff like this

proud wadi
#

I can't make card art, so you've definitely got me beat there 🙂

hardy brook
#

Well i dunno how to make what you made

#

Lol

glossy void
#

Yeah that's sick 🫡🫡🫡

gentle fjord
#

I've been trying to get this freaking mod installed for over an hour now, can anyone help me? I might be taking weird shortcuts but nothing i've done has worked.
I'm using @proud narwhal 's fork of Steamodded, and if I run the .py file directly, it returns an error (it's long so i'll put it in a thread or smth). Windows won't let me download the executable, and wont let me compile the executable either.
I got the main branch of Steamodded to inject something into Balatro.exe, but it only injected 1 file and wouldn't boot.

#

i mean, i own the game so it's not piracy
yeah hit me up

soft gust
proud wadi
soft gust
novel shell
#

This has only been tested so far as "I am able to start a higher stake run" and "I can save a higher stake run and come back to it", but if you want to ignore stake unlock requirements without impacting anything else:

In functions\UI_defintions.lua, for both instances of local max_stake = , set the right hand value to 8. Optionally, for the single instance of local valid_option = , set the right hand value to true (this makes the stake menu look slightly cleaner)

Note that if you undo this mod, if you have a saved run, it will incorrectly list the stake on the menu but going back into the run it appears to still be the higher stake run.

Backup your save before you do this in case it breaks anything.

#

That message wasn't really a response to yours

proud wadi
#

ok, so other than continuing a run, i think my dumb little hold a medium card mod is just about set, and the only issue with continuing the save is that I need to grey/scale down the previewed cards

#

oh, nevermind i broke it again 😦

mystic girder
#

Can someone help me ?
I have downloaded Steamodded but when I launch the game it crashed immediately. I don't know if I do something wrong when downloading it :/

tacit mountain
mystic girder
#

Not at all. The game is launching but crashes when it loads.

tacit mountain
#

Ok I see, do you have any mod in your Mod directory or nothing ?

mystic girder
#

I have one.

tacit mountain
#

Which is ?

mystic girder
#

UltimateRandom, but I have tested with Custom Fonts also.

#

Same problem.

tacit mountain
mystic girder
#

Yes.

#

Can I unistall steamodded_injector.exe and reinstall it again ?

tacit mountain
#

Can you try ton reinstall it by following the update process ?

#

(Replace Balatra Demo by Balatro)

mystic girder
#

When it finish, you can run the installer for Steamodded.
Does it mean that I need to execute steamodded_injector.exe first ?

tacit mountain
grand geode
#

i've downloaded 0.6.0 and tried making my own sprite replacement mod, didn't work
tried putting in NegateTexturePack and that didn't load either

tacit mountain
grand geode
#

yup, the AchievementsEnabler loads in correctly

mystic girder
#

OK, the game is launching. But, the mod doesn't appears. In the Mods folder, I put the .lua file for the mod to work ?

tacit mountain
mystic girder
grand geode
#

i uhhhhh

i kid you not that directory somehow got wiped

tacit mountain
#

And go into Balatro

mystic girder
#

Yeah. What's next ?

grand geode
#

gimme a moment-

tacit mountain
tacit mountain
mystic girder
#

OK. I try lauching the game again.

#

Crash when loading :/

tacit mountain
mystic girder
#

Not at all.

tacit mountain
#

It just close the window ?

mystic girder
#

I don't have any terminal showing up.

mystic girder
tacit mountain
#

Do you open it with Steam ?

grand geode
#

now it failed to load either mod, odd.

mystic girder
#

No, I open it directly from the folder.

#

I try by Steam.

#

Same thing.

tacit mountain
tacit mountain
mystic girder
#

On the %appdata%/Balatro folder ?

tacit mountain
#

%appdata%/Balatro/Mods

grand geode
mystic girder
#

It doesn't work either.

tacit mountain
#

Like, you can see it loaded on the main menu ?

grand geode
#

no dice

tacit mountain
#

That's very odd

#

First time I see it happen

tacit mountain
#

Maybe it's one of your profiles

mystic girder
#

What do you mean ?

tacit mountain
#

Maybe the profile you are using is causing the game to crahs with Mods for some reasons, can you reset the game to vanilla, create a new profile and try again ?

grand geode
#

none of the example mods worked so directory issue i suppose

tacit mountain
grand geode
#

like, it definitely worked earlier today

#

wiped the entire folder, does not work either

tacit mountain
grand geode
#

@tacit mountain This... doesn't seem right

tacit mountain
#

It happen before

#

But like, wtf

#

How did you import them ?

grand geode
#

they're still in the Mods folder

tacit mountain
#

No I mean, you dowloaded them by yourself, you did a copy of the code ?

grand geode
#

oh i just cloned the repo

#

i copied them from the repo

#

but the one i used this afternoon was from the thread

#

.... let me try that one

tacit mountain
#

Because it's not supposed to reformat them, you use a specific version of Windows ?

grand geode
tacit mountain
grand geode
#

yeah

#

the one on repo uses CRLF, the working one used LF

tacit mountain
#

It's supposed to be LF every time

#

That's why

grand geode
#

wack

tacit mountain
#

That might be on me and because of the WSL...

#

Thx for the report, I will patch this issue as soon as I can

grand geode
#

👍

white scarab
#

Something like that happened to me too once I think

#

I was trying to create a simple mod and Steamodded refused to detect it; then I pretty much pasted the code using the Nothing Mod as a base (with the exact same file and directory contents) and it worked

tacit mountain
#

I wonder if there is a way for me to automaticaly prevent it or patch it

lean dune
#

instead of \n only

grand geode
#

yeah i think just change the regex a bit

tacit mountain
#

But I can thecnicaly enfore it I think

#

Or wait

grand geode
#

or uh yeah just hardcode it lol

tacit mountain
#

I can just hard code it

#

I will add this next time

white scarab
#

Maybe when checking if a mod header is valid it ignores newlines and uses the two dashes as separators

lean dune
#

local headerLine, secondaryLine = fileContent:match("^(.-)\n(.-)\n") or fileContent:match("^(.-)\r\n(.-)\r\n")

lean dune
#

Bal⭐tro

#

five moons don't make a flush, apparently

hushed furnace
#

anyone know where the game handles setting up your initial deck? trying to figure out how checkered deck works

hushed furnace
hushed furnace
#

oh, I totally missed the back file

#

🤦‍♂️

#

thanks

#

no wonder the deck stuff seemed arcane

lean dune
#

also gotta figure out how to not just make all decks 78 cards

#

and haven't gotten it to work on first load yet, it always needs a profile refresh

grand geode
#

@tacit mountain perhaps have sending crash reports be set to off by default while using the mod loader

#

and yyup all works now, thanks!

lean dune
#

should be the case as of 0.5.2

tacit mountain
grand geode
#

oh alr

tacit mountain
#

Actually Locals never complain to me lol, and I was flooding him since the Demo I think

brazen river
#

is there a mod for higher then 4x speed yet

brazen river
#

tyty

lean dune
#

flushin' with them moons

tacit mountain
#

That's purely textures or you are adding new Suits ?

#

Judging by this I assume new ones lol

lean dune
#

this looks goofy

grand geode
#

christ

lean dune
#

dont' mind that ace of spades being listed as stars

past tendon
#

nice

tacit mountain
lean dune
#

I do wanna switch to that obvs

#

but I thought I'd hold off until you implement adding additional sprites

tacit mountain
#

That's "Technically" already implemented, I just don't offer a simple interface to use them like I was doing during the Demo

#

But you can add additional sprites, but I'm not 100% how you can use them right now

lean dune
#

I'll deal with that later, for now I'll just 7-zip them in

tacit mountain
#

Oh, so I assume Stars and Moons are not the same assets file as other cards ?

lean dune
#

they are, I just added them as new rows to the 8bit deck spritesheets

tacit mountain
#

Oh, so the Sprite API would actually work for you lol

lean dune
#

oh well I'll look into that then

tacit mountain
#

Don't worry, it's just so I can figure out what is the best design for this part

#

@white scarab and me were using a different design before

grand geode
#

i assume we can modify stuff individually eventually

tacit mountain
grand geode
#

existing cards

lean dune
#

I'll still need to figure out how to get the new suits in without having to reload into a different save... is there maybe a way to force a save reload once the game has loaded?

tacit mountain
#

But I never touched the additions of suits nor ranks so I don't know how for now

lean dune
#

aight stuff is working fine with the sprite api

hexed surge
#

epic run

supple cypress
kind night
#

You never win

small harbor
#

Where can I see what mods are available for the game?

supple cypress
small harbor
#

ah okay im blind haha thanks

hexed surge
supple cypress
#

How win endless

hexed surge
#

its endless

supple cypress
compact iris
#

Is it possible to restrict mods to a single profile ATM?

white scarab
#

Not with Steamodded atm

supple cypress
#

Mods loaded once per session at the beginning
Profiles can be changed at any time

#

I’m sure dynamically reloading mods is possible

#

Maybe not

white scarab
#

Closest thing we have is a custom profile I made to prevent cheating in speedruns

supple cypress
#

Maybe a subtle restart

white scarab
compact iris
#

Gotcha gotcha

#

Yeah I'd just love to have my 1st profile as a natural progression no mods profile, second profile with mods, and third with no mods but fully unlocked

#

I'm not itching to mod a ton rn but I'd love to be able to do that once I do feel like loading up some mods

proud wadi
#

i've just been messing around with mods on one profile, and not having mods on my main profile

muted wraith
#

Is there anyway to make custom jokers yet?

wild thunder
#

what happens if the ante base is an odd number

#

also what is the base for ante -1

white scarab
#

100

wild thunder
#

thats ante 0

gentle fjord
white scarab
#

Also ante -1

wild thunder
gentle fjord
#

It would probably round it, as it does with decimal mult

wild thunder
#

this is the modding chat we can go see

molten igloo
#

this would go so hard as a voucher

woven sonnet
#

I hope science someday progresses to the point where we see the "Ascention" system (The stake difficulties) replaced with a "choose your challenges" type deal like Inscryption or Wildfrost

#

being able to have a varied mix of challenges to plague your run would be a bit more fun

haughty hinge
#

i need video tutorials so badly

#

this is so cool already

proud wadi
# molten igloo this would go so hard as a voucher

I like the idea of having some weird hidden effects on things, I was thinking this would be cute to have if sixth sense is your sixth joker or something like that, but the medium in the consumable slot was easy to test with

#

I'm not good at math either

#

I have broken out the calculator once or twice though

#

I haven't looked into the scoring bits

haughty hinge
#

what if it was very vague, like "Around 10k"

white scarab
#

You’d probably need to rewrite things a bit but I could see it being doable

#

Maybe but I’m already working on a few different mods so probably not for a bit

haughty hinge
#

What if Seer mod was part of the All Seeing Eye deck

white scarab
#

Oops All 6s but gone wild

haughty hinge
lean dune
#

All cards are drawn face down, expect those that would normally be drawn face down

haughty hinge
#

we need a modding suggestions channel lmao

#

all face cards are drawn face sideways

white scarab
haughty hinge
#

k

lean dune
#

all debuffed cards are drawn face up, other cards are drawn to joker area

#

All cards are drawn face down. Cards played previously this ante are drawn face up

#

[Challenge] Cards discarded previously this run are drawn face down

proud wadi
#

Diceomancer very fun

haughty hinge
#

please someone make a challenge where every gameplay related action is repeated twice

pale pivot
#

Hi, on steam deck running balatro with Proton (I prefer it that way so I can run reshade on my games with a separate, proton-based script). I'm stuggling to use the mod loader from the github link. Dropped the steamodded_injector.exe file into my "/run/media/mmcblk0p1/steamapps/common/Balatro" folder where the Balatro.exe lives. Even made the Mods folder in the "/home/deck/.steam/steam/steamapps/compatdata/2379780/pfx/drive_c/users/steamuser/AppData/Roaming/Balatro" folder. Added the EscapeExitButton.lua to that mods folder as a test, but it doesn't show up in game. Any help appreciated!

white scarab
brave kayak
#

Is there a "seed reader" at this point in time? I think a run was faked for a contest me and my friends are having but I want to give as much benefit of the doubt as possible to my friend.

#

As in, I have the seed and want to see how many shops you would need to see for the joker combination to actually come together

white scarab
#

There is a searcher but not a reader AFAIK

#

Although you can use the searcher as a reader if you write specific filters that just print out a list of all the jokers for a single seed, for instance

river frigate
#

can i somehow change the whole look of the normal cards? and if so how? like for example make the card background black instead of white?

#

oh i did it

ionic garden
#

Man modding the sprites of the game is hard

#

any tips on using the sprite api? What is px and py and can it even resprite the cards?

rigid jewel
#

Steamodded/core/sprite has the info for how to alter specific sprites

ionic garden
#

Thank you so much

#

where do i find that

#

on the github?

rigid jewel
#

1st message is the file directory

ionic garden
#

I found it

#

this got so much easier

#

guessing thnigs was making it easier on me but i didnt find any information on the wiki page

#

I have some stuff now figured out but still not working fool

rigid jewel
#

What textures are you trying to manipulate?

ionic garden
#

The playing cards

#

so Cards1 i think

rigid jewel
#

I made a test deck that altered them lemme fetch it rq

ionic garden
#

Since im trying to make it easier to make a custom card faces for others

#

with no luck

#

But thx

rigid jewel
#

This was the core mod code for my test for altering playing card sprites, just swaps the card sprite with "invert_deck.png"

ionic garden
#

I FIXED IT

#

THANKS

rigid jewel
#

no prob

ionic garden
#

now to find the problem

#

So new("cards_1" cant be anything different

#

i think

rigid jewel
#

YES

#

I DID IT

#

I GOT THE DECK EFFECT TO WORK

#

(granted the implementaion is omega scuffed)

#

Just need to fix the display and we're in business

#

Anyone know how to alter the display for how much poly multiplies?

ionic garden
#

Deck Effect?

rigid jewel
#

"Start with Hone. Card Editions are Enhanced" (foil and holo by 2x, poly by 1.5x)

ionic garden
#

Wow

rigid jewel
#

Probably will tinker with it but the main concept is that

hardy brook
#

My gosh the reshuffled project is going nuts. Surprised people are contributing

rigid jewel
#

I plan on contributing with a reference to another indie game (Astrea: Six-Sided Oracle) but I need to figure out what to replace and reference

#

hm...

lean dune
pastel wolf
#

Woah

#

Neat

hushed furnace
# lean dune

very cool. now I'm thinking about replacing the base suits with magic the gathering colors and adding another...

lean dune
#

lol

hushed furnace
#

i just can't think of any actual reason to do so

#

maybe if you rethemed some jokers

ionic garden
#

Did balatro have an update that bricked the modloader?

#

its not showing the mods tab in the main menu for me anymore

rigid jewel
#

Not to my knowledge

#

Actually wait nvm there was just one

#

like 10 mins ago

#

xdd

ionic garden
#

oh no it did break it

#

all my work for it not to work 10 minutes after being finished

rigid jewel
#

I still have no clue how the UI references the text for effects, nor where to find it.

#

:]

lean dune
#

you need to reinstall it

ionic garden
#

Huh

#

now it works

#

i did reinstall it before askink my question but maybe something else was wrong

#

thx anyway

rigid jewel
#

The injector no longer works for me

#

Spent so long yesterday to fix this specific error and now it's back

tacit mountain
#

Looks like the command line to bundle the injector

rigid jewel
#

I think it is?

#

Steamodded-main/injector/build is the only executable in the files so I assume it's the one I'm supposed to drag the balatro.exe to?

#

I got it working yesterday but I forgot how I circumvented this xdd

white scarab
#

You should be downloading the exe from releases…

rigid jewel
#

I forgor

#

ok problem solved

tacit mountain
rigid jewel
#

I realize that now lmao

tacit mountain
#

Yeah, unless you want to compile it, always use the releases

exotic shadow
#

question for the save editor what would you all want the most next?

rigid jewel
#

But now I'm confused as to how I'm gonna alter it

rigid jewel
#

What does +#1# mean

#

Well actually

#

Only part that matters is #1#

white scarab
#

That’s the numerical argument specified by the game

#

So #1# is 1.5 for Polychrome for example

crystal geode
#

so what #1# actually is
is in game.lua?

tacit mountain
winged sonnet
#

modding goes crazy

white scarab
#

not even naneinf

crystal geode
#

so maybe a smoother rising of target chips can improve gameplay?

rigid jewel
hardy brook
#

Hehehehe

#

Time to concept up 2 more suits for EIGHT SUITS

white scarab
#

Squares and crosses?

hardy brook
#

Maybe

white scarab
#

lmao (v1.0.0k code changes)

rigid jewel
hushed furnace
tacit mountain
#

F I was running NOPE...

rigid jewel
#

OKAY I GOT IT WORKING

#

Sorry just one slight bug

#

For context this is the deck I've been working on since yesterday, all that's left is spicing it up.

#

(foil and holo are by 2x, poly is by 1.5x)

hushed furnace
#

what does that mean exactly

rigid jewel
#

Foil gives +100 chips, holo gives +20 mult, poly gives 2.25X mult

#

Something that needs clarifying in the desc

hushed furnace
#

im working on a deck with all 6s as a deck effect btw

#

since you're a fan lol

orchid bear
#

ah

#

someone else helped

crystal geode
rigid jewel
#

Yea

#

The value for such is usually in G.P_CENTERS

hardy brook
#

Still gotta figure out where to get the extra cards in the six suits mods

deft musk
#

There's a checkbox under the deck selection that enables the 2 extra suits

sand thicket
#

looking at how 6 suits effects probabilities it would ideally have lik e. hand type rebalancing lol

#

i think it has a lotta potential as an optional expansion mod

hardy brook
#

Lemme restart the game

#

Ah there we go

#

oh you love to see it

#

This makes me so happy

#

#1210728178201526373 if you want to check it out. Send the love to the mod maker for adding my sprites in

pastel wolf
#

would love to have the isaac card announcer

hardy brook
#

I have 6 suits... how is the best hand i can make still a 2 pair?

hardy brook
#

That's it 100 suit deck

white scarab
#

procedurally generated suits

hardy brook
#

NGL, you could theoretically do something like that

wanton rapids
#

does this come with a buff to the one that makes spades<>clubs / hearts<>diamonds count as the same

rigid jewel
hushed furnace
#

are the two empty spots in the joker sheet used for anything?

hardy brook
#

How ironic

hardy brook
rigid jewel
#

I should do this when Edition Enhance Deck back is finished

#

And when I give said deck an actual name xdd

hardy brook
#

I know this might not be the intended thing with six-set but...

woven rock
#

what's this for:

if G.playing_cards[iter_57_0].base.id ~= 4 then```
#

could you post that code?

rigid jewel
#

IT WORKS

#

WAHOO

#

Only issue I have right now is that the popups aren't showing what the enhanced values are.

#

I have no idea how I'm supposed to fix that

hushed furnace
#

do the legendary joker labels use a font?

rigid jewel
#

Also this isn't compatible with other deck mods since I also have no clue as to how to add this deck texture separate without overriding the deck texture

white scarab
hushed furnace
white scarab
#

the tarot/planet/spectral lettering is used enough that people have reconstructed a font, but that's a bit different form the legendary font

hushed furnace
#

is it the same font?

white scarab
#

no

hushed furnace
#

ah

#

thank you

orchid bear
hushed furnace
white scarab
#

you can copy the letterings that are there directly from the cards

orchid bear
#

yeah but f isnt on one of the legendary jokers

rigid jewel
#

No, I'm more thinking of it being incompatable with Balatro Reshuffled.

#

I should probably specify that it's not specifically all deck mods, just the ones that also override the main game textures.

orchid bear
hushed furnace
orchid bear
#

are you making a new legendary

hushed furnace
#

yeah

woven rock
#

alright, my current idea is to first change that debug message to sendDebugMessage(G.playing_cards[i].base.suit) to see if all suits are 1 character

#

dunno, i'm kind of debugging in the dark cos i'm not using the modloader yet

#

okay try this

#

change the line that has lua local suit = string.sub(G.playing_cards[i].base.suit, 1, 1) .. "_"
to lua local suit = G.playing_cards[i].base.suit .. "_"
cos i don't get why they're trimming the suit to just one character

hushed furnace
#

yea or nay?

woven rock
#

oh and the i should be whatever that iter variable was

#

i just changed it cos i didn't like that name

#

i'm used to i for for loop variables

hushed furnace
#

f is really tough at this resolution

#

hmmm

orchid bear
#

maybe add a little thing coming off of the top left like on the e

hushed furnace
#

good idea

orchid bear
#

looks worse to me

hushed furnace
#

yeah

#

it's tough lol

orchid bear
#

i think the previous iteration is the best one imo

#

there are some weirdly shaped letters

#

like the A

woven rock
#

alright i'm gonna look at that 6 suit code for a moment

hushed furnace
#

i removed one trailing pixel from the left of the A because i didn't like it lol

woven rock
#

which i should have done from the start

hushed furnace
#

if it were exactly like the other one (on canio) it would look like this

woven rock
#

@proud narwhal okay i found the root issue lua function Card:change_suit(new_suit) local new_code = (new_suit == 'Diamonds' and 'D_') or (new_suit == 'Spades' and 'S_') or (new_suit == 'Clubs' and 'C_') or (new_suit == 'Hearts' and 'H_') or (new_suit == 'Stars' and 'R_') or (new_suit == 'Moons' and 'M_')

#

It's turning Stars in to S_ instead of R_

orchid bear
woven rock
#

and S_ is the one for Spades

orchid bear
#

so it isnt attached to the K

hushed furnace
#

i think i would have to move the whole thing over one pixel then

orchid bear
#

yeah i like the other version

#

without the trailing pixel

woven rock
#

@proud narwhal ```lua
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.polymult4 then
    G.E_MANAGER:add_event(Event({
        func = function()
            for i = #G.playing_cards, 1, -1 do
                sendDebugMessage(G.playing_cards[i].base.suit)
                G.playing_cards[i]:set_ability(G.P_CENTERS.m_mult)
                G.playing_cards[i]:set_edition({
                    polychrome = true
                }, true, true)
                if G.playing_cards[i].base.id ~= 4 then
                    local suit = ""
                    --Stars should become R_ instead of S_
                    if G.playing_cards[i].base.suit == "Stars" then
                        suit = "R_"
                    else
                        suit = string.sub(G.playing_cards[i].base.suit, 1, 1) .. "_"
                    end
                    local rank = "4"
                    G.playing_cards[i]:set_base(G.P_CARDS[suit .. rank])
                end
            end
            return true
        end
    }))
end

end```

orchid bear
#

actually whats the legendary's ability

hushed furnace
#

probably the one without the trailing pixel

woven rock
#

yes

#

uhm

#

yes

hardy brook
#

Ultimate Random Deck + Six-Suit = just more random cards

#

Also you can get them in the standard packs

hushed furnace
#

can they show up in the shop with magic trick?

woven rock
#

this is really not that important but this should work and you only need to change a single value (the local rank = 4): ```lua
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.polymult4 then
    G.E_MANAGER:add_event(Event({
        func = function()
            local rank = 4
            for i = #G.playing_cards, 1, -1 do
                sendDebugMessage(G.playing_cards[i].base.suit)
                G.playing_cards[i]:set_ability(G.P_CENTERS.m_mult)
                G.playing_cards[i]:set_edition({
                    polychrome = true
                }, true, true)
                if G.playing_cards[i].base.id ~= rank then
                    local suit = ""
                    --Stars should become R_ instead of S_
                    if G.playing_cards[i].base.suit == "Stars" then
                        suit = "R_"
                    else
                        suit = string.sub(G.playing_cards[i].base.suit, 1, 1) .. "_"
                    end
                    G.playing_cards[i]:set_base(G.P_CARDS[suit .. rank])
                end
            end
            return true
        end
    }))
end

end```

rigid jewel
#

Just did a test run on the custom deck, surprised that I didn't even win with an edition on a joker

rose field
#

I am working on a Chinese localization mod. Can someone tell me specifically which English texts have been changed in the new version?

rigid jewel
#

Baron, Shoot The Moon, and DNA moment

rose field
#

Thx!

hardy brook
#

Is there a tutorial on making a joker? (I need to copy some)

rigid jewel
#

No

#

I don't think there are any mods that have custom jokers either

hushed furnace
#

i'm working on a custom joker but i'm flying blind

#

hopefully the art will be the hardest part lol

orchid bear
hushed furnace
#

but since stuff like madness and ceremonial dagger have to do with destroying cards it makes sense i think

bronze fern
#

Anyone discussed making a multiplayer Balatro table?

hushed furnace
#

I did briefly think about Texas hold em balatro style during the demo

#

but logistics seemed too messy

bronze fern
#

Idea: Each player starts the run normally with the same decks and seed. They meet up at the boss blind and shuffle each player's deck together. Each player has 2 discards within 3 hands (can be edited with jokers or vouchers). First to 2 wins takes the boss blind.

barren ermine
#

Hi I'm bad at this and a dozen people have probably asked this in the past but

#

how exactly do you put custom art in the exe

#

I know you open it like a zip, extract the thing, edit it etc but like

#

when I try to paste it it just says the file's damaged

#

a

#

darn...........................

hushed furnace
barren ermine
#

winrar

#

oh or later

#

i thought i needed to use an older version

#

does it disable chievos

#

important

proud wadi
#

yeah, it does now

barren ermine
#

oh it disables them

#

yeah nvm then

proud wadi
#

noted in whatever the release before 0.6.0 was

barren ermine
#

so if i get that mod i'm fine to progress just fine with my save?

proud wadi
#

there's technically nothing stopping you from grabbing 7zip instead of winrar and trying to replace the textures in place without the modloader, but yeah. I think it only disables STEAM achievements, not unlocks or anything like that

barren ermine
#

ty <3

spiral dune
#

After spending a bunch of time on UI, the calculator I'm working on finally can actually do some calculating.

fickle yew
#

okok so im just tryna make a simple sprite mod, took the negate mod as a base, replaced negate with my name and uhhhh

grand geode
# fickle yew

Your MOD_ID is different from the one used in SMODS.findModByID()

fickle yew
#

ah gotcha

#

tyty

hushed furnace
#

anyone know if the two empty spaces in the joker sheet are used for anything?

#

exactly enough room for one more legendary joker without adding new rows🔥

hollow tide
lean dune
hushed furnace
#

working on kefka sprite. i need to figure out what to do with his hair/head ornament thing

#

i'm not very good at this 🥹

#

i think ill come back to it tomorrow

haughty hinge
#

imagine a joker that changes the texture of your cards lol

prime aspen
#

Does something like a 'reset button' mod exist?

echo meteor
prime aspen
#

Actually I proably should've specified what exactly I meant, I meant a button to reset a run, like holding R in The Binding of Isaac, is that what you thought I meant?

#

Sure, just wanted to reduce the amount of clicks, it stacks up if you're chain resetting.

bright rune
prime aspen
#

Oh, neat.

serene sandal
#

Is there a tutorial video for adding mods ?

river frigate
grand geode
#

what does "debugging the source code" mean btw

#

the pins?

lean dune
#

even if that was a valid reason previously, that no longer makes sense. The game is no longer distributed compiled or obfuscated like it used to

grand geode
#

ah old thing

hollow tide
river frigate
#

how are the card effects made like polychrome holo etc? are these just textures somewhere in the files?

river frigate
#

oh

#

okay thanks

river frigate
#

no these are textures i think

jade heath
#

mult card are enhancements, polychrome and holo are editions

#

you can have 1 of each of those, as well as 1 type of seal

#

we each called it something different lol

#

look at enhancements in your collection

wild thunder
#

And why are you discussing that in the modding chat?

hardy brook
#

We adding rows now in the jokers for the Reshuffled project

hardy brook
#

btw, is this right?

hardy brook
#

Trying to figure out how to get this working

#

that's both the name of the lua and the folder

#

MurphObvBanana

#

I'll figure it out

prime aspen
#

Is there a mod that gives you the score for the hand have chosen before you play it?

hardy brook
#

ayyyyy

tacit mountain
hardy brook
#

Thanks tho

#

Now to make one for Balatro Reshuffled

lean dune
#

i do wanna see texture packs being compatible with each other

lean dune
remote zephyr
# prime aspen Is there a mod that gives you the score for the hand have chosen before you play...

I don't believe it exists yet, but it's a popular idea so I imagine there will be some flavors of it developed soon. Definitely the sort of thing that could be the difference between me playing some of this game and a huge amount of it, because playing at a high level is incredibly tedious without an easy in-game preview.

Totalling what your current hand would give (and what that would make your score total in the current round) fully automatically (no needed hover/extra input) is what I'd personally like to see implementation-wise. Random effects (e.g. Bloodstone) would probably simply not be included (with some simple "+" or such to indicate the total may be higher), tho if one got really fancy there could be +/- 2 standard deviations shown or something.

tacit mountain
grand geode
#

trying to make my own joker lol

#

i could just expand the current spritesheet.... but i'd love to know how the atlas thing used in FiveOfAFlush works

tacit mountain
white scarab
#

It uses the old sprite library, when the mod was for the 0.9.0 demo

#

So not added yet

tacit mountain
#

I'm a little overload lol

grand geode
#

spritesheet editing it is

hardy brook
#

I'll need to make duplicate jokers for Balatro ReShuffled down the line

grand geode
#

far too much comparing to 5oaF

hardy brook
#

i mean in general how to do it

#

nothing specific. I need to remake things later

kind night
#

who was the owner of the steammodded repo?

grand geode
grand geode
#

probably

hardy brook
#

I'll have to figure that out

grand geode
#

took me at least three hours of fiddling to add that without any abilities

hardy brook
#

I see

rigid jewel
#

When I was tinkering with making a deck I got a good understanding of how jokers work.

#

To be more specific file wise:

#

en-us localization file needs updated so the game knows what to display when joker is selected

#

Can’t remember the exact function but there’s a massive one in card that handles card scoring

#

Game:init_item_prototypes() will need to also be updated with your joker info

lean dune
rigid jewel
#

I didn't look into localization that much

lean dune
#

I just assign to the field in G.localization (gets init form the loc file) that I need

rigid jewel
#

Didn't know G.localization was called at all

#

I think I saw it once but could figure out where it was set up

river frigate
#

how do I create a Deck that uses steamodded im farely new to programming lua scripts

proud wadi
proud wadi
river frigate
orchid bear
#

wiki?

river frigate
#

yes the one on the github page

#

cant seem to get my deck to show in the mods list

lean dune
#

else the loader will ignore your mod

river frigate
#

got it to work

near sandal
#

I'm getting rare cards way more often than the common joker lol

lean dune
near sandal
#

wrong bubble my b

lean dune
#

nws

hardy brook
#

Can't seem to get vouchers, tarots, and enhancer textures working

hardy brook
#

Seems like challenges aren't too hard to look into making custom.

lean dune
ionic garden
#

Question could i use github to upload my balatro texture packs and that?

lean dune
orchid bear
#

ungodly amalgamation of all the decks

ionic garden
#

idk i just made my github account

hardy brook
#

I mean someone did

lean dune
#

It only just occurred to me that I'm gonna have to set the deck type to plasma deck since that relies on deck name and I need the exact effect

#

the card manip of erratic and checkered isn't exact to what I need, so I needed to implement those myself anyways

hardy brook
#

Can't figure out how to get Card backs, seals, and such working

lean dune
#

haven't messed with seals yet unfortunately

hardy brook
#

I'm not modding the seals themselves, trying to get the texture working

ionic garden
#

(what is a github license?)

lean dune
lean dune
hardy brook
#

Thank you. I just couldn't figure out what that one was

#

Is there a list for everything?

tacit mountain
hardy brook
#

oh perfect

hardy brook
#

I've legit been guessing for all the others lol

tacit mountain
#

Look at the code

hardy brook
#

I only see Jokers, Boosters, and Blind_Chips in that one

tacit mountain
#

Wait no mb

hardy brook
#

Am i missing something there?

tacit mountain
rigid jewel
#

Steamodded/core/sprite clarifies what all the textures are supposed to be

tacit mountain
#

I display the base references

hardy brook
#

thank you thank you

lean dune
tacit mountain
#

Updated

lean dune
#

ty

compact ivy
#

Someone could make a sort of multiplayer mod? Not like real pvp or something like that shi* but a highscore chase.

compact ivy
#

tänk yu

round ore
ionic garden
#

im trying to load in both normal and high contrast decks but get this error any ideas?

#

this is my code

sand thicket
#

are they new, or replacing the existing ones? bc the existing ones use a different name

ionic garden
#

They are new

sand thicket
#

ah

ionic garden
#

im using the spriteAPI

#

and if i just try to load one as in remove the other line of coed

#

it works

#

so im not sure why it isnt working with both of them

rigid jewel
#

Do
sprite_card_1:register()
sprite_card_2:register()

ionic garden
#

ooooh

#

Thanks

#

so thats what that thing is for

#

it WORKS

#

thanks very muchy

round ore
#

people already modding this game? it just came out T_T

hardy brook
round ore
#

T_T

hushed furnace
#

yeah people were modding the demo lol

tacit mountain
magic sandal
#

Even 0.9.0 was modded

tacit mountain
#

It was not really matching demos vibe

magic sandal
#

And even 0.8.8

#

And iirc there was even a way to get older versions than 8.8 but idek how

hardy brook
#

Today, i modded balatro V0.1

#

(Not real)

rotund galleon
round ore
#

sorry that's kinda sad tbh

#

but enjoy it if you do ^^

rotund galleon
#

lmfao

magic sandal
#

Why would that be sad, there's no reason to say modding a game as something you enjoy and can possibly learn from sad

#

You saying that just makes you sound stupid

pastel wolf
#

I'm learning to mod it because since the first demo i've been making card art and i want to add it in, because its an awesome game and seeing my content in there would be cool as heck

livid cliff
#

someone should make a joker that adds a X3.14 if your hand contains a 3, an ace or a 4

#

and its just a picture of a slice of pie

livid cliff
#

ace my bad

#

😭 dunno why i called it that

#

i also had no idea until recently that you can make a straight with an ace > 2 > 3 > 4 > 5

#

makes sense, but i never considered it

hardy brook
#

fair

tacit mountain
#

I'm working on expending options and features for the "Mods" menu. First addition is a new button appearing when you don't have any Mod loaded, clicking on it create and open the "Mods" directory for you (like @white scarab suggested): https://i.imgur.com/BXldMTz.png

#

Next stop is mod enabling / disabling

lean dune
kind night
#

something is up with the mod headers being parsed

#

cloned the repo and built it, injected, created the mods directory, dropped all the example mods in, and none of them load in since its header is malformed or its not a lua file

#
λ nc -v -l -p 12345 -s localhost
listening on [127.0.0.1] 12345 ...
connect to [127.0.0.1] from DESKTOP-7HFB8KB [127.0.0.1] 36058
Steamodded Debug Socket started !
All the sprites have been loaded!
Skipping non-Lua file or invalid header: AbsoluteDeck.lua
Skipping non-Lua file or invalid header: AchievementsEnabler.lua
Skipping non-Lua file or invalid header: DeckOf4s.lua
Skipping non-Lua file or invalid header: EscapeExitButton.lua
Skipping non-Lua file or invalid header: FOAF_ops.lua
Skipping non-Lua file or invalid header: FiveOfAFlush.lua
Skipping non-Lua file or invalid header: FiveOfAFlush.lua
Skipping non-Lua file or invalid header: LabyrinthDeck.lua
Skipping non-Lua file or invalid header: MoreSpeeds.lua
Skipping non-Lua file or invalid header: NegateTexturePack.lua
Skipping non-Lua file or invalid header: NothingMod.lua
Skipping non-Lua file or invalid header: UltimateRandom.lua

All the sprites have been loaded!
tacit mountain
#

Need to be LF for now

kind night
#

🤔

#

alright will check it out

tacit mountain
#

I'm planning to fix it next patch, it happen to a lot of us

kind night
#

yeah youre right its CRLF

#

though the match pattern is a bit weird too; ^(.-)\n(.-)\n is a regex match pattern right? took it to a regex builder and it seemed like it didnt match as intended

#

or does lua have its own meme regex match language?

strong swift
#

still getting this app can't run on your pc

tacit mountain
#

LUA Regex works different that classic ones

#

It have been a nightmare trust me lol

kind night
#

of course it does... ok

#

damn you windows

#

the balatros devs clearly have some passion for graphical programming; the whole game is written in this jank lua setup, then the shaders used are extremely sophisticated and pretty neat

pastel wolf
#

dev*

#

this shit is hard

pastel wolf
#

I think i'll have to wait til someone learns how to add jokers

#

cuz i do not have the knowledge

crystal geode
#

need a language mod

#

which can add a new language to the game without changing original version

plush matrix
#

I've been considering writing a mod loader that makes it possible to apply arbitrary changes to the code (by mods), which is practically necessary for any sufficiently flexible modding

#

like a lot of the implementation for jokers is scattered around the code so it would be impossible to make an API that allows for absolutely everything a modder might want

kind night
#

basically the whole game is modifiable from the global scope + the game object

#

just a pain navigating which parts to change, and sometimes it requires redefining a function to add some logic plus call the original function

#

Steamo has basically just made some utility functions to help with sprite and card creation, but it was perfectly possible even without his tooling; the big thing is that he has the injector to start looking for and loading mod files; idk if it acts as a priority list

frosty swift
#

What langue is used for modding?

kind night
#

Whole game is written in lua, underlying engine is love2d

#

So the modding is just injecting lua scripts into the game logic and global tables

#

Honestly it'd probably be smart to just hook all of the functions on the game object to have a debug print of the arguements plus maybe some important game state info before and after the function call

#

Since from what I can tell the injector adds a tcp socket to dump logs to, but its not really used for much yet

fair bane
#

hello!

#

very excited about the game being made in love2d

tacit mountain
kind night
#

yeah Im not really sure what kind of tactic should be taken if a bunch of mods decide to hook some function and change the state before or after the original logic

#

if like 3,4,5 mods all want to mess with the game state or step something forward idk how to deal with many hooks being ordered correctly, probably just up to the mod loader loading each mod in the right order, so the hooks are layered correctly

white scarab
#

Maybe a mod could list dependencies if it requires those?

#

Or write in a way that overrides as little as possible

tacit mountain
#

Mod enabling / disabling, dependencies and load order will be a thing

#

I'm working on this part at this very moment

kind night
#

theres something kind of like that with the secondary mod flag, but I dont think theres a formal mod dependency tree yet

tacit mountain
#
  • Mod ig config
white scarab
#

After that I think patching the ACE exploit is also pretty important

#

For my speedrun timer/competition mod it’s an important check to make cheating with it harder

tacit mountain
#

Because that's a lot to do on my side and my work is asking me a lot lately

kind night
#

whats the ace exploit?

#

quick search returns nothing

white scarab
#

I’m not talking about how to do it here

#

Because it’s VERY DANGEROUS

#

But it exists, and there was a thread where others figured it out, so I could see it being used to cheat or do WAY WORSE

crude knot
#

ace is horrifying, I assume local is already aware?

white scarab
#

I DM’d him a few weeks before the game released when I found it during the demo

#

Hopefully he plans on officially patching it in the near future

kind night
#

probably better to do a formal patch from the dev then, since making a mod patch simply instructs people how to do it

white scarab
#

If it’s part of the modloader then that at least makes it harder

#

You have to share files in order to fall for the bug so I don’t see it happening very often

#

But do be wary of savefiles and other .jkr files you see because those may have malicious payloads

kind night
#

noted

hardy brook
#

Alright... So Re;Shuffled is getting blursed

#

Just to show a few previews from submissions

#

I learned a few things:

People like Persona, Dragon Ball, Yugioh, and horror

alpine pier
#

New here, is the idea to have logic for each of these? or is this just a texture replacement?

hardy brook
#

the ones i just posted?

#

They're texture changes

alpine pier
alpine pier
white scarab
#

Editing the game source is ACE for any game lmao

#

Discussion of source editing was for patching it

alpine pier
#

Ah gotcha; it is a single player game tho

#

Running random mods are way more risky

white scarab
#

Yeah, you would need to transfer save or other profile files to see the vulnerability

alpine pier
#

Makes sense

#

Modding via sharing a save game would be interesting lol

white scarab
#

Imagine a save that gives you a rickroll when opened

rigid jewel
#

lmao

hardy brook
#

Pickle Yorick

#

Out of Context Re;Shuffled

grand geode
#

oh i don't enjoy being jumpscared

hardy brook
#

Pickle Yorick

kind night
#

been thinking alot about whether you can just bind a shader to a card, since if you can, you can inject '3d' stuff into the game

#

but otherwise, Id like set themes over mechanical themes

hardy brook
#

Is it time for Super Mario 64 Mario in Balatro?

kind night
#

oh its time

#

I have a rotating dice shader Id like to try

hardy brook
#

You control mario to pick your cards

kind night
#

but uhhhhh, idk, spending time not doing that since its in glsl and I dont really understand the fs lang

#

been thinking about a whole pepe joker set since people have a massive collection of exotic 'rare' pepes that could realistically be converted into cards

#

its stupid but... idc

hardy brook
#

I mean I started the Balatro Re;Shuffled thing because of the stupidity we all can make

#

and then I get mostly cool stuff

hardy brook
kind night
#

Id be interested in contributing to a 2nd edition set mod; something more in the original style of balatro to build off of, since le random jokers arnt as interesting to me as themed sets with minor mini sets, like the suit or hand joker rotations

hardy brook
#

oh and there was a jojo voucher

kind night
#

definitely something to think about

hardy brook
#

Whatever makes ya happy I say

#

Someone made a six-suit option off my sprites

kind night
#

sounds neat

#

Ive been thinking about flower cards too for some reason

kind night
#

idk if vintage shogundo playing card mechanics could be mixed into the game organically

#

oh yeah this is really cool

kind night
hardy brook
#

I want to add Dungeon and Degenerate Gamblers cards in

kind night
#

Im not familiar

hardy brook
#

It's a rogue-like Blackjack game

kind night
#

sounds like a easy 1:1 implementation then 😄

hardy brook
#

Yes and no

#

Because it's Blackjack not poker

#

And it itself has some weird cards that are VERY blackjack and RPG related

#

Some cards I know I can do like the half a suit, the 1 of suit, Maybe even Pi of suit

#

11 of diamonds

#

Negative cards will have to be reworked a little

#

and it has its own set of tarots

#

Here I'll dm it to you

kind night
#

so many silly ideas to try....

hardy brook
#

At the very least I've been making a texture pack

kind night
#

really Im most hungry for:
distinctions from first edition to themed or nth edition jokers with new mechanics
distinctions on booster pack editions, expansion on booster pack variety
high card enchantment / augmentation variety and opportunity

#

Ive been kind of kicking around the idea of some themed blinds as the ante gets higher too, that affect the store and the possible boss thing... maybe make the game look different according to the theme...

#

just small things to expand the game

modern zodiac
hardy brook
#

oh my gosh, that's how I should make Negative cards from DNDG work in balatro

#

+X Chips, but +1 Hand Size while in hand

#

It makes too much sense

kind night
#

honestly thats already a huge enchantment, +chips would have to be some pitty amount like 10 or something

kind night
# modern zodiac

are you sure the handsize thing is working correctly here? seems like it was 8/8 cards at the end, but then you drew 2 more normal cards expanding it to 10/10

modern zodiac
#

I'm sure it's not working, but in that video it's fine. It drew another negative card, which gave it the space to draw the 9 of clubs.

hardy brook
#

8 + 4 = 12 (Gained 4 Negatives)
12 - 3 = 9 (lost 3 negatives, so far so good)
9 + 1 = 10 (Gained 1 negative)
10 - 1 + 1 = 10 (Played 1 and gained 1)

#

Nope, it's working fine

kind night
#

oh youre right you did draw a negative card, nvm

hardy brook
#

I’ll have to figure out how to do that but not with negative edition

#

Ooh i got a cool idea for negative cards in DNDG

#

What if the steel/gold/etc was under the card somehow

#

Like on the pips

grand geode
#

does the Steamodded code run before or after the main function is run?

#

because Card.ability should not be nil but it is

#

for reference

empty brook
#

i have no idea what's going on right now. i'm trying to do as the thing says here ((i'm pretty sure this is asking me to remove an extra end, right? since it wants the End of File instead?))

right now here's it with this extra end (at least assuming that's what it is)

but then when i remove that last end, it crashes. like, without any log or anything? the game just instantly closes itself

grand geode
#

remove an extra end, the game crashes because of a different issue

rigid jewel
#

Looks like a missing end

#

Right here

grand geode
#

no there's an extra end

#

indentation is fucked

rigid jewel
#

That other one too

empty brook
#

originally this was a mod where i was replacing the Painted Deck (mostly to see like, if i COULD understand what's going on here, since it's been a while since i last used this coding language) and that involved actually messing with the files themselves
so i think some of the parts of code are messed up because it's like, trying to call back things from the Actual Engine Of The Game™️ rather than only strictly what is necessary for the mod

at least that's my theory anyways. it's also possible i'm wrong lol, this is my first time doing a deck mod

grand geode
#

isn't there a function to add a new deck entirely?

empty brook
#

yeah--that's what i'm trying to do here now

grand geode
#

ah ic

empty brook
#

essentially: the first version of this mod was me doing some more direct edits to code from Anaglyph and Painted Deck, to make a very hacky "Can i even mod this game or am I too out of my depth here" type mod

#

now this is me doing the second version, trying to Actually Do The Proper Way Of Doing Things-style stuff

#

i was able to get everything working perfectly 100% with what i had previously--but again, that was actually replacing stuff, so naturally i don't want to do that anymore lol

tacit mountain
#

Or maybe even earlier

grand geode
#

so in theory my code should work...?

#

but it errors on the Card.ability.loyalty_remaining line

tacit mountain
#

Hmmm

#

You are not calling it correctly

grand geode
#

que?

tacit mountain
#

Use :

#

If you don't I'm pretty sure everything in Card will be empty

#

If not Card himself

#

Was I correct ?

grand geode
#

i haven't checked because i'm in a middle of a run

empty brook
#

the true balatro modder grindset: taking a break from modding the game by playing it....

i'm the same way lol, i'm getting close to stopping for the night to grind out some stakes

#

this did also make me realize: i'm not sure if any modders here would be willing to do this, but it would probably be really helpful if as example mods the base game's decks were made into like, mod form?

in my case, for instance, since the effect i'm going for is based on Anaglyph's mechanic of getting a tag after defeating a Boss Blind (Double Tag for the base game, but for this mod it's the Negative Tag), i'm not sure which parts of that code i should copy (because it does the mechanic i want) and which i shouldn't (because that's more base game engine stuff and thus referencing it again causes problems)

#

the current examples we have are nice but they're either changing the cards in the deck or are much more specific, which kinda makes it harder to know what translates and what doesn't