Unreal Engine 4: Read files outside the pak file
-
- beginner
- Posts: 28
- Joined: Tue Jun 05, 2018 2:27 pm
- Has thanked: 1 time
- Been thanked: 1 time
Unreal Engine 4: Read files outside the pak file
Hi. I translated hellblade: senua's sacrifice. there was a .pak file in the game. so I unpacked that file and paste the unpacked to game directory and removed .pak file completely. and then translated the subtitle file in localization folder. everything is working fine but in unpacked version of the game, the game is much slower in loading and there is lag in game. beside that I want to give the translated version of the game to my friends. but now I have to give the unpacked version that is too big. is there any way to solve these problems?
- ikskoks
- mega-veteran
- Posts: 293
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 357 times
- Been thanked: 89 times
- Contact:
-
- beginner
- Posts: 28
- Joined: Tue Jun 05, 2018 2:27 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Unreal Engine 4: Read files outside the pak file
Is there any tool for packing the files?ikskoks wrote:Only by packing everything to pak file.
- ikskoks
- mega-veteran
- Posts: 293
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 357 times
- Been thanked: 89 times
- Contact:
Re: Unreal Engine 4: Read files outside the pak file
Maybe reimport option for this script will work fine http://aluigi.org/bms/unreal_tournament_4.bms
-
- beginner
- Posts: 28
- Joined: Tue Jun 05, 2018 2:27 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Unreal Engine 4: Read files outside the pak file
I have no idea how to use .bms script! as u can see in my profile: ultra-noob xDikskoks wrote:Maybe reimport option for this script will work fine http://aluigi.org/bms/unreal_tournament_4.bms
is there any help for me?
- ikskoks
- mega-veteran
- Posts: 293
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 357 times
- Been thanked: 89 times
- Contact:
Re: Unreal Engine 4: Read files outside the pak file
There are some tutorials about that. For example https://www.youtube.com/watch?v=xZONf5fXEOg
It is also good idea to read quickbms readme http://aluigi.altervista.org/papers/quickbms.txt
In section 3 you have information about reimporting.
It is also good idea to read quickbms readme http://aluigi.altervista.org/papers/quickbms.txt
In section 3 you have information about reimporting.
-
- beginner
- Posts: 28
- Joined: Tue Jun 05, 2018 2:27 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Unreal Engine 4: Read files outside the pak file
i found a way to reading my edited localization file outside the .pak file.
I paste just my language file in the gamedirectory/HellbladeGame/Content/Localization/Game/xentax
then i went to Engine.ini in drive C and wrote this:
now the game is reading my texts without any problem except the font. i want to load my own font but i dont know what to write in Engine.ini or sth like this to load my new font that I want to load exactly like i did for texts.
I paste just my language file in the gamedirectory/HellbladeGame/Content/Localization/Game/xentax
then i went to Engine.ini in drive C and wrote this:
Code: Select all
[Internationalization]
Culture=xentax
-
- beginner
- Posts: 28
- Joined: Tue Jun 05, 2018 2:27 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Unreal Engine 4: Read files outside the pak file
I extracted the pak file now I want to import it but I dont know what to do now:ikskoks wrote:There are some tutorials about that. For example https://www.youtube.com/watch?v=xZONf5fXEOg
It is also good idea to read quickbms readme http://aluigi.altervista.org/papers/quickbms.txt
In section 3 you have information about reimporting.
Code: Select all
- REIMPORT mode enabled!
- remember to select the SAME script, file and folder you selected during
the previous extraction
- it's highly suggested to leave only the edited files in the folder, it's
faster and less prone to errors with compressed files
- open input file H:\Games\Hellblade Senuas Sacrifice\HellbladeGame\Content\Paks\HellbladeGame-WindowsNoEditor.pak
- the file is bigger than 4 gigabytes so it's NOT supported by quickbms.exe,
I suggest you to answer 'n' to the following question and using
quickbms_4gb_files.exe that doesn't have such limitation.
are you sure you want to continue anyway (y/N)?
y
- open script C:\Users\TRACE\Desktop\unreal_tournament_4.bms
- set output folder E:\New folder
offset filesize filename
--------------------------------------
The archive is encrypted, select the number of the key to use or type yours:
0: KIWIKIWIKIWIKIWIKIWIKIWIKIWIKIWI
1: _aS4mfZK8M5s5KWC2Lz2VsFnGKI7azgl
2: bR!@nbR0wnc@rychR!$d@nd@v3d3R3kj!mj0$hk3v!nm!ch@3lm!k3s3@nst3v3t!m
3: casd#55@#$%323!$^#b%05sa5W|hhaf4365s52ss51|55m!|{55s^@@36f233|-|0w@%3g8hssDk35/!Nm|_|%ds23%a32d5&23as3%12p|-|y$t3ds562d23fav3c@dyw38#49
4: C8C4847F3B4FA52D4AAD57A52358CDBC
5: k14z0ZLR8a7jNm49uyBzxXYY9LpTHcehLSNiC3jAkzBsffPuy8YsTa72RLD9KWIn
6: E7@[dZfoYCW;+YWR;0JK^{9tt:yU0_T&
7: E1A1F2E4AA066C54BD5090F463EDDF58D01684243672B3CE809FF47FF473B04A
8: I0vV6wr0TFbg3m23QuSIwnYC1sI0AIDq
9: y298qjSb115NqQ3Agad30DWn2QYrTI8CT6aP05l2PBV9Qe92S94PdoVCCy06A38L
10: b9uW0RKNY91be8HN3Lemi68j6Xsi2l7fQJYsp5oR4al4C4c9kY5E0l90411l9P3L
11: 45DD15D6DD2DA50AEB71CE7A5284CF8EA498B2EC3D52B7E336F3EA0071CE44B3
12: MRZpemumg6t2AXExrMQs6TSoZRG+YSABK338oc6F8kTXu4k6QffJgYAzKl65Tk2L
13: 0x9D8C9A4A4FA082F213EED604B6E756237181685EEDA82216437617D7AA5231AF
14: press RETURN for no encryption (Lineage 2 Revolution)
- please insert the content for the variable KEY:
- ikskoks
- mega-veteran
- Posts: 293
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 357 times
- Been thanked: 89 times
- Contact:
Re: Unreal Engine 4: Read files outside the pak file
As you can see, there is message "please insert the content for the variable KEY:"
You have 13 keys implemented inside this script, so if you are lucky one of them should be the right one. Just type the number of the key, for example "5".
You have 13 keys implemented inside this script, so if you are lucky one of them should be the right one. Just type the number of the key, for example "5".
-
- beginner
- Posts: 28
- Joined: Tue Jun 05, 2018 2:27 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Unreal Engine 4: Read files outside the pak file
tnx. Actually the problem was that the importer was working with under 4g version of the quickbms. I deleted that file and renamed the more than 4g version to formal name of under 4g version. and tried again. everything was ok and worked. tnx for your helps my friends.ikskoks wrote:As you can see, there is message "please insert the content for the variable KEY:"
You have 13 keys implemented inside this script, so if you are lucky one of them should be the right one. Just type the number of the key, for example "5".