Centered HUD for Team Fortress 2

Discussions about getting games to run in a Multi-Mon setup.
bigehugedome
Posts: 2
Joined: 26 Mar 2013, 01:18

Re: Centered HUD for Team Fortress 2

Post by bigehugedome »

Hello,

Thanks for all the hard work. Is there any fix for the current version? I tried both versions of dopefish's tool. Im not sure where the .xml files are to import. and for the updated version, it detects the wrong path for my install, so I just moved the files to the correct install path after it was made and the hud was gone. I was able to fix it by removing the hudlayout.res file.

Thanks! :rockout:
Bogomips
Posts: 5
Joined: 13 Feb 2012, 03:35

Re: Centered HUD for Team Fortress 2

Post by Bogomips »

I'll upload my files which are for 5760x1200. Here is what I needed/did to get it to work. It's not perfect but at least all the main HUD elements are centred and it works for MvM.

1. In the archive is a list of where the necessary base files can be extracted from.
2. Use HLExtract from Nem's HLLib tools to extract these files. I think the link in this thread still works but if not just Google it.
3. Extract the files into a similar directory structure, replacing the "root\hl2" bit with something like "TF2HUD" i.e. for file BaseChat.res:

source: root\hl2\resource\ui\BaseChat.res ---> destination: TF2HUD\resource\ui\BaseChat.res

4. I used v1.0.7 of DopeFish's SourceHudEditor as that one worked for me. Drag and drop the TF2HUD directory you created into the HudEditor and let it do its magic.
5. Then finally copy the directories in TF2HUD (namely "resource" and "scripts") into \Steam\SteamApps\{username}\team fortress 2\tf\

Enjoy!
Attachments
TF2_HUD_5760x1200-2013-03.rar
(41.49 KiB) Downloaded 522 times
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

Re: Centered HUD for Team Fortress 2

Post by dopefish »

I still plan on updating the tool. I've just been so overwhelmed with work these last few months.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
Sp12
Posts: 3
Joined: 08 May 2010, 20:08

Re: Centered HUD for Team Fortress 2

Post by Sp12 »

Thanks for the tool, it's pretty cool. Are you planning on updating the tool for the latest TF2 content change?
Baldur
Posts: 37
Joined: 03 Nov 2011, 15:01

Re: Centered HUD for Team Fortress 2

Post by Baldur »

My current set for 5760x1200 in vpk-format.

Doesn't include new weapons for last 6 months, but otherwise should fine.
I'll comb through the old changelogs in the next few days and make a new XML & basefileset for the 1.0.7 tool.
Attachments
Multimonitor 5760x1200.rar
(21.66 KiB) Downloaded 388 times
wuudogg
Posts: 15
Joined: 19 Mar 2010, 03:10

Re: Centered HUD for Team Fortress 2

Post by wuudogg »

Baldur wrote:My current set for 5760x1200 in vpk-format.

Doesn't include new weapons for last 6 months, but otherwise should fine.
I'll comb through the old changelogs in the next few days and make a new XML & basefileset for the 1.0.7 tool.


Where does the .vpk go? Which directory ?
Baldur
Posts: 37
Joined: 03 Nov 2011, 15:01

Re: Centered HUD for Team Fortress 2

Post by Baldur »

wuudogg wrote:
Baldur wrote:My current set for 5760x1200 in vpk-format.

Doesn't include new weapons for last 6 months, but otherwise should fine.
I'll comb through the old changelogs in the next few days and make a new XML & basefileset for the 1.0.7 tool.


Where does the .vpk go? Which directory ?

Ah.

The new directory for custom files is: "Steam\steamapps\common\Team Fortress 2\tf\custom\"
.vpk:s go right into that directory, for loose files you have to create separate subdirectory and then put them as they would go under the old "\tf\" directory.
wuudogg
Posts: 15
Joined: 19 Mar 2010, 03:10

Re: Centered HUD for Team Fortress 2

Post by wuudogg »

Thank you Baldur. It seems that Steam moved my data with this latest update and left an old tf2 directory under my \username.

Thanks again this works like a charm!



Baldur wrote:
wuudogg wrote:
Baldur wrote:My current set for 5760x1200 in vpk-format.

Doesn't include new weapons for last 6 months, but otherwise should fine.
I'll comb through the old changelogs in the next few days and make a new XML & basefileset for the 1.0.7 tool.


Where does the .vpk go? Which directory ?

Ah.

The new directory for custom files is: "Steam\steamapps\common\Team Fortress 2\tf\custom\"
.vpk:s go right into that directory, for loose files you have to create separate subdirectory and then put them as they would go under the old "\tf\" directory.
Sp12
Posts: 3
Joined: 08 May 2010, 20:08

Re: Centered HUD for Team Fortress 2

Post by Sp12 »

Any news on an updated XML file for the tool? The old file structure doesn't exist anymore so it doesn't currently create the files I could move to the new directory.
dinglesniff
Posts: 60
Joined: 23 Nov 2011, 00:52

Re: Centered HUD for Team Fortress 2

Post by dinglesniff »

Sp12 wrote:Any news on an updated XML file for the tool? The old file structure doesn't exist anymore so it doesn't currently create the files I could move to the new directory.

Any update with someone who got this to work? Would be so helpful
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

Re: Centered HUD for Team Fortress 2

Post by dopefish »

To support the new structure it's as simple as editing the XML file and deleting the *\ before the game.

However, I do need to return to this to update for other changes.

I'll be updating the program to add some features but otherwise just the XML needs updated for the current version.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

Re: Centered HUD for Team Fortress 2

Post by dopefish »

Here's a new version.

There's not much of a change overall. The XML file has had a custompath attribute added so it knows where to write the files.

You no longer have to worry about the registry and usernames or paths since the TF2 directory now resides under common.

Download v1.2

This version does not contain any recent XML updates or anything. I do not have the time to go through each resource file and update it to the latest version of TF2. However, anyone with time and interest can update the XML file. :) And, while not tested, you should be able to create XML files for other Source-based games and they'll work.

The only plan I really have for future versions is automatic VPK packing.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

dopefish wrote:Here's a new version.

There's not much of a change overall. The XML file has had a custompath attribute added so it knows where to write the files.

You no longer have to worry about the registry and usernames or paths since the TF2 directory now resides under common.

Download v1.2

This version does not contain any recent XML updates or anything. I do not have the time to go through each resource file and update it to the latest version of TF2. However, anyone with time and interest can update the XML file. :) And, while not tested, you should be able to create XML files for other Source-based games and they'll work.

The only plan I really have for future versions is automatic VPK packing.

Nice work Dopefish, appreciate you taking the time to focus on the tool. :) :cheers:
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
Tobai
Posts: 1
Joined: 03 Jul 2013, 06:52

Re: Centered HUD for Team Fortress 2

Post by Tobai »

How do you use this?

I just started playing TF2 on an eyefinity setup cause a friend kept on telling me to try MvM.

So I tried downloading the latest attachment but what do you do with it? The first post doesn't tell me much and it seems kinda outdated. Do I just copy this stuff to my steamapps directory? I'm running 5760x1200 if it matters.
Baldur
Posts: 37
Joined: 03 Nov 2011, 15:01

Re: Centered HUD for Team Fortress 2

Post by Baldur »

I'll try to make an updated XML during this weekend. Been putting it off for way too long.
Baldur
Posts: 37
Joined: 03 Nov 2011, 15:01

Re: Centered HUD for Team Fortress 2

Post by Baldur »

Updated XML for SourceHudEditor 1.2.7

Should be up to date up to 2013.07.12 patch.

New entries:
HudItemEffectMeter_Heavy.res, HudItemEffectMeter, xpos and xpos_minmode
HudItemEffectMeter_Sapper.res, HudItemEffectMeter, xpos and xpos_minmode

Support for basechat.res is in the works. For now you can copy it from either older set you might have (hasn't changed) or get the original from Steam\steamapps\common\Team Fortress 2\hl2\resource\UI, edit manually (xpos of HudChat) and put it with rest of the edited files under Steam\steamapps\common\Team Fortress 2\tf\custom\SourceHudEditor\resource\UI

Width of the loading screen backgrounds might be wrong (not wide enough, they get edited wrong for at least me).

If you find some elements that need moving, poke it in here and I'll look into it.
Unfortunately there doesn't seem to be a way to move the voice command menu.
Attachments
Team Fortress 2 HUD.zip
XML up to 2013.07.12 patch
(1.34 KiB) Downloaded 425 times
dinglesniff
Posts: 60
Joined: 23 Nov 2011, 00:52

Re: Centered HUD for Team Fortress 2

Post by dinglesniff »

I have a really stupid question.... I can't get it to work and I think it's because I am not installing it correctly. Are there any instructions on the correct method with steam?
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

Re: Centered HUD for Team Fortress 2

Post by dopefish »

The background scaling has been fixed locally and I'm working on implementing the ability to modify files outside of packages, as well as .vpk repacking.

Thanks for the updated XML. I'll include it in the next build released.

Update:
I released v1.3.

Download it here.

It contains the changes in the XML file above, as well as the modifying non-packaged files. It also will use vpk.exe in the game's directory to create a .vpk package of the modified files.

Let me know how/if it works for you.
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 »

When I try and run the latest version this is the error I receive dopefish:

Image

Software:
    7680x1600 Surround Resolution (3x2560x1600)
    Windows 8 Pro 64-bit (Not 8.1)
    320.49 NVIDIA Drivers
Hardware:
    Core i7 3930K
    32GB Memory
    Dual GTX 780's in SLI
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
User avatar
dopefish
Insiders
Insiders
Posts: 1514
Joined: 14 Apr 2007, 02:13

Re: Centered HUD for Team Fortress 2

Post by dopefish »

Try running it as admin to see if that helps.

If not you can try getting properties on the dll itself and seeing if it's blocked.
Widescreen Fixer - https://www.widescreenfixer.org/

Widescreen Fixer Twitter - https://twitter.com/widescreenfixer
Personal Twitter - https://twitter.com/davidrudie
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests