#⚙・modding-general

1 messages · Page 1465 of 1

latent crescent
#

I see

#

impressive, I guess

keen knoll
#

you cant

#

it was discontinued and the creator delisted everything

hard coral
#

why cant i?

exotic tree
#

I decided to go that route just because it'd be a lot more complicated and prone to breaking if I tried to do it with a shader, since you can typically use only one shader per card due to Love2D limitations and I didn't want to replace any vanilla shader effects

hard coral
#

is it not on github anymore

latent crescent
#

it never was in github in a first place

keen knoll
#

well it was never on github

#

yea

hard coral
#

i saw some dude do it on the jens almanac discord but i cant find the link

latent crescent
#

its removed

woven crag
#

yeah the download isnt in the discord anymor

#

and that was the only place where you can download it

#

not like it would work anyway unless you downgrade all the other mods you have to really old versions

dusty token
#

where do people keep discovering abt jens

neon urchin
#

if you havent done this b4 u never lived

unkempt current
#

I had a screenshot of the announcement but I lost it

hard coral
#

dang

woven crag
#

if i had to guess

lavish pike
hard coral
#

oh shucks

lavish pike
#

even if you found someone

#

you shouldnt

woven crag
#

okay i think we got the point across

lavish pike
#

my bad

unkempt current
#

Okay woop

#

Anyways

#

Uhh

unkempt current
#

I should start working on a mod

dusty token
#

balatro

unkempt current
woven crag
#

because of a lot of controversy

buoyant kestrel
#

(thumbnail)

frozen parrot
#

if anything, this guy made like three downloads wherein he fixed major bugs in almanac

balmy lily
#

i am not planning to dig up almanac's grave just for mod c ontent

lavish pike
#

I dont think you should anyway 😭

wicked jasper
#

also thinking of making the shop do smtn like niko's dealmaker present from stocking stuffer

silk sphinx
#

Wardrobe
Sell this Joker to change your deck to another random deck.

clear barn
#

ok guys I need help

#

I am trying to move the version.dll file of Lovely to the balatro folder

#

But it tells me I need permission from administrator

#

And idk how to do that

#

Cause like, am I not the administrator

rustic helm
#

shh, hes sleeping

woven crag
#

do you not have admin on your own pc

clear barn
woven crag
#

can you do other admin things

#

like running programs as administrator

west pecan
#

Sorry my bad

rustic helm
woven crag
#

WAKE UP

rustic helm
solemn mason
clear barn
woven crag
#

that is

unreal stag
#

hey guys how do i add bignum to lua love2d?

woven crag
#

quite strange

clear barn
#

it is indeed

woven crag
#

like talisman exists for balatro

#

but if you want to do it for something seperate then the balatro modding chat is probably isnt a great place to start

buoyant kestrel
#

theres so many bignum-like lua libraries

woven crag
#

since youll mostly be porting the existing bignum from js to lua

#

or just referencing talisman i guess

#

also true yeah

buoyant kestrel
#

i'd say it isn't a good idea to yoink talisman due to licensing

unreal stag
buoyant kestrel
#

unless you are okay with the license it is under

woven crag
#

not

#

copy pasting

unreal stag
#

ill need to find a server i can discuss this in

buoyant kestrel
#

oh i wasn't thinking about what you said

#

unrelated

latent crescent
#

ha, jonh balala

unreal stag
#

because its not really balatro related
im just trying to add bignum to my lua love2d project

buoyant kestrel
#

i know theres a bunch

#

though check the licenses

unreal stag
solemn mason
#

Are cat ears a Nitro thing?

latent crescent
#

not really

unreal stag
latent crescent
#

Cost few bucks

#

or this

#

talisman has own bignum implementation in own file which in theory you can use

unreal stag
#

just make sure to not install spyware on your pc even though its sponsored by discord themselves

buoyant kestrel
#

so you must be okay with the terms to use it

dusty token
#

you can use it
but if you (re)distribute it you must license it under gpl3 and share the source code and credit talisman

buoyant kestrel
#

this is an actual game so it is a little more important

unreal stag
dusty token
exotic tree
#

.....huh

buoyant kestrel
#

chilling with a nice MIT

exotic tree
#

My game is now crashing on launch inconsistently

#

I think I'm genuinely running up to a memory issue here

#

And it's just automatically stopping

latent crescent
#

there's no shot

#

how this can be possible

exotic tree
#

I can't find a consistent repro for it. I guess I could try to restart my computer

#

Sometimes I pass it, sometimes it just closes without a log

unreal stag
buoyant kestrel
#

just look at it

dusty token
#

yeah

#

its the one talisman once used

#

its safe

#

no io/os operations

unreal stag
#

but well im gonna trust crust

buoyant kestrel
#

i just skimmed that shit

#

its fine

latent crescent
#

what kind of projet you making which needs such big numbers from the start

unreal stag
#

even though the noise is a nefarious character i think he's telling the truth

unreal stag
latent crescent
#

Makes sense

buoyant kestrel
latent crescent
#

Good luck then

dusty token
latent crescent
#

Share your progress

#

And one day someone will implement this in balatro because why not

unreal stag
#

went in here cuz balatro uses love2d and the numbersloppy balatro mods also use bignum

exotic tree
#

Okay computer restarted....... and still nothing

buoyant kestrel
#

genuine question

latent crescent
#

incremental game inspired by cryptid, that's crazy

unreal stag
buoyant kestrel
#

other than the goofy love2d forums

exotic tree
#

Hmmm okay yeah

unreal stag
latent crescent
#

but this one will ehehe

exotic tree
#

I stashed my changes, and now it's fine. The main change that I made here is that I split up the atlas for suits into four separate atlases

unreal stag
#

i love numberslop and all of the omeganum-breaking mods that make numbers go shaboing

exotic tree
#

So the only thing I can really point to is that it now it's using more memory on load

solemn mason
#

I decided not to; I look fabulous already.

wicked jasper
exotic tree
#

These are some really big tables it's pre-caching I suppose

dusty token
#

all atlases are loaded on startup

exotic tree
#

Completely unrelated to what I'm doing

latent crescent
#

When I see some sort of numberslop mods or games like Revolution Idle I'm curious how such insane amount of calculation even handled, not even including updating and rendering UI for all this infinitely changing numbers

#

I'm looking on it from web perspective where updating values in DOM kinda expensive

exotic tree
#

Okay this is insane I think I've genuinely hit some kind of resource ceiling already 😭

buoyant kestrel
#

i need to actually implement that factory game where you are helping launder and embezzle money

latent crescent
#

Game have limit of 2 gigs of ram available

#

More than that insta crash

exotic tree
#

It is entirely possible I'm hitting that

latent crescent
#

Replace this one in your debugplus:
DebugPlus/lovely/debug-enhancements.toml:133

[[patches]]
[patches.pattern]
target = "game.lua"
match_indent = true
pattern = 'love.graphics.print("Current FPS: "..fps, 10, 10)'
position = "at"
payload = '''
do
    local otherSize = 0
    for k,v in pairs(G.E_MANAGER.queues or {}) do 
        if k ~= 'base' then 
            otherSize = otherSize + #v
        end
    end
    if otherSize ~= 0 then
        love.graphics.print(string.format("Current FPS: %d\nBase event queue: %d\nOther event queues: %d\nMoveables: %d\nGarbage collector: %s", fps, #(G.E_MANAGER.queues and G.E_MANAGER.queues.base or {}), otherSize, #G.MOVEABLES, math.floor(collectgarbage("count"))), 10, 10)
    else
        love.graphics.print(string.format("Current FPS: %d\nBase event queue: %d\nMoveables: %d\nGarbage collector: %s", fps, #(G.E_MANAGER.queues and G.E_MANAGER.queues.base or {}), #G.MOVEABLES, math.floor(collectgarbage("count"))), 10, 10)
    end
end
'''
unreal stag
solemn mason
#

Well that's odd.

latent crescent
#

Its a "patch"

solemn mason
#

UnStable started acting unstable.

flat crow
#

|| a ||

latent crescent
#

We're selecting part of code from vanilla, and adjusting it depends on our needs

solemn mason
latent crescent
#

In this case - instead of just displaying FPS we added more debug info such as UI elements count, event queue size, and memory usage

exotic tree
#

I'm not even getting to the point of displaying this

latent crescent
#

your game cant even load?

exotic tree
#

Nope

latent crescent
#

I think it's a rare case where you're cooked

buoyant kestrel
#

clearly the solution is to garbage collect like a maniac

exotic tree
buoyant kestrel
#

surely that ram isn't being used

exotic tree
#

The third one fails inexplicably

latent crescent
buoyant kestrel
#

that is so weird wtf

#

is this even resource limit related

latent crescent
#

70k memory in main menu is wild

buoyant kestrel
#

what

exotic tree
#

Chances are, that's the pre-cached palette tables

#

I'm gonna revert some changes I made previously and do more math later when palettes are applied

#

That said, this has pretty bad implications for doing this at any reasonable scale with more mods

latent crescent
#

also consider using shared sprites if possible

#

to reduce memory usage

exotic tree
#

I am. All my atlases are combined

latent crescent
#

If possible of course

exotic tree
#

The only reason I had to split them up this time was for the way palette sets work

latent crescent
#

Not this one, I mean did you seen how stickers implemented?

exotic tree
#

The thing is, this sytem has nothing to do with actual rendering or drawing sprites

latent crescent
#

You have 1 sprite object stored in memory and in every draw call it sets draw_major and draws sticker, and goes to next

exotic tree
#

I don't think this is crashing when even a single draw call has occurred

latent crescent
#

I have 0 clue what spells a casted in them, but they works somehow

#

Like wtf is even this

buoyant kestrel
#

c of course

exotic tree
#

Let me just get rid of the gradient calculation entirely and

#

Uh oh

#

75000 -> 15000

buoyant kestrel
#

well

#

problem solved 👍

latent crescent
versed bison
#

*the evil john balatro plus appears

dusty token
latent crescent
#

damn

#

magic sucks

#

Because I cant understand it

exotic tree
#

Hmm no it's still crashing sometimes despite that

#

Oughhhhhhh

#

This is hilarious but also saddening

unreal stag
latent crescent
#

not really

exotic tree
#

If I can get it to load I'm curious if part of the issue is double sprite scaling

#

Since it's not currently doing any specific thing to account for it, it's just outright doubling the sprites

flat crow
gloomy mural
#

random idea that i will not edit because i will be at school soon

exotic tree
#

Nope pixel art smoothing is OFF

#

that's terrifying

main path
latent crescent
#

this price is so ass

main path
#

hmmm

unreal stag
latent crescent
#

What is this info button tho

latent crescent
#

There's jonh balatro as a jonkler somewhere

#

in cryptoposting maybe?

flat crow
#

😐

rustic helm
main path
# latent crescent What is this info button tho

its kinda weird
Originally, i had the ui for the enchantment infotips appear when hovering over the deck
But no matter where I put the UI, it would overlap with something in an ugly manner
Because hovering over the deck also shows a summary of the remaining cards in deck in the middle of the screen
So i decided to make it so that when hovering over the info button (which is not in a place such that hovering over the button counts as hovering over deck), the deck enchantment infotips show up

balmy lily
#

devourer of croutons tomorrow

flat crow
versed bison
#

oh god not the pacer test

latent crescent
main path
latent crescent
#

no comments

#

time to code new interactive blinds I guess

exotic tree
#

So yeah before adding these additional atlases, I seem to be able to get a consistent load

#

However, this is still resources in use

solemn mason
#

Good night.

balmy lily
#

joker which permanently deletes another from the save file until you reset it

latent crescent
#

from hotpot

#

idk how its called, it's like a plant in a box

buoyant kestrel
#

and maybe registry if love2d can touch that

#

which i am unsure of

exotic tree
#

Basically I now just have to decide what I can most effectively offload to palette calculation on the CPU, since pre-caching a lot of this information is now unfeasible

#

But it's also possible it's not just correctly freeing some of the resources used to calculate the gradients at runtime since it doesn't need to keep those

#

I don't think is manual GC call for my ffi pointers is working as intended

dusty token
#

how do you create the v

#

love.data.newByteData?

exotic tree
#

That's the imagedata stored in SMODS.Atlas

#

Or, rather, a copy of it

dusty token
#

don't ffi.gc it, it gcs itself when no longer used

exotic tree
#

Mmm, okay

round ore
#

Is it normal to crash while playing cryptid mod?

dusty token
#

and make sure to keep the reference to the bytedata

exotic tree
#

Why specifically? I thought it had to be set to nil to be garbage collected?

round ore
exotic tree
#

Regardless, I'm not seeing any meaningful change in the readout of the garbage collector

woven crag
dusty token
plush hound
dusty token
#

you could try running balatro from cmd, and when it crashed try echo %errorlevel%

exotic tree
#

Originally I was storing the index, and then the calculated x and y coordinates for each pixel

#

Cutting it back down to the single pixel index as I had originally does cut down the GC by about 5x

ionic crystal
#

hi chat

ionic crystal
exotic tree
#

Which I'm fairly certain just means an incorrect command

dusty token
#

yeah

plush hound
umbral pilot
#

looks great

dusty token
#

eatlooks gr

limber oak
#

sunhere comes the

exotic tree
dusty token
#

maybe try Balatro.exe

exotic tree
#

No I mean I did that

#

I ran it from cmd, but the echo command seemingly isn't giving me a meaningful error code

ionic crystal
exotic tree
#

Even after the crash

dusty token
#

hmm weird

pastel surge
#

well
i need legendary jokers

#

who wants to be in my mod

exotic tree
#

I wonder if using an FFI cast to a c structure would actually help maintain the memory. Because I assume (though I don't know for sure) that Lua tables are inherently gonna be less efficient due to the abstraction

rich badge
#

someun help this is happening for like all my mods, its saying they all call table values related to boosters I think? Im very new to modding also sorry if this is wrong place to post crashes

pastel surge
#

remove mods until it fixes

#

once you find the problem mod, update it if possible

rich badge
#

I tried that but these are all the msot recent versions, but I can keep removing

#

thx

silk sphinx
pastel surge
#

no prob

pastel surge
silk sphinx
#

uhh

#

let me find them

#

this

#

this

#

this

#

this

#

this

#

thats all of them

bronze crown
#

what is the most needed mod to add to balatro, I got clowned in the multiplayer chat for talking about the mod manager

bronze crown
#

QoL for now. Im not too experienced I beat a few decks but no where ready for pvp

buoyant kestrel
bronze crown
#

lol I got into the game cuz of bean I didnt know much better

#

blame it on my ignorance

pastel surge
bronze crown
#

im gonna stay away from everything banned in mp bc I may delve into it one day once I know what im doing

clear barn
#

I just loaded Cryptid, and apparently I have nothing unlocked. Is that normal or did I lose all my progress in Vanilla Balatro 💀

rustic helm
clear barn
pastel surge
buoyant kestrel
# rustic helm why

talisman completely changes how numbers are stored and as such i imagine stupid bugs from attempting to transfer score over will ensue

#

(since it is under a completely different format)

bronze crown
#

what does jokerdisplay do?

buoyant kestrel
#

and the person on the other side may not have it, causing giant fuck off bug

silk sphinx
#

@pastel surge how do you like those

pastel surge
rustic helm
pastel surge
pastel surge
bronze crown
#

where is the safest place to find these mods and how does one add them to balatro

#

is there a video I can go off of

pastel surge
#

the offical githubs for the mod and go to steammodded for a installation tutorial

#

for a video format

#

Get everything you need to know about installing Balatro mods in today's guide. Installing Balatro mods should only take a few minutes & the first thing you will need to do is download and install lovely Injector and then steammodded as shown in the video.

Path for mod directory: %AppData%/Balatro/

Lovely Discussion: https://discord.com/chann...

▶ Play video

In this video I am going to cover how to Download pretty much any Balatro mod including how to setup cryptid as it has recently gotten much easier.

THE MULTIPLAYER MOD HAS BEEN REMOVED FROM THE MOD MANAGER AND NOW USES ITS OWN LAUNCHER

Mod Manager - https://balatro-mod-manager.dasguney.com/

Multiplayer Launcher (if you want to play multiplay...

▶ Play video
bronze crown
#

is the mod manager that bad?

buoyant kestrel
dusty token
#

idk if the issue has been resolved yet

limber oak
pastel surge
#

im just a chill guy

stark saddle
#

i should not be allowed to mod textures

pastel surge
#

what the peak

stark saddle
#

they truly are stone cards

exotic tree
#

Hmm, even cutting down the pre-cached information is resulting in still crashing on load

exotic tree
dusty token
#

oh yeah thats the error code

#

so use after free happened somewhere

exotic tree
#

Use after free?

ornate bone
exotic tree
#

I removed all my own manual GC calls

#

I realize I'm probably asking a lot, but would you be willing to look through this to help me diagnose the issue?

dusty token
#

sure

dusty token
#

though mostly i hunt bugs with trying to replicate

dusty token
exotic tree
#

This is the specific commit that's causing this crash. The primary change was splitting this atlas into four separate ones, and otherwise there's not a lot in this commit that actually changes the logic of how this system works

#

And I've narrowed it down to the setup_palettes() function at least

#

if I remove the one call to it on the splash screen, it passes without any issues

unreal stag
dusty token
#

copy the file and require it

#

like if you put it in bignum.lua then use it with local Big = require("bignum")

unreal stag
#

im new to this bro please help me

dusty token
#

the init.lua file works

#

or you can copy the whole folder if you want to

unreal stag
#

in my game's files?

dusty token
#

yeah

exotic tree
#

Wait a minute...

#

Based on the error code suggesting crashes due to system permissions, it is basically just suggesting it doesn't have read/write permissions for the working directory??

unreal stag
dusty token
#

name the folder bignum and write require("bignum")

unreal stag
#

well so it works

#

and the rest ill do myself

dusty token
#

ill keep going from here

exotic tree
#

Oh! Yeah, I could never get a trace at all

dim silo
#

thoughts on these 10 joker ideas? trying for a vanilla feel

latent crescent
#

depends on what you didi but so far looks like its wrong place

little snow
#

alright. thanks

exotic tree
#

I originally had a manual call to stop automatic garbage collection during this collect_image_data function, since you suggested it's trying to access deallocated memory?

#

But readding those doesn't solve it

dusty token
#

ok so it wasnt that, but rather the index tries to access beyond whats allocated

exotic tree
#

beyond what's allocated?

dusty token
#

you can try adding this here

if true_idx + 3 > image_data:getSize() then error(string.format("bad access index %d on max %d", true_idx+3, image_data:getSize())) end
exotic tree
#

So the FFI pointer is incorrectly allocating for the image data maybe?

bronze crown
#

i got the lovely injector set up and smods set up and confirmed they work. What are some QOL mods I can install that wont get me in trouble with multiplayer

latent crescent
#

Go to MP server and you'll find document with all allowed mods

dusty token
#

sorry if it got too technical 😅

exotic tree
#

No I do get the specifics even if I'm not used to low level programming

#

But also.... that allocation is for 6175 pixels at most (or somewhere close to that, because I'm sure it also stores some format data)

#

A single one of these atlases is about 107k pixels

#

It's just outright not allocating anywhere close for some reason....?

#

And it's never failed on any of my other atlases or the original combined one even if it's notably larger

#

Is there some weird FFI thing for files that have a lot of transparency...?

latent crescent
#

oh my god bruh

exotic tree
#

What about the chosen triangle

latent crescent
#

I want use it in other place

#

I thought it was UI element

exotic tree
#

Nope

latent crescent
#

Not manually rendered thing

exotic tree
#

It's drawn directly

#

I've actually done a bunch of similar things to this

#

If you need a reference

latent crescent
#

this sucks

#

I'll hold this arrow then, its not that important anyway

neon urchin
latent crescent
#

I'll just make a sprite for triangle and use it

#

Much easier for me

exotic tree
#

Wait.... it's crashing on a completely unrelated atlas?

unreal stag
exotic tree
#

And yeah that's the exact image size of the pointer

#

Huh????

#

Okay well thank you very much Crust you've helped me immensely already

dusty token
#

👍 im still trying to figure out

#

yw

exotic tree
#

wait'

#

hold on

latent crescent
unreal stag
exotic tree
#

So something about this index calculation here is ending up circumstantially wrong

dusty token
#

yeah

exotic tree
#

I did recently add those multipliers for texture size based on the texture scaling setting, but removing those doesn't change it seemingly

dusty token
#

here's my trace. the object dump is in there too if you want to look around

exotic tree
#

Okay huh yeah the index is way too big

#

I guess the simplest solution is maybe the px and py for the image atlas are wrong?

ember flicker
#

how does SMODS.DeckSkin work? does it override the default deck skin or does it add itself the skin/FoJ list?
because it seems like it has overwritten every skin with the default ones

exotic tree
#

But that doesn't explain why sometimes it would work and other times not

unreal stag
dusty token
#

the values was
atlas.py 95
G.SETTINGS.GRAPHICS.texture_scaling 2
pos.y 3
color_width 9088
multiply those all and the index is out of bound

#

this is from (atlas.py * G.SETTINGS.GRAPHICS.texture_scaling * pos.y) * color_width + ...

flat crow
#

||egg ||

leaden vector
#

Egg

unreal stag
#

i just dont have any idea why it wont just print out

buoyant kestrel
exotic tree
#

Says the pos is correct, the atlas is correct....

#

The main thing I can point out is that I think this is the first atlas it's trying to load that is only a single sprite per atlas

latent crescent
latent crescent
#

Specifically it crashes on multiplication

unreal stag
#

oup

#

yup

latent crescent
#

Show what exactly youre doing

ember flicker
unreal stag
#

multiplication

ember flicker
#

lovely is saying its skipping it

latent crescent
#

if you're doing smth like number * 3 then it should be fine

ember flicker
#

idk how it can simultaneously not load the file and overwrite all friends of jimbo skins

keen knoll
#

oh youre also supposed to call atlas directly

exotic tree
#

WAIT

latent crescent
#

If number.mul(3) then it's wrong, you need to do number:mul(3) instead

keen knoll
#

and not assign it to a var

exotic tree
#

is this really just an issue with this not being correctly scaled to 2x...?

ember flicker
unreal stag
#

i know this is rookie code i began coding like 9 days ago

keen knoll
ember flicker
#

ok so what about the atlas = in the palettes

latent crescent
unreal stag
#

wait lmao

#

i was rewriting my code to make it more readable lol

#

yeah okay fixed that

keen knoll
unreal stag
#

but i know this cant be the main issue

keen knoll
#

and LBPLC

ember flicker
#

thank u

keen knoll
#

yea

dusty token
# unreal stag

try doing it verbosely, the bignum library doesnt support automatic number to bignum conversion for math operations

keen knoll
#

uhh also how is your deck layed out

#

atlad

#

atlas

ember flicker
#

i'll just post it here

ember flicker
latent crescent
#

Is this like feature exclusive to talisman some sort?

exotic tree
#

WAIT

#

I FIGURED IT OUT

keen knoll
dusty token
#

talisman has some modifications

dusty token
keen knoll
ember flicker
#

as in this?

keen knoll
#

yea

keen knoll
dusty token
#

scrap:mul(Big:new(3))

exotic tree
#

Okay @dusty token I figured it out

latent crescent
#

then why it works for power tho

dusty token
#

nice

ember flicker
#

should i put the path to assets/2x/??

dusty token
#

pow accepts number ---@param pow number

latent crescent
#

what a library omg

dusty token
#

😭

exotic tree
#

Basically, because the single atlases now only have effective y sprite positions of 0, all of the playing cards like the 6 of Spades here that it crashes on are trying to access pixels way out of bounds

#

I'll need to add some proper error checking for it

#

However, trying to adjust these is annoying

keen knoll
dusty token
exotic tree
#

I mean it makes sense now that I've seen it esp since I'm working with low level data, I'm just kinda surprised ive never run into this before?

ember flicker
#

i put a legacy header and this printed out

dusty token
#

update your smods

latent crescent
#

it's like ancient or smth

ember flicker
#

fuck i think i'll just stop using r2modman all together

dusty token
#

smods is so ancient on there

buoyant kestrel
#

the balatro world website is giving freedom motif

unreal stag
buoyant kestrel
#

you have to bignum everything

#

you can't :pow normal numbers like that

unreal stag
latent crescent
#

you probably need to make it like ```lua
scrap = scrap:add(Big:new(3 ^ (space[i].tier - 1) * 3))

buoyant kestrel
#

or that yeah

#

:pow isn't a function on normal numbers

latent crescent
#

That's assuming space[i].tier is not bignum

unreal stag
#

its not a bignum

latent crescent
#

You need convert to bignumb parts which actually interact with bignums

ember flicker
#

ok now the mod loads, but it crashed when i tried selecting the skin

latent crescent
#

Outside of that you can use old math

ember flicker
exotic tree
#

colors_per_unit = math.min(image_data:getSize(), width_per_unit * atlas.py) for now I'll just cap the colors at the image's size otherwise if I happen to do this kind of thing again so I can at least see that it's doing weird things to the atlas

ember flicker
exotic tree
#

rather than crashing

unreal stag
latent crescent
#

depends is it a bignum

unreal stag
#

well it is a bignum

#

so what do i do

latent crescent
#
scrap = scrap:add(Big:new(3 ^ (space[i].tier - 1)):mul(scrapboost))
unreal stag
#

oki i fixed it

latent crescent
#

Or, if simplify

local factor = 3 ^ (space[i].tier - 1)
scrap = scrap:add(Big:new(factor):mul(scrapboost))
unreal stag
latent crescent
#

Indeed

unreal stag
#

okay now i know so much more

#

thanks dude

dusty token
latent crescent
#

In Balatro tho this barries is mostly removed so you can do math operations with bignum and numbers

#

With one exception with causes a ton of problems

unreal stag
dim silo
#

what's an acceptable ammount of jokers for a mod?

latent crescent
#

it's default lua number double floating point

buoyant kestrel
dusty token
#

1e308 limit

latent crescent
#

score capped in e308

dusty token
#

you might be thinking of bit integers

unreal stag
latent crescent
#

no

unreal stag
#

in terms of e308

#

not the bignum ee308

latent crescent
#

it's double floating point

dusty token
#

thats how every double precision works, it limits at e308

wanton rapids
#

you wouldn't be able to have 0.5 Mult if it was an integer anyways

latent crescent
#

In JS Number.MAX_VALUE have same value of e308

#

It's decent number but for incremental numberslop is definitely not enough

#

And depends on your ambitions bignum may be not enough too

storm forum
daring sluice
dusty token
#

i saw your talisman pr

daring sluice
#

i wanted you to take a look at it

#

i never asked for some reason

#

but do you have thoughts

dusty token
#

who?

daring sluice
#

you

limber oak
#

you can still score like 1.6e308 and not get naneinf

latent crescent
#

1.78

dusty token
#

i have no thoughts

limber oak
#

round up to 1.8

daring sluice
latent crescent
dusty token
#

yeah

daring sluice
#

is there any way you can see this being like a bad thing or having bugs or regressions or things

dusty token
#

maybe other than "but why though"

limber oak
daring sluice
#

being able to treat numbers as bignumbers can be handy

buoyant kestrel
limber oak
#

1.79 rounds up to 1.8

buoyant kestrel
#

its really funny that you can do that actually

dusty token
#

hmm

daring sluice
#

it's nice to be able to call like, variable:pow(10) even if you're not sure whether variable is a big

plush hound
#

alot of math nerds in here

latent crescent
#

indeed

daring sluice
#

also stuff like variable:max(other)

latent crescent
#

remember, math is fun

daring sluice
#

also, it could potentially enable faster math because you wouldn't always need to return a big from functions on Big

#

since numbers can be treated as bigs in every way

#

but i didn't implement that

azure dagger
#

"Unexpected error: attempt to compare number with table"

🔁 translating 🔁

"Talisman can't to the thing it's designed to do"

buoyant kestrel
#

it ain't actually

#

it just makes a bigger number

#

it just would be convenient if the bigger number was interoperable with the smaller one

daring sluice
#

a problem that has already been solved

flat crow
#

can i eat one of your guys table i ran out

buoyant kestrel
#

amulet

dusty token
#

idk, head is still empty 😭

daring sluice
#

now that i think about it that could make a couple things incorrect

dusty token
#

only the mul method works though

#

(with amulet, idk with talisman)

daring sluice
#

huh

#

all worked fine for me

#

it would need to run the __index on the number when doing .array

#

idk if amulet does weird stuff

buoyant kestrel
dusty token
#

oh right

#

it needs another property asize

rain orbit
#

Is it just me or does buskin look like sock is giving him some straight teeth

light flame
#

im a complete noob at this but id figure id come here

#

Im trying to add a custom joker through the source code that basically acts as a opposite to oops all sixes, so that it halves all probabilities.

#

do I have to manually go through every listed probability and edit them or am I being stupid

ivory sinew
#

Nah, check Entropy's code @light flame (entropy on modded balatro wiki)

#

SMODS has a context for probabilities where you can double the denominator, thus halving all probabilities. it's easy as hell

exotic belfry
#

I think it’s a bit different in this case since they’re adding thru source code interestingly

light flame
#

Yes like I said complete noob

dusty token
#

theres G.GAME.probabilities.normal

#

multiply it by 2 to double probs, or 0.5 to halven

ivory sinew
#

Can't you just use lua files with SMOD?

light flame
#

im not well-versed with lua and am just learned about SMOD as you tell me about it

#

ohhh steamodded

ivory sinew
#

Check the structure of the files, how they add the Jokers in.

hard plank
exotic belfry
#

What is this fork?

dusty token
ionic crystal
#

god why are making seal localizations so damn CONFUSING

light flame
#

thanks for the help guys

#

ill try and overclock my pea brain into understanding

exotic belfry
hard plank
keen knoll
keen knoll
#

wait i thought that said oops

ivory sinew
keen knoll
#

lua is an ez language

ivory sinew
#

It just takes a few weeks/months to get the hang of it. I started off knowing nothing and struggling to make a single Joker, now I'm making some of the weirdest Jokers ever

daring sluice
dusty token
#

i think it'll be a easy fix

#

make asize return 1

balmy lily
#

evil spotify or kung fu man

plush hound
#

SMODS.pseudorandom_probability or good career

hard plank
#

at this point I'm gonna stop learning how to code and practice black magic

balmy lily
#

oh shoot

#

i didnt know KFM hit modding chat shelves already

dusty token
#

i guess ill j add self = Big.ensureBig(self)

#

but later

light flame
ivory sinew
ionic crystal
#

chat should i highlight smth else in this

light flame
violet venture
#

Knight noises

light flame
ionic crystal
ionic crystal
violet venture
ionic crystal
#

-# is the boss blind just the fish or smth 💀

violet venture
ionic crystal
#

from what i can see it's the fish or smth

#

oh

#

the eye 😭

#

my opp

#

wonder what the plant is reskinned into

light flame
#

the encounter of doom and despair

violet venture
#

And its' own cards

#

With reskins on jokers

ionic crystal
light flame
#

oh I thought those were actual custom jokers

#

reskins are cool

ionic crystal
#

-# if it's xmult why is it NOT at the end 😭

#

-# unless everything ELSE is xmult

light flame
#

yea that is a bit weird

violet venture
light flame
#

whats with the mc stuff:?

#

ah

light flame
#

this reminds me of that one anime girl everyone was going crazy about

#

started with a T

#

TETO

violet venture
#

fuck you

keen knoll
#

oh so its beta arm

violet venture
#

Lobotomy Corporation Mod (a seperate mod)

ionic crystal
scarlet swan
keen knoll
#

mitosis is scary

plush hound
#

alright time to work on this

haughty gyro
hard plank
#

not really

haughty gyro
#

how did they achieve this

#

wait

ionic crystal
#

really proud of this effect

haughty gyro
keen knoll
#

its worded awkwardly

plush hound
#

😭

haughty gyro
#

my b

plush hound
haughty gyro
#

I'm tired

plush hound
#

it is that way

ionic crystal
keen knoll
scarlet swan
#

oh boy when my update comes out im gonna make compat for this gimmick LOL

haughty gyro
#

it took me a second to realize that those sprites were intentionally edited to look like that

ionic crystal
#

5 = +11 mult
4 = +22 mult
and so on...

keen knoll
#

oh wait PLAYED hand

ionic crystal
#

ye

scarlet swan
ionic crystal
#

it's fixed so it does not scale

keen knoll
ionic crystal
#

best you can do with it is high card with +55 mult

haughty gyro
#

I think gives would be correct

keen knoll
#

ok hang on

#

gives +11 mult for each card in played hand below or above 6

haughty gyro
#

or above 😳

#

those are some big hands

keen knoll
#

unlimited deck

haughty gyro
#

shoutout to 11 * abs(6-x)

keen knoll
#

gives +11 mult for each card below or above a 6 card hand

haughty gyro
#

also is this played hand size or scored hand size

keen knoll
#

i assume played

haughty gyro
#

oh yeah it does say played

ionic crystal
#

ah yes balancing

haughty gyro
#

interesting effect

ionic crystal
#

-# yes it is at X0.5 :walcomebuck:

keen knoll
#

hm

haughty gyro
ionic crystal
#

any suggestions to the localization

ionic crystal
#

-# it starts at X0.5

keen knoll
haughty gyro
keen knoll
#

how does stone card word it actually

ionic crystal
keen knoll
ionic crystal
haughty gyro
#

ah

ionic crystal
digital notch
keen knoll
ionic crystal
#

cant wait to showcase my personal favorite (the water)

keen knoll
#

"seal nullifies rank and suit"
"always scores"

haughty gyro
#

imagine a card that has an effect whether you play it, hold it in your hand, or even haven't drawn it yet

#

that would be silly

digital notch
#

I think its been done before

keen knoll
violet venture
#

CASH MONE

ionic crystal
digital notch
#

I dont remember the mod name but theres one thats basically a juiced up steel card that always activates no matter where it is

keen knoll
ionic crystal
#

so you gain it after all cards are scored

ionic crystal
keen knoll
#

im totally gonna death/cryptid this AFTER its scaled lol

ionic crystal
#

lmaoer

rain orbit
#

Woke joker
X1.5 mult for each unique suit scored, flushes can't be played because that's racist

keen knoll
#

woker

buoyant kestrel
#

woker

rain orbit
#

🔥

#

Anti-monoethnic woker

buoyant kestrel
rain orbit
#

They HATE blackboard

buoyant kestrel
#

why so queerious

rain orbit
#

Wait no

haughty gyro
#

see if I made a woker I'd say you can't play straights

keen knoll
rain orbit
#

They love blackboard

#

But hate every whiteboard

rain orbit
exotic tree
#

#HighContrastBlackboard

ionic crystal
#

ah yes space joker seal

haughty gyro
#

yeah where is blackboard for red suits

buoyant kestrel
rain orbit
#

My joker academia
Can't play straights, no positive effect

#

If you play a straight you lose the run

ionic crystal
buoyant kestrel
ionic crystal
#

-# nvm it's worse

haughty gyro
#

I'm sorry I refuse to watch mha

buoyant kestrel
#

for a version you could want ever

ionic crystal
rain orbit
buoyant kestrel
exotic tree
#

Mmm I'm definitely having trouble with the palette for gluttonous joker I think

rain orbit
#

Kinda weird that people just mutually agree that the flush is the most homosexual poker hand ever

buoyant kestrel
rain orbit
#

No it ain't

haughty gyro
keen knoll
exotic tree
buoyant kestrel
#

straight: five ordered (and different) ranks
flush: five of the same suit

keen knoll
buoyant kestrel
rain orbit
#

The opposite of a straight would be like, random ranks with no correlation

buoyant kestrel
#

obviously

rain orbit
haughty gyro
granite forum
#

rin penrose

haughty gyro
#

John VTuber

rain orbit
#

Jack looks like a fall guys guy

ionic crystal
#

my personal favorite

haughty gyro
keen knoll
rain orbit
#

The crinkly??!?!?!!?

ionic crystal
granite forum
exotic tree
#

But now I've completely recreated the High Contrast Palettes, and now it's time for, uhh, all the rest of it

kind tangle
ionic crystal
#

it's not burglar

#

you only lose 1 discard

haughty gyro
rain orbit
exotic tree
#

Perhaps deciding to make Flower Pot use the Diamond palette was an odd choice

#

However!

rain orbit
#

Bizarro flower pot

haughty gyro
#

blue diamonds is disorienting

buoyant kestrel
#

burglar but its just the needle

exotic tree
#

Cardsauce has blue diamonds, I don't make the rules

rain orbit
keen knoll
keen knoll
rain orbit
#

Diamonds are clear

haughty gyro
#

I'm just used to red/yellow diamond high contrast

keen knoll
haughty gyro
#

minerals be mineraling

keen knoll
#

mine rail

ionic crystal
#

oh hey pocket snek

haughty gyro
haughty gyro
#

was just about to suggest that lol

rain orbit
#

If you put the serpent's icon in the greek alphabet I wouldn't question it being there

haughty gyro
#

I feel like I've seen a green clubs mod before somewhere too

keen knoll
haughty gyro
#

might have been a vocaloid deck reskin

ionic crystal
lilac brook
#

what is this

exotic tree
#

Gang your suggestions are irrelevant here, Cardsauce already has Green clubs

rain orbit
exotic tree
#

I was showing you the default high contrast vanilla palette for the Clubs and then the cardsauce palette for the diamonds

lilac brook
rain orbit
#

Delete system 32

haughty gyro
#

replace the bad lovely patch with a good one

lilac brook
#

how do i update my lovely????????

lilac brook
rain orbit
lilac brook
#

please 😭

exotic tree
#

That said I do have to actively finish the procedural implementation of the Cardsauce Clubs and Spades

ionic crystal
#

chat i need help coming up for a localization for this effect
play this card this ante, then the next time it scores this ante, X5 mult, resets after activation/ante up

haughty gyro
exotic tree
haughty gyro
haughty gyro
#

because they are all different colors

haughty gyro
lilac brook
haughty gyro
#

lovely patches search to match a pattern in the original game files, and then either replace the line with custom code, or insert something before or after it

#

the error log tells you which file the syntax error is in, so you could look at the lovely file in the mod to see which patch targets that file

plush hound
#

also hello sky

haughty gyro
#

it may also just be an error in the mod, or colliding with a different mod you have installed

haughty gyro
lilac brook
#

thats it

#

man i play mods not make them

haughty gyro
#

-# I make mods not play them (and I hardly do that anymore)

#

yeah so some patch broke a function

lilac brook
#

so what do i do

#

install another lovely???

haughty gyro
#

so the route I was going would require fixing the patch yourself in the .toml

#

that's kind of the only way to fix the crash aside from uninstalling the mod

#

unless someone else knows a better way

haughty gyro
#

so when you set up mods for balatro, you had to install both smods and lovely, correct?

rain orbit
#

Delete lovely, download balatro mod manager, then download lovely from there

#

It's the most straightforward way I can think of

haughty gyro
#

it appears I am behind the times, I do not use the mod manager lol

#

well, I uploaded my mod to it but I don't use it to download mods

rain orbit
#

All this jargon about injectors or whatnot people don't understand, all they know is that they need it to play a lot of mods

haughty gyro
#

fair

rain orbit
#

Outside of that they couldn't care less about it, so downloading and updating it at the click of a button is the best way to go about it

haughty gyro
#

my coding brain trying to figure out how to fix the code rather than just fresh install 💀 I may be cooked

rain orbit
#

It's only worth it when there's considerable enough progress to lose

#

In lovely's case there's nothing to consider worth not losing

haughty gyro
#

fair

neon urchin
#

uuuueeehahhhhhh

#

im so bored

#

and low energy

rain orbit
#

Go talk to d

neon urchin
#

and

rain orbit
#

Or f

neon urchin
#

i.. hate d!!!

#

d and f ganged up to bully me

haughty gyro
neon urchin
#

their on my kill list

rain orbit
neon urchin
#

f is fine but im too shy to talk to them, theyre beyond my league

#

but d and f, their heads are on the chopping block

rain orbit
haughty gyro
#

are there actually other people here with single letter usernames or is this a bit

neon urchin
#

this is real

haughty gyro
#

I see I see

neon urchin
#

no, I c

#

youre no c

#

i c....

haughty gyro
#

good point

#

you are c

neon urchin
#

at least you see

rain orbit
#

🐎

neon urchin
#

not again....

haughty gyro
#

steel ball run

#

uma musume

rain orbit
#

🌯

haughty gyro
#

there was a bit like a year ago when someone would react to every message with a horse emoji

#

idk if it's resurfaced or not

rain orbit
#

🧬

haughty gyro
#

shoutout deoxyribonucleic acid

azure dagger
haughty gyro
#

blue prince...

rain orbit
#

🎎

haughty gyro
#

they can't keep getting away with this

#

speaking the language of the gods [emoji]

rain orbit
#

🪺

haughty gyro
#

🐦

dapper helm
#

🥹

haughty gyro
#

🥀

dapper helm
#

😔

haughty gyro
#

👉 👈

hard plank
#

please

haughty gyro
#

please what

toxic cloud
#

tempting

#

why not blueprint 😭

buoyant kestrel
toxic cloud
#

I'm ditching Comb Jellyfish anyway

#

but it's Brainstorm, not Blueprint

buoyant kestrel
#

it copies leftmost, so you can make the buckle leftmost

#

lmao

toxic cloud
#

Ig

#

sounds about right

buoyant kestrel
#

surely

toxic cloud
#

I have absolutely no poker hand levels

#

because that would be detrimental to the current challenge

stuck mica
#

what does this error mean and how can i fix it

toxic cloud
ionic crystal
toxic cloud
#

Blueprint saves the da- wait, that's not Blueprint

#

yea, emult is cracked when you stack enough of it

#

cool SUAS-like glitch with inversion

#

play all cards before running out of hands and shoot my Egg to the moon

keen knoll
#

hey guys enhancement idea

#
holepunch card (enhancement)
no rank or suit
always scores
X0 mult
X0 chips
+1 hand
all other played cards are returned to hand```
keen knoll
#

ok but look at the upsides

buoyant kestrel
#

punch card gaming (i played 5)

#

(all five are returned to hand)

keen knoll
#

no none of them would

ember flicker
#

time waster

buoyant kestrel
#

all other cards are returned

keen knoll
#

also what is the point

buoyant kestrel
#

nothing says it can't return itself (the enhancement)

buoyant kestrel
#

s

ember flicker
keen knoll
keen knoll
#

or chance joker

buoyant kestrel
#

also due to how it works

#

the hand would still score

#

if you had a +chips and a +mult

#

you score

keen knoll
#

ok hang on

buoyant kestrel
#

(X0 Chips & Mult is NOT the same thing as hand doesn't provide score)

ornate bone
#

If the role I'm supposed to be playing in the fight with the Roaring Knight is "The Victim" then I'm playing it well.

toxic cloud
#

alr, I gotta say Dinah is a bit too strong, especially with proper support
might have to nerf it to 0.05 or 0.02 instead of 0.1

#

😭

#

there goes balancing again

keen knoll
ember flicker
#

you know what would be less struggle