ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Feb 16, 2019 5:16 pm

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Sun Feb 10, 2019 6:13 pm 

Joined: Sat Apr 15, 2017 9:00 am
Posts: 29
I need to change the character font localization of my country, any help?


Top
   
PostPosted: Mon Feb 11, 2019 3:54 am 

Joined: Tue May 08, 2018 7:48 pm
Posts: 45
You have two ways to do it.

1. replace fallback font(DroidSansFallback.ttf) in LIS2-WindowsNoEditor-Other.pak
2. replace ufont files in LIS2-WindowsNoEditor-Cooked.pak. This way, you can replace each fonts individually.

It's fairly simple because the game use ttf fonts.


Top
   
PostPosted: Mon Feb 11, 2019 10:47 am 

Joined: Sat Apr 15, 2017 9:00 am
Posts: 29
akintos wrote:
You have two ways to do it.

1. replace fallback font(DroidSansFallback.ttf) in LIS2-WindowsNoEditor-Other.pak
2. replace ufont files in LIS2-WindowsNoEditor-Cooked.pak. This way, you can replace each fonts individually.

It's fairly simple because the game use ttf fonts.


How to import LIS2-WindowsNoEditor-Other.pak?


Top
   
PostPosted: Mon Feb 11, 2019 12:39 pm 

Joined: Tue May 08, 2018 7:48 pm
Posts: 45
viewtopic.php?f=9&t=1005

I personally use u4pak.py


Top
   
PostPosted: Mon Feb 11, 2019 3:34 pm 

Joined: Sat Apr 15, 2017 9:00 am
Posts: 29
akintos wrote:
https://zenhax.com/viewtopic.php?f=9&t=1005

I personally use u4pak.py


When I replace the font, it doesn't import because of the big size. My font file is smaller than the original file, why it reports big size?


Top
   
PostPosted: Mon Feb 11, 2019 3:40 pm 

Joined: Sat Apr 15, 2017 9:00 am
Posts: 29
akintos wrote:
https://zenhax.com/viewtopic.php?f=9&t=1005

I personally use u4pak.py


can you help me?

https://drive.google.com/file/d/1qRrQqF0XAZ-zFrtjK6bHuFXaSoerr_c1/view?usp=sharing


Top
   
PostPosted: Mon Feb 11, 2019 4:14 pm 

Joined: Tue May 08, 2018 7:48 pm
Posts: 45
https://drive.google.com/open?id=1j1SvM ... rDIadl04dO

Try this one. Not tested.

Put this file in Paks folder.


Top
   
PostPosted: Mon Feb 11, 2019 4:51 pm 

Joined: Sat Apr 15, 2017 9:00 am
Posts: 29
akintos wrote:
https://drive.google.com/open?id=1j1SvM2ClhQRQA8u65dgd77rDIadl04dO

Try this one. Not tested.

Put this file in Paks folder.


thank. Subtitle font is ok but font menu and interaction wrong


Top
   
PostPosted: Tue Feb 12, 2019 4:41 am 

Joined: Tue May 08, 2018 7:48 pm
Posts: 45
https://drive.google.com/open?id=1Op9QM ... 53FnTZMIwl

Use this tool. Requires python3 installed.

1. run extract.py in fontpatcher folder. it will extract font asset files into fontpacher/ttf folder. font asset files are included in tool.
2. replace ttf files.
3. run repack.py in fontpatcher folder. it will patch font asset files and save it at fontpatcher/patched folder.
4. copy patched uasset/uexp files to repacker\LIS2\Content\UI\Menu\Resources\Fonts folder.
5. run repack.bat in repacker folder. it will generate LIS2-WindowsNoEditor-Cooked_P.pak
6. copy generated pak file to paks folder in your game.

You can also patch other UE4 games font this way. They may have different font path and asset structure, but the difference will be relatively small.


Top
   
PostPosted: Tue Feb 12, 2019 2:36 pm 

Joined: Sat Apr 15, 2017 9:00 am
Posts: 29
akintos wrote:
https://drive.google.com/open?id=1Op9QM38D2g-W18iKM8yBz553FnTZMIwl

Use this tool. Requires python3 installed.

1. run extract.py in fontpatcher folder. it will extract font asset files into fontpacher/ttf folder. font asset files are included in tool.
2. replace ttf files.
3. run repack.py in fontpatcher folder. it will patch font asset files and save it at fontpatcher/patched folder.
4. copy patched uasset/uexp files to repacker\LIS2\Content\UI\Menu\Resources\Fonts folder.
5. run repack.bat in repacker folder. it will generate LIS2-WindowsNoEditor-Cooked_P.pak
6. copy generated pak file to paks folder in your game.

You can also patch other UE4 games font this way. They may have different font path and asset structure, but the difference will be relatively small.


thank. but when i install python i just extract, i can't repack

"TypeError: source must be BinaryIO or str"


Top
   
PostPosted: Tue Feb 12, 2019 3:07 pm 

Joined: Tue May 08, 2018 7:48 pm
Posts: 45
https://drive.google.com/open?id=1Op9QM ... 53FnTZMIwl

sorry, there was bug in script.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited