Cozur said:Does this work with Warband?
FONT_DATA.xml
\Data
FONT.dds
\Textures
<M&B Main Root>\Modules\Your Mod's Name\
Tryggvi said:Swyter, could you reupload the 1.4.1 version please? There is no folder on the mediafire.
http://www.mbrepository.com/download.php?id=1503&f=MBFCv1.4.zip
Hypno Toad said:Public service announcement for GIMP users here, I just went through a hellish time (2 hours of failure) trying to invert the RBG channels to get rid of the black boxes around text, and it's simply not possible to do with the normal decompose channel tool that GIMP has. GIMP is totally ass backwards as **** in terms of alpha/rgb options, totally broken. So do this totally unintuitive solution instead >
What you have to do:
- open up your .dds file in GIMP with the .DDS plugin:
- Use the "select by color" tool, set it to the maximum threshold, then select the whitest part of one of the white letters. Now all the letters in the image will be selected.
- Fire up the paint brush tool, go to the color selection window, and copy/paste this number into the HTML notation: 474747. Hit "OK" and a flat grey color should get selected.
- Paint over all the white characters with this grey color. Don't miss any spots. Or use the fill tool, whatever you prefer.
- With the letters/numbers still selected Go to Layer > Transparency > Remove alpha channel. Now here's the kicker, go to Layer > Transparency > Add alpha channel. How's that for redundancy.
- Go to Select > Invert.
- Now erase everything that is selected in the image (IE: everything that is white.. leave the grey characters) until you have an alpha background.
This whole ridiculous process should have accomplished the desired goal of inverting only the rgb channels, and making them the correct duo-tone colors. Save the .dds as DXT5 compression, with mipmaps enabled then you should be good to go.
I'm unaware of any better solution, so if anybody knows one, please for the love of god, correct me
swycartographer
[url=http://www.lonesock.net/soil.html]SOIL[/url]
[url=http://nothings.org/stb/stb_image_write.h]stb_image_write[/url]
[url=http://nothings.org/stb/stb_truetype.h]stb_ttf[/url]
Hypno Toad said:I'm running with admin privledges, but I wouldn't really say it's an issue with your program. It should be a dead simple job to invert the RGB channel but GIMP has serious issues in that regard, likewise it also makes it really difficult to add proper alpha channels to VTF files (valve texture format)
Just a shortcoming with GIMP.
ValerBOSS said:Swyter, is there any way to "de-"generate M&B font from texture and .xml to windows font?
http://forums.taleworlds.com/index.php?topic=140747.0
http://www.myfonts.com/WhatTheFont/
http://www.dafont.com/forum/
Yeah, it does. Albeit with some trouble.ValerBOSS said:And one more question: does your tool support kerning?
It isnt a problem! ThxSwyter said:Albeit with some trouble.
Harlef said:DL Link is broken, could you pls upload it again?
Swyter said:Tryggvi said:Swyter, could you reupload the 1.4.1 version please? There is no folder on the mediafire.
The upload was in MBrepository, which works flawlessly. Here's the direct link:
Code:http://www.mbrepository.com/download.php?id=1503&f=MBFCv1.4.zip
It's in the first post, but, as you probably noticed, the images are broken, and so the download button.
Have fun!