SIFU Localization (PAK Decryption help)

How to translate the files of a game
Granheart
Posts: 14
Joined: Mon Jul 13, 2020 1:16 pm

SIFU Localization (PAK Decryption help)

Post by Granheart »

Hello everyone!

SIFU just released and was wondering since I am not quite familiar with UE engineering, if someone could get the decryption key for the game .PAK file to get the localization data. :)
NoobInCoding
Posts: 127
Joined: Sat Aug 07, 2021 9:49 am

Re: SIFU Localization (PAK Decryption help)

Post by NoobInCoding »

0x40A266F41FDBCE91312FBB86060D2E9425B7D922C0CF0031F634CAD9AECB49DA
Granheart
Posts: 14
Joined: Mon Jul 13, 2020 1:16 pm

Re: SIFU Localization (PAK Decryption help)

Post by Granheart »

NoobInCoding wrote:0x40A266F41FDBCE91312FBB86060D2E9425B7D922C0CF0031F634CAD9AECB49DA


Thank you mate! Now I just have to find a bms script for it! :)) Much appreciated!
Granheart
Posts: 14
Joined: Mon Jul 13, 2020 1:16 pm

Re: SIFU Localization (PAK Decryption help)

Post by Granheart »

The Unreal Tournament 4 bms script seems to not work with it. Guess we have to wait for a script :T
Granheart
Posts: 14
Joined: Mon Jul 13, 2020 1:16 pm

Re: SIFU Localization (PAK Decryption help)

Post by Granheart »

Code: Select all

Error: incomplete input file -10:
       Can't read 2 bytes from offset 00000000000de420.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.


This is the error I get with Unreal Tournament 4 bms script and the given Decryption key
NoobInCoding
Posts: 127
Joined: Sat Aug 07, 2021 9:49 am

Re: SIFU Localization (PAK Decryption help)

Post by NoobInCoding »

use "f model" to export the archives
Granheart
Posts: 14
Joined: Mon Jul 13, 2020 1:16 pm

Re: SIFU Localization (PAK Decryption help)

Post by Granheart »

Okay, I got the locres, I translated, made it back to locres, I even made a .pak with just the file in it but the game doesn't recognize it sadly. Any idea how could I create a pak with just the translations without having to create or reinject the files into a 17gb pak ? :'D
iammhk128
Posts: 8
Joined: Sun Jan 27, 2019 9:24 pm

Re: SIFU Localization (PAK Decryption help)

Post by iammhk128 »

tanku
Joymaloor
Posts: 5
Joined: Sun Sep 12, 2021 7:23 pm

Re: SIFU Localization (PAK Decryption help)

Post by Joymaloor »

NoobInCoding wrote:use "f model" to export the archives


Thanks
Last edited by Joymaloor on Mon Feb 14, 2022 2:56 pm, edited 1 time in total.
Joymaloor
Posts: 5
Joined: Sun Sep 12, 2021 7:23 pm

Re: SIFU Localization (PAK Decryption help)

Post by Joymaloor »

Granheart wrote:Okay, I got the locres, I translated, made it back to locres, I even made a .pak with just the file in it but the game doesn't recognize it sadly. Any idea how could I create a pak with just the translations without having to create or reinject the files into a 17gb pak ? :'D


You just have to remove from the unpacked archive everything you don't change and repackage with saving the structure (this is a must). Place the packed file next to the main file of the game, it will work as a modification, nothing more needs to be done, it will simply replace in the game what you left in the new archive.
Joymaloor
Posts: 5
Joined: Sun Sep 12, 2021 7:23 pm

Re: SIFU Localization (PAK Decryption help)

Post by Joymaloor »

Granheart wrote:Okay, I got the locres, I translated, made it back to locres, I even made a .pak with just the file in it but the game doesn't recognize it sadly. Any idea how could I create a pak with just the translations without having to create or reinject the files into a 17gb pak ? :'D


Can you tell me exactly where these translation files are, because I don't see them?
Granheart
Posts: 14
Joined: Mon Jul 13, 2020 1:16 pm

Re: SIFU Localization (PAK Decryption help)

Post by Granheart »

Joymaloor wrote:
Granheart wrote:Okay, I got the locres, I translated, made it back to locres, I even made a .pak with just the file in it but the game doesn't recognize it sadly. Any idea how could I create a pak with just the translations without having to create or reinject the files into a 17gb pak ? :'D


You just have to remove from the unpacked archive everything you don't change and repackage with saving the structure (this is a must). Place the packed file next to the main file of the game, it will work as a modification, nothing more needs to be done, it will simply replace in the game what you left in the new archive.


I Tried but the game is still in English. It doesn't recognize my .pak at all or I don't know. I kept the structure as well... :T
NoobInCoding
Posts: 127
Joined: Sat Aug 07, 2021 9:49 am

Re: SIFU Localization (PAK Decryption help)

Post by NoobInCoding »

Add your locres files in French folder
Game will read that language
Granheart
Posts: 14
Joined: Mon Jul 13, 2020 1:16 pm

Re: SIFU Localization (PAK Decryption help)

Post by Granheart »

NoobInCoding wrote:Add your locres files in French folder
Game will read that language


I tried it but same. Its still in english or french.

I translate the locres, turn it back to locres, make a structure in folders like
Sifu - Content - Localization - Game - en (fr) - locres file

Put this Sifu folder into unrealpak make a pak with compression. Rename it similar to the original pak just giving it a _p at the end and still nothing. It just wont recognize.
NoobInCoding
Posts: 127
Joined: Sat Aug 07, 2021 9:49 am

Re: SIFU Localization (PAK Decryption help)

Post by NoobInCoding »

use "u4pak" to pak the files
Granheart
Posts: 14
Joined: Mon Jul 13, 2020 1:16 pm

Re: SIFU Localization (PAK Decryption help)

Post by Granheart »

Damn, this one looks complicated. Gonna have to figure out something then.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: SIFU Localization (PAK Decryption help)

Post by spiritovod »

@Granheart: Workflow with UE4 packages is roughly explained in this post and at the bottom of my base post from signature. In short, you need to pack parent folder in \Parent\Sifu\Content\ structure when working with unrealpak and fluffyquack's batch scripts, but \Sifu\Content with u4pak - and also re-use signature from existing package.
Joymaloor
Posts: 5
Joined: Sun Sep 12, 2021 7:23 pm

Re: SIFU Localization (PAK Decryption help)

Post by Joymaloor »

Granheart wrote:
NoobInCoding wrote:Add your locres files in French folder
Game will read that language


I tried it but same. Its still in english or french.

I translate the locres, turn it back to locres, make a structure in folders like
Sifu - Content - Localization - Game - en (fr) - locres file

Put this Sifu folder into unrealpak make a pak with compression. Rename it similar to the original pak just giving it a _p at the end and still nothing. It just wont recognize.


Hmmm, for example, I don't compress the source files, have you tried?
Joymaloor
Posts: 5
Joined: Sun Sep 12, 2021 7:23 pm

Re: SIFU Localization (PAK Decryption help)

Post by Joymaloor »

Granheart wrote:

Code: Select all

Error: incomplete input file -10:
       Can't read 2 bytes from offset 00000000000de420.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.


This is the error I get with Unreal Tournament 4 bms script and the given Decryption key


If you unpacked with the "f model" program, can you tell me what's wrong? Why can't I unpack the main game? https://prnt.sc/26wt0qh If you used a BMS script, you can tell how you did it, because, meen has the same error as you originally (almost top post)
Fairytale
Posts: 8
Joined: Tue Mar 23, 2021 12:27 am

Re: SIFU Localization (PAK Decryption help)

Post by Fairytale »

Joymaloor wrote:If you unpacked with the "f model" program, can you tell me what's wrong? Why can't I unpack the main game? https://prnt.sc/26wt0qh


Add AES Key.