Upvote Upvoted 0 Downvote Downvoted
Custom Hud's not working (not even one)
posted in Customization
1
#1
0 Frags +

Basically I've gotten a new pc (a10 7700k + r9 280x) but no custom huds work. I am using linux mint 18(basically a skin of ubuntu). The weird thing is that my old pc worked when using custom huds. Yes I am installing them in steam/steam/steamapps/common/teamfortress2/tf/custom

Help meh,

Basically I've gotten a new pc (a10 7700k + r9 280x) but no custom huds work. I am using linux mint 18(basically a skin of ubuntu). The weird thing is that my old pc worked when using custom huds. Yes I am installing them in steam/steam/steamapps/common/teamfortress2/tf/custom

Help meh,
2
#2
0 Frags +

which hud(s) have you tried so far?

which hud(s) have you tried so far?
3
#3
0 Frags +
STOGEwhich hud(s) have you tried so far?

Every hud that is compatible on linux: Toonhud,voidhud,7hud pretty much everything on huds.tf

[quote=STOGE]which hud(s) have you tried so far?[/quote]

Every hud that is compatible on linux: Toonhud,voidhud,7hud pretty much everything on huds.tf
4
#4
4 Frags +

info.vdf

info.vdf
5
#5
-8 Frags +

*gets new pc*
*rest in peace everything*
:7

*gets new pc*
*rest in peace everything*
:7
6
#6
0 Frags +
tigid-info.vdf

Nope not that all huds have been updated for that cause

[quote=tigid-]info.vdf[/quote]
Nope not that all huds have been updated for that cause
7
#7
3 Frags +

Bump. Does anyone have huds working on linux? Or have they broken it.
The only hud that I get to show up at all is wavesui but it's partly broken still. Every other hud I've tried just opens with the default hud.

Bump. Does anyone have huds working on linux? Or have they broken it.
The only hud that I get to show up at all is wavesui but it's partly broken still. Every other hud I've tried just opens with the default hud.
8
#8
1 Frags +

7Hud perfectly works for me.

uname -a
Linux desk 4.1.27 #1-NixOS SMP Thu Jun 23 03:59:54 UTC 2016 x86_64 GNU/Linux

7Hud perfectly works for me.

uname -a
Linux desk 4.1.27 #1-NixOS SMP Thu Jun 23 03:59:54 UTC 2016 x86_64 GNU/Linux
9
#9
0 Frags +

I just tried 7HUD as well, same result as the rest, just opens with the default hud. My folder structure is below, can anyone confirm I'm not doing something wrong?

├── custom
│   ├── 7HUD
│   │   ├── materials
│   │   │   ├── console
│   │   │   │   └── characters
│   │   │   └── vgui
│   │   │       └── replay
│   │   │           └── thumbnails
│   │   ├── resource
│   │   │   ├── centered
│   │   │   ├── fonts
│   │   │   ├── lowered
│   │   │   └── ui
│   │   │       ├── build_menu
│   │   │       │   └── pipboy
│   │   │       ├── destroy_menu
│   │   │       │   └── pipboy
│   │   │       ├── disguise_menu
│   │   │       ├── econ
│   │   │       │   └── store
│   │   │       │       └── v2
│   │   │       ├── notifications
│   │   │       ├── replaybrowser
│   │   │       └── training
│   │   │           ├── basictraining
│   │   │           ├── modeselection
│   │   │           └── offlinepractice
│   │   └── scripts
│   ├── 7hud
│   │   └── sound
│   ├── userstuff
│   │   ├── cfg
│   │   │   └── sound
│   │   └── sound
│   │       └── ui
│   └── workshop
│       └── sound

Here's a pastebin of the tree including files http://pastebin.com/raw/k1KimAdv
Edit: Tried on my desktop and laptop, antergos and arch. Same on both.

I just tried 7HUD as well, same result as the rest, just opens with the default hud. My folder structure is below, can anyone confirm I'm not doing something wrong?

[code]├── custom
│   ├── 7HUD
│   │   ├── materials
│   │   │   ├── console
│   │   │   │   └── characters
│   │   │   └── vgui
│   │   │   └── replay
│   │   │   └── thumbnails
│   │   ├── resource
│   │   │   ├── centered
│   │   │   ├── fonts
│   │   │   ├── lowered
│   │   │   └── ui
│   │   │   ├── build_menu
│   │   │   │   └── pipboy
│   │   │   ├── destroy_menu
│   │   │   │   └── pipboy
│   │   │   ├── disguise_menu
│   │   │   ├── econ
│   │   │   │   └── store
│   │   │   │   └── v2
│   │   │   ├── notifications
│   │   │   ├── replaybrowser
│   │   │   └── training
│   │   │   ├── basictraining
│   │   │   ├── modeselection
│   │   │   └── offlinepractice
│   │   └── scripts
│   ├── 7hud
│   │   └── sound
│   ├── userstuff
│   │   ├── cfg
│   │   │   └── sound
│   │   └── sound
│   │   └── ui
│   └── workshop
│   └── sound[/code]

Here's a pastebin of the tree including files http://pastebin.com/raw/k1KimAdv
Edit: Tried on my desktop and laptop, antergos and arch. Same on both.
10
#10
0 Frags +

Does yayahud work?

Does yayahud work?
11
#11
0 Frags +

if you have problems do you have an info.vdf file in the folder containing resources, materials, etc?

if you dont, just save an info.vdf in the folder inside of custom containing all the folders and files and such.

info.vdf"insert_hud_here"
{
"ui_version" "1"
}
if you have problems do you have an info.vdf file in the folder containing resources, materials, etc?

if you dont, just save an info.vdf in the folder inside of custom containing all the folders and files and such.

[quote=info.vdf]"insert_hud_here"
{
"ui_version" "1"
}[/quote]
12
#12
0 Frags +
toads_tfif you have problems do you have an info.vdf file in the folder containing resources, materials, etc?

see #6

[quote=toads_tf]if you have problems do you have an info.vdf file in the folder containing resources, materials, etc?[/quote]
see #6
13
#13
2 Frags +

Solution:
The HUD folder and the the HUD name in info.vdf must be in lowercase.
Example: I had to rename my "Garm3n R-B" folder to "garm3n r-b", and do the same in the info.vdf file.

I don't think this was the case before MyM and I assume it's a bug, but can be solved by HUD makers just making everything lowercase. Is it worth posting a PSA thread for hud makers or should I just attempt to email valve (ha ha)?

Thanks yttrium for suggesting yayahud (which works), which made me realize the solution.

[b]Solution: [/b]
The HUD folder and the the HUD name in info.vdf [i]must[/i] be in lowercase.
Example: I had to rename my "Garm3n R-B" folder to "garm3n r-b", and do the same in the info.vdf file.

I don't think this was the case before MyM and I assume it's a bug, but can be solved by HUD makers just making everything lowercase. Is it worth posting a PSA thread for hud makers or should I just attempt to email valve (ha ha)?

Thanks yttrium for suggesting yayahud (which works), which made me realize the solution.
14
#14
1 Frags +
dangoThanks yttrium for suggesting yayahud (which works), which made me realize the solution.

I'm gunna totally pass it off as knowing about case sensitivity in UNIX-like filesystems. Yesyes.

On a serious note, case sensitivity is definitely an important thing, but it's only one of the dozens of things you need to know as a HUD maker when trying to target non-Windows clients. I think the best thing to do is save this lesson in a folder and publish it, along with a bunch of other thoroughly-tested cases, in a "Targeting OS X and Linux with HUDs" thread later on, that way every HUD developer can easily read that thread and make their HUDs 100% compatible. For instance, iirc TF2 on Linux doesn't properly read TTF font files, they have to be formatted as OTF (not to mention that when defining them in ClientScheme.res you have to do so case-sensitively). Just one of the many lesser-known things you have to keep in mind as a developer.

dangoI don't think this was the case before MyM and I assume it's a bug

Wasn't the case before MyM because info.vdf didn't exist - MyM is what introduced the whole concept of HUD versioning.

Not really a bug so much as an unintended feature. Case sensitivity is something you have to account for on UNIX and UNIX-like filesystems, which Windows does not abide by. Frankly all this means is that Valve is actually doing their Linux programming correctly - TF2 really isn't running under a WINE compatibility layer. If they wanted to try and fix this "bug" they would actually have to develop a workaround that makes Source on Linux not conform to the Linux filesystem standard.

[quote=dango]Thanks yttrium for suggesting yayahud (which works), which made me realize the solution.[/quote]
I'm gunna totally pass it off as knowing about case sensitivity in UNIX-like filesystems. Yesyes.

On a serious note, case sensitivity is definitely an important thing, but it's only one of the dozens of things you need to know as a HUD maker when trying to target non-Windows clients. I think the best thing to do is save this lesson in a folder and publish it, along with a bunch of other thoroughly-tested cases, in a "Targeting OS X and Linux with HUDs" thread later on, that way every HUD developer can easily read that thread and make their HUDs 100% compatible. For instance, iirc TF2 on Linux doesn't properly read TTF font files, they have to be formatted as OTF (not to mention that when defining them in ClientScheme.res you have to do so case-sensitively). Just one of the many lesser-known things you have to keep in mind as a developer.

[quote=dango]I don't think this was the case before MyM and I assume it's a bug[/quote]
Wasn't the case before MyM because info.vdf didn't exist - MyM is what introduced the whole concept of HUD versioning.

Not really a bug so much as an unintended feature. Case sensitivity is something you have to account for on UNIX and UNIX-like filesystems, which Windows does not abide by. Frankly all this means is that Valve is actually doing their Linux programming correctly - TF2 really isn't running under a WINE compatibility layer. If they wanted to try and fix this "bug" they would actually have to develop a workaround that makes Source on Linux not conform to the Linux filesystem standard.
15
#15
0 Frags +
dangoSolution:
The HUD folder and the the HUD name in info.vdf must be in lowercase.

Oh yeah, I had forgotten I had this problem installing 7HUD, Sorry.

As yttrium said, it's not a bug, but HUD makers should be informed for sure. I think making a post on huds.tf would be most appropriate?

[quote=dango][b]Solution: [/b]
The HUD folder and the the HUD name in info.vdf [i]must[/i] be in lowercase.[/quote]

Oh yeah, I had forgotten I had this problem installing 7HUD, Sorry.

As yttrium said, it's not a bug, but HUD makers should be informed for sure. I think making a post on huds.tf would be most appropriate?
16
#16
0 Frags +
yttriumNot really a bug so much as an unintended feature. Case sensitivity is something you have to account for on UNIX and UNIX-like filesystems, which Windows does not abide by. Frankly all this means is that Valve is actually doing their Linux programming correctly - TF2 really isn't running under a WINE compatibility layer. If they wanted to try and fix this "bug" they would actually have to develop a workaround that makes Source on Linux not conform to the Linux filesystem standard.

I'm not quite sure I follow this logic. I noticed the issue because when launching a HUD with uppercase letters, TF2 will automatically make a folder with the name in lowercase for sound/sound.cache. This means that at some point (presumably before the HUD files are loaded, since the HUD doesn't ever load) they are calling some sort of String.toLower() function which certainly doesn't make sense when case sensitivity is an issue. My assumption is they convert the stored name to lower case for some reason, and then attempt to find the folder matching that lowercase name, which as you pointed out doesn't work on a case sensitive system.

Edit: I don't know anything about HUD making at all, so sorry if I'm missing the point.

[quote=yttrium]
Not really a bug so much as an unintended feature. Case sensitivity is something you have to account for on UNIX and UNIX-like filesystems, which Windows does not abide by. Frankly all this means is that Valve is actually doing their Linux programming correctly - TF2 really isn't running under a WINE compatibility layer. If they wanted to try and fix this "bug" they would actually have to develop a workaround that makes Source on Linux not conform to the Linux filesystem standard.[/quote]
I'm not quite sure I follow this logic. I noticed the issue because when launching a HUD with uppercase letters, TF2 will automatically make a folder with the name in lowercase for sound/sound.cache. This means that at some point (presumably before the HUD files are loaded, since the HUD doesn't ever load) they are calling some sort of String.toLower() function which certainly doesn't make sense when case sensitivity is an issue. My assumption is they convert the stored name to lower case for some reason, and then attempt to find the folder matching that lowercase name, which as you pointed out doesn't work on a case sensitive system.

Edit: I don't know anything about HUD making at all, so sorry if I'm missing the point.
17
#17
0 Frags +
dangoI'm not quite sure I follow this logic. I noticed the issue because when launching a HUD with uppercase letters, TF2 will automatically make a folder with the name in lowercase for sound/sound.cache. This means that at some point (presumably before the HUD files are loaded, since the HUD doesn't ever load) they are calling some sort of String.toLower() function which certainly doesn't make sense when case sensitivity is an issue. My assumption is they convert the stored name to lower case for some reason, and then attempt to find the folder matching that lowercase name, which as you pointed out doesn't work on a case sensitive system.

Oh, I guess they already have some form of compatibility layer and they just forgot to include it in their info.vdf interpreter. That's definitely a bug then.

[quote=dango]
I'm not quite sure I follow this logic. I noticed the issue because when launching a HUD with uppercase letters, TF2 will automatically make a folder with the name in lowercase for sound/sound.cache. This means that at some point (presumably before the HUD files are loaded, since the HUD doesn't ever load) they are calling some sort of String.toLower() function which certainly doesn't make sense when case sensitivity is an issue. My assumption is they convert the stored name to lower case for some reason, and then attempt to find the folder matching that lowercase name, which as you pointed out doesn't work on a case sensitive system.[/quote]
Oh, I guess they already have some form of compatibility layer and they just forgot to include it in their info.vdf interpreter. That's definitely a bug then.
18
#18
0 Frags +

I also remember something about the .res filenames not being case-sensitive, even on Linux.

I also remember something about the .res filenames not being case-sensitive, even on Linux.
19
#19
-10 Frags +

bump, still have this problem and yet to find any fixes

bump, still have this problem and yet to find any fixes
Please sign in through STEAM to post a comment.