Forums » General

Custom fonts in HUD

Apr 28, 2010 Snax_28 link
Is this possible? I'm just getting my toes wet again in the realm of skins, and I was wondering if we had the ability to change the font.
Apr 28, 2010 Lord~spidey link
aye but you need to mess with the UI code methinks, not even sure if it would work...
Apr 29, 2010 MSKanaka link
Last time I checked, VO's font was based on a .png somewhere in media.rlb that contained every 'legal' character that you could type ingame and have it show up. When you type, the client snips that character out of the .png and displays it; to change the font ingame outright, you'd need to find and replace that .png file. Finding it might not be too difficult -- replacing it on the other hand...
Apr 29, 2010 Lord~spidey link
media.rlb file is easy as a lego-pinata to crack open, but to me its just as hard to put back together.
Apr 29, 2010 Snax_28 link
Is it? Do you need linux to do so?
Apr 29, 2010 Lord~spidey link
actually i've seen the extration done really easily on a mac.
Apr 29, 2010 Snax_28 link
Do tell. Unless this constitutes some sort of EULA issues. Then don't tell. I just like looking under the hood of things.
Apr 29, 2010 yodaofborg link
I'll tell, but only because you asked Gavan. media.rlb is just a compressed file, but it is compressed with guilds own stuff. So if you can work out the compression algorithms you can extract it into a folder. Changing the folder and then re-compressing it into something useable is not possible. This is due to the VO server doing sanity checks on what you are loading.

It's one of VO's coolest features though, because it means you cannot cheat. You would have to change stuff on the fly in RAM with something like tsearch after VO has loaded to affect your own client, but even that does not mean cheats. And thats thanks to somebody we both know (who's cut his friend with knifes) most (can't ever say all) memory hacks already got exposed.
Apr 29, 2010 peytros link
can someone make a zaph dingbats one?
Apr 30, 2010 Lord~spidey link
i messed quite a bit with Tsearch back in the day twas great fun but i never figured out anything else than changing the text ingame and stuffs...
May 04, 2010 mr_spuck link
This topic made me kinda curious if font replacement with lua could work. So I hacked up a label widget that loads a prerendered font and replaced the hud notification text font with comic sans..
http://home.arcor.de/famscheffler/ven/dump0124.jpg
It sorta works. Replacing every text element with this thing would get pretty involved though. It's also pretty inefficient.

Here's the plugin from the screenshot. http://home.arcor.de/famscheffler/ven/clabel.zip
The gimp script to generate the character map is included. It registers under filters->vendetta->charmap. It spits out two files (charmap.lua and charmap.png), that have to be placed in the plugin directory.

There are probably bugs. But it's not really meant for normal usage anyway ..so whatever.
May 04, 2010 Snax_28 link
You had to choose Comic Sans. You're either a very funny guy, or in need of serious help.