Garry's Mod

Garry's Mod

GUI Scaler (Fix Small Spawnmenu)
110 Comments
Wontairr  [author] 2 Sep @ 4:24pm 
you can put whatever looks best, there isn't really any standard value.
Below_Mediocre 2 Sep @ 10:26am 
Do you know what I would put next to the Tall values for 4k? In SourceScheme.res that is
Qpry 16 Aug @ 9:00pm 
I love you
Autumn Witch 13 Aug @ 4:51pm 
Thank you for this mod, it helped me a lot. Take award:dealerrizz:
JUAnW 6 Aug @ 10:22pm 
dudde just saved my eyes!!!!!!!!!!!!!!!!!!!!!!! love u
CocoaRaptor 4 Aug @ 8:31am 
is there a way to just change the icon scale? like for the spawn menu, for me both the text and icons are really small but when I bring the text scale up to a fitting size it makes the icons huge
我喜欢你🥰
Chen 26 Jul @ 7:48pm 
thx
Pughausen 24 Jul @ 8:33pm 
I HAVE NEEDED THIS FOR YEARS.
YOU ARE A G.O.A.T. FOR MAKING THIS.
Wontairr  [author] 11 Jul @ 6:12pm 
I just pushed a new update that should help alot with performance. If you have any bugs, please report!
Wontairr  [author] 8 Jul @ 5:20am 
im sorry that happens, can you confirm it's this that causes the fps drops? this shouldn't happen.
RiceIsNice 8 Jul @ 2:19am 
eats half of my fucking fps
SupFede 5 Jul @ 3:49am 
LESGOOOOOOOOOOOOOOOOOOOOOOOO:steamthumbsup:
!!PleaseCleanMyteeth!! 30 Jun @ 11:20am 
Must have for every 4k gamer!! Thanks, son! Garry won't fix it, so it's up to modders again.
xyyyw9505 30 Jun @ 12:05am 
This Mod will soon became a must-have for every player. I've been waiting for such Mod over years!
THANK YOU SO MUCH YOU SAVED MY EYES ! ! !
Wontairr  [author] 29 Jun @ 1:36pm 
@Gamer idk, might be an html if you look for it. could also be internal.
Kluska 29 Jun @ 1:15pm 
I FUCKING LOVE YOU
Gamer 29 Jun @ 12:15pm 
Just curious, how do I scale the "Loading..." message when you boot the game? I know it's not really important, but I would just like to scale it if it's possible.
Wontairr  [author] 21 Jun @ 6:07am 
select them all then right click then resize
Freddy_Fazbear 20 Jun @ 7:14pm 
is there a way for me to just scale up the prop spawn icons
Mayor Qwert 19 Jun @ 4:14pm 
Fingers crossed someone finds a fix for the console text input, but I can live with it haha
Mayor Qwert 19 Jun @ 4:14pm 
Amazing mod, just trying to get back into gmod after close to 10 yrs and forgot how small the text was (that or my eyes are getting old lol)

Surprised this hasn't been fixed sooner
Bot Soldier 18 Jun @ 11:01am 
I have really small screen and sometimes searching for toolgun stuff is a bit eye tiring especially when I don't remember where exactly was the thing im looking this already by just increasing value to 1.2 makes huge difference without breaking the UI thank you man
✠ DFSpecter 17 Jun @ 8:33am 
I'm unironically going to need this mod in roughly 5-10 years.

Remember folks, your eyes are important, so take care of them!
Wontairr  [author] 16 Jun @ 2:07pm 
based crt
soapie 16 Jun @ 12:00pm 
it does work with 4:3!! just has weird text cutting but its fine
i asked because my flat panel monitor died and im currently using my crt monitor i had a secondary display.. alot of stuff doesnt support 4:3 nowadays unsurprisingly
Blimby 14 Jun @ 5:49pm 
I LOVE YOU SO MUCH THANK YOU!!!
Wontairr  [author] 14 Jun @ 4:32pm 
it can scale to however big or small as you want it to; so yes.
Morality 14 Jun @ 4:17pm 
Question, but for those who SOMEHOW can barely run the game smoothly because of shitty specs, does it work at 1280x720p Resolution? Like can it maybe make the GUI smaller or bigger properly?
Wontairr  [author] 14 Jun @ 2:29pm 
try it out I actually don't know
soapie 14 Jun @ 2:19pm 
dipshit level question but does it support 4:3?
♱ kdofll663 λ 14 Jun @ 11:08am 
Thank you so much, this will help me a lot.:steamhappy:
Noxedwin 14 Jun @ 7:07am 
@Wontairr Yep, that's what I remember.
It was a massive pain to work with. I remember having to choose between "is legible on 4K" or "doesn't look like sh𝗂t".
In the past, none of the numbers I entered did both of those things. I just got bored of trying and opened Windows Magnifier. It's not like the console moves quickly or dynamically enough to need an efficient solution... ¯\_(ツ)_/¯
Wontairr  [author] 14 Jun @ 6:53am 
@Noxedwin console text fix is in the description now 👍
ph0roggy 13 Jun @ 8:49pm 
GRANDMA PHONE
Noxedwin 13 Jun @ 7:55pm 
Finally managed to test this out on a 4K monitor. It's almost everything I had hoped for.
Console text is itty-bitty, but I guess that's not in the purview of the addon.
And with the menu.html hack elsewhere in this comment section, the game is, like, 95% legible now.

That's some terrific stuff. It's a shame I can only do the 'Take My Points' reward once.
Wontairr  [author] 13 Jun @ 2:04pm 
hm idk then, guess you just gotta try to find the font that the console uses for that ¯\_(ツ)_/¯
CokedBadger 13 Jun @ 2:01pm 
@Wontairr
Did the console fix but it doesn't affect the command bar at the bottom. I couldn't find an answer in any discussions
Wontairr  [author] 13 Jun @ 1:59pm 
NEW UPDATE:

Added Font Scale and Boldness configuration.

Added option to choose to scale trees or not (and if to ignore tool menu trees)

Added option to scale spawnicons.

Spawn Icon Text scales properly now.
Wontairr  [author] 13 Jun @ 1:02pm 
yes it works for any resolution. you can see I actually test a 1440p resolution in the screenshots.
n.onajok92 13 Jun @ 12:14pm 
does it also work for 2560x1440????
Wontairr  [author] 13 Jun @ 10:47am 
The code *does* scale all gui by the amount using SetSize(). In the source engine the gui system is called VGUI. GMOD's lua implementation gives base level control of this system to create and modify panels, but the rest of the logic that makes up vgui and how it is seen is completely internal and inaccessible.

For the console you have to change the console font in garrysmod/resource/SourceScheme.res

find the line "ConsoleText" and change the tall values. there is two "tall" parameters but just change both for quick purposes.

I found out this from old gmod discussions so you could probably find more stuff about it in those.
CokedBadger 13 Jun @ 10:06am 
@Wontairr
Okay. I found more than a few bugs since this conversation started (putting them in Bug Reports this time). Also, that pause menu fix doesn't seem to affect the console, do I just put the same thing in another HTML or do I have to do some tweaking?

Also, this made me think: Did you try another method of scaling the VGUI? Maybe you could've coded an option to, like, tell the game "scale all UI by X amount". Cause the usual solution was to just turn down your game resolution. I have a 3840x2160 monitor and the problem was solved by just halving it
Wontairr  [author] 13 Jun @ 6:02am 
@DanTheStar default settings should theoretically look no different, but you are able to change the scaling nonetheless

@CokedBadger this is inevitable and not everything can be compatible sadly. I recommend setting guiscaler_only_spawnmenu to 1 or 2 so that only the spawnmenu/ spawnmenu & context menu are scaled.
Luigi 13 Jun @ 4:52am 
Tried the update and I love it, the configs are massive bc I can make everything pixel perfect, wonderful work as always

@CokedBadger I thought they added compatibility for addons like these by using the guiscaler_only_spawnmenu command? Give it a try, it's either 0, 1 or 2

@DanTheStar then Im pretty sure you don't really need this addon, but you never know, vision problems could be a factor, there's a multiplier setting so maybe you could try that
DanTheStar 12 Jun @ 10:54pm 
How does this work I have 1920 * 1080p screen.
CokedBadger 12 Jun @ 10:23pm 
@Wontairr
Thanks
Also, realized there's a problem:
Seems like this doesn't really co-operate with addons that use their own context-menu panel

Things like Black Autumn's PM Selector , Combat Buddies , or Crosshair Designer

Is there something you could do about that or is it something they'll have to make compatible?
Wontairr  [author] 12 Jun @ 8:44pm 
by impossible I mean impossible to be done within a mod using lua.
Wontairr  [author] 12 Jun @ 8:42pm 
thanks brah. also it's impossible to do the pause menu since it isn't vgui it's actually html. if you go to your gmod folder -> garrysmod/html/menu.html open that file and paste this under <head> at the top

<style type='text/css'>html {zoom:1.25;}</style>

it'll zoom based off that number (1.25)
CokedBadger 12 Jun @ 8:34pm 
@Wontairr
Better
Now there's just the small problem of the pause menu being unaffected. Would be nice to have that too but it's whatever. Here's my points