"Logo.Image" seemingly non functional?
ashifolfi opened this issue · 4 comments
Despite using the same offsets and setup for the logo and even copy pasting the files for portal 1's logo over to test and I still have no logo displayed. This is especially strange considering the code to display this logo is very much present.
The sdk fork I'm using for my mod is mapbase in case that helps.
(apologies for the crowded screenshot I wanted to make sure you could see both the res and the files being present)
OS info
Processor: Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz 2.70 GHz
RAM: 8.00 GB (7.87 GB usable)
Graphics: Intel(R) HD Graphics 4000
This is a known issue that we are unsure how to approach fixing at the moment, I believe per @Joshua-Ashton there were changes made for font rendering in vgui2 that break on sdk2013 when I tried to merge them over, as well as being behind yet another closed source binary. This also affects logo rendering for some reason.
ah that sucks. any possible workaround I could try?
Try entering in your mod title into gameinfo.txt, the logo's x/y position in GamepadUI s pulled from the calculations for m_LogoText for some reason, even when it's "empty" or nonexistent in gameinfo. I believe I was able to temporarily fix it by adding the title to gameinfo.
This combined with the font scaling changes is messing with logos right now.
You do need to have a title
set in gameinfo, the version included with HL2/P1 does the same thing. Just making it a single space works fine and doesn't mess with the logo image appearing in regular GameUI. Should probably look into fixing that