Balatro

Balatro

View Stats:
Looking for a german-style card deck? Here it is!
< >
Showing 1-4 of 4 comments
Goblin Feb 2 @ 11:51am 
Nice. I started working on one shortly after release due to a discussion with someone else, but after seeing how long it took me to make a single suit's numbered cards and then thinking "oh right, the face cards are gonna be 10 times worse and I suck at art" I gave up.

Did you mod the localisation file(s) to replace the names of the suits? Also, your screenshot still has the old suits on the UI on the left, that's ui_assets.png (and the opt2 version for high contrast). Also, would the outline/no outline thing have worked as replacement for High Contrast instead of being separate files, since they have distinct colors already anyway?
DaLuigi Feb 2 @ 12:19pm 
I haven't got a clue how or where to edit the localization files to change it to the german ones. I would need to know how to call the modded files in the .lua to make it work. I could change it to make the high/low contrast switch. Good idea actually.

Still, I have little to no knowledge on what to do in the .lua
Barely got the card enhancements to work.

Glad you enjoy it ^^
Goblin Feb 2 @ 1:27pm 
Making it so the high/low contrast switch is actually an outline switch, you just rename one of the two 8BitDeck.png files to 8BitDeck_opt2.png and put it in the same folder as the other one. Then in your .lua file, replace the 8BitDeck.png for sprite2card accordingly.

For the text change, I'm not 100% sure. When I tried it originally I just replaced every instance of the words in the localization files manually because Steamodded wasn't really a thing yet, but Steamodded has its own way of doing it. I think adding a new folder called "localization" (at the same level as your "assets" folder, the root of the mod's own folder) and putting a file named en_us.lua in there with the following code MIGHT be enough:
return { misc = { suits_plural={ Clubs="Eicheln", Diamonds="Schellen", Hearts="Herzen", Spades="Blätter", }, suits_singular={ Clubs="Eichel", Diamonds="Schell", Hearts="Herz", Spades="Blatt", }, }, }
If that works, alternatively you could use that one as de.lua and make an english one with Acorn(s), Bell(s), Heart(s), and Leaf/Leaves. But for all the other languages I'd have no idea what the words are so you'd have to figure that out yourself if you want to support them. Or just reuse the English or German file with the other language options.
All of this info gleaned from https://github.com/Steamodded/smods/wiki/Localization
It's very much possible it won't work because it needs to be registered somehow in your .lua file - no idea how if so.
DaLuigi Feb 2 @ 1:33pm 
Damn that's a lot of useful info. Thanks <3
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Feb 2 @ 8:02am
Posts: 4