Darksiders warmastered edition - font issue

Need help translating games in other languages? Have your language problems solved here.
Post Reply
mx202
n00b
Posts: 16
Joined: Fri Dec 18, 2020 7:22 pm
Been thanked: 1 time

Darksiders warmastered edition - font issue

Post by mx202 » Sun Dec 20, 2020 9:44 pm

Hello All

I was able to extract the English test file from the game files using Darksiders Warmastered MNFST Tool. But when I tried to unpack (ui_en.oppc) using Offzip(latest version) I got an empty file. Also, I would like to change the font of all the texts.
A screenshot in the attachments.

My game downloaded from Steam and my target language is Arabic.

I hope you help me guys with instructions and what to do first and what to do the last.

Thanks
You do not have the required permissions to view the files attached to this post.

User avatar
ikskoks
Moderator
Posts: 1038
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 523 times
Been thanked: 253 times
Contact:

Re: Request help with darksiders warmastered edition FILES

Post by ikskoks » Sun Dec 20, 2020 11:36 pm

Can you upload somewhere "ui_en.oppc" file for analysis?

mx202
n00b
Posts: 16
Joined: Fri Dec 18, 2020 7:22 pm
Been thanked: 1 time

Re: Request help with darksiders warmastered edition FILES

Post by mx202 » Mon Dec 21, 2020 4:28 pm

Thanks for replying.

You can download the file from https://mega.nz/file/S1kEARhD#oLw1WV-dq ... qE7lDJD6bc

Thanks again dude.


mx202
n00b
Posts: 16
Joined: Fri Dec 18, 2020 7:22 pm
Been thanked: 1 time

Re: Request help with darksiders warmastered edition FILES

Post by mx202 » Mon Dec 21, 2020 6:49 pm

Thanks a lot, dude.

Thant's was really helpful.

When I used my Arabic subtitle and launched the game, all the letters appeared wrongly with squares instead of real letters.
Image

Now, I just need to use an Arabic font instead of the English font.

Please let me know how to do it to finish translating this version and Darksiders Deathinitive Edition as well.

The Arabic font can be downloaded from this link https://mega.nz/file/CpsSFbgJ#ujVvcK6NX ... hjYyRTNMig.

User avatar
ikskoks
Moderator
Posts: 1038
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 523 times
Been thanked: 253 times
Contact:

Re: Request help with darksiders warmastered edition FILES

Post by ikskoks » Tue Dec 22, 2020 11:33 am

It's not that easy. You can't just use TTF font here.

You need to edit DDS font file first.
You could probably use for this GIMP or Photoshop with DDS plugin
You can easily view the image in XnView https://imgur.com/a/vyy7mrz

As for coordinates, I'm not really sure, but here are some values in GFX file.
You could use jpexs-decompiler to edit this file https://imgur.com/a/pxY7UzO
https://github.com/jindrapetrik/jpexs-d ... sion11.3.0
If not here, then you should look for coordinates in other game files
or just replace existing characters in DDS texture.

mx202
n00b
Posts: 16
Joined: Fri Dec 18, 2020 7:22 pm
Been thanked: 1 time

Re: Darksiders warmastered edition - font issue

Post by mx202 » Wed Dec 23, 2020 10:10 pm

Hey ikskoks,

Thank you a lot for explaining, Now I understand most of the idea.

Is it enough to edit the DDS file and add Arabic glyphs?

Is it that simple, or there are more things to consider?

Thanks.

User avatar
ikskoks
Moderator
Posts: 1038
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 523 times
Been thanked: 253 times
Contact:

Re: Darksiders warmastered edition - font issue

Post by ikskoks » Thu Dec 24, 2020 12:44 am

Editing DDS solves the issue with font, but to make it work you have to also change the texts.

For example if you replace "Â" character with some arabic one,
you have to use  in text instead of arabic letter to make it appear.
Of course you don't need to do it while translating,
you can replace all characters at once using Notepad++
or tool like this https://github.com/bartlomiejduda/Tools ... LACER_2.py

mx202
n00b
Posts: 16
Joined: Fri Dec 18, 2020 7:22 pm
Been thanked: 1 time

Re: Darksiders warmastered edition - font issue

Post by mx202 » Thu Dec 24, 2020 7:31 pm

Thank you ikskoks,

You were a great help.

mx202
n00b
Posts: 16
Joined: Fri Dec 18, 2020 7:22 pm
Been thanked: 1 time

Re: Darksiders warmastered edition - font issue

Post by mx202 » Wed Dec 30, 2020 12:18 am

On this beautiful day,

I announce that I was defeated and couldn't modify the font file.
I raise the white flag. I give up.

ramyzahran
n00b
Posts: 16
Joined: Tue May 23, 2017 12:41 am
Has thanked: 26 times

Re: Request help with darksiders warmastered edition FILES

Post by ramyzahran » Sun Sep 12, 2021 5:46 pm

and how can i repack the font after editing it ?
how to repack dds font into the file ui_en.oppc?

is there a tool for unpacking and repacking the font file ui_en.oppc?

User avatar
ikskoks
Moderator
Posts: 1038
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 523 times
Been thanked: 253 times
Contact:

Re: Darksiders warmastered edition - font issue

Post by ikskoks » Sun Sep 12, 2021 7:19 pm

Quickbms has a reimport mode which can be used for packing data.
Read more about it here http://aluigi.zenhax.com/papers/quickbms.txt

ramyzahran
n00b
Posts: 16
Joined: Tue May 23, 2017 12:41 am
Has thanked: 26 times

Re: Darksiders warmastered edition - font issue

Post by ramyzahran » Sun Sep 12, 2021 11:51 pm

ikskoks wrote:
Sun Sep 12, 2021 7:19 pm
Quickbms has a reimport mode which can be used for packing data.
Read more about it here http://aluigi.zenhax.com/papers/quickbms.txt
i tried to do the re-import but i failed, i don't understand what's wrong !!!
can you make tutorial steps to do this??
i want to unpack & edit & repack this font file:
You do not have the required permissions to view the files attached to this post.

User avatar
ikskoks
Moderator
Posts: 1038
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 523 times
Been thanked: 253 times
Contact:

Re: Darksiders warmastered edition - font issue

Post by ikskoks » Mon Sep 13, 2021 7:26 am

No, sorry. If you want to learn more about quickbms, you can check this link
viewtopic.php?f=29&t=22266

There are also plenty of tutorials on youtube
https://www.google.com/search?client=fi ... t+tutorial

Post Reply