Page 3 of 3

Re: [REQUEST] Balatro

Posted: Tue Mar 26, 2024 8:28 am
by Lilleman
@Sensei7 It's still working with the latest version (1.0.0n-full). Maybe you left an extra space or messed with the indentation of the file. You just need to remove the "not" in line 806 and one space next to it.

Re: [REQUEST] Balatro

Posted: Tue Mar 26, 2024 7:04 pm
by Sensei7
Lilleman wrote:
Tue Mar 26, 2024 8:28 am
@Sensei7 It's still working with the latest version (1.0.0n-full). Maybe you left an extra space or messed with the indentation of the file. You just need to remove the "not" in line 806 and one space next to it.
Yes Working , I lost the space :D

Re: [REQUEST] Balatro

Posted: Thu Mar 28, 2024 8:06 pm
by houselannister
royr719 wrote:
Sun Mar 17, 2024 1:29 pm
Is there a way to increase the changes to get an edition joker (foil, holo, negative, etc) by modifying the game.lua file?
Sure.
  • config = {vouchers = {'v_hone', 'v_glow_up'}}
Or go completely nuts like I did:
  • config = {discards = 10, hands = 10, dollars = 999999, extra_hand_bonus = 10000, extra_discard_bonus = 10000, hand_size = 50, joker_slot = 10000, spectral_rate = 4, vouchers = {'v_overstock_norm', 'v_overstock_plus', 'v_hone', 'v_glow_up', 'v_telescope', 'v_observatory', 'v_crystal_ball', 'v_omen_globe'}, consumable_slot = 1000, consumables = {'c_soul', 'c_soul', 'c_soul', 'c_soul', 'c_soul', 'c_soul', 'c_soul', 'c_soul', 'c_soul', 'c_soul', 'c_wheel_of_fortune', 'c_wheel_of_fortune', 'c_wheel_of_fortune', 'c_wheel_of_fortune', 'c_wheel_of_fortune', 'c_wheel_of_fortune', 'c_wheel_of_fortune', 'c_wheel_of_fortune', 'c_wheel_of_fortune', 'c_wheel_of_fortune'}}
Use Souls until you get Perkeo and reroll a lot until you get Showman and lots of Brainstorm/Blueprint. Now you have endless Wheel of Fortune tarot card and you can make every joker a special edition quickly.

Now I am on the hunt to see if there is a way to just give yourself certain jokers at game start.

Re: [REQUEST] Balatro

Posted: Sun Apr 21, 2024 4:37 am
by matholomew
houselannister wrote:
Thu Mar 28, 2024 8:06 pm
Now I am on the hunt to see if there is a way to just give yourself certain jokers at game start.
Figured this out. Have to make a change to the Deck so that it reads a config that includes jokers. Deck changes are made in back.lua

In back.lua somewhere in the function Back:apply_to_run (I put it on line 232 at the end of the 'config' reading)


if self.effect.config.jokers then for k, v in ipairs(self.effect.config.jokers) do G.E_MANAGER:add_event(Event({ func = function() local _joker = add_joker(v.id, v.edition, k ~= 1) if v.eternal then _joker:set_eternal(true) end if v.pinned then _joker.pinned = true end return true end })) endend


and then you can change the config for game.lua to send a list of jokers like this:

b_checkered= {name = "Checkered Deck", stake = 1, unlocked = false,order = 10,pos = {x=1,y=3}, set = "Back", config = {dollars = 100, joker_slot = 10, jokers = {{id = 'j_wrathful_joker', edition = 'negative', eternal = true}, {id = 'j_lusty_joker', edition = 'polychrome', eternal = true}, {id = 'j_greedy_joker', edition = 'holo', eternal = true}, {id = 'j_gluttenous_joker', edition = 'foil', eternal = true}, {id = 'j_tribe', edition = 'negative', eternal = true}, {id = 'j_tribe', edition = 'negative', eternal = true}, {id = 'j_stencil', edition = 'negative', eternal = true}}}, unlock_condition = {type = 'win_deck', deck = 'b_black'}},


This was using the checkered deck as an example.

Jokers are listed from line 366 - 525 in game.lua. the ids all start with "j_" and are what you use to pass these jokers

Heads up, also, for holographic, you have to pass 'holo' instead of holographic spelled out. Every other 'edition' works as expected.

Hope this helps everyone else too.

Re: [REQUEST] Balatro

Posted: Sun Apr 28, 2024 2:59 pm
by Kendingro
Hello!

I got Balatro yesterday and I'm sorta addicted to this game. Audiovisual crack-cocaine.

I've never made a cheat table before, so this will be my first time actually compiling one and uploading it. I've compiled a stupidly simple cheat table with 3 values, their addresses are listed as well:

Cash (1CD1652F818)
Hands (1CD1DA49450)
Discards (1CD1DA49468)

As far as I know, it works. All three of those addresses were found via double value searches.

I have no idea how to go about finding anything else, so I hope this helps someone! If you have anything else to shove into the table, just download it, shove it in there, and re-up it (but please reply to my post so I can also use it :D )

EDIT (pulled table):
Actually it doesn't work, the values ?? out after a few minutes. Do these addresses change?

Re: [REQUEST] Balatro

Posted: Mon May 27, 2024 12:10 pm
by royr719
Snoop wrote:
Fri Mar 15, 2024 9:20 pm
Kerus wrote:
Thu Feb 22, 2024 5:36 pm
ORIGINAL LINES:

--Backs

b_red= {name = "Red Deck", stake = 1, unlocked = true,order = 1, pos = {x=0,y=0}, set = "Back", config = {discards = 1}, discovered = true},


MODIFIED LINES:

b_red= {name = "Red Deck", stake = 1, unlocked = true,order = 1, pos = {x=0,y=0}, set = "Back", config = {discards = 1, dollars = 99999, joker_slot = 5}, discovered = true},

You can see I added ', dollars = 99999, joker_slot = 5' behind the 'discards = 1', that means I edited the RED deck's info. I edited starting gold as 99999 and starting joker slots as +5. So you can edit other decks like this.
There's a way to edit all other decks (green, yellow, blue) in Balatro to get the 99999 dollars :?:
Yes, I found it. Modify the functions/misc_functions.lua file and look for get_starting_params function. Modify the dollars value to whatever you want.