So finally I can modding one of my favorite games, but there're problem when I tried to localization to my mother tongue, the font don't have enough Vietnamese characters, and the game shows a square instead of them, here are somes images for example:
- In game's language text file:
- In game:
- It is obviously that somes letters like "ệ", "ồ", "ả", "ế",... are missing. So I digging more in game's file, and I found something very interesting. It is image of the ingame font named "perpetua" and the monobehaviour of it with the same name, I attached image and json file below
- So I make a test, I deleted "á", "à", "ó", "ô", "ã", "â" and see what happened in the game after changing them, and surprisingly that the letters that I deleted before have to disappear and left a space where should have to be them.
- From the test I can conclusion that this is exact font file and image
- But the big problem still here, I can't or I might say I don't know how to add characters or just replace the characters that I doesn't help me when translating the game. First I looking for clue in font's data file, I think for each letter they will have an specific options, at we can see here is one of them table:
- In the "id" line, they have a number, in the image it's 210, I thought it's ASCII decimal so I change the number to 212 then re-import but nothing happened, from here I'm totally stuck
- I know a technique called "replace text", which I will replace the text file letters I don't use, for example I replace letter "Ä" with "ế" which is missing, and then in text have a line like: "Cái ghế đằng kia,....", I replace that line to "Cái ghÄ đằng kia,..." and that seems works fine but I want to modify the font so I don't have to do one more steps to convert text file.
- Anyones have experienced with it please helps me, if you wants more example files, just straight to it.
Trouble with editing unity font - Hollow Knight
-
- Posts: 4
- Joined: Mon Jan 31, 2022 8:07 am
-
- Posts: 4
- Joined: Thu Jan 05, 2023 1:09 pm
Re: Trouble with editing unity font - Hollow Knight
I know how to do it, but it is too much work to create!
I sent you a PM!
I sent you a PM!
-
- Posts: 46
- Joined: Sat Mar 16, 2019 1:21 pm
Re: Trouble with editing unity font - Hollow Knight
if unity, u need make it again with unity
-
- Posts: 7
- Joined: Sat Mar 20, 2021 7:02 am
Re: Trouble with editing unity font - Hollow Knight
Me too please.brtraducoes wrote:I know how to do it, but it is too much work to create!
I sent you a PM!