Jump to content

[TUTORIAL] How to translate Unity games using UABEA


ikskoks

Recommended Posts

3 hours ago, Kefir said:

I was able to open the .bundle via UABEA and change 1 localization file, but when I launch the game, no text is displayed

You need to load the bundle file into memory. Make changes to it and save in two places in UABEA (in the file content preview window and in the main program window). After saving this way, check if the modification date of the file has changed.

Link to comment
Share on other sites

5 hours ago, Pikor said:

Make changes to it and save in two places in UABEA

It was explained in the tutorial already (steps 13 and 14). Users just need to learn to read everything very carefully. 😄

EDIT: I've added an additional note in the tutrial regarding saving to prevent such issues in the future.

Link to comment
Share on other sites

On 1/19/2024 at 3:57 PM, Kefir said:

I was able to open the .bundle via UABEA and change 1 localization file, but when I launch the game, no text is displayed

same problem here, the changes didn't apply to the game 

Link to comment
Share on other sites

For some game its not working, for example this game: NEEDY GIRL OVERDOSE - Steam
From Tutorial i see screenshot the type of the file is "Material"

But in this game the text contain from "MonoBehavior" as for view data on UABE its just NULL ASSET
But i'm 100% sure the text contain from here, from what i saw in Total Commander

Try to dump, but this windows pop-up...

MonoBehaviour template info failed to load.
MonoBehaviour assets will not be fully deserialized.

Link to comment
Share on other sites

19 hours ago, ikskoks said:

@CHero Please tell me what was the text you have searched for in total commander and what assets did you try to edit (tell me exact assets names and file names).

I'll try to help and update tutorial if needed.

its resources.assets, the text contain Main Menu, warning screen when booting game, etc
The text i search from total commander is "This game blablablablablabla" something like that

File name is idk SystemText inside resources.assets this asset type is MonoBehaviour

Link to comment
Share on other sites

It works fine for me:
obraz.png.4fd56b0ce5fd92c13556046ee60f7253.png

obraz.png.5af1a17076df3521b8abf171b8135ab2.png


Are you sure you followed all the steps from the tutorial correctly?
It was said on the beginning of the tutorial that in case of any issues with UABEA you should use nightly version
https://nightly.link/nesrak1/UABEA/workflows/dotnet-desktop/master/uabea-windows.zip

 

I made it bold and red in the tutorial, so it will be clear that this is very important to follow. 😄

Link to comment
Share on other sites

  • 2 months later...

Hi! Is it only possible to get text from some Unity games this way? When I tried to extract text from the game Burnhouse Lane, this way it didn't work. When I marked the file and selected the Plugins menu, the plugins window was blank. No menu to convert to a text file. I found a similar procedure later, which differed in that UABEA exported the files to Raw, located a text file (.dat), and used a program UnityText to get the text in .csv format. It worked for me.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 2 weeks later...

UABEA not fully worked with serialized json and games with texts pleaced in ...\StreamingAssets\aa\StandaloneWindows64\<filename>.bandle

Between Horizons using this and when we edit some file game stuck on loading screen. Do you have any program that works?

Link to comment
Share on other sites

21 minutes ago, Pikor said:

UABEA not fully worked with serialized json and games with texts pleaced in ...\StreamingAssets\aa\StandaloneWindows64\<filename>.bandle

Between Horizons using this and when we edit some file game stuck on loading screen. Do you have any program that works?

https://github.com/nesrak1/UABEA?tab=readme-ov-file#addressables

There are tutorial here, use the translator:

https://ukrainizer.netlify.app/#unity

Link to comment
Share on other sites

I can't import file like a Json (serialisation error), so I try editing some text in UABEA, that's work. Next using addressable exe in cmd:

example searchasset <filepath>\catalog.json
Set: 0
example patchcrc <filepath>\catalog.json

Rename file catalog.json.patched to catalog.json.

Still game freeze on loading.

--- EDIT
I checked another game with the same files structure and everything work fine, so UABEA must wrong generated new bundle in the Between Horizons.

Edited by Pikor
Link to comment
Share on other sites

Le 30/6/2024 à 16:34, Pikor a dit :

Je ne peux pas importer de fichier comme un Json (erreur de sérialisation), alors j'essaie d'éditer du texte dans UABEA, ça marche. Ensuite j'utilise l'exe adressable dans cmd :

exemple searchasset <filepath>\catalog.json
Set : 0
exemple patchcrc <filepath>\catalog.json

Renommer le fichier catalog.json.patched en catalog.json.

Le jeu se fige toujours au chargement.

--- EDIT
J'ai vérifié un autre jeu avec la même structure de fichiers et tout fonctionne bien, donc UABEA doit se tromper en générant un nouveau bundle dans le Between Horizons.

I don't think the problem lies with UABEA.

I'm also trying to translate this game and I did the same thing with UABEA as you did and got the same results.

I've tried 2 other programs.

The first is UABEANext, also designed by Nesrack1 and which will soon replace UABEA.

With UABEANext, I managed to reinsert the modified JSON files into the bundle, but the game still froze when I launched it.

The second is UnityEx Legitimate. Here too, the game froze on launch.

Faced with this problem, I finally opted to translate the external game using Autotranslator BepInEx.

So far it seems to be working.

Between_Horizons_krCPqRmZ2G.png

Link to comment
Share on other sites

  • 1 month later...

Hey, I'm wondering if you know of any tutorials on how to handle font size for specific strings or something similar? I'm currently trying to translate a Chinese game (Legend of Mortal) into English in my spare time. I followed your tutorial, and it worked perfectly. Now, I'm trying to solve the issue where the text is being cut off or overlapping because the character count exceeds that of the original text. Thank you for your attention, and have a good day! Here's some example that I attached below.
 

image.png

image.png

Link to comment
Share on other sites

4 hours ago, amadeus said:

Hey, I'm wondering if you know of any tutorials on how to handle font size for specific strings or something similar?

Hi. I'm not aware of any tutorials about changing font size.
But I assume the only way it would work be changing size for ALL of the strings that uses specific font.
So to do this you would need to find game config files for fonts (each game may store it differently) and then change correspoding values for font size and update it in asset files.

Link to comment
Share on other sites

3 hours ago, ikskoks said:

Hi. I'm not aware of any tutorials about changing font size.
But I assume the only way it would work be changing size for ALL of the strings that uses specific font.
So to do this you would need to find game config files for fonts (each game may store it differently) and then change correspoding values for font size and update it in asset files.

Thank you for replying so quickly! I see... Do you have any ideas on how to start looking for it? Perhaps certain keywords to search using Text Commander?

By the way, I stumbled upon a translation project that is trying to translate the game into Vietnamese, and they have somehow managed to fix the problem. I'll try comparing the original JSONs with their modified versions to figure out what they changed to fix the issues, since the forum they posted in is limited to Vietnamese citizens only. Some text still appear to overlap with each other but it's much better than getting cut off I guess.

 

image.png

image.png

image.png

Edited by amadeus
Link to comment
Share on other sites

9 hours ago, amadeus said:

Do you have any ideas on how to start looking for it? Perhaps certain keywords to search using Text Commander?

Try to search for words like "font", "size", "config", "setting", "width", "kerning" etc.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...