Hollow Knight

Hollow Knight

View Stats:
tintingaroo Jun 10, 2021 @ 3:45pm
4
5
Button Prompt Switcher
This allows you to switch gamepad/button prompt type & remove cast from focus button.
It's currently for HK ver 1.5.78 Win/Mac/Linux.

Setup:

DL link: https://drive.google.com/drive/folders/1siu3cyZJwGfN-VJCO05tCW3tIrondoSv?usp=sharing

  • Right-click Hollow Knight in Steam Library > Manage > Browse local files. Then in the folder that opens:

    WIN:
    hollow_knight_Data\Managed\

    MAC:
    RIght-click 'hollow_knight' or 'Hollow Knight' > Show Package Contents > Contents/Resources/Data/Managed/

    LINUX:
    hollow_knight_Data/Managed/

  • Make a backup of Assembly-CSharp.dll
  • From the link, open the folder for your OS and download the Assembly-CSharp.dll file it contains
  • Paste the .dll file into the Managed folder, so it overwrites/replaces the original version


Usage:

Right-click Hollow Knight in the Steam Library > Properties.
At the bottom of the Properties window you'll see the Launch Options field.

Selecting Button Prompt Type
Enter the command --icons= followed by one of these options:
{ 1 ¦ 2 ¦ 3 ¦ 4 ¦ 5 ¦ 6 }


1 : Joy-Cons image, Nintendo prompts
2 : DS4, PS prompts (Prompt for Inventory: Touchpad)
3 : DS4, PS prompts (Prompt for Inventory: Share button)
4 : DS4, PS prompts (Prompt for Inventory: Back/Select button)
5 : Xbox One, XB prompts (Prompt for Inventory: View)
6 : Xbox 360, XB prompts (Prompt for Inventory: Back/Select)

e.g. --icons=1

Delete the command then start the game if you want it to select prompts in its original manner.

Removing Cast from Focus button/key
Use the command --nocast

If entering multiple commands, just separate them with a space
e.g. --icons=2 --nocast

To Remove:
  • Replace modded Assembly-CSharp.dll with original version. Can also do this by verifying the game files.

Same info but as a Steam Guide:
https://steamcommunity.com/sharedfiles/filedetails/?id=2525497719
Last edited by tintingaroo; Jan 20, 2023 @ 7:25pm
< >
Showing 1-15 of 66 comments
kanna Jun 10, 2021 @ 3:53pm 
:steamthumbsup: This is amazing, thank you!!!

I can't right now because I'm not on main branch, but I'll be checking this out later for sure.

(*edit* I was going to do an award and forgot, so have it now!)
Last edited by kanna; Jun 11, 2021 @ 12:27pm
tintingaroo Jun 10, 2021 @ 3:55pm 
Some options aren't really necessary (considering the Inventory prompt only occurs once), but I had different cases in my mind when I was coding this.
Option 1 for 1st party DS4 controllers/DS4-alikes with working touchpads.
Option 2 was for gamepads that get identified as DS4's, match it's Share/Options buttons but have no touchpad. For this, ideally the sprite for the DS4 would have Inventory linked to the Share button (or to both Touchpad and Share).
Option 3 was intended for PS3/2 controllers. I thought the game had a sprite of a DS3 but maybe just imagined it...
tintingaroo Jun 10, 2021 @ 3:55pm 
Originally posted by kanna:
:steamthumbsup: This is amazing, thank you!!!

I can't right now because I'm not on main branch, but I'll be checking this out later for sure.

Thanks kanna :)
Thoughtful, very useful, simple and elegant. That's the combination I like the most! Very nice work, tintingaroo 🙂:steamthumbsup:

Query: For which controllers this fix is intended?
I have a XBox 360 Controller (wired) and just to test things out out of curiosity I tried auto, 0 and 5, and all of them don't display some prompts. Additionally when I open and zoom in on the map, the game doesn't seem to accept inputs anymore (including from keyboard). I just have to Alt + F4.
I don't have Steam Input activated.
I tried it on the main branch* which is currently v1.5.68.11808.

*For non-developers who wish to know what "main branch" means: simplifying things, it's a kind of dev slang for the official current public stable release version (currently v1.5.68.11808)
Last edited by 🉑 rezno[R].technology; Jun 11, 2021 @ 1:31am
tintingaroo Jun 11, 2021 @ 3:20am 
Thanks rez and thanks for testing & reporting back. 👊
It should be for any controller, Steam Input on or off.

Try this please:
Double check the text file is named controller.txt.
Open controller.txt, Ctrl+A then type 0 and save the file.
Now in HK at the Controller menu do you get the Joy-Con image?
If you then choose Remap, do you see Nintendo prompts?


I'm uncertain why there is the zoom map issue - I'll have to check that out.
Last edited by tintingaroo; Jun 11, 2021 @ 3:24am
Last edited by 🉑 rezno[R].technology; Jun 11, 2021 @ 5:00am
tintingaroo Jun 11, 2021 @ 5:09am 
Ah I see, move controller.txt to hollow_knight_Data folder.

Also what software are you using to display keyboard/mouse inputs?
Originally posted by tintingaroo:
Ah I see, move controller.txt to hollow_knight_Data folder.
Ah, thanks! Totally my mistake, I was probably too eager to try it 🙂

You got to be kidding me! This is just awesome. I have a Switch but I don't have a Switch 🤓
https://steamcommunity.com/sharedfiles/filedetails/?id=2513769032
https://steamcommunity.com/sharedfiles/filedetails/?id=2513771394
Looks like it's working great!

A reward from me. You'll get two more when you will create a Steam Guide for this 🙂

Originally posted by tintingaroo:
Also what software are you using to display keyboard/mouse inputs?
Just found it today, it is called QiPress.
http://aalapshah.in/qipress
This was just for the video, so I'm sure there are better ones!
Last edited by 🉑 rezno[R].technology; Jun 11, 2021 @ 8:03am
Boksha Jun 11, 2021 @ 7:29am 
Personally I don't play this game with a controller, but in the games I do, this is a massive annoyance. Very nice work!
tintingaroo Jun 11, 2021 @ 3:35pm 
Originally posted by 🉑 reznoR.technology:
A reward from me. You'll get two more when you will create a Steam Guide for this 🙂

Rather than the reward, want to collab with me on the guide?
Videos, screenshots, layout, ideas/improvements you think of?
If you got the time for that I'd appreciate it - no rush, no pressure ;)
tintingaroo Jun 11, 2021 @ 3:42pm 
Originally posted by Boksha:
Personally I don't play this game with a controller, but in the games I do, this is a massive annoyance. Very nice work!

Thanks Boksha :)
Same, KB player here also. Since I really like the game, I see if I can make useful additions for the other players, this time the pad peeps! :D
Originally posted by tintingaroo:
want to collab with me on the guide?
Videos, screenshots, layout, ideas/improvements you think of?
If you got the time for that I'd appreciate it - no rush, no pressure ;)

That's nice! I can help how I can when I will have the time :)
What ideas you have? One really big guide, a few smaller ones, or a kind of mix of all?

I thought each time you created a thread to help people with controllers, it just felt like a good short Steam Guide material for each of them.

I think I remember these topics:

Steam Input/controller emulation in general (what it is, where to find it, how it works, when to enable it, when to avoid it) - a great material for a game-agnostic guide here, not only for HK!

Your thread with the fix for auto-disconnecting of bluetooth controllers in HK (I wonder if they patched it?)

This here mod - your whole first post and some additional info from post #2, combine them together, great short, simple and clean guide IMO.
Last edited by 🉑 rezno[R].technology; Jun 12, 2021 @ 12:33am
kanna Jun 12, 2021 @ 10:07am 
^^^ That is a nice idea. It would be a lot easier to link to these when people need them, than to try to search for the original posts.
tintingaroo Jun 12, 2021 @ 10:58am 
Ok, thanks y'all. I'll go for separate guides. I'll start with this one.
MeninaVeneno Jul 10, 2021 @ 5:09pm 
Hi I tried to install the mod, but when i start the game it crashes https://imgur.com/a/9sCNrEl
< >
Showing 1-15 of 66 comments
Per page: 1530 50

Date Posted: Jun 10, 2021 @ 3:45pm
Posts: 66