Cyberpunk 2077

Cyberpunk 2077

View Stats:
FluffyPotato Sep 21, 2023 @ 8:51am
Cyberpunk detects my keyboard as a controller
For some reason Cyberpunk changes the keys it shows to controller the moment I press anything on my keyboard. I have no controller connected. Any way I can force it to display only keyboard inputs or some other way to make it stop doing this?
Originally posted by Your Waifu:
This issue is fixed in 2.01

Thanks to the @jason098 from LGD discord who found a solution to the problem with the layout switching and lack of action for some buttons:
1. First, backup Cyberpunk2077.exe.
2. Use this command
echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe
or change 74 to EB by 0x2C45C6 offset in hex editor

If you previously applied my fix, it seems like it should work, but the best thing to do is to restore the exe from backup

and thanks to the @Saancreed from LGD discord for command.


Old fix (fixes the glyph update, but the game keeps thinking it's working with a gamepad and because of this, the crouch, quick melee and dodge buttons don't work):
Here is a temporary fix (at least for Linux users) that removes the glyph update (so when playing with a gamepad the buttons will be from the keyboard)
First of all make a backup of Cyberpunk2077.exe
And need to replace
e8 1f 00 00 00 48 8b 5c 24 40 48 83
to
90 90 90 90 90 48 8b 5c 24 40 48 83
in Cyberpunk2077.exe via hex editor (Bless or ImHex for example)
or use this command (hope you have perl)
perl -pi -e 's/\xe8\x1f\x00\x00\x00\x48\x8b\x5c\x24\x40\x48\x83/\x90\x90\x90\x90\x90\x48\x8b\x5c\x24\x40\x48\x83/g' Cyberpunk2077.exe

Thanks to LGD discord user @Sid for help with converting this to a perl command

< >
Showing 181-195 of 222 comments
Bunuffin Sep 25, 2023 @ 8:19pm 
yeah i got the game on GOG so i don't know about steam
zerkz Sep 25, 2023 @ 9:35pm 
ok, I was able to re-apply the change using HxD (hex editor), with the DLC installed. Not sure why the `echo` approach caused issues. or maybe I got this hotpatched GOG edition. I'm good to go now!
Last edited by zerkz; Sep 25, 2023 @ 9:35pm
ink.bug Sep 25, 2023 @ 11:03pm 
Originally posted by Your Waifu:
Thanks to the @jason098 from LGD discord who found a solution to the problem with the layout switching and lack of action for some buttons:
1. First, backup Cyberpunk2077.exe.
2. Use this command
echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe
or change 74 to EB by 0x2C45C6 offset in hex editor

If you previously applied my fix, it seems like it should work, but the best thing to do is to restore the exe from backup

and thanks to the @Saancreed from LGD discord for command.


Old fix (fixes the glyph update, but the game keeps thinking it's working with a gamepad and because of this, the crouch, quick melee and dodge buttons don't work):
Here is a temporary fix (at least for Linux users) that removes the glyph update (so when playing with a gamepad the buttons will be from the keyboard)
First of all make a backup of Cyberpunk2077.exe
And need to replace
e8 1f 00 00 00 48 8b 5c 24 40 48 83
to
90 90 90 90 90 48 8b 5c 24 40 48 83
in Cyberpunk2077.exe via hex editor (Bless or ImHex for example)
or use this command (hope you have perl)
perl -pi -e 's/\xe8\x1f\x00\x00\x00\x48\x8b\x5c\x24\x40\x48\x83/\x90\x90\x90\x90\x90\x48\x8b\x5c\x24\x40\x48\x83/g' Cyberpunk2077.exe

Thanks to LGD discord user @Sid for help with converting this to a perl command

The only solution that worked for me - Thanks!
Shai Sep 25, 2023 @ 11:35pm 
i can confirm that:
echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe
works for me.
Bitwolf Sep 26, 2023 @ 12:02am 
For those crashing, delete GameServicesGOG.dll or Galaxy64.dll. Tons of people mentioned it worked with the galaxy client, and those DLL's let it talk to galaxy, not a crash since. The DRM free company DRM'd their game lmao.
Last edited by Bitwolf; Sep 26, 2023 @ 12:11am
Udrasul Sep 26, 2023 @ 12:40am 
Something that helped me on Nobara with the fix ...example :

In terminal input/ paste :

cd "/home/axim/.local/share/Steam/steamapps/common/Cyberpunk 2077/bin/x64"

(usually only need quotes if it has spaces in it)
( also replace axim with your username )

Then after paste in the command

echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe
Last edited by Udrasul; Sep 26, 2023 @ 12:41am
koprze Sep 26, 2023 @ 4:33am 
Originally posted by Udrasul:
Something that helped me on Nobara with the fix ...example :

In terminal input/ paste :

cd "/home/axim/.local/share/Steam/steamapps/common/Cyberpunk 2077/bin/x64"

(usually only need quotes if it has spaces in it)
( also replace axim with your username )

Then after paste in the command

echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe
Thanks, it is working on ubuntu.
Íñigo Montoya Sep 26, 2023 @ 8:47am 
echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe work in Debian 12. Many thanks!.
Last edited by Íñigo Montoya; Sep 26, 2023 @ 8:47am
BasedCEO Sep 26, 2023 @ 9:42am 
Originally posted by The Silent Observer:
Originally posted by Health Drink:

So I went home last night and didn't use Parsec and the controller controls went away and everything worked flawless. I go back to being remote again and using Parsec and guess what? I'm getting the controller layout again. Parsec must be using something Linux users are experiencing.

Parsec and Linux are completely unrelated. The issue affects Windows users as well, so it's not platform specific. Seriously, people here need to learn how to read.

kek
uwu~ Wanesty Sep 26, 2023 @ 10:48am 
ugh yea it(the xxd) works but ♥♥♥♥♥♥♥ hell.. wasn't the 2.0 supposed to fix bugs ??

like, to be able to play the game comfortably i have to edit 2 config files and patch the game myself...

(the two config files are for my azerty keyboard layout, the mouse sensitivity and the camera fov)
[LUE] bros Sep 26, 2023 @ 1:07pm 
Getting this glitch on Windows 10 - haven't tried the hex fix, but none of the other fixes work.
GoubyBear Sep 26, 2023 @ 1:30pm 
Originally posted by Your Waifu:
Thanks to the @jason098 from LGD discord who found a solution to the problem with the layout switching and lack of action for some buttons:
1. First, backup Cyberpunk2077.exe.
2. Use this command
echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe
or change 74 to EB by 0x2C45C6 offset in hex editor

Apologies but can someone give a noob step by step description on how to do step 2 please?
I am trying to do it Konsole (the terminal on the SteamDeck), it does not seem like it is doing anything.
I downloaded BLESS to edit change 74 to EB by 0x2C45C6 but i have no clue on which file or how to do it.
Any help would be appreciated, thank you very much
Udrasul Sep 26, 2023 @ 1:55pm 
Originally posted by Bear Sheriff:
Originally posted by Your Waifu:
Thanks to the @jason098 from LGD discord who found a solution to the problem with the layout switching and lack of action for some buttons:
1. First, backup Cyberpunk2077.exe.
2. Use this command
echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe
or change 74 to EB by 0x2C45C6 offset in hex editor

Apologies but can someone give a noob step by step description on how to do step 2 please?
I am trying to do it Konsole (the terminal on the SteamDeck), it does not seem like it is doing anything.
I downloaded BLESS to edit change 74 to EB by 0x2C45C6 but i have no clue on which file or how to do it.
Any help would be appreciated, thank you very much


In terminal input/ paste the location of your game's exe via cd command keep the quote marks... a example :


cd "/home/axim/.local/share/Steam/steamapps/common/Cyberpunk 2077/bin/x64"

( replace axim with your username )

press enter

Then after paste in the command in terminal

echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe

press enter

I hope this helps.
Last edited by Udrasul; Sep 26, 2023 @ 1:55pm
Dave02 Sep 26, 2023 @ 2:29pm 
Hello
I want to play through BOOSTEROID, but I'm running into the same problem. Maybe someone has a solution for this?
Or is it expected that the developers will solve this problem?
noth Sep 26, 2023 @ 2:47pm 
Originally posted by Bear Sheriff:
Originally posted by Your Waifu:
Thanks to the @jason098 from LGD discord who found a solution to the problem with the layout switching and lack of action for some buttons:
1. First, backup Cyberpunk2077.exe.
2. Use this command
echo '2C45C6: EB' | xxd -r - Cyberpunk2077.exe
or change 74 to EB by 0x2C45C6 offset in hex editor

Apologies but can someone give a noob step by step description on how to do step 2 please?
I am trying to do it Konsole (the terminal on the SteamDeck), it does not seem like it is doing anything.
I downloaded BLESS to edit change 74 to EB by 0x2C45C6 but i have no clue on which file or how to do it.
Any help would be appreciated, thank you very much
So the easiest way to do this is find the folder that contains the .exe file, right click inside the folder and click Open Terminal Here, and then paste the code into the terminal, hit enter and you're done.
Last edited by noth; Sep 26, 2023 @ 2:48pm
< >
Showing 181-195 of 222 comments
Per page: 1530 50

Date Posted: Sep 21, 2023 @ 8:51am
Posts: 221