The Forum is up for sale: XeNTaX Forum looking for new owner

Wolfenstein: Enemy Territory FONT Files

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
User avatar
Teryal5532
beginner
Posts: 27
Joined: Wed May 11, 2011 12:10 am
Location: Romania

Wolfenstein: Enemy Territory FONT Files

Post by Teryal5532 »

The contents of this post was deleted because of possible forum rules violation.
Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: Wolfenstein: Enemy Territory FONT Files

Post by Polefish »

W:ET is opensource. Take a look at the sourcecode to find out how the characters from the tga's are read by the game.

http://www.splashdamage.com/index.php?q ... pen-source
User avatar
Teryal5532
beginner
Posts: 27
Joined: Wed May 11, 2011 12:10 am
Location: Romania

Re: Wolfenstein: Enemy Territory FONT Files

Post by Teryal5532 »

Thanks but where should i look to see how the game read the chars from the font files?

I checked the files from the source code but i don't understand where should i look

Can you tell me?

Sorry but i'm "noob" at this :ninja:

----------

Maybe i must look at the the "ui" files (..src\ui) but where exactly :?:
Sartr0n
advanced
Posts: 50
Joined: Mon Nov 14, 2011 1:13 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Wolfenstein: Enemy Territory FONT Files

Post by Sartr0n »

*bump*

That would be good if there is someone who can say how to open those files but i see that no one posted here for months.

I have a server with my clan and i have played the game from when it's released (many years) and i have tried to translate the game before around 5 months (i think), but the problem were are the font/s/. I have looked at the game's source code but i don't understand nothing from coding/scripting. :eek:

So, is there anyone who can help with that files or no one is viewing this thread anymore?

hmm, the links doesn't work. I can upload the same files but i'll post links later when i upload them.
Radegast
ultra-n00b
Posts: 1
Joined: Mon Apr 02, 2012 4:54 pm

Re: Wolfenstein: Enemy Territory FONT Files

Post by Radegast »

Teryal5532 wrote:If there is someone who can tell me with what i can open the .dat files and how i can draw the letters in the font files so the game can read them properly, please, write here or PM me.
Short answer: anything is possible to do with enough willpower to do it.
Shorter answer: you can't.

But really, you don't want to edit those *.tga and *.dat files by hand. What you want to do is to re-create them from a TrueType font. I am working on an improved version of Wolfenstein: Enemy Territory called ET: Legacy Project and I wrote a short guide on how to do it: http://etlegacy.com/projects/etlegacy/w ... e_Freetype. As you can see from the screenshot on that page it is not ideal atm, but as I said I am working on it and UTF-8 support is on the way.

The relevant source file is src/renderer/tr_font.c (but the slightly improved one is located inside ioquake3-import branch)

EDIT: well, ok, if you really want to you can make small edits to those .tga files in Gimp or Photoshop or pretty much in any other image editor. But adding new letters or stuff like that won't work.
Post Reply