Page 15 of 17

Re: Centered HUD for Team Fortress 2

Posted: 26 Mar 2013, 01:59
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:

Re: Centered HUD for Team Fortress 2

Posted: 28 Mar 2013, 21:10
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!

Re: Centered HUD for Team Fortress 2

Posted: 10 Apr 2013, 09:55
by dopefish
I still plan on updating the tool. I've just been so overwhelmed with work these last few months.

Re: Centered HUD for Team Fortress 2

Posted: 01 May 2013, 03:02
by Sp12
Thanks for the tool, it's pretty cool. Are you planning on updating the tool for the latest TF2 content change?

Re: Centered HUD for Team Fortress 2

Posted: 02 May 2013, 07:11
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.

Re: Centered HUD for Team Fortress 2

Posted: 05 May 2013, 22:37
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 ?

Re: Centered HUD for Team Fortress 2

Posted: 07 May 2013, 11:32
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.

Re: Centered HUD for Team Fortress 2

Posted: 07 May 2013, 11:44
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.

Re: Centered HUD for Team Fortress 2

Posted: 22 May 2013, 23:21
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.

Re: Centered HUD for Team Fortress 2

Posted: 22 Jun 2013, 07:58
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

Re: Centered HUD for Team Fortress 2

Posted: 30 Jun 2013, 23:23
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.

Re: Centered HUD for Team Fortress 2

Posted: 01 Jul 2013, 03:11
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.

Re: Centered HUD for Team Fortress 2

Posted: 01 Jul 2013, 17:14
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:

Re: Centered HUD for Team Fortress 2

Posted: 03 Jul 2013, 06:57
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.

Re: Centered HUD for Team Fortress 2

Posted: 13 Jul 2013, 13:02
by Baldur
I'll try to make an updated XML during this weekend. Been putting it off for way too long.

Re: Centered HUD for Team Fortress 2

Posted: 14 Jul 2013, 11:47
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.

Re: Centered HUD for Team Fortress 2

Posted: 17 Jul 2013, 02:19
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?

Re: Centered HUD for Team Fortress 2

Posted: 20 Jul 2013, 18:54
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.

Re: Centered HUD for Team Fortress 2

Posted: 29 Jul 2013, 06:23
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

Re: Centered HUD for Team Fortress 2

Posted: 03 Aug 2013, 15:47
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.