I tried making a new prefix on a different PC, then followed Steam(Proton) install guide, substituting HGL's WineTricks button for ProtonTricks. Everything else is the same.
I feel like this is specifically some weird error with HGL and it's prefixes and/or winetricks. Can anyone test this script (even on an empty example pfx made by HGL), and troubleshoot this script?