| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Warlord
Join Date: Feb 2006
Location: Hopewell, NJ, USA
Posts: 242
|
How to modify GameFonts.tga for FREE
Tutorial: Editing GameFonts.tga for Free
BEFORE YOU START: Get the image(s) you want to add to the file.
The same process will work for GameFonts_75.tga, except that the size of each icon is 16x16 and the size of the bar with the green pixel is 3x16. I have never succeeded in converting GameFonts.tga by resizing it; I have always had to do the whole thing twice. I played around with trying to generate the alpha channel by taking the original image and converting it to black & white and then taking the negative. All of these efforts resulted in abyssmal failure. Cutting and pasting from the real alpha channel is all I could get to work. Free Windows Applications Mentioned in this Tutorial
Eusebius
__________________
BroodWar Mod for WARLORDS - All the StarCraft races + one more! World Religions - REVIVAL FOR WARLORDS. 18 real-world customized religions, real conversion. Eusebius Live Animals Component FOR WARLORDS.. Sheep, cows, etc. get up and walk around, spawn, settle down go extinct. Last edited by Eusebius; Nov 23, 2006 at 08:13 PM. |
|
|
|
|
|
#2 |
|
Emperor
Join Date: Aug 2004
Location: Goochland, VA
Posts: 1,389
|
Thanks for this Eusebius. I finally got a gamefont file to work
__________________
"Serenity now, insanity later." - Seinfeld Development forum for Rhye's and Fall of Civilization, go check it out!: http://forums.civfanatics.com/forumdisplay.php?f=204 |
|
|
|
|
|
#3 |
|
Deity
Join Date: Jan 2006
Posts: 2,267
|
My tga file isn't showing up.
|
|
|
|
|
|
#4 | |
|
Warlord
Join Date: Feb 2006
Location: Hopewell, NJ, USA
Posts: 242
|
Quote:
E.
__________________
BroodWar Mod for WARLORDS - All the StarCraft races + one more! World Religions - REVIVAL FOR WARLORDS. 18 real-world customized religions, real conversion. Eusebius Live Animals Component FOR WARLORDS.. Sheep, cows, etc. get up and walk around, spawn, settle down go extinct. |
|
|
|
|
|
|
#5 |
|
Deity
Join Date: Jan 2006
Posts: 2,267
|
I right clicked the font file that I wanted to edit. Actually I want to copy a religion icon from another file into my rise of persia mod for warlords.
Also do I have to edit both the game font and game font 75 files? EDIT: Sorry I realized what I did wrong. Actually it appears right but the send to editor button doesn''t pull up paint. |
|
|
|
|
|
#6 | |
|
Warlord
Join Date: Feb 2006
Location: Hopewell, NJ, USA
Posts: 242
|
Quote:
E.
__________________
BroodWar Mod for WARLORDS - All the StarCraft races + one more! World Religions - REVIVAL FOR WARLORDS. 18 real-world customized religions, real conversion. Eusebius Live Animals Component FOR WARLORDS.. Sheep, cows, etc. get up and walk around, spawn, settle down go extinct. |
|
|
|
|
|
|
#7 |
|
Deity
Join Date: Jan 2006
Posts: 2,267
|
It works!!!!!!!!!
Finally an easy way to edit it. Though for the alpha channel thing I can't remember if you mentioned this or not but when copying over a new white thingie you should use one that is about the same size/shape as the one you are adding. I'm adding a circle religious icon so I'm using the yin/ yang symbol since the only part of your symbol that appears in game is what fits inside the alpha channel symbol. This is an awesome tutorial and thanks for all the help .
|
|
|
|
|
|
#8 |
|
Deity
Join Date: Oct 2005
Location: England
Posts: 4,985
|
This is really very very usefull. Thanks.
__________________
Most zealously I seek for erudition. Much do I know, but to know all is my ambition.
-Faust |
|
|
|
|
|
#9 |
|
The Learner
Join Date: Aug 2006
Location: Canada
Posts: 204
|
Ahh, thank you! i've been wondering how to edit these.
|
|
|
|
|
|
#10 |
|
Prince
Join Date: Mar 2006
Location: Is this a trick question?
Posts: 587
|
Very useful Eusebius! Just a minor question here, how does the game know which icon to use for which? will it know that for example I want the icon next to the thunderbolt to be a resource?
|
|
|
|
|
|
#11 | |
|
Warlord
Join Date: Feb 2006
Location: Hopewell, NJ, USA
Posts: 242
|
Quote:
Eusebius
__________________
BroodWar Mod for WARLORDS - All the StarCraft races + one more! World Religions - REVIVAL FOR WARLORDS. 18 real-world customized religions, real conversion. Eusebius Live Animals Component FOR WARLORDS.. Sheep, cows, etc. get up and walk around, spawn, settle down go extinct. |
|
|
|
|
|
|
#12 |
|
Chieftain
Join Date: Nov 2006
Posts: 5
|
Nice work
Only one problem: I got no button for the town which founded the religion, but it appears together with the normal religion button for a city with the religion. Seems to be a problem with that green pixel on the pink lines, what's to be done with it? edit: works now, but religions-buttons are mixed up now. The order of the pictures and the religions in the xml-file is the same Last edited by az09; Nov 01, 2006 at 09:58 AM. |
|
|
|
|
|
#13 |
|
Warlord
Join Date: Feb 2006
Location: Hopewell, NJ, USA
Posts: 242
|
Alpha Channel merged icons
I just had an interesting case. One of my alpha channel icons was one pixel too many to the left which caused the game to consider the two icons to be a single icon (of double size). This caused later icons to be "off" by one, so when I founded Zoroastrianism I got the icon for Tenrikyo instead.
I fixed it by moving the alpha icon to its proper position. It is possible someone else will run into this, so I thought I would post. Cheers, Eusebius
__________________
BroodWar Mod for WARLORDS - All the StarCraft races + one more! World Religions - REVIVAL FOR WARLORDS. 18 real-world customized religions, real conversion. Eusebius Live Animals Component FOR WARLORDS.. Sheep, cows, etc. get up and walk around, spawn, settle down go extinct. |
|
|
|
|
|
#14 |
|
The Newbie Nightmare
Join Date: Jan 2002
Location: Athens of the North
Posts: 6,378
|
I have a GameFont file with an alpha channel that's all screwed up:
![]() As you can see, instead of white on black, it's black on white. And it looks like gibberish. Can anyone advise? I've zipped up my GameFonts.tga and GameFont75.tga to look at. Oddly, the 75 file's alpha channel is still black on white, but other than that it looks fine. http://forums.civfanatics.com/uploads/11460/fonts.rar Note: I did not make these files - it's for someone else's mod.
__________________
UP THE IRONS! ![]() Get the inside story on the war in Iraq , The War Prayer My Units Field Gun, Carthage Pikeman, Rome Pikeman, Viking Spearman My Leaderheads Dwarf Lord, Dark ElfMy tutorials How to make Leaderheads in Poser, Using Daz's Michael 3 for Unit Creation
|
|
|
|
|
|
#15 | |
|
Warlord
Join Date: Feb 2006
Location: Hopewell, NJ, USA
Posts: 242
|
Quote:
Eusebius
__________________
BroodWar Mod for WARLORDS - All the StarCraft races + one more! World Religions - REVIVAL FOR WARLORDS. 18 real-world customized religions, real conversion. Eusebius Live Animals Component FOR WARLORDS.. Sheep, cows, etc. get up and walk around, spawn, settle down go extinct. |
|
|
|
|
|
|
#16 |
|
Scourge of St. Lawrence
Join Date: Jun 2003
Location: Kingston, Ontario
Posts: 3,151
|
That's happened to me too, when I save the tga with Jasc PSP, which is my usual graphics editor. I don't know how you really fix it properly, but what I did was use DXTBMP and export the image and the alpha channel, edit them separately, save them, and reload them to the tga in DXTBMP ... probably not the right way but it works well enough.
|
|
|
|
|
|
#17 |
|
The Newbie Nightmare
Join Date: Jan 2002
Location: Athens of the North
Posts: 6,378
|
How would I go about creating a fresh alpha channel? Like, how would I delete the existing alpha channel and use the norm.bmp as a basis for the new alpha channel?
__________________
UP THE IRONS! ![]() Get the inside story on the war in Iraq , The War Prayer My Units Field Gun, Carthage Pikeman, Rome Pikeman, Viking Spearman My Leaderheads Dwarf Lord, Dark ElfMy tutorials How to make Leaderheads in Poser, Using Daz's Michael 3 for Unit Creation
|
|
|
|
|
|
#18 | |
|
Scourge of St. Lawrence
Join Date: Jun 2003
Location: Kingston, Ontario
Posts: 3,151
|
Quote:
I don't think you can really use the norm (or the black-on-white alpha channel produced by saving in PSP) as the basis for an alpha channel because you're just getting a greyscale copy (whether in negative or otherwise) of the original. In the alpha channels for the base game, it's not a negative image, it's a different image, all the symbols have only a white silhouette outline for transparency. When you use negative greyscales you can't get silhouettes, you just get a negative copy of the icon. I think it more or less has to be done manually. I suppose you might be able to use a negative greyscale as the starting point, but it's probably alot less work just to use the alpha channels from the base game and modify them a bit. Give me a couple days, I think I could fix those gamefonts you posted. Last edited by frekk; Jan 24, 2008 at 06:31 PM. |
|
|
|
|
|
|
#19 |
|
Scourge of St. Lawrence
Join Date: Jun 2003
Location: Kingston, Ontario
Posts: 3,151
|
Zulu ... here they are ... I haven't tested them ingame (sometimes if the alpha is a little off the icons will show up wrong, shifted 1 to the left or right) but the transparency looks good.
|
|
|
|
|
|
#20 |
|
Deity
Join Date: Aug 2002
Location: San Diego, California
Posts: 5,233
|
The alpha channel is the example is all black with white icons, but when i open the BTS one it is all white with black icons. why is it showing up different?
__________________
My Leaderhead Gallery! |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Religion Mini Icons - problem with gamefonts.tga | Traiano | Civ4 - Creation & Customization | 3 | Jun 27, 2008 08:49 PM |
| Ideological conflict (erm ignore the supposed bias and feel free to modify) | Swiss_Mercenari | Civ3 - Completed Scenarios | 8 | Aug 15, 2007 11:13 AM |
| [Q] What is the secret of changing GameFonts.tga with PSP? | Arne | Civ4 - Creation & Customization | 4 | Aug 17, 2006 10:07 AM |
| How to edit GameFont.tga or GameFont_75.tga | LittleRedPoint | Civ4 - Creation & Customization | 1 | Jan 19, 2006 05:31 PM |
| Editing GameFonts.tga woes... | ArbitraryGuy | Civ4 - Creation & Customization | 3 | Jan 05, 2006 08:18 AM |