Register for your free account! | Forgot your password?

You last visited: Today at 12:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Client Fontsize

Discussion on Client Fontsize within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
Genoxid's Avatar
 
elite*gold: 72
Join Date: May 2016
Posts: 313
Received Thanks: 64
Question Client Fontsize

hello,

like the title says. Is it possible to change the fontsize of the client somewhere? I would be happy about some help here because im really bad in ASM
Genoxid is offline  
Old 03/07/2021, 18:23   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 686
Yes it's possible but keep in mind that the UI was not designed to be scaled like this and most of the alignment will break.


When loading the Client creates 5 fonts with different sizes. These fronts have indices that are analog to the FontIndex property in the Interface Text files (resinfo)
Code:
FontIndex=INTEGER,"0"
All the non-ui rendering stuff like character names probably have their font index hardcoded so if you want to exclude that you'll have to find it or move all UI fonts over to another index.

Now onto the editing...

CGame::CreateFont which is at 00BA6140 takes parameters like the font index, size and name. The font name comes from UIC_STT_FONTNAME in textuisystem.txt and is by default "Arial".

So in order to edit the sizes of various fonts you'll have to find references to the CGame::CreateFont function.



You'll end up at one of these locations and can change the font size according to the labels I provided. Don't modify the font index in the assembly!
DaxterSoul is offline  
Thanks
4 Users
Reply


Similar Threads Similar Threads
[Tutorial] Fontsize ändern
09/25/2013 - League of Legends Guides & Strategies - 28 Replies
Hi, auf Anfrage von mehreren Leuten mach ich mal eine (Deutsche und auf Epvp) Anleitung zum ändern der Fontgröße, wer wissen will wie es nach der Änderung aussieht: http://puu.sh/3JJ54.jpg Zum Vergleich, so sieht es normalerweise aus: http://puu.sh/3JHU9.jpg



All times are GMT +1. The time now is 12:22.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.