localizing spec ops: the line

How to translate the files of a game
lostact
Posts: 1
Joined: Tue Nov 30, 2021 3:48 am

localizing spec ops: the line

Post by lostact »

Im trying to translate spec ops the line, I managed to find the texts in plain format in SRGame\Localization\INT directory but since my language needs non latin characters I need to add a font to the game too. The fonts that this game are in *.Texture2d + *.Font format.

I found a method in this forum that is to create a new font using udk, export it as .upk file and put it in place then add a +Package line to DefaultGame.ini to load it and change subtitle font to the font that I created.

There was a line in DefaultGame.ini like

Code: Select all

SubtitleFontName=UI_Fonts_Text.Square721Dm_18
so i changed that to point to my font. Now the game wont launch without giving any errors, just not responding.

Can someone help me find out what have I done wrong? or any other method to add a font to this game is also helpful.

I attached my font file,the package containing UI_Fonts and decrypted DefaultGame.ini (original and modified).