New Modme platform coming soon!
RELEASEDIdioma - Font generation tool for COD4/WAW
Viewed 3680 time(s)
Topic created on 1472242055
Topic created on 1472242055
Original post
Font conversion tool for COD4/WAW
Step 1 > Open Idioma.exe, select a font, and click the button (leave the settings as they are for now). You will be asked where to save the files. 7 font files will be generated in a folder called "font_files". A TGA (1024x2048) image will also be generated - save this as gamefonts2pc.tga, to gameroot/texture_assets/customfonts/ (or wherever you usually save textures).
Step 2 > If the font size is too big in generated TGA, some entries will fall off the bottom of the image. If this happens, reduce the size of the font in Idioma then re-generate.
Step 3 > In Asset Manager, in any custom GDT, make a new Material entry named "gamefonts2pc". Use these settings and convert:

Step 4 > Copy the newly created gamefonts2pc.iwi from raw/images to mods/modname/images AND to /raw/english/fonts Then copy the material to english/materials/fonts/. Copy the 7 font files generated by Idioma to gameroot/raw/english/customfont/.
// Add this to your mod.csv:
font,customfont/bigFont,,
font,customfont/boldFont,,
font,customfont/consoleFont,,
font,customfont/extraBigFont,,
font,customfont/normalFont,,
font,customfont/objectiveFont,,
font,customfont/smallFont,,
material,fonts/gamefonts2pc
NOTE > If you want your console font to be the default monospace font used by the game, comment out the consoleFont line.
Step 5 > Build mod and see your new font in-game!

Step 6 > If your characters are slightly off from their normal positions, like the image above, you'll need to change the offsets in Idioma and re-generate. Play around with settings until you get it just right.
As always with my tools you MUST credit me for using them.
This supports most fonts on your computer, not just TrueType fonts.
-- WIKI MOVED: MODME WIKI -- (I don't answer support PMs!)
Reply #1 on 1472242246
HORRAY! NO MORE BEGGING FOR DUKIP
.
Great work +1.

Great work +1.
[Spoilers] Show / Hide
I'm joking Dukip :P And I'm first


Reply #2 on 1472247459
Reply #3 on 1472249310
Reply #4 on 1472249915
Reply #5 on 1472322711
Reply #6 on 1472435411
You get a failed loading material message is the material is not named gamefonts2pc . The error is coming from the font files themselves looking for it, as of now I don't believe you can actually use a custom material file and instead will have to name it that or else your font will show the missing images texture instead.
24/7, 365, money don't sleep, why the fuck should I?
Reply #7 on 1472436003
mrpeanut188
You get a failed loading material message is the material is not named gamefonts2pc . The error is coming from the font files themselves looking for it, as of now I don't believe you can actually use a custom material file and instead will have to name it that or else your font will show the missing images texture instead.
Yeah you need to use gamefonts2pc as the name, it's setup that way.
-- WIKI MOVED: MODME WIKI -- (I don't answer support PMs!)
Reply #8 on 1482045198
Reply #9 on 1483813088
Reply #10 on 1483821336
Reply #11 on 1484468789
Reply #12 on 1533553595