The Outer Worlds .bms script

How to translate the files of a game
martin2306
Posts: 4
Joined: Wed Aug 17, 2022 1:55 pm

The Outer Worlds .bms script

Post by martin2306 »

Hi. I am trying to access the text files of the game "Outer Worlds" using "quickbms".
When I use "unreal_tournament_4.bms" I get the error "Error: the compressed zlib/deflate input is wrong or incomplete (-3)" and "Error: uncompressed data (-1) bigger than allocated buffer (65536)".
I found another .bms file "unreal_tournament_4_0.4.23.1a.bms". This unpacks the file "PL-WindowsNoEditor.pak" into the files "Text_pl.uexp" and "Text_pl.uasset". OK.
But if I want to create a new .pak file from these files, an error occurs during reimport: "Error: incomplete input file 0: D:\ ...\Text_pl.uexp ... Can't read 8 bytes from offset 00db1000 ..."
I think I'm using the wrong bms script. But I couldn't find another one. But maybe he could use a script from another game running on Unreal version 4.21 (v8).
Do you know of any game running on Unreal 4.21 (v8) that has a .bms script?.
(Sorry - Google Translate)
Terminator2222
Posts: 44
Joined: Sat Jun 20, 2015 1:42 pm

Re: The Outer Worlds .bms script

Post by Terminator2222 »

The Outer World's UE4 version is: 4.21

PREREQUISITES - DOWNLOADS:
---------------------------------------
* - QuickBMS generic files extractor and reimporter 0.11 --- https://aluigi.altervista.org/papers/quickbms.zip -- (no matter if there is a newer one!)
* - UE4 scripts --- https://cs.rin.ru/forum/viewtopic.php?f=10&t=100672
* - UnrealPak --- http://fluffyquack.com/tools/unrealpak.rar
* - The Outer Worlds Text Tool by Cloud - viewtopic.php?f=12&t=13130&hilit=The+Outer+Worlds
* - Notepad++
* Text files are in this archive: "pakchunk0-WindowsNoEditor.pak" --- "<...>:\The Outer Worlds\Indiana\Content\Paks"

1 - Extract "pakchunk0-WindowsNoEditor.pak" -- and whit that "Text_en.uexp" (or any needed and existing localisation files) -- with QuickBMS (with "quickbms_4gb_files.exe") + "unreal_tournament_4.bms" (any non-specific scripts will do).
2 - Extract the "Text_en.uexp" file with "TheOuterWorlds_text_tool.exe" ("Export")
3 - Translate anything that you want
4 - "TheOuterWorlds_text_tool.exe" ("Import") - import translated text into the *.uexp
5 - MAKE a folder like this: "<YourMODName>\Indiana\Content\Exported\BaseGame\Localized\EN\Text"
6 - Drop Text_en.uexp és Text_en.uasset files into the "Text" subfolder
7 - Drag 'n' Drop the "YourMODName" folder onto the "UnrealPak-Without-Compression" batch file
8 - Rename the "YourMODName" to: pakchunk0-WindowsNoEditor_P.pak, and copy here: "<...>:\The Outer Worlds\Indiana\Content\Paks"
9 - Bamm, test it!
martin2306
Posts: 4
Joined: Wed Aug 17, 2022 1:55 pm

Re: The Outer Worlds .bms script

Post by martin2306 »

Thank you for answer! I will try your procedure. I will write the result.
Terminator2222
Posts: 44
Joined: Sat Jun 20, 2015 1:42 pm

Re: The Outer Worlds .bms script

Post by Terminator2222 »

Trust me - it works!

My images from 2020 - language is Hungarian:

START:
Image

Starting menu
Image

Settings:
Image

Ingame:
Image
martin2306
Posts: 4
Joined: Wed Aug 17, 2022 1:55 pm

Re: The Outer Worlds .bms script

Post by martin2306 »

Good work! It's a text-heavy game, how many of you did it translate?
I know it has to work! My "I'll try your procedure" I wondered if I could do it. After some trouble I finally got to point 9 - Bamm, test it! So everything is OK.
Maybe there will be problems with fonts. Czech has specific characters. Pangram: "Příliš žluťoučký kůň úpěl ďábelské ódy".
Thank you once again!
Terminator2222
Posts: 44
Joined: Sat Jun 20, 2015 1:42 pm

Re: The Outer Worlds .bms script

Post by Terminator2222 »

Hungarian has special characters too - but not as many as Chech language.
As I saw then this font table is compatible with so many character tables.

I didn't translate the whole game - just tried out my translating method. :)

As I mentioned in other topic - there's method to change font table in UE4 archives.
Maybe it could help: https://www.bnsbuddy.com/threads/mod-jp-font-for-na-eu.2591/
martin2306
Posts: 4
Joined: Wed Aug 17, 2022 1:55 pm

Re: The Outer Worlds .bms script

Post by martin2306 »

So we have the same thing! I also don't want to translate this game. I was looking for that procedure for someone else who would like to try to translate it. I once tried to translate a small, short game, and it was a pain. It is for very patient and hardworking people. Thanks for that link. I tried the Czech pangram instead of "Press any key" and all the specific letters were there, which pleasantly surprised me!
Terminator2222
Posts: 44
Joined: Sat Jun 20, 2015 1:42 pm

Re: The Outer Worlds .bms script

Post by Terminator2222 »

"I tried the Czech pangram instead of "Press any key" and all the specific letters were there, which pleasantly surprised me!"

It's a really good news and I'm glad I could help :)