A Hat in Time

A Hat in Time

Not enough ratings
How to fix modding support for A Hat in Time running inside Proton on Steam Deck (and maybe on Linux too)
By m_cube
I spent many hours to figure that out...
   
Award
Favorite
Favorited
Unfavorite
THE PROBLEM
You just installed Linux (or bought Steam Deck, like me) and tried to launch the game with mods...
Unfortunately, game only shows the splash screen and crashes right before it suppose to show the UE3 logo...
THE SOLUTION
1. Open Steam and go to the Library tab
2. Open the properties for "A Hat in Time" (right click on the game on the list or click the cog icon)
3. In "General" tab, under the "Launch options" paste this:
PROTON_NO_D3D11=1 %command% -noverify
"-noverify" is optional, but it may save you some annoyance
4. In "Compatibility tab" choose the latest Proton version except experimental (in my case Proton 7.0-1)
5. Close the properties window and launch the game!
11 Comments
The Wheat Man 1 Jul, 2024 @ 12:21am 
i have the same issue as SEVE and i'm using proton 9
crash fan razer63 1 Jun, 2024 @ 2:00am 
SEVE are you sure you used latest proton version? i mean i am using a version 9 point something
RUSH 12 Apr, 2024 @ 7:30pm 
this solution doesnt work and is possibly outdated
every time the game boots no mods are even loaded despite being installed
m_cube  [author] 25 Apr, 2022 @ 11:14pm 
Tbh, I only tested it on my Steam deck - the game works fine there (and yes, it has an AMD APU, so maybe that's why it works differently)
evilny0 25 Apr, 2022 @ 5:59pm 
The game is completely unplayable for me with the command mentionned (around 2fps, even in the menu...). I recompiled proton with the fix mentionned here : https://github.com/doitsujin/dxvk/issues/2504 . The game loads - with a few mods - and has correct performance since it's using DXVK.

Is this guide only for AMD GPUs ? It looks weird that you all seem fine with it when the game barely runs for me :).
Sonni Boi 18 Apr, 2022 @ 6:34pm 
That worked! Thank you so much! And the game seems to load much faster!

You're the best!
m_cube  [author] 18 Apr, 2022 @ 1:30pm 
You can fix that via protontricks.
First - switch to the desktop mode, then install Protontricks by using the Discovery app.
Launch it, select the "A Hat in Time" from the list (ignore 32-64 bit warnings), then choose "Select the default wineprefix" and click "OK". Now you need to launch taskmgr - select it and click "OK" again. In newly opened window, click "New Task", type "control" and click OK. Now from the control panel open the "Game controllers" applet and disable the "Controller (XBOX 360 for Windows)", click OK and close all windows.

Now the controller should work normally :)
Sonni Boi 17 Apr, 2022 @ 4:28pm 
Thanks for this! I was able to get the game with mods to work on Steam Deck with that command, but as a result the game thinks I have two controllers on at once and makes Hat/Bow Kid run around in circles. Any ideas?
send fleet pics 8 Apr, 2022 @ 1:00am 
It doesn't? I'm not sure why then when i get it launching on the older version without the wined3d11 commands it has a lot more performance
m_cube  [author] 7 Apr, 2022 @ 11:53pm 
That might work too, but I see no reason not to use my method... because DXVK doesn't work with DX9 games (at least officially). A Hat in Time is a DX9 game, but if it loads a mod from the workshop folder, Proton tries to load DXVK for some reason (and it fails).