READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Max Payne 3 - fonts

Need help translating games in other languages? Have your language problems solved here.
Post Reply
phill05
beginner
Posts: 38
Joined: Sat May 28, 2011 8:29 pm
Has thanked: 2 times

Max Payne 3 - fonts

Post by phill05 » Fri Jun 08, 2012 2:22 pm

Hi,
I'm translating this game, using OpenIV and GXT editor, I found the fonts but I don't know how to get them info .dds format. Does anyone know how to do it?

Thank you

User avatar
GooD
beginner
Posts: 29
Joined: Sat May 03, 2008 10:07 am
Been thanked: 33 times

Re: Max Payne 3 - fonts

Post by GooD » Sat Jun 09, 2012 9:15 am

Open font WTDs in OpenIV texture viewer then RMB click on texture name in list, and select "export".

phill05
beginner
Posts: 38
Joined: Sat May 28, 2011 8:29 pm
Has thanked: 2 times

Re: Max Payne 3 - fonts

Post by phill05 » Sat Jun 09, 2012 10:20 am

THX

tuka
ultra-n00b
Posts: 3
Joined: Fri Jun 22, 2012 5:10 pm

Re: Max Payne 3 - fonts

Post by tuka » Fri Jun 22, 2012 5:15 pm

hello,

im looking for the max payne font, but i cant tell openIV the location of the game.
Any Ideas?

Image

User avatar
GooD
beginner
Posts: 29
Joined: Sat May 03, 2008 10:07 am
Been thanked: 33 times

Re: Max Payne 3 - fonts

Post by GooD » Sat Jun 23, 2012 9:23 pm

tuka wrote:hello,
im looking for the max payne font, but i cant tell openIV the location of the game.
Any Ideas?
If you have any with selecting game in OpenIV you can do it manually:
1 - Run OpenIV, Select Game.
2 - Try to brows game folder.
3 - Close OpenIV.
4 - In Notepad open file "[SystemDrive]:\Users\[UserName]\AppData\Roaming\New Technology Studio\OpenIV\pc\Payne\Personality.xml"
You will see something like this:
Image
5 - Edit "game" element, like this:
Image
6 - Run OpenIV, select Max Payne 3.
It will work fine next.

tuka
ultra-n00b
Posts: 3
Joined: Fri Jun 22, 2012 5:10 pm

Re: Max Payne 3 - fonts

Post by tuka » Sun Jun 24, 2012 5:11 pm

Hey thanks!

it worked, now im fighting my way through the filejungle.
i found the fonts in the common.rpf, but there only .xml files and one big (9MB) fonts.dat

any idea how the uncompress the font out of the file?
thx in advance!

EDIT: Ok followed the steps the OP did, but again, when i click "export", the useless dialog opens just like in my previous screenshot. is openIV capable of using another "save as" dialog?

User avatar
GooD
beginner
Posts: 29
Joined: Sat May 03, 2008 10:07 am
Been thanked: 33 times

Re: Max Payne 3 - fonts

Post by GooD » Mon Jun 25, 2012 5:23 am

tuka wrote:i found the fonts in the common.rpf, but there only .xml files and one big (9MB) fonts.dat
The font textures are in:
pc.rpf:/textures/allfontsinone.wtd
pc.rpf:/textures/allfontsintwo.wtd
tuka wrote:EDIT: Ok followed the steps the OP did, but again, when i click "export", the useless dialog opens just like in my previous screenshot. is openIV capable of using another "save as" dialog?
OpenIV is used system "save as" dialog. I've never tested it with others dialogs.
You can try to use "Export all" feature, besides "Export".

tuka
ultra-n00b
Posts: 3
Joined: Fri Jun 22, 2012 5:10 pm

Re: Max Payne 3 - fonts

Post by tuka » Mon Jun 25, 2012 12:25 pm

Ok found the Font, looks like the Slate Bold and Italic version.
I guess i cant convert the bitmap somehow to an normal OpenType Font or TrueType, right?

Thanks for your help anyway.

saidsrc
ultra-n00b
Posts: 6
Joined: Mon Apr 18, 2011 3:38 pm

Re: Max Payne 3 - fonts

Post by saidsrc » Sun Sep 30, 2012 3:13 pm

Hi there,
I am also translating MP3 to my language. I exported WTD file as a DDS file. But, I couldn't find a way to import it back to WTD file. Or maybe there could be a way to make game read the DDS file instead of WTD.
How can I make the game use my edited DDS font file?

GRiNDERKILLER
advanced
Posts: 76
Joined: Thu Jul 12, 2012 12:24 pm
Has thanked: 12 times
Been thanked: 23 times

Re: Max Payne 3 - fonts

Post by GRiNDERKILLER » Tue Feb 19, 2013 11:55 am

How to convert WTD to DDS and back to WTD.
WTD using zlib compression set to 9.

How to convert it to DDS
----------------------------
1. Run OpenIV and export WTD as DDS. Then make a copy of DDS header, it is first 128 bytes and save as "DDS.hdr" It is important!
2. Export WTD with OpenIV, open WTD in HEX editor and remove first 12 bytes and save. I recomended save removed header data as "allfontsinone.hdr"
3. Use zlib decompressor/compressor to decompress WTD.
4. After decompress open WTD in HEX editor and remove first 4096 bytes, then add DDS header from "DDS.hdr" and save as DDS. I recomended save removed data as "allfontsinone_dds.hdr"
5. Now you can edit DDS.


How to convert edited DDS back to WTD
---------------------------------------------
1. Open DDS in HEX editor and remove DDS header, it is first 128 bytes and then add backup data from "allfontsinone_dds.hdr" and save.
2. Now compress DDS with zlib and set compression to 9.
3. Open compressed DDS with HEX editor and add backup data from "allfontsinone.hdr" and save as "allfontsinone.wtd"
4. Reimport WTD with OpenIV and check it.
5. Done!

NOTE: If will be file bigger or smaller than original it is not important.

This method is availible only for PC users ;) Xbox have custom compression.

User avatar
GooD
beginner
Posts: 29
Joined: Sat May 03, 2008 10:07 am
Been thanked: 33 times

Re: Max Payne 3 - fonts

Post by GooD » Sat Jul 20, 2013 9:07 pm

New OpenIV 1.5 is released - http://openiv.com/

Now you can edit WTD Textures from Max Payne 3.

http://www.youtube.com/watch?v=0ndIYq5fxFg

shadowlonely1989
veteran
Posts: 81
Joined: Sun Nov 30, 2014 1:49 am
Has thanked: 45 times
Been thanked: 4 times
Contact:

Re: Max Payne 3 - fonts

Post by shadowlonely1989 » Mon Aug 26, 2019 8:21 am

Hi everyone! Can you help me edit font texture in PS3 version? I can not open it with OpenIV, perharp PS3 have custom compression.
My example files: https://drive.google.com/file/d/1QHVxQ- ... sp=sharing
Thanks a lot!

Post Reply