BioShock 2 Remastered Localizedint.lbf PS4

How to translate the files of a game
Sajjad_Rahim
Posts: 64
Joined: Sat Jan 10, 2015 10:03 am

BioShock 2 Remastered Localizedint.lbf PS4

Post by Sajjad_Rahim »

Image
Hexaae
Posts: 61
Joined: Sat Mar 04, 2017 10:37 am

Re: BioShock 2 Remastered Localizedint.lbf PS4

Post by Hexaae »

Wanted to fix some errors in the Italian localization of Bioshock2 Remastered PC Steam...
Bytes formula in front of the strings is still a mystery to me. See this example:
Image

UTF-16 (2bytes per char).
E.g., left image:
$210 bytes of text, $4904 in front of the string itself (??? nonsense even in Little Endian and reversed byte order)... same strange numbers for the right image string ($5003).

BUT, there are also some parts with very small files/strings respecting formula: $<n. bytes>/2 + 1 byte, e.g. if you look for UTF-16 "GEN-Restaurant.xxx", using $54/2 + 1 byte = $2B (correct in front of text):
Image

:?
Hexaae
Posts: 61
Joined: Sat Mar 04, 2017 10:37 am

Re: BioShock 2 Remastered Localizedint.lbf PS4

Post by Hexaae »

Here is a working tool made by banz99!
https://1drv.ms/u/s!ApMUGr0cuN39gcYoFp0 ... w?e=SLigyw ("Bioshock 2 (Remastered) string manager final.zip\Bioshock string manager\bin\Debug\Bioshock string manager.exe")

Tested and perfectly working with Steam PC version of Bioshock 2 Remastered.
Don't use it for Bioshock (Remastered) that uses a similar and simpler file format you can easily modify with any hex-editor.

Will generate a subdir with the name of the archive + EXT (e.g. "Localizedita.lbf EXT") containing all extracted files, and starting from the same dir location will repack a new "...\Localizedita.lbf EXT\REBUILT.dat" file inside. Rename and move REBUILT.dat to the original game Localizedita.lbf position in the end of course (replace original file).
Enjoy and good luck!