#Help making a mod!

1 messages · Page 1 of 1 (latest)

placid bobcat
#

Hello! Some context first, my friend's birthday is on saturday, and we have been playing a lot of Balatro together, I would like to make a relatively simple mod (I think) but have no knowledge of Lua. I do know a decent amount of some other programming languages but I am unfortunately unfamiliar with modding source code and most of my knowledge is pretty rudimentary so I haven't been able to easily pick up Lua on my own. If anybody could give me some pointers or help me make this mod it would be greatly appreciated. Genuinely all I want to be changed is for a couple of specific game actions to play a custom audio file (I will do the audio file myself of course) of a couple inside jokes I have with this friend. Namely, an audio file should play when: you play a high card 9, you buy the default joker (+4 mult), you use a wheel of fortune, when you start a new run, and when you lose a run (this one would replace Jimbo's normal rambling audio. Any help would be greatly appreciated!

sturdy heart
#

the first thing you should do is have a good look around Balatro's source code

#

it's easily available, you just need to extract the executable with 7-zip and you're set to peek inside

placid bobcat
#

How easy is it to implement/replace audio triggers?

sturdy heart
#

We have a full sound API in Steamodded

placid bobcat
#

Oh shit

#

So very easy?

sturdy heart
#

it hasn't been used a ton so you may stumble across some bugs, but it's there and implemented for ya

#

the implementation in Steamodded 0.9.8 (latest stable) has proper documentation, the rewrite for the upcoming 1.0 version (currently in alpha) doesn't have docs yet but is optimized

placid bobcat
#

Awesome thanks

sturdy heart
sharp drum