[REQUEST] Balatro
Re: [REQUEST] Balatro
@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.
-
- What is cheating?
- Posts: 4
- Joined: Sat Mar 16, 2024 7:59 am
- Reputation: 1
Re: [REQUEST] Balatro
Sure.
- config = {vouchers = {'v_hone', 'v_glow_up'}}
- 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'}}
Now I am on the hunt to see if there is a way to just give yourself certain jokers at game start.
-
- What is cheating?
- Posts: 3
- Joined: Mon Aug 21, 2023 5:07 pm
- Reputation: 1
Re: [REQUEST] Balatro
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.luahouselannister wrote: ↑Thu Mar 28, 2024 8:06 pmNow I am on the hunt to see if there is a way to just give yourself certain jokers at game start.
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
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 )
EDIT (pulled table):
Actually it doesn't work, the values ?? out after a few minutes. Do these addresses change?
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 )
EDIT (pulled table):
Actually it doesn't work, the values ?? out after a few minutes. Do these addresses change?
Re: [REQUEST] Balatro
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.Snoop wrote: ↑Fri Mar 15, 2024 9:20 pmThere's a way to edit all other decks (green, yellow, blue) in Balatro to get the 99999 dollarsKerus wrote: ↑Thu Feb 22, 2024 5:36 pmORIGINAL 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.
-
- What is cheating?
- Posts: 1
- Joined: Fri Jul 05, 2024 11:05 pm
- Reputation: 0
Re: [REQUEST] Balatro
Thank you a lot!Kerus wrote: ↑Thu Feb 22, 2024 5:36 pmThanks. I am here to share some editing based on your shared info.VampTY wrote: ↑Wed Feb 21, 2024 2:00 pmThe game's engine is based on Lua, you use 7Zip and right click on your game's .exe, meaning Balatro.exe and open that with 7Zip, then you'll see lots of .lua files you can change (open them with Notepad), like in game.lua if you'll search (Ctrl+F) for career_stats, there's lots of things you can modify there from all .lua files.After you've made your changes, save the thing.You can also decompress the Balatro.exe with 7Zip and make your changes and then recompress.
1st, Download 7zip and backup the 'Balatro.exe'.
2nd, right click 'Balatro.exe' and open it with 7zip.
3rd, find 'game.lua' inside.
4th, find below words like these and edit it.
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.
5th, save and exit the 7zip, then play the game.
Here is my modified part of the game.lua, to have a special deck:
Code: Select all
self.P_CARDS = {
H_2={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=0,y=0}},
H_3={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=1,y=0}},
H_4={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=2,y=0}},
H_5={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=3,y=0}},
H_6={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=4,y=0}},
H_7={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=5,y=0}},
H_8={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=6,y=0}},
H_9={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=7,y=0}},
H_T={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=8,y=0}},
H_J={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=9,y=0}},
H_Q={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=10,y=0}},
H_K={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=11,y=0}},
H_A={name = "2 of Hearts",value = '2', suit = 'Hearts', pos = {x=12,y=0}},
C_2={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=0,y=1}},
C_3={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=1,y=1}},
C_4={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=2,y=1}},
C_5={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=3,y=1}},
C_6={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=4,y=1}},
C_7={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=5,y=1}},
C_8={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=6,y=1}},
C_9={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=7,y=1}},
C_T={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=8,y=1}},
C_J={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=9,y=1}},
C_Q={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=10,y=1}},
C_K={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=11,y=1}},
C_A={name = "2 of Clubs",value = '2', suit = 'Clubs', pos = {x=12,y=1}},
D_2={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=0,y=2}},
D_3={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=1,y=2}},
D_4={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=2,y=2}},
D_5={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=3,y=2}},
D_6={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=4,y=2}},
D_7={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=5,y=2}},
D_8={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=6,y=2}},
D_9={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=7,y=2}},
D_T={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=8,y=2}},
D_J={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=9,y=2}},
D_Q={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=10,y=2}},
D_K={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=11,y=2}},
D_A={name = "2 of Diamonds",value = '2', suit = 'Diamonds', pos = {x=12,y=2}},
S_2={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=0,y=3}},
S_3={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=1,y=3}},
S_4={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=2,y=3}},
S_5={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=3,y=3}},
S_6={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=4,y=3}},
S_7={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=5,y=3}},
S_8={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=6,y=3}},
S_9={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=7,y=3}},
S_T={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=8,y=3}},
S_J={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=9,y=3}},
S_Q={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=10,y=3}},
S_K={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=11,y=3}},
S_A={name = "2 of Spades",value = '2', suit = 'Spades', pos = {x=12,y=3}},
}
Re: [REQUEST] Balatro
Or you could just set the default params when starting the game by go to functions > misc_functions.lua > get_starting_params
on that file you could set starting
on that file you could set starting
- dollars
- hand size
- discards
- hands
- reroll cost
- joker slots
- ante scaling
- consumable slots
Who is online
Users browsing this forum: CptTuesday, FrankelToes