Centered HUD for Team Fortress 2

Discussions about getting games to run in a Multi-Mon setup.
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

Can you take a screenshot of

Post by dopefish »

Can you take a screenshot of the error window and post it?

There should be files and line numbers included in it.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
c1em3ntchua
Posts: 14
Joined: 19 Aug 2012, 03:57

That's weird, there weren't

Post by c1em3ntchua »

That's weird, there weren't any.

frag85
Posts: 77
Joined: 01 Jul 2010, 20:01

Thank you Dopefish for your

Post by frag85 »

Thank you Dopefish for your continuing support here. I really appreciate it.

Getting the same error here.
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

Can you do me a favor?Open

Post by dopefish »

Can you do me a favor?


  • Open regedit

  • Go to HKEY_CURRENT_USER ▶ Software ▶ Valve ▶ Steam

  • Look in the right window for ModInstallPath

  • Paste the path here in a reply



Thanks.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
frag85
Posts: 77
Joined: 01 Jul 2010, 20:01

There is no ModInstallPath.

Post by frag85 »

There is no ModInstallPath, but there is a SourceModInstallPath. C:Program Files (x86)SteamSteamAppssourcemods

I tried an older version of the standalone app and it appears to work fine.
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

The older version doesn't

Post by dopefish »

The older version doesn't check the registry for anything.

Which directory is TF2 located in?

For example, mine is located in:
E:Steamsteamappsteam fortress 2
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
frag85
Posts: 77
Joined: 01 Jul 2010, 20:01

Correct. it should be like

Post by frag85 »

Correct. it should be like that for everyone.

Edit: well, actually mine is in C:Program Files (x86)... if you want to get that technical, but it should be somewhere ending in SteamTeam Fortress 2 for everyone unless they use the steam dev feature to install it to another directory.
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

The reason I asked is that

Post by dopefish »

The reason I asked is that SourceHudEditor relies on ModInstallPath in the registry to get the user from. If you do not have that key in the registry then this program will fail, which is what it's currently doing.

I need to find another way to get that user then.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
frag85
Posts: 77
Joined: 01 Jul 2010, 20:01

I don't see any mention of my

Post by frag85 »

I don't see any mention of my steam username in the registry.

The only thing I can think of is if you have the program ask for it, or use the process of elimination for folder names, like not common, not downloading, not sourcemods, not temp so it must be xxxxx. But then you would run into issues of multiple accounts on 1 PC, or if there is another folder in there for some reason.

steam.log contains it,
CsComm Session Jul-16-2010 16:06:25.909 [4868] CreateSession(XXXXXXXX,47771,3)=0 attempt 1

On my system this file is getting kind of large (>30MB) so idk if it would be worth pulling from there.
c1em3ntchua
Posts: 14
Joined: 19 Aug 2012, 03:57

Managed to get it working

Post by c1em3ntchua »

Managed to get it working again by adding the ModInstallPath registry manually. Thanks dopefish for the awesome program, makes life so much easier. :D

Edit: As for the registry, you could probably call TF2 install directory from here?

Code: Select all

Windows Registry Editor Version 5.00

   [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstallSteam App 440]
   "DisplayIcon"="H:Steamsteamgames33bdd91842b6aca0633ee1e5f3e6b82f2e8962f.ico"
   "DisplayName"="Team Fortress 2"
   "HelpLink"="http://support.steampowered.com/"
   "InstallLocation"="h:steamsteamapps<user>team fortress 2"
   "Publisher"="Valve"
   "UninstallString"=""H:Steamsteam.exe" steam://uninstall/440"
   "URLInfoAbout"="http://www.valvesoftware.com/"
   "NoRepair"=dword:00000001
   "NoModify"=dword:00000001
   


This probably only works for 64-bit version of Windows. The 32-bit version may not include the Wow6432Node in the registry. I won't know though.
Baldur
Posts: 37
Joined: 03 Nov 2011, 15:01

New XML for SourceHudEditor

Post by Baldur »

New "unofficial" XML for dopefishes SourceHudEditor.

Includes edits for new HUD element in 2012.9.21 patch.

HudMannVsMachineStatus.res, InWorldCurrencyPanel, xpos and xpos_minmode

Attached files Team Fortress 2 HUD.xml_.zip (1.4 KB)
niggz
Posts: 13
Joined: 09 Dec 2010, 08:27

hey dopefish your hud

Post by niggz »

hey dopefish

your hud editor looks great i just tested it.

it loads okay its just the game path is correct but I have multiple steam accounts and it just seems to be extracting onto one account and there is no way to change or edit the path.

how can I fix this or is there a work around ?

cheers
Baldur
Posts: 37
Joined: 03 Nov 2011, 15:01

Another SourceHudEditor Bug Report

Post by Baldur »

Two bugs to dopefish, tried to send as PM first.

First:
Would seem that the wide for the StatSummary.res backgrounds isn't working right with my resolution.
It's calculating value of 480 for me on 5760x1200 resolution, when it should be 768, leading to too narrow background images.

Second:
The files ending under "profileteam fortress 2hl2resourceui" aren't getting read by the game. So those need to me moved to under "profileteam fortress 2tfresourceui" like the rest of them. Easiest is to see that the chat window is in its original position if you delete the leftover basechat.res from the right place and go with just the utility extracted one.
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

I got the messages. I'll

Post by dopefish »

I got the messages. I'll look into it when I have some time. I knew I was writing some of the files to the default path and wasn't sure whether they were working right or not. I'll provide a way to specify which folder to output them to.

I've got a few things on my list to fix so I'll get to them soon hopefully.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
VodkaDK
Posts: 8
Joined: 27 Oct 2011, 03:28

Re: Centered HUD for Team Fortress 2

Post by VodkaDK »

dopefish, this is a great program but I just can't seem to get it to work correctly. Can someone tell me the exact steps necessary? Which .res files do I extract and where are they exactly?

I'm totally lost having not messed around with modifying my interface for so long.

Also I'm curious, how comes TF2 isn't supported in your other program, Widescreen Fixer? I'd be willing to donate $20 if you added support for TF2 to that. Another $20 if you added Left 4 Dead 2 too :D
Lian Li PC-X2000 | Asus Rampage IV Extreme X79 | Intel Core i7 3930K @ 4.37GHz | 32GB DDR3 1866MHz
2 x EVGA GTX 780's | Samsung 840 Pro 128GB | Corsair AX1200 | 3 x Dell U3008 WFP Surround @ 7680x1600
Razer Mamba | Logitech diNovo Edge | Windows 8 Pro 64-bit
MonolithNZ
Posts: 1
Joined: 06 Apr 2012, 05:39

Re: Centered HUD for Team Fortress 2

Post by MonolithNZ »

Hey guys. I've been having a really hard time trying to fix the HUD on my copy of TF2. I can't get any of the community made tools to work for various reasons. Is someone please able to modify the files for a 6032x1200 resolution and upload them somewhere for me? I would really appreciate it!!!! :oops:
frag85
Posts: 77
Joined: 01 Jul 2010, 20:01

Re: Centered HUD for Team Fortress 2

Post by frag85 »

MonolithNZ wrote:Hey guys. I've been having a really hard time trying to fix the HUD on my copy of TF2. I can't get any of the community made tools to work for various reasons. Is someone please able to modify the files for a 6032x1200 resolution and upload them somewhere for me? I would really appreciate it!!!! :oops:


The older version of DopeFish's tool should work, version 1.0. Just follow the directions. Everything but the MvM stuff will be centered. You can edit the HudMannVsMachineStatus.res file and set your resolution's offest for the xpos and xpos_minmode values. Of just take the 2 minutes to search+replace the .res files for your offset.
plastik
Posts: 4
Joined: 01 Jan 2013, 18:07

Re: Centered HUD for Team Fortress 2

Post by plastik »

Dopefish's tool kind-of works for me, but I don't think he's got the positions for UI elements quite right for 5760x1080. Before running his tool I even nuked my scripts and resource folders so it would create fresh copies of the files.

The elements aren't quite centered correctly on the middle screen, and it's hard to show this in a screenshot without the bezels, so I won't bother attaching one. But the elements bleed into the left and right screens quite a bit. Not sure if this is only since the most recent patch, since this is the first time I've tried to use his tool.

The other issue is that resource/UI/BaseChat.res isn't touched either, so the chat box is still in the bottom left of the leftmost screen, making it difficult to read what's going on.

Does anyone have a pre-packaged HUD for 5760x1080 where the UI is centered on the middle screen w/ the chatbox at the bottom left of the middle screen as well? Or am I asking to much? :P

I used to have this, I created it from a couple of hud fixes I found on this site, but those file links have long since gone dead, and the latest Source update has reset all my customizations back to default.
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

Re: Centered HUD for Team Fortress 2

Post by dopefish »

I'll work on this over the coming weekend.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
plastik
Posts: 4
Joined: 01 Jan 2013, 18:07

Re: Centered HUD for Team Fortress 2

Post by plastik »

dopefish wrote:I'll work on this over the coming weekend.


I would be forever in your debt.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 20 guests