blake502 / balatro-mobile-maker

Create a mobile Balatro app from your Steam version of Balatro
538 stars 31 forks source link

Change language #2

Closed SimpleDioney closed 5 months ago

SimpleDioney commented 5 months ago

I'm running the script, at first the edit language button didn't appear in the game, I edited the game files and it appears but I can't select any language other than the English standard, I need to put it in Portuguese. image

Esquire7070 commented 5 months ago

In game.lua you need to change the value for language from nil to false ['pt_BR'] = {font = 1, label = "Português", key = 'pt_BR', beta = nil

PGgamer2 commented 5 months ago

this might be because self.F_ENGLISH_ONLY is not set to false in globals.lua

SimpleDioney commented 5 months ago

In game.lua you need to change the value for language from nil to false ['pt_BR'] = {font = 1, label = "Português", key = 'pt_BR', beta = nil

It worked, thank you very much! Now I've released all languages!

SimpleDioney commented 5 months ago

this might be because self.F_ENGLISH_ONLY is not set to false in globals.lua

When I first tested it I changed this, but it was really just the select buttons that were locked. But that also had to be changed to true :)

SimpleDioney commented 5 months ago

DOne

Victor3050 commented 5 months ago

How can I access the game files and change them?

SimpleDioney commented 5 months ago

How can I access the game files and change them?

Click to start creating the apk, and wait to generate a folder in the directory called "Balatro", then you have the files that you can modify.

Victor3050 commented 5 months ago

Como posso acessar os arquivos do jogo e alterá-los?

Clique para começar a criar o apk, e aguarde para gerar uma pasta no diretório chamado "Balatro", então você tem os arquivos que você pode modificar.

Can you do this on your cell phone? I'm very ignorant on the subject

Victor3050 commented 5 months ago

What changed in the files to make the language selection button appear?

SimpleDioney commented 5 months ago

In the game.lua file, look for the languages (as in the image below) and change everything that is after "beta" for false, it will look the same in the image.

image

In the globals.lua file follow the image below.

image

If you can't do the step-by-step instructions, just install the apk below and I've modified it.

[LINK REMOVED BY MODERATOR]

blake502 commented 5 months ago

Friendly reminder...

DO NOT DISTRIBUTE APKs ANYWHERE NEAR THIS REPO PLEASE.