State Of Decay 2 Localization tutorial (2020)

How to translate the files of a game
mityorka2
Posts: 48
Joined: Mon Aug 03, 2020 3:01 pm

State Of Decay 2 Localization tutorial (2020)

Post by mityorka2 »

Hello, Everyone. I'd like to start a follow-up series for beginners. If you want similar tutorial don't forget to thank me for what I'm doing.
Today State of Decay 2 translation I will present.
You need to look at the game engine here: Unreal Engine 4. It's the easiest thing to get out. Required programs:
QuickBMS link: http://aluigi.altervista.org/quickbms.htm
and latest locres tool you find: viewtopic.php?f=12&t=1022
and the last pak Assembly from here: https://github.com/panzi/u4pak (No need)
Because every game is different. There are exceptions.
Image
Step 1: Export files from Game
With QuickBMS and special bms script I uploaded (latest)
you will extract the files in this case StateOfDecay2\Content\Paks located in pakchunk000025-WindowsNoEditor. unpack pak file

Step 2: Find and edit text
You can find the English text here: StateOfDecay2\Content\Localization\Game\en-US
Export text and import text locres tool you know. (Notepad recommended)

Step 3: Import Localization to Game
You don't have to create a Pak like most games.
The game's main folder is StateOfDecay2\Content\Paks located in
pakchunk000025-WindowsNoEditor.you have to put one in front of pak .bat (Total Commander recommended)
Now that it's done. Ladders must bring a folder structure StateOfDecay2\Content\Localization\Game\en-US and en-US must be placed back
imported - edited locres file. You'll need to insert this into your game folder. If all goes well then the game looks in your own language.
If you want similar tutorial don't forget to thank me for what I'm doing.
Terminator2222
Posts: 44
Joined: Sat Jun 20, 2015 1:42 pm

Re: State Of Decay 2 Localization tutorial (2020)

Post by Terminator2222 »

Great tutorial. Thank You.
mityorka1
Posts: 9
Joined: Sun May 05, 2019 8:19 am

Re: State Of Decay 2 Localization tutorial (2020)

Post by mityorka1 »

Terminator2222 wrote:Great tutorial. Thank You.

Willingly
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: State Of Decay 2 Localization tutorial (2020)

Post by Delutto »

Good stuff for beginners. Thanks for the dispose.
But let's keep the things organized, there is already an area in the forum for Tutorials.
mityorka1
Posts: 9
Joined: Sun May 05, 2019 8:19 am

Re: State Of Decay 2 Localization tutorial (2020)

Post by mityorka1 »

Delutto wrote:Good stuff for beginners. Thanks for the dispose.
But let's keep the things organized, there is already an area in the forum for Tutorials.


Okay Dear Delutto!
showpayne
Posts: 1
Joined: Sat Jan 29, 2022 8:35 pm

Re: State Of Decay 2 Localization tutorial (2020)

Post by showpayne »

good day. could someone shoot me a short video tutorial. I just don't understand this tutorial :-(
Terminator2222
Posts: 44
Joined: Sat Jun 20, 2015 1:42 pm

Re: State Of Decay 2 Localization tutorial (2020)

Post by Terminator2222 »

State of Decay 2 - Translating Tutorial by .:i2k:.
~~~~~~~~~~~~~~~~~~~~~~~~~

Game's premiere: 2018
Game's Engine version: Unreal Engine 4.13

Don't be frightened! Getting the right file out and back to the archive looks like a lot of work, but it is not - translating the file is it!
File what we want: Game.locres
Archive file from we'll get it and will place back: "pakchunk000025-WindowsNoEditor.pak"


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_specific_scripts (with unreal_tournament_4_0.4.23.1a_sod2.bms) --- https://cs.rin.ru/forum/download/file.php?id=94110
* - UnrealPak --- http://fluffyquack.com/tools/unrealpak.rar -- (it's a must have!)
* - Locres Tool --- viewtopic.php?f=12&t=15084 - unreal_locres_texttool.zip [511.12 KiB] -- (no matter if there is a newer one!)
* - WinRAR or 7zip installed on your Windows system
* - Notepad++ installed on your Windows system -- (recommended unicode text editor)
* - "pakchunk000025-WindowsNoEditor.pak" file from your installed game: <your_drive>\...\State of Decay 2 Juggernaut Edition\StateOfDecay2\Content\Paks

PREREQUISITES - FOLDERS NEEDED ON YOUR SYSTEM:
---------------------------------------
<your_drive>\WORK\
<your_drive>\WORK\QuickBMS\
<your_drive>\WORK\SCRIPTS\
<your_drive>\WORK\BACKUP\
<your_drive>\WORK\EXTRACTED\

PREREQUISITES - EXTRACT & COPY:
---------------------------------------
* COPY ORIGINAL "pakchunk000025-WindowsNoEditor.pak" file from the game >>>>> <your_drive>\WORK\BACKUP\
* COPY ORIGINAL "pakchunk000025-WindowsNoEditor.pak" file >>>>> <your_drive>\WORK\ too
* EXTRACT "quickbms.zip" >>>>> <your_drive>\WORK\QuickBMS\
* EXTRACT "UE4_specific_scripts.zip" >>>>> <your_drive>\WORK\SCRIPTS\
* EXTRACT "unrealpak.rar" >>>>> <your_drive>\WORK\ (yes, root)
* EXTRACT "unreal_locres_texttool.zip" >>>>> <your_drive>\WORK\ (yes, root)


~~~~~~~~~~~~LET'S START THE WORK!~~~~~~~~~~~~

01 ---- Launch QuickBMS with "quickbms.exe"
01/a - Select "unreal_tournament_4_0.4.23.1a_sod2.bms" inside "SCRIPTS" folder
01/b - Select "pakchunk000025-WindowsNoEditor.pak" file
01/c - Select "EXTRACTED" folder
QuickBMS will extracting all files from the *.pak file.

02 ---- Copy "Game.locres" file from <your_drive>\WORK\EXTRACTED\StateOfDecay2\Content\Localization\Game\en-US\ >>>>> <your_drive>\WORK\
02/a - Copy "Game.locres" file from <your_drive>\WORK\EXTRACTED\StateOfDecay2\Content\Localization\Game\en-US\ >>>>> <your_drive>\BACKUP\ too

03 ---- Launch "unreal_locres_texttool.exe" (WORK) (Leave option "Original" selected) and click on "Export" button
03/a - Select "Game.locres"
Program will place extracted text (in *.txt format) into "WORK" folder

04 ---- Open "Game.locres.txt" file with Notepad++ and TRANSLATE
Beware, this will a helluva work!

05 ---- When finished and saved translating (or just want to test out of work work):
05/a - Launch "unreal_locres_texttool.exe" (WORK) (Leave option "Original" selected) and click on "Import" button
05/b - Select "Game.locres.txt" file
Program will place a "NEW_Game.locres" into "WORK" folder

06 ---- Copy "NEW_Game.locres" file here:
<your_drive>\WORK\EXTRACTED\StateOfDecay2\Content\Localization\Game\en-US\
06/a - Delete here the original "Game.locres" file
06/b - Rename "NEW_Game.locres" >>>>> "Game.locres"

07 ---- Go to the "WORK" (root)
07/a - Drag 'n' drop the "EXTRACTED" folder onto "UnrealPak-Without-Compression.bat" file
Program will place a new "EXTRACTED.pak" into "WORK" folder
07/b - Rename "EXTRACTED.pak" >>>>> "pakchunk000025-WindowsNoEditor.pak"

08 ---- Place your new "pakchunk000025-WindowsNoEditor.pak" file here:
<your_drive>\...\State of Decay 2 Juggernaut Edition\StateOfDecay2\Content\Paks
And yes, overwrite it!
(Reminder: You have a backup of the original files.)

09 ---- TEST YOUR WORK in the game!
Roman75
Posts: 2
Joined: Wed Jul 06, 2022 5:15 pm

Re: State Of Decay 2 Localization tutorial (2020)

Post by Roman75 »

Hi.Could you write such a tutorial for the uasset with uexp species as well?It would be a great help.Thanks.