I am getting the error "0x80070057: The parameter is incorrect" from the "004:5_space_invader" file. Type: Lua Source File Date modified: 5/5/2025 Size: 548 bytes
This happens when I try to move the downloaded "balatro-plus" to my "Mods" folder from my downloads.
I currently have other mods installed and working so I know there is not an issue with my steamodded.
Some of the features aren't working for me. For example, When I tried to use the tag to make all cards held in hand at the beginning of round into mult cards, nothing happened. Also the Mysthical Deck doesn't give me a sigil card when a blind is created. Am I just stupid and did I do something wrong or is there a fix for this?
Balanced cards crash my game, Framed cards don't work exactly how i assume they're supposed to, gaining chips every time anything (or any card i assume in specific) is triggered. Now currently its the third round playing a framed card and it has +76 chips on it, and the tag to enhance all cards in hand to framed cards on round start just doesn't pop, like at all. everything else in the mod looks good and i want to play but I just can't play it if i have to be careful not to crash my game. (Edit) Premium cards crash my game too, blurred joker doesn't work at all, and for a little more clarification; i just used a framed card and it gained 99 chips immediately.
This is a fantastic mod, but you seriously need to make hungry joker rare or something. It feels like I'm cheating because everytime I get chef and hungry joker, which is surprisingly often, it's a sealed win and I wish there was more challenge in it. Granted I could choose not to use it but yknow.
I get this every time i try to start the game with this mod
Oops! The game crashed: Syntax error: card.lua:2482: '}' expected (to close '{' at line 2467) near 'end' Additional Context: Balatro Version: 1.0.1n-FULL Modded Version: 1.0.0~ALPHA-1326a-STEAMODDED LÖVE Version: 11.5.0 Lovely Version: 0.7.1 Platform: Windows Stack Traceback =============== (3) C function 'function: 0x2609bb70' (4) global C function 'require' (5) main chunk of file 'main.lua' at line 881 (6) global C function 'require' (7) LÖVE function at file 'boot.lua:323' (best guess) Local variables: c = table: 0x26088c68 {identity:false, version:11.5, accelerometerjoystick:true, modules:table: 0x26088cb8 (more...)} openedconsole = boolean: false confok = boolean: true conferr = nil (8) global C function 'xpcall' (9) LÖVE function at file 'boot.lua:362' (best guess) Local variables: result = boolean: true (10) global C function 'xpcall' (11) LÖVE function at file 'boot.lua:377' (best guess) Local variables: func = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"]) inerror = boolean: true deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"]) earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])
INFO - [♥] Lovely 0.7.1 INFO - [♥] Game directory is at "D:\\SteamLibrary\\steamapps\\common\\Balatro" INFO - [♥] Writing logs to "C:\\Users\\ME\\AppData\\Roaming\\Balatro\\Mods\\lovely\\log" INFO - [♥] Using mod directory at "C:\\Users\\ME\\AppData\\Roaming\\Balatro\\Mods" INFO - [♥] Initialization complete in 12ms INFO - [♥] Applied 12 patches to 'main.lua' INFO - [♥] Applied 5 patches to 'engine/controller.lua' INFO - [♥] Applied 12 patches to 'back.lua' INFO - [♥] Applied 6 patches to 'tag.lua' INFO - [♥] Applied 1 patch to 'engine/moveable.lua' INFO - [♥] Applied 2 patches to 'engine/sprite.lua' INFO - [♥] Applied 2 patches to 'engine/animatedsprite.lua' INFO - [♥] Applied 42 patches to 'functions/misc_functions.lua' WARN - [♥] Regex '(?<indent>[ \\t])*G\\.jokers\\.cards\\[i\\]:calculate_joker\\(\\{first_hand_drawn = true\\}\\)\n[ \\t]*end' on target 'game.lua' for regex patch from balatro-plus\lovely\tags.toml resulted in no matches INFO - [♥] Applied 28 patches to 'game.lua' INFO - [♥] Applied 1 patch to 'globals.lua' INFO - [♥] Applied 3 patches to 'engine/ui.lua' INFO - [♥] Applied 70 patches to 'functions/UI_definitions.lua' WARN - [♥] Pattern 'if reps[j] ~= 1 then' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\blinds.toml resulted in no matches WARN - [♥] Pattern 'if reps[j] ~= 1 then card_eval_status_text((reps[j].jokers or reps[j].seals).card, \'jokers\', nil, nil, nil, (reps[j].jokers or reps[j].seals)) end' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\blinds.toml resulted in no matches WARN - [♥] Pattern 'if effects[ii].h_dollars then' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\jokers.toml resulted in no matches WARN - [♥] Pattern 'level_up_hand(G.jokers.cards[i], text)' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\jokers.toml resulted in no matches WARN - [♥] Pattern 'eval = G.jokers.cards[j]:calculate_joker({discard = true, other_card = G.hand.highlighted[i], full_hand = G.hand.highlighted})' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\misc.toml resulted in no matches WARN - [♥] Regex '(?<indent>[ \\t])*for i = 1, #G\\.jokers\\.cards do\n[ \\t]*G\\.jokers\\.cards\\[i\\]:calculate_joker\\(\\{setting_blind = true, blind = G\\.GAME\\.round_resets\\.blind\\}\\)\n[ \\t]*end\n' on target 'functions/state_events.lua' for regex patch from balatro-plus\lovely\jokers.toml resulted in no matches WARN - [♥] Regex 'G.GAME.probabilities\\.(?<key>[a-zA-Z0-9_]+)' on target 'functions/state_events.lua' for regex patch from balatro-plus\lovely\misc.toml resulted in no matches WARN - [♥] Regex '(?<indent>[ \\t])*for i = 1, #G\\.jokers\\.cards do\n[ \\t]*G\\.jokers\\.cards\\[i\\]:calculate_joker\\(\\{setting_blind = true, blind = G\\.GAME\\.round_resets\\.blind\\}\\)\n[ \\t]*end\n' on target 'functions/state_events.lua' for regex patch from balatro-plus\lovely\tags.toml resulted in no matches INFO - [♥] Applied 49 patches to 'functions/state_events.lua' WARN - [♥] Pattern 'rarity = (_legendary and 4) or (rarity > 0.95 and 3) or (rarity > 0.7 and 2) or 1' on target 'functions/common_events.lua' for pattern patch from balatro-plus\lovely\misc.toml resulted in no matches INFO - [♥] Applied 90 patches to 'functions/common_events.lua' INFO - [♥] Applied 40 patches to 'functions/button_callbacks.lua' WARN - [♥] Pattern 'elseif self.base.suit == \'Spades\' then self.base.suit_nominal = 0.04; self.base.suit_nominal_original = suit_base_nominal_original or 0.004 end' on target 'card.lua' for pattern patch from balatro-plus\lovely\decks.toml resulted in no matches WARN - [♥] Pattern 'if self.seal == \'Blue\' and #G.consumeables.cards + G.GAME.consumeable_buffer < G.consumeables.config.card_limit then' on target 'card.lua' for pattern patch from balatro-plus\lovely\jokers.toml resulted in no matches WARN - [♥] Pattern 'if self.ability.effect == \'Stone Card\' and not self.vampired then' on target 'card.lua' for pattern patch from balatro-plus\lovely\jokers.toml resulted in no matches WARN - [♥] Regex '[ \\t]*card_eval_status_text\\(self, \'extra\', nil, nil, nil, \\{message = localize\\(\'k_plus_tarot\'\\), colour = G\\.C\\.PURPLE\\}\\)\n[ \\t]*end\n[ \\t]*end\n[ \\t]*end\n' on target 'card.lua' for regex patch from balatro-plus\lovely\misc.toml resulted in no matches INFO - [♥] Applied 150 patches to 'card.lua' INFO - [G] file not found: main.lua: No such file or directory INFO - [G] file not found: main.lua: No such file or directory INFO - [G] file not found: main.lua: No such file or directory INFO - [G] Oops! The game crashed Syntax error: card.lua:2482: '}' expected (to close '{' at line 2467) near 'end' Stack Traceback =============== (1) Lua local 'handler' at file 'main.lua:612' Local variables: msg = string: "Syntax error: card.lua:2482: '}' expected (to close '{' at line 2467) near 'end'\ " (*temporary) = Lua function '?' (defined at line 602 of chunk main.lua) (*temporary) = string: "Oops! The game crashed\ " (2) LÖVE function at file 'boot.lua:352' (best guess) Local variables: errhand = Lua function '?' (defined at line 598 of chunk main.lua) handler = Lua function '?' (defined at line 598 of chunk main.lua) (3) C function 'function: 0x37e3ce78' (4) global C function 'require' (5) main chunk of file 'main.lua' at line 881 (6) global C function 'require' (7) LÖVE function at file 'boot.lua:323' (best guess) Local variables: c = table: 0x37e3f080 {identity:false, version:11.5, accelerometerjoystick:true, modules:table: 0x37e34d68 (more...)} openedconsole = boolean: false confok = boolean: true conferr = nil (8) global C function 'xpcall' (9) LÖVE function at file 'boot.lua:362' (best guess) Local variables: result = boolean: true (10) global C function 'xpcall' (11) LÖVE function at file 'boot.lua:377' (best guess) Local variables: func = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"]) inerror = boolean: true deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"]) earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"]) INFO - [G] Additional Context: Balatro Version: 1.0.1n-FULL Modded Version: 1.0.0~ALPHA-1326a-STEAMODDED LÖVE Version: 11.5.0 Lovely Version: 0.7.1 Platform: Windows INFO - [G] Error: main.lua:799: attempt to index global 'SMODS' (a nil value) stack traceback: [love "boot.lua"]:352: in function '__index' main.lua:799: in function <main.lua:788> [C]: in function 'xpcall'
I was running this mod last night with Mikas Mod but then after some problems creating a modded balatro mobile I refreshed everything on my PC now this mod does not work and I can't figure out what has changed since yesterday. I have done EVERYTHING from scratch
error is
Oops! The game crashed: Syntax error: card.lua:2482: '}' expected (to close '{' at line 2467) near 'end' Additional Context: Balatro Version: 1.0.1n-FULL Modded Version: 1.0.0~ALPHA-1326a-STEAMODDED LÖVE Version: 11.5.0 Lovely Version: 0.7.1 Platform: Windows Stack Traceback =============== (3) C function 'function: 0x1237af48' (4) global C function 'require' (5) main chunk of file 'main.lua' at line 881 (6) global C function 'require' (7) LÖVE function at file 'boot.lua:323' (best guess) Local variables: c = table: 0x26088c68 {identity:false, version:11.5, accelerometerjoystick:true, modules:table: 0x12369588 (more...)} openedconsole = boolean: false confok = boolean: true conferr = nil (8) global C function 'xpcall' (9) LÖVE function at file 'boot.lua:362' (best guess) Local variables: result = boolean: true (10) global C function 'xpcall' (11) LÖVE function at file 'boot.lua:377' (best guess) Local variables: func = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"]) inerror = boolean: true deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"]) earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])
edit I used the old-calc steammodded and it works right now. s
39 comments
Type: Lua Source File
Date modified: 5/5/2025
Size: 548 bytes
This happens when I try to move the downloaded "balatro-plus" to my "Mods" folder from my downloads.
I currently have other mods installed and working so I know there is not an issue with my steamodded.
How do I fix?
https://answers.microsoft.com/en-us/windows/forum/all/error-code-0x80070057-the-parameter-is-incorrect/6a56b8dd-b6c6-416f-8015-12b581176473
Or you can try redownload the zip
(Edit) Premium cards crash my game too, blurred joker doesn't work at all, and for a little more clarification; i just used a framed card and it gained 99 chips immediately.
edit: sorry didnt realize this was in the bugs already
Oops! The game crashed:
Syntax error: card.lua:2482: '}' expected (to close '{' at line 2467) near 'end'
Additional Context:
Balatro Version: 1.0.1n-FULL
Modded Version: 1.0.0~ALPHA-1326a-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.7.1
Platform: Windows
Stack Traceback
===============
(3) C function 'function: 0x2609bb70'
(4) global C function 'require'
(5) main chunk of file 'main.lua' at line 881
(6) global C function 'require'
(7) LÖVE function at file 'boot.lua:323' (best guess)
Local variables:
c = table: 0x26088c68 {identity:false, version:11.5, accelerometerjoystick:true, modules:table: 0x26088cb8 (more...)}
openedconsole = boolean: false
confok = boolean: true
conferr = nil
(8) global C function 'xpcall'
(9) LÖVE function at file 'boot.lua:362' (best guess)
Local variables:
result = boolean: true
(10) global C function 'xpcall'
(11) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
func = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])
inerror = boolean: true
deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"])
earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])
INFO - [♥] Lovely 0.7.1
INFO - [♥] Game directory is at "D:\\SteamLibrary\\steamapps\\common\\Balatro"
INFO - [♥] Writing logs to "C:\\Users\\ME\\AppData\\Roaming\\Balatro\\Mods\\lovely\\log"
INFO - [♥] Using mod directory at "C:\\Users\\ME\\AppData\\Roaming\\Balatro\\Mods"
INFO - [♥] Initialization complete in 12ms
INFO - [♥] Applied 12 patches to 'main.lua'
INFO - [♥] Applied 5 patches to 'engine/controller.lua'
INFO - [♥] Applied 12 patches to 'back.lua'
INFO - [♥] Applied 6 patches to 'tag.lua'
INFO - [♥] Applied 1 patch to 'engine/moveable.lua'
INFO - [♥] Applied 2 patches to 'engine/sprite.lua'
INFO - [♥] Applied 2 patches to 'engine/animatedsprite.lua'
INFO - [♥] Applied 42 patches to 'functions/misc_functions.lua'
WARN - [♥] Regex '(?<indent>[ \\t])*G\\.jokers\\.cards\\[i\\]:calculate_joker\\(\\{first_hand_drawn = true\\}\\)\n[ \\t]*end' on target 'game.lua' for regex patch from balatro-plus\lovely\tags.toml resulted in no matches
INFO - [♥] Applied 28 patches to 'game.lua'
INFO - [♥] Applied 1 patch to 'globals.lua'
INFO - [♥] Applied 3 patches to 'engine/ui.lua'
INFO - [♥] Applied 70 patches to 'functions/UI_definitions.lua'
WARN - [♥] Pattern 'if reps[j] ~= 1 then' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\blinds.toml resulted in no matches
WARN - [♥] Pattern 'if reps[j] ~= 1 then card_eval_status_text((reps[j].jokers or reps[j].seals).card, \'jokers\', nil, nil, nil, (reps[j].jokers or reps[j].seals)) end' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\blinds.toml resulted in no matches
WARN - [♥] Pattern 'if effects[ii].h_dollars then' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\jokers.toml resulted in no matches
WARN - [♥] Pattern 'level_up_hand(G.jokers.cards[i], text)' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\jokers.toml resulted in no matches
WARN - [♥] Pattern 'eval = G.jokers.cards[j]:calculate_joker({discard = true, other_card = G.hand.highlighted[i], full_hand = G.hand.highlighted})' on target 'functions/state_events.lua' for pattern patch from balatro-plus\lovely\misc.toml resulted in no matches
WARN - [♥] Regex '(?<indent>[ \\t])*for i = 1, #G\\.jokers\\.cards do\n[ \\t]*G\\.jokers\\.cards\\[i\\]:calculate_joker\\(\\{setting_blind = true, blind = G\\.GAME\\.round_resets\\.blind\\}\\)\n[ \\t]*end\n' on target 'functions/state_events.lua' for regex patch from balatro-plus\lovely\jokers.toml resulted in no matches
WARN - [♥] Regex 'G.GAME.probabilities\\.(?<key>[a-zA-Z0-9_]+)' on target 'functions/state_events.lua' for regex patch from balatro-plus\lovely\misc.toml resulted in no matches
WARN - [♥] Regex '(?<indent>[ \\t])*for i = 1, #G\\.jokers\\.cards do\n[ \\t]*G\\.jokers\\.cards\\[i\\]:calculate_joker\\(\\{setting_blind = true, blind = G\\.GAME\\.round_resets\\.blind\\}\\)\n[ \\t]*end\n' on target 'functions/state_events.lua' for regex patch from balatro-plus\lovely\tags.toml resulted in no matches
INFO - [♥] Applied 49 patches to 'functions/state_events.lua'
WARN - [♥] Pattern 'rarity = (_legendary and 4) or (rarity > 0.95 and 3) or (rarity > 0.7 and 2) or 1' on target 'functions/common_events.lua' for pattern patch from balatro-plus\lovely\misc.toml resulted in no matches
INFO - [♥] Applied 90 patches to 'functions/common_events.lua'
INFO - [♥] Applied 40 patches to 'functions/button_callbacks.lua'
WARN - [♥] Pattern 'elseif self.base.suit == \'Spades\' then self.base.suit_nominal = 0.04; self.base.suit_nominal_original = suit_base_nominal_original or 0.004 end' on target 'card.lua' for pattern patch from balatro-plus\lovely\decks.toml resulted in no matches
WARN - [♥] Pattern 'if self.seal == \'Blue\' and #G.consumeables.cards + G.GAME.consumeable_buffer < G.consumeables.config.card_limit then' on target 'card.lua' for pattern patch from balatro-plus\lovely\jokers.toml resulted in no matches
WARN - [♥] Pattern 'if self.ability.effect == \'Stone Card\' and not self.vampired then' on target 'card.lua' for pattern patch from balatro-plus\lovely\jokers.toml resulted in no matches
WARN - [♥] Regex '[ \\t]*card_eval_status_text\\(self, \'extra\', nil, nil, nil, \\{message = localize\\(\'k_plus_tarot\'\\), colour = G\\.C\\.PURPLE\\}\\)\n[ \\t]*end\n[ \\t]*end\n[ \\t]*end\n' on target 'card.lua' for regex patch from balatro-plus\lovely\misc.toml resulted in no matches
INFO - [♥] Applied 150 patches to 'card.lua'
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] Oops! The game crashed
Syntax error: card.lua:2482: '}' expected (to close '{' at line 2467) near 'end'
Stack Traceback
===============
(1) Lua local 'handler' at file 'main.lua:612'
Local variables:
msg = string: "Syntax error: card.lua:2482: '}' expected (to close '{' at line 2467) near 'end'\
"
(*temporary) = Lua function '?' (defined at line 602 of chunk main.lua)
(*temporary) = string: "Oops! The game crashed\
"
(2) LÖVE function at file 'boot.lua:352' (best guess)
Local variables:
errhand = Lua function '?' (defined at line 598 of chunk main.lua)
handler = Lua function '?' (defined at line 598 of chunk main.lua)
(3) C function 'function: 0x37e3ce78'
(4) global C function 'require'
(5) main chunk of file 'main.lua' at line 881
(6) global C function 'require'
(7) LÖVE function at file 'boot.lua:323' (best guess)
Local variables:
c = table: 0x37e3f080 {identity:false, version:11.5, accelerometerjoystick:true, modules:table: 0x37e34d68 (more...)}
openedconsole = boolean: false
confok = boolean: true
conferr = nil
(8) global C function 'xpcall'
(9) LÖVE function at file 'boot.lua:362' (best guess)
Local variables:
result = boolean: true
(10) global C function 'xpcall'
(11) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
func = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])
inerror = boolean: true
deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"])
earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])
INFO - [G] Additional Context:
Balatro Version: 1.0.1n-FULL
Modded Version: 1.0.0~ALPHA-1326a-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.7.1
Platform: Windows
INFO - [G] Error: main.lua:799: attempt to index global 'SMODS' (a nil value)
stack traceback:
[love "boot.lua"]:352: in function '__index'
main.lua:799: in function <main.lua:788>
[C]: in function 'xpcall'
error is
Oops! The game crashed:
Syntax error: card.lua:2482: '}' expected (to close '{' at line 2467) near 'end'
Additional Context:
Balatro Version: 1.0.1n-FULL
Modded Version: 1.0.0~ALPHA-1326a-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.7.1
Platform: Windows
Stack Traceback
===============
(3) C function 'function: 0x1237af48'
(4) global C function 'require'
(5) main chunk of file 'main.lua' at line 881
(6) global C function 'require'
(7) LÖVE function at file 'boot.lua:323' (best guess)
Local variables:
c = table: 0x26088c68 {identity:false, version:11.5, accelerometerjoystick:true, modules:table: 0x12369588 (more...)}
openedconsole = boolean: false
confok = boolean: true
conferr = nil
(8) global C function 'xpcall'
(9) LÖVE function at file 'boot.lua:362' (best guess)
Local variables:
result = boolean: true
(10) global C function 'xpcall'
(11) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
func = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])
inerror = boolean: true
deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"])
earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])
edit I used the old-calc steammodded and it works right now. s